Provides context for the cause of the bad request. The only supported value is\n * CODE_ERROR.
Provides further details for the reason behind the bad request. For reason type\n * CODE_ERROR, the detail will contain a list of code errors.
Reserved.
\n * @public\n */\n queryCompileError;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedQueryException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedQueryException.prototype);\n this.queryCompileError = opts.queryCompileError;\n }\n};\nvar TooManyTagsException = class _TooManyTagsException extends CloudWatchLogsServiceException {\n static {\n __name(this, \"TooManyTagsException\");\n }\n name = \"TooManyTagsException\";\n $fault = \"client\";\n /**\n *The name of the resource.
\n * @public\n */\n resourceName;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTagsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTagsException.prototype);\n this.resourceName = opts.resourceName;\n }\n};\nvar SuppressionUnit = {\n HOURS: \"HOURS\",\n MINUTES: \"MINUTES\",\n SECONDS: \"SECONDS\"\n};\nvar SuppressionType = {\n INFINITE: \"INFINITE\",\n LIMITED: \"LIMITED\"\n};\nvar StartLiveTailResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {\n if (obj.sessionStart !== void 0) return { sessionStart: obj.sessionStart };\n if (obj.sessionUpdate !== void 0) return { sessionUpdate: obj.sessionUpdate };\n if (obj.SessionTimeoutException !== void 0) return { SessionTimeoutException: obj.SessionTimeoutException };\n if (obj.SessionStreamingException !== void 0) return { SessionStreamingException: obj.SessionStreamingException };\n if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: \"UNKNOWN\" };\n}, \"StartLiveTailResponseStreamFilterSensitiveLog\");\nvar StartLiveTailResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.responseStream && { responseStream: \"STREAMING_CONTENT\" }\n}), \"StartLiveTailResponseFilterSensitiveLog\");\n\n// src/protocols/Aws_json1_1.ts\nvar se_AssociateKmsKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"AssociateKmsKey\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateKmsKeyCommand\");\nvar se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CancelExportTask\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelExportTaskCommand\");\nvar se_CreateDeliveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateDelivery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateDeliveryCommand\");\nvar se_CreateExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateExportTask\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateExportTaskCommand\");\nvar se_CreateLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateLogAnomalyDetector\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLogAnomalyDetectorCommand\");\nvar se_CreateLogGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateLogGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLogGroupCommand\");\nvar se_CreateLogStreamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateLogStream\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLogStreamCommand\");\nvar se_DeleteAccountPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteAccountPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteAccountPolicyCommand\");\nvar se_DeleteDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDataProtectionPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDataProtectionPolicyCommand\");\nvar se_DeleteDeliveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDelivery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDeliveryCommand\");\nvar se_DeleteDeliveryDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDeliveryDestination\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDeliveryDestinationCommand\");\nvar se_DeleteDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDeliveryDestinationPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDeliveryDestinationPolicyCommand\");\nvar se_DeleteDeliverySourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDeliverySource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDeliverySourceCommand\");\nvar se_DeleteDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDestination\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDestinationCommand\");\nvar se_DeleteIndexPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteIndexPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIndexPolicyCommand\");\nvar se_DeleteIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteIntegration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIntegrationCommand\");\nvar se_DeleteLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteLogAnomalyDetector\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLogAnomalyDetectorCommand\");\nvar se_DeleteLogGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteLogGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLogGroupCommand\");\nvar se_DeleteLogStreamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteLogStream\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLogStreamCommand\");\nvar se_DeleteMetricFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteMetricFilter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteMetricFilterCommand\");\nvar se_DeleteQueryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteQueryDefinition\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteQueryDefinitionCommand\");\nvar se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteResourcePolicyCommand\");\nvar se_DeleteRetentionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteRetentionPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRetentionPolicyCommand\");\nvar se_DeleteSubscriptionFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteSubscriptionFilter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSubscriptionFilterCommand\");\nvar se_DeleteTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteTransformer\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransformerCommand\");\nvar se_DescribeAccountPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAccountPolicies\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAccountPoliciesCommand\");\nvar se_DescribeConfigurationTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeConfigurationTemplates\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeConfigurationTemplatesCommand\");\nvar se_DescribeDeliveriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDeliveries\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDeliveriesCommand\");\nvar se_DescribeDeliveryDestinationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDeliveryDestinations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDeliveryDestinationsCommand\");\nvar se_DescribeDeliverySourcesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDeliverySources\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDeliverySourcesCommand\");\nvar se_DescribeDestinationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDestinations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDestinationsCommand\");\nvar se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeExportTasks\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeExportTasksCommand\");\nvar se_DescribeFieldIndexesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeFieldIndexes\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFieldIndexesCommand\");\nvar se_DescribeIndexPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeIndexPolicies\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIndexPoliciesCommand\");\nvar se_DescribeLogGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeLogGroups\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLogGroupsCommand\");\nvar se_DescribeLogStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeLogStreams\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLogStreamsCommand\");\nvar se_DescribeMetricFiltersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMetricFilters\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMetricFiltersCommand\");\nvar se_DescribeQueriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeQueries\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeQueriesCommand\");\nvar se_DescribeQueryDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeQueryDefinitions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeQueryDefinitionsCommand\");\nvar se_DescribeResourcePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeResourcePolicies\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeResourcePoliciesCommand\");\nvar se_DescribeSubscriptionFiltersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeSubscriptionFilters\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSubscriptionFiltersCommand\");\nvar se_DisassociateKmsKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DisassociateKmsKey\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateKmsKeyCommand\");\nvar se_FilterLogEventsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"FilterLogEvents\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_FilterLogEventsCommand\");\nvar se_GetDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDataProtectionPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDataProtectionPolicyCommand\");\nvar se_GetDeliveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDelivery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeliveryCommand\");\nvar se_GetDeliveryDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDeliveryDestination\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeliveryDestinationCommand\");\nvar se_GetDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDeliveryDestinationPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeliveryDestinationPolicyCommand\");\nvar se_GetDeliverySourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDeliverySource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeliverySourceCommand\");\nvar se_GetIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetIntegration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIntegrationCommand\");\nvar se_GetLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLogAnomalyDetector\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLogAnomalyDetectorCommand\");\nvar se_GetLogEventsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLogEvents\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLogEventsCommand\");\nvar se_GetLogGroupFieldsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLogGroupFields\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLogGroupFieldsCommand\");\nvar se_GetLogRecordCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLogRecord\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLogRecordCommand\");\nvar se_GetQueryResultsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetQueryResults\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetQueryResultsCommand\");\nvar se_GetTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetTransformer\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransformerCommand\");\nvar se_ListAnomaliesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListAnomalies\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListAnomaliesCommand\");\nvar se_ListIntegrationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListIntegrations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListIntegrationsCommand\");\nvar se_ListLogAnomalyDetectorsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListLogAnomalyDetectors\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListLogAnomalyDetectorsCommand\");\nvar se_ListLogGroupsForQueryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListLogGroupsForQuery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListLogGroupsForQueryCommand\");\nvar se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListTagsForResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListTagsForResourceCommand\");\nvar se_ListTagsLogGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListTagsLogGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListTagsLogGroupCommand\");\nvar se_PutAccountPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutAccountPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutAccountPolicyCommand\");\nvar se_PutDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDataProtectionPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDataProtectionPolicyCommand\");\nvar se_PutDeliveryDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDeliveryDestination\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDeliveryDestinationCommand\");\nvar se_PutDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDeliveryDestinationPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDeliveryDestinationPolicyCommand\");\nvar se_PutDeliverySourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDeliverySource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDeliverySourceCommand\");\nvar se_PutDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDestination\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDestinationCommand\");\nvar se_PutDestinationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutDestinationPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutDestinationPolicyCommand\");\nvar se_PutIndexPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutIndexPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutIndexPolicyCommand\");\nvar se_PutIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutIntegration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutIntegrationCommand\");\nvar se_PutLogEventsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutLogEvents\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutLogEventsCommand\");\nvar se_PutMetricFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutMetricFilter\");\n let body;\n body = JSON.stringify(se_PutMetricFilterRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutMetricFilterCommand\");\nvar se_PutQueryDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutQueryDefinition\");\n let body;\n body = JSON.stringify(se_PutQueryDefinitionRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutQueryDefinitionCommand\");\nvar se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutResourcePolicyCommand\");\nvar se_PutRetentionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutRetentionPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutRetentionPolicyCommand\");\nvar se_PutSubscriptionFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutSubscriptionFilter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutSubscriptionFilterCommand\");\nvar se_PutTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutTransformer\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutTransformerCommand\");\nvar se_StartLiveTailCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartLiveTail\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n let { hostname: resolvedHostname } = await context.endpoint();\n if (context.disableHostPrefix !== true) {\n resolvedHostname = \"streaming-\" + resolvedHostname;\n if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {\n throw new Error(\"ValidationError: prefixed hostname must be hostname compatible.\");\n }\n }\n return buildHttpRpcRequest(context, headers, \"/\", resolvedHostname, body);\n}, \"se_StartLiveTailCommand\");\nvar se_StartQueryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartQuery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartQueryCommand\");\nvar se_StopQueryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopQuery\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopQueryCommand\");\nvar se_TagLogGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TagLogGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TagLogGroupCommand\");\nvar se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TagResourceCommand\");\nvar se_TestMetricFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TestMetricFilter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TestMetricFilterCommand\");\nvar se_TestTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TestTransformer\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TestTransformerCommand\");\nvar se_UntagLogGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UntagLogGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UntagLogGroupCommand\");\nvar se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UntagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UntagResourceCommand\");\nvar se_UpdateAnomalyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateAnomaly\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateAnomalyCommand\");\nvar se_UpdateDeliveryConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateDeliveryConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateDeliveryConfigurationCommand\");\nvar se_UpdateLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateLogAnomalyDetector\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateLogAnomalyDetectorCommand\");\nvar de_AssociateKmsKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_AssociateKmsKeyCommand\");\nvar de_CancelExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CancelExportTaskCommand\");\nvar de_CreateDeliveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateDeliveryCommand\");\nvar de_CreateExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateExportTaskCommand\");\nvar de_CreateLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLogAnomalyDetectorCommand\");\nvar de_CreateLogGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CreateLogGroupCommand\");\nvar de_CreateLogStreamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CreateLogStreamCommand\");\nvar de_DeleteAccountPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteAccountPolicyCommand\");\nvar de_DeleteDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDataProtectionPolicyCommand\");\nvar de_DeleteDeliveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDeliveryCommand\");\nvar de_DeleteDeliveryDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDeliveryDestinationCommand\");\nvar de_DeleteDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDeliveryDestinationPolicyCommand\");\nvar de_DeleteDeliverySourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDeliverySourceCommand\");\nvar de_DeleteDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDestinationCommand\");\nvar de_DeleteIndexPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIndexPolicyCommand\");\nvar de_DeleteIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIntegrationCommand\");\nvar de_DeleteLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteLogAnomalyDetectorCommand\");\nvar de_DeleteLogGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteLogGroupCommand\");\nvar de_DeleteLogStreamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteLogStreamCommand\");\nvar de_DeleteMetricFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteMetricFilterCommand\");\nvar de_DeleteQueryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteQueryDefinitionCommand\");\nvar de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteResourcePolicyCommand\");\nvar de_DeleteRetentionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteRetentionPolicyCommand\");\nvar de_DeleteSubscriptionFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteSubscriptionFilterCommand\");\nvar de_DeleteTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteTransformerCommand\");\nvar de_DescribeAccountPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAccountPoliciesCommand\");\nvar de_DescribeConfigurationTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeConfigurationTemplatesCommand\");\nvar de_DescribeDeliveriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDeliveriesCommand\");\nvar de_DescribeDeliveryDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDeliveryDestinationsCommand\");\nvar de_DescribeDeliverySourcesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDeliverySourcesCommand\");\nvar de_DescribeDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDestinationsCommand\");\nvar de_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeExportTasksCommand\");\nvar de_DescribeFieldIndexesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFieldIndexesCommand\");\nvar de_DescribeIndexPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIndexPoliciesCommand\");\nvar de_DescribeLogGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLogGroupsCommand\");\nvar de_DescribeLogStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLogStreamsCommand\");\nvar de_DescribeMetricFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMetricFiltersResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMetricFiltersCommand\");\nvar de_DescribeQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeQueriesCommand\");\nvar de_DescribeQueryDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeQueryDefinitionsCommand\");\nvar de_DescribeResourcePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeResourcePoliciesCommand\");\nvar de_DescribeSubscriptionFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSubscriptionFiltersCommand\");\nvar de_DisassociateKmsKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DisassociateKmsKeyCommand\");\nvar de_FilterLogEventsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_FilterLogEventsCommand\");\nvar de_GetDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDataProtectionPolicyCommand\");\nvar de_GetDeliveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeliveryCommand\");\nvar de_GetDeliveryDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeliveryDestinationCommand\");\nvar de_GetDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeliveryDestinationPolicyCommand\");\nvar de_GetDeliverySourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeliverySourceCommand\");\nvar de_GetIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIntegrationCommand\");\nvar de_GetLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLogAnomalyDetectorCommand\");\nvar de_GetLogEventsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLogEventsCommand\");\nvar de_GetLogGroupFieldsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLogGroupFieldsCommand\");\nvar de_GetLogRecordCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLogRecordCommand\");\nvar de_GetQueryResultsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetQueryResultsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetQueryResultsCommand\");\nvar de_GetTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransformerCommand\");\nvar de_ListAnomaliesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListAnomaliesCommand\");\nvar de_ListIntegrationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListIntegrationsCommand\");\nvar de_ListLogAnomalyDetectorsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListLogAnomalyDetectorsCommand\");\nvar de_ListLogGroupsForQueryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListLogGroupsForQueryCommand\");\nvar de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListTagsForResourceCommand\");\nvar de_ListTagsLogGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListTagsLogGroupCommand\");\nvar de_PutAccountPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutAccountPolicyCommand\");\nvar de_PutDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutDataProtectionPolicyCommand\");\nvar de_PutDeliveryDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutDeliveryDestinationCommand\");\nvar de_PutDeliveryDestinationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutDeliveryDestinationPolicyCommand\");\nvar de_PutDeliverySourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutDeliverySourceCommand\");\nvar de_PutDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutDestinationCommand\");\nvar de_PutDestinationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_PutDestinationPolicyCommand\");\nvar de_PutIndexPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutIndexPolicyCommand\");\nvar de_PutIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutIntegrationCommand\");\nvar de_PutLogEventsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutLogEventsCommand\");\nvar de_PutMetricFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_PutMetricFilterCommand\");\nvar de_PutQueryDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutQueryDefinitionCommand\");\nvar de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutResourcePolicyCommand\");\nvar de_PutRetentionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_PutRetentionPolicyCommand\");\nvar de_PutSubscriptionFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_PutSubscriptionFilterCommand\");\nvar de_PutTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_PutTransformerCommand\");\nvar de_StartLiveTailCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = { responseStream: de_StartLiveTailResponseStream(output.body, context) };\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartLiveTailCommand\");\nvar de_StartQueryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartQueryCommand\");\nvar de_StopQueryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopQueryCommand\");\nvar de_TagLogGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_TagLogGroupCommand\");\nvar de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_TagResourceCommand\");\nvar de_TestMetricFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TestMetricFilterCommand\");\nvar de_TestTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TestTransformerCommand\");\nvar de_UntagLogGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UntagLogGroupCommand\");\nvar de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UntagResourceCommand\");\nvar de_UpdateAnomalyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UpdateAnomalyCommand\");\nvar de_UpdateDeliveryConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateDeliveryConfigurationCommand\");\nvar de_UpdateLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UpdateLogAnomalyDetectorCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidParameterException\":\n case \"com.amazonaws.cloudwatchlogs#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"OperationAbortedException\":\n case \"com.amazonaws.cloudwatchlogs#OperationAbortedException\":\n throw await de_OperationAbortedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cloudwatchlogs#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"ServiceUnavailableException\":\n case \"com.amazonaws.cloudwatchlogs#ServiceUnavailableException\":\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\n case \"InvalidOperationException\":\n case \"com.amazonaws.cloudwatchlogs#InvalidOperationException\":\n throw await de_InvalidOperationExceptionRes(parsedOutput, context);\n case \"AccessDeniedException\":\n case \"com.amazonaws.cloudwatchlogs#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"ConflictException\":\n case \"com.amazonaws.cloudwatchlogs#ConflictException\":\n throw await de_ConflictExceptionRes(parsedOutput, context);\n case \"ServiceQuotaExceededException\":\n case \"com.amazonaws.cloudwatchlogs#ServiceQuotaExceededException\":\n throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);\n case \"ThrottlingException\":\n case \"com.amazonaws.cloudwatchlogs#ThrottlingException\":\n throw await de_ThrottlingExceptionRes(parsedOutput, context);\n case \"ValidationException\":\n case \"com.amazonaws.cloudwatchlogs#ValidationException\":\n throw await de_ValidationExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.cloudwatchlogs#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"ResourceAlreadyExistsException\":\n case \"com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException\":\n throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);\n case \"DataAlreadyAcceptedException\":\n case \"com.amazonaws.cloudwatchlogs#DataAlreadyAcceptedException\":\n throw await de_DataAlreadyAcceptedExceptionRes(parsedOutput, context);\n case \"InvalidSequenceTokenException\":\n case \"com.amazonaws.cloudwatchlogs#InvalidSequenceTokenException\":\n throw await de_InvalidSequenceTokenExceptionRes(parsedOutput, context);\n case \"UnrecognizedClientException\":\n case \"com.amazonaws.cloudwatchlogs#UnrecognizedClientException\":\n throw await de_UnrecognizedClientExceptionRes(parsedOutput, context);\n case \"MalformedQueryException\":\n case \"com.amazonaws.cloudwatchlogs#MalformedQueryException\":\n throw await de_MalformedQueryExceptionRes(parsedOutput, context);\n case \"TooManyTagsException\":\n case \"com.amazonaws.cloudwatchlogs#TooManyTagsException\":\n throw await de_TooManyTagsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ConflictExceptionRes\");\nvar de_DataAlreadyAcceptedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DataAlreadyAcceptedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DataAlreadyAcceptedExceptionRes\");\nvar de_InvalidOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidOperationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidOperationExceptionRes\");\nvar de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidParameterExceptionRes\");\nvar de_InvalidSequenceTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidSequenceTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidSequenceTokenExceptionRes\");\nvar de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LimitExceededExceptionRes\");\nvar de_MalformedQueryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new MalformedQueryException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_MalformedQueryExceptionRes\");\nvar de_OperationAbortedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OperationAbortedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OperationAbortedExceptionRes\");\nvar de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceAlreadyExistsExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ServiceQuotaExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ServiceQuotaExceededExceptionRes\");\nvar de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ServiceUnavailableException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ServiceUnavailableExceptionRes\");\nvar de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ThrottlingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ThrottlingExceptionRes\");\nvar de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TooManyTagsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TooManyTagsExceptionRes\");\nvar de_UnrecognizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnrecognizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnrecognizedClientExceptionRes\");\nvar de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ValidationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ValidationExceptionRes\");\nvar de_StartLiveTailResponseStream = /* @__PURE__ */ __name((output, context) => {\n return context.eventStreamMarshaller.deserialize(output, async (event) => {\n if (event[\"sessionStart\"] != null) {\n return {\n sessionStart: await de_LiveTailSessionStart_event(event[\"sessionStart\"], context)\n };\n }\n if (event[\"sessionUpdate\"] != null) {\n return {\n sessionUpdate: await de_LiveTailSessionUpdate_event(event[\"sessionUpdate\"], context)\n };\n }\n if (event[\"SessionTimeoutException\"] != null) {\n return {\n SessionTimeoutException: await de_SessionTimeoutException_event(event[\"SessionTimeoutException\"], context)\n };\n }\n if (event[\"SessionStreamingException\"] != null) {\n return {\n SessionStreamingException: await de_SessionStreamingException_event(\n event[\"SessionStreamingException\"],\n context\n )\n };\n }\n return { $unknown: output };\n });\n}, \"de_StartLiveTailResponseStream\");\nvar de_LiveTailSessionStart_event = /* @__PURE__ */ __name(async (output, context) => {\n const contents = {};\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n Object.assign(contents, (0, import_smithy_client._json)(data));\n return contents;\n}, \"de_LiveTailSessionStart_event\");\nvar de_LiveTailSessionUpdate_event = /* @__PURE__ */ __name(async (output, context) => {\n const contents = {};\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n Object.assign(contents, (0, import_smithy_client._json)(data));\n return contents;\n}, \"de_LiveTailSessionUpdate_event\");\nvar de_SessionStreamingException_event = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonBody)(output.body, context)\n };\n return de_SessionStreamingExceptionRes(parsedOutput, context);\n}, \"de_SessionStreamingException_event\");\nvar de_SessionTimeoutException_event = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonBody)(output.body, context)\n };\n return de_SessionTimeoutExceptionRes(parsedOutput, context);\n}, \"de_SessionTimeoutException_event\");\nvar de_SessionStreamingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new SessionStreamingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_SessionStreamingExceptionRes\");\nvar de_SessionTimeoutExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new SessionTimeoutException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_SessionTimeoutExceptionRes\");\nvar se_MetricTransformation = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n defaultValue: import_smithy_client.serializeFloat,\n dimensions: import_smithy_client._json,\n metricName: [],\n metricNamespace: [],\n metricValue: [],\n unit: []\n });\n}, \"se_MetricTransformation\");\nvar se_MetricTransformations = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n return se_MetricTransformation(entry, context);\n });\n}, \"se_MetricTransformations\");\nvar se_PutMetricFilterRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n applyOnTransformedLogs: [],\n filterName: [],\n filterPattern: [],\n logGroupName: [],\n metricTransformations: /* @__PURE__ */ __name((_) => se_MetricTransformations(_, context), \"metricTransformations\")\n });\n}, \"se_PutMetricFilterRequest\");\nvar se_PutQueryDefinitionRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n logGroupNames: import_smithy_client._json,\n name: [],\n queryDefinitionId: [],\n queryLanguage: [],\n queryString: []\n });\n}, \"se_PutQueryDefinitionRequest\");\nvar de_DescribeMetricFiltersResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n metricFilters: /* @__PURE__ */ __name((_) => de_MetricFilters(_, context), \"metricFilters\"),\n nextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeMetricFiltersResponse\");\nvar de_GetQueryResultsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n encryptionKey: import_smithy_client.expectString,\n queryLanguage: import_smithy_client.expectString,\n results: import_smithy_client._json,\n statistics: /* @__PURE__ */ __name((_) => de_QueryStatistics(_, context), \"statistics\"),\n status: import_smithy_client.expectString\n });\n}, \"de_GetQueryResultsResponse\");\nvar de_MetricFilter = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n applyOnTransformedLogs: import_smithy_client.expectBoolean,\n creationTime: import_smithy_client.expectLong,\n filterName: import_smithy_client.expectString,\n filterPattern: import_smithy_client.expectString,\n logGroupName: import_smithy_client.expectString,\n metricTransformations: /* @__PURE__ */ __name((_) => de_MetricTransformations(_, context), \"metricTransformations\")\n });\n}, \"de_MetricFilter\");\nvar de_MetricFilters = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_MetricFilter(entry, context);\n });\n return retVal;\n}, \"de_MetricFilters\");\nvar de_MetricTransformation = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n defaultValue: import_smithy_client.limitedParseDouble,\n dimensions: import_smithy_client._json,\n metricName: import_smithy_client.expectString,\n metricNamespace: import_smithy_client.expectString,\n metricValue: import_smithy_client.expectString,\n unit: import_smithy_client.expectString\n });\n}, \"de_MetricTransformation\");\nvar de_MetricTransformations = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_MetricTransformation(entry, context);\n });\n return retVal;\n}, \"de_MetricTransformations\");\nvar de_QueryStatistics = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n bytesScanned: import_smithy_client.limitedParseDouble,\n estimatedBytesSkipped: import_smithy_client.limitedParseDouble,\n estimatedRecordsSkipped: import_smithy_client.limitedParseDouble,\n logGroupsScanned: import_smithy_client.limitedParseDouble,\n recordsMatched: import_smithy_client.limitedParseDouble,\n recordsScanned: import_smithy_client.limitedParseDouble\n });\n}, \"de_QueryStatistics\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(CloudWatchLogsServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `Logs_20140328.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/AssociateKmsKeyCommand.ts\nvar AssociateKmsKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"AssociateKmsKey\", {}).n(\"CloudWatchLogsClient\", \"AssociateKmsKeyCommand\").f(void 0, void 0).ser(se_AssociateKmsKeyCommand).de(de_AssociateKmsKeyCommand).build() {\n static {\n __name(this, \"AssociateKmsKeyCommand\");\n }\n};\n\n// src/commands/CancelExportTaskCommand.ts\n\n\n\nvar CancelExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CancelExportTask\", {}).n(\"CloudWatchLogsClient\", \"CancelExportTaskCommand\").f(void 0, void 0).ser(se_CancelExportTaskCommand).de(de_CancelExportTaskCommand).build() {\n static {\n __name(this, \"CancelExportTaskCommand\");\n }\n};\n\n// src/commands/CreateDeliveryCommand.ts\n\n\n\nvar CreateDeliveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CreateDelivery\", {}).n(\"CloudWatchLogsClient\", \"CreateDeliveryCommand\").f(void 0, void 0).ser(se_CreateDeliveryCommand).de(de_CreateDeliveryCommand).build() {\n static {\n __name(this, \"CreateDeliveryCommand\");\n }\n};\n\n// src/commands/CreateExportTaskCommand.ts\n\n\n\nvar CreateExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CreateExportTask\", {}).n(\"CloudWatchLogsClient\", \"CreateExportTaskCommand\").f(void 0, void 0).ser(se_CreateExportTaskCommand).de(de_CreateExportTaskCommand).build() {\n static {\n __name(this, \"CreateExportTaskCommand\");\n }\n};\n\n// src/commands/CreateLogAnomalyDetectorCommand.ts\n\n\n\nvar CreateLogAnomalyDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CreateLogAnomalyDetector\", {}).n(\"CloudWatchLogsClient\", \"CreateLogAnomalyDetectorCommand\").f(void 0, void 0).ser(se_CreateLogAnomalyDetectorCommand).de(de_CreateLogAnomalyDetectorCommand).build() {\n static {\n __name(this, \"CreateLogAnomalyDetectorCommand\");\n }\n};\n\n// src/commands/CreateLogGroupCommand.ts\n\n\n\nvar CreateLogGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CreateLogGroup\", {}).n(\"CloudWatchLogsClient\", \"CreateLogGroupCommand\").f(void 0, void 0).ser(se_CreateLogGroupCommand).de(de_CreateLogGroupCommand).build() {\n static {\n __name(this, \"CreateLogGroupCommand\");\n }\n};\n\n// src/commands/CreateLogStreamCommand.ts\n\n\n\nvar CreateLogStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"CreateLogStream\", {}).n(\"CloudWatchLogsClient\", \"CreateLogStreamCommand\").f(void 0, void 0).ser(se_CreateLogStreamCommand).de(de_CreateLogStreamCommand).build() {\n static {\n __name(this, \"CreateLogStreamCommand\");\n }\n};\n\n// src/commands/DeleteAccountPolicyCommand.ts\n\n\n\nvar DeleteAccountPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteAccountPolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteAccountPolicyCommand\").f(void 0, void 0).ser(se_DeleteAccountPolicyCommand).de(de_DeleteAccountPolicyCommand).build() {\n static {\n __name(this, \"DeleteAccountPolicyCommand\");\n }\n};\n\n// src/commands/DeleteDataProtectionPolicyCommand.ts\n\n\n\nvar DeleteDataProtectionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDataProtectionPolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteDataProtectionPolicyCommand\").f(void 0, void 0).ser(se_DeleteDataProtectionPolicyCommand).de(de_DeleteDataProtectionPolicyCommand).build() {\n static {\n __name(this, \"DeleteDataProtectionPolicyCommand\");\n }\n};\n\n// src/commands/DeleteDeliveryCommand.ts\n\n\n\nvar DeleteDeliveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDelivery\", {}).n(\"CloudWatchLogsClient\", \"DeleteDeliveryCommand\").f(void 0, void 0).ser(se_DeleteDeliveryCommand).de(de_DeleteDeliveryCommand).build() {\n static {\n __name(this, \"DeleteDeliveryCommand\");\n }\n};\n\n// src/commands/DeleteDeliveryDestinationCommand.ts\n\n\n\nvar DeleteDeliveryDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDeliveryDestination\", {}).n(\"CloudWatchLogsClient\", \"DeleteDeliveryDestinationCommand\").f(void 0, void 0).ser(se_DeleteDeliveryDestinationCommand).de(de_DeleteDeliveryDestinationCommand).build() {\n static {\n __name(this, \"DeleteDeliveryDestinationCommand\");\n }\n};\n\n// src/commands/DeleteDeliveryDestinationPolicyCommand.ts\n\n\n\nvar DeleteDeliveryDestinationPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDeliveryDestinationPolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteDeliveryDestinationPolicyCommand\").f(void 0, void 0).ser(se_DeleteDeliveryDestinationPolicyCommand).de(de_DeleteDeliveryDestinationPolicyCommand).build() {\n static {\n __name(this, \"DeleteDeliveryDestinationPolicyCommand\");\n }\n};\n\n// src/commands/DeleteDeliverySourceCommand.ts\n\n\n\nvar DeleteDeliverySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDeliverySource\", {}).n(\"CloudWatchLogsClient\", \"DeleteDeliverySourceCommand\").f(void 0, void 0).ser(se_DeleteDeliverySourceCommand).de(de_DeleteDeliverySourceCommand).build() {\n static {\n __name(this, \"DeleteDeliverySourceCommand\");\n }\n};\n\n// src/commands/DeleteDestinationCommand.ts\n\n\n\nvar DeleteDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteDestination\", {}).n(\"CloudWatchLogsClient\", \"DeleteDestinationCommand\").f(void 0, void 0).ser(se_DeleteDestinationCommand).de(de_DeleteDestinationCommand).build() {\n static {\n __name(this, \"DeleteDestinationCommand\");\n }\n};\n\n// src/commands/DeleteIndexPolicyCommand.ts\n\n\n\nvar DeleteIndexPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteIndexPolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteIndexPolicyCommand\").f(void 0, void 0).ser(se_DeleteIndexPolicyCommand).de(de_DeleteIndexPolicyCommand).build() {\n static {\n __name(this, \"DeleteIndexPolicyCommand\");\n }\n};\n\n// src/commands/DeleteIntegrationCommand.ts\n\n\n\nvar DeleteIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteIntegration\", {}).n(\"CloudWatchLogsClient\", \"DeleteIntegrationCommand\").f(void 0, void 0).ser(se_DeleteIntegrationCommand).de(de_DeleteIntegrationCommand).build() {\n static {\n __name(this, \"DeleteIntegrationCommand\");\n }\n};\n\n// src/commands/DeleteLogAnomalyDetectorCommand.ts\n\n\n\nvar DeleteLogAnomalyDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteLogAnomalyDetector\", {}).n(\"CloudWatchLogsClient\", \"DeleteLogAnomalyDetectorCommand\").f(void 0, void 0).ser(se_DeleteLogAnomalyDetectorCommand).de(de_DeleteLogAnomalyDetectorCommand).build() {\n static {\n __name(this, \"DeleteLogAnomalyDetectorCommand\");\n }\n};\n\n// src/commands/DeleteLogGroupCommand.ts\n\n\n\nvar DeleteLogGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteLogGroup\", {}).n(\"CloudWatchLogsClient\", \"DeleteLogGroupCommand\").f(void 0, void 0).ser(se_DeleteLogGroupCommand).de(de_DeleteLogGroupCommand).build() {\n static {\n __name(this, \"DeleteLogGroupCommand\");\n }\n};\n\n// src/commands/DeleteLogStreamCommand.ts\n\n\n\nvar DeleteLogStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteLogStream\", {}).n(\"CloudWatchLogsClient\", \"DeleteLogStreamCommand\").f(void 0, void 0).ser(se_DeleteLogStreamCommand).de(de_DeleteLogStreamCommand).build() {\n static {\n __name(this, \"DeleteLogStreamCommand\");\n }\n};\n\n// src/commands/DeleteMetricFilterCommand.ts\n\n\n\nvar DeleteMetricFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteMetricFilter\", {}).n(\"CloudWatchLogsClient\", \"DeleteMetricFilterCommand\").f(void 0, void 0).ser(se_DeleteMetricFilterCommand).de(de_DeleteMetricFilterCommand).build() {\n static {\n __name(this, \"DeleteMetricFilterCommand\");\n }\n};\n\n// src/commands/DeleteQueryDefinitionCommand.ts\n\n\n\nvar DeleteQueryDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteQueryDefinition\", {}).n(\"CloudWatchLogsClient\", \"DeleteQueryDefinitionCommand\").f(void 0, void 0).ser(se_DeleteQueryDefinitionCommand).de(de_DeleteQueryDefinitionCommand).build() {\n static {\n __name(this, \"DeleteQueryDefinitionCommand\");\n }\n};\n\n// src/commands/DeleteResourcePolicyCommand.ts\n\n\n\nvar DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteResourcePolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteResourcePolicyCommand\").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {\n static {\n __name(this, \"DeleteResourcePolicyCommand\");\n }\n};\n\n// src/commands/DeleteRetentionPolicyCommand.ts\n\n\n\nvar DeleteRetentionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteRetentionPolicy\", {}).n(\"CloudWatchLogsClient\", \"DeleteRetentionPolicyCommand\").f(void 0, void 0).ser(se_DeleteRetentionPolicyCommand).de(de_DeleteRetentionPolicyCommand).build() {\n static {\n __name(this, \"DeleteRetentionPolicyCommand\");\n }\n};\n\n// src/commands/DeleteSubscriptionFilterCommand.ts\n\n\n\nvar DeleteSubscriptionFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteSubscriptionFilter\", {}).n(\"CloudWatchLogsClient\", \"DeleteSubscriptionFilterCommand\").f(void 0, void 0).ser(se_DeleteSubscriptionFilterCommand).de(de_DeleteSubscriptionFilterCommand).build() {\n static {\n __name(this, \"DeleteSubscriptionFilterCommand\");\n }\n};\n\n// src/commands/DeleteTransformerCommand.ts\n\n\n\nvar DeleteTransformerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DeleteTransformer\", {}).n(\"CloudWatchLogsClient\", \"DeleteTransformerCommand\").f(void 0, void 0).ser(se_DeleteTransformerCommand).de(de_DeleteTransformerCommand).build() {\n static {\n __name(this, \"DeleteTransformerCommand\");\n }\n};\n\n// src/commands/DescribeAccountPoliciesCommand.ts\n\n\n\nvar DescribeAccountPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeAccountPolicies\", {}).n(\"CloudWatchLogsClient\", \"DescribeAccountPoliciesCommand\").f(void 0, void 0).ser(se_DescribeAccountPoliciesCommand).de(de_DescribeAccountPoliciesCommand).build() {\n static {\n __name(this, \"DescribeAccountPoliciesCommand\");\n }\n};\n\n// src/commands/DescribeConfigurationTemplatesCommand.ts\n\n\n\nvar DescribeConfigurationTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeConfigurationTemplates\", {}).n(\"CloudWatchLogsClient\", \"DescribeConfigurationTemplatesCommand\").f(void 0, void 0).ser(se_DescribeConfigurationTemplatesCommand).de(de_DescribeConfigurationTemplatesCommand).build() {\n static {\n __name(this, \"DescribeConfigurationTemplatesCommand\");\n }\n};\n\n// src/commands/DescribeDeliveriesCommand.ts\n\n\n\nvar DescribeDeliveriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeDeliveries\", {}).n(\"CloudWatchLogsClient\", \"DescribeDeliveriesCommand\").f(void 0, void 0).ser(se_DescribeDeliveriesCommand).de(de_DescribeDeliveriesCommand).build() {\n static {\n __name(this, \"DescribeDeliveriesCommand\");\n }\n};\n\n// src/commands/DescribeDeliveryDestinationsCommand.ts\n\n\n\nvar DescribeDeliveryDestinationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeDeliveryDestinations\", {}).n(\"CloudWatchLogsClient\", \"DescribeDeliveryDestinationsCommand\").f(void 0, void 0).ser(se_DescribeDeliveryDestinationsCommand).de(de_DescribeDeliveryDestinationsCommand).build() {\n static {\n __name(this, \"DescribeDeliveryDestinationsCommand\");\n }\n};\n\n// src/commands/DescribeDeliverySourcesCommand.ts\n\n\n\nvar DescribeDeliverySourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeDeliverySources\", {}).n(\"CloudWatchLogsClient\", \"DescribeDeliverySourcesCommand\").f(void 0, void 0).ser(se_DescribeDeliverySourcesCommand).de(de_DescribeDeliverySourcesCommand).build() {\n static {\n __name(this, \"DescribeDeliverySourcesCommand\");\n }\n};\n\n// src/commands/DescribeDestinationsCommand.ts\n\n\n\nvar DescribeDestinationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeDestinations\", {}).n(\"CloudWatchLogsClient\", \"DescribeDestinationsCommand\").f(void 0, void 0).ser(se_DescribeDestinationsCommand).de(de_DescribeDestinationsCommand).build() {\n static {\n __name(this, \"DescribeDestinationsCommand\");\n }\n};\n\n// src/commands/DescribeExportTasksCommand.ts\n\n\n\nvar DescribeExportTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeExportTasks\", {}).n(\"CloudWatchLogsClient\", \"DescribeExportTasksCommand\").f(void 0, void 0).ser(se_DescribeExportTasksCommand).de(de_DescribeExportTasksCommand).build() {\n static {\n __name(this, \"DescribeExportTasksCommand\");\n }\n};\n\n// src/commands/DescribeFieldIndexesCommand.ts\n\n\n\nvar DescribeFieldIndexesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeFieldIndexes\", {}).n(\"CloudWatchLogsClient\", \"DescribeFieldIndexesCommand\").f(void 0, void 0).ser(se_DescribeFieldIndexesCommand).de(de_DescribeFieldIndexesCommand).build() {\n static {\n __name(this, \"DescribeFieldIndexesCommand\");\n }\n};\n\n// src/commands/DescribeIndexPoliciesCommand.ts\n\n\n\nvar DescribeIndexPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeIndexPolicies\", {}).n(\"CloudWatchLogsClient\", \"DescribeIndexPoliciesCommand\").f(void 0, void 0).ser(se_DescribeIndexPoliciesCommand).de(de_DescribeIndexPoliciesCommand).build() {\n static {\n __name(this, \"DescribeIndexPoliciesCommand\");\n }\n};\n\n// src/commands/DescribeLogGroupsCommand.ts\n\n\n\nvar DescribeLogGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeLogGroups\", {}).n(\"CloudWatchLogsClient\", \"DescribeLogGroupsCommand\").f(void 0, void 0).ser(se_DescribeLogGroupsCommand).de(de_DescribeLogGroupsCommand).build() {\n static {\n __name(this, \"DescribeLogGroupsCommand\");\n }\n};\n\n// src/commands/DescribeLogStreamsCommand.ts\n\n\n\nvar DescribeLogStreamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeLogStreams\", {}).n(\"CloudWatchLogsClient\", \"DescribeLogStreamsCommand\").f(void 0, void 0).ser(se_DescribeLogStreamsCommand).de(de_DescribeLogStreamsCommand).build() {\n static {\n __name(this, \"DescribeLogStreamsCommand\");\n }\n};\n\n// src/commands/DescribeMetricFiltersCommand.ts\n\n\n\nvar DescribeMetricFiltersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeMetricFilters\", {}).n(\"CloudWatchLogsClient\", \"DescribeMetricFiltersCommand\").f(void 0, void 0).ser(se_DescribeMetricFiltersCommand).de(de_DescribeMetricFiltersCommand).build() {\n static {\n __name(this, \"DescribeMetricFiltersCommand\");\n }\n};\n\n// src/commands/DescribeQueriesCommand.ts\n\n\n\nvar DescribeQueriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeQueries\", {}).n(\"CloudWatchLogsClient\", \"DescribeQueriesCommand\").f(void 0, void 0).ser(se_DescribeQueriesCommand).de(de_DescribeQueriesCommand).build() {\n static {\n __name(this, \"DescribeQueriesCommand\");\n }\n};\n\n// src/commands/DescribeQueryDefinitionsCommand.ts\n\n\n\nvar DescribeQueryDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeQueryDefinitions\", {}).n(\"CloudWatchLogsClient\", \"DescribeQueryDefinitionsCommand\").f(void 0, void 0).ser(se_DescribeQueryDefinitionsCommand).de(de_DescribeQueryDefinitionsCommand).build() {\n static {\n __name(this, \"DescribeQueryDefinitionsCommand\");\n }\n};\n\n// src/commands/DescribeResourcePoliciesCommand.ts\n\n\n\nvar DescribeResourcePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeResourcePolicies\", {}).n(\"CloudWatchLogsClient\", \"DescribeResourcePoliciesCommand\").f(void 0, void 0).ser(se_DescribeResourcePoliciesCommand).de(de_DescribeResourcePoliciesCommand).build() {\n static {\n __name(this, \"DescribeResourcePoliciesCommand\");\n }\n};\n\n// src/commands/DescribeSubscriptionFiltersCommand.ts\n\n\n\nvar DescribeSubscriptionFiltersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DescribeSubscriptionFilters\", {}).n(\"CloudWatchLogsClient\", \"DescribeSubscriptionFiltersCommand\").f(void 0, void 0).ser(se_DescribeSubscriptionFiltersCommand).de(de_DescribeSubscriptionFiltersCommand).build() {\n static {\n __name(this, \"DescribeSubscriptionFiltersCommand\");\n }\n};\n\n// src/commands/DisassociateKmsKeyCommand.ts\n\n\n\nvar DisassociateKmsKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"DisassociateKmsKey\", {}).n(\"CloudWatchLogsClient\", \"DisassociateKmsKeyCommand\").f(void 0, void 0).ser(se_DisassociateKmsKeyCommand).de(de_DisassociateKmsKeyCommand).build() {\n static {\n __name(this, \"DisassociateKmsKeyCommand\");\n }\n};\n\n// src/commands/FilterLogEventsCommand.ts\n\n\n\nvar FilterLogEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"FilterLogEvents\", {}).n(\"CloudWatchLogsClient\", \"FilterLogEventsCommand\").f(void 0, void 0).ser(se_FilterLogEventsCommand).de(de_FilterLogEventsCommand).build() {\n static {\n __name(this, \"FilterLogEventsCommand\");\n }\n};\n\n// src/commands/GetDataProtectionPolicyCommand.ts\n\n\n\nvar GetDataProtectionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetDataProtectionPolicy\", {}).n(\"CloudWatchLogsClient\", \"GetDataProtectionPolicyCommand\").f(void 0, void 0).ser(se_GetDataProtectionPolicyCommand).de(de_GetDataProtectionPolicyCommand).build() {\n static {\n __name(this, \"GetDataProtectionPolicyCommand\");\n }\n};\n\n// src/commands/GetDeliveryCommand.ts\n\n\n\nvar GetDeliveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetDelivery\", {}).n(\"CloudWatchLogsClient\", \"GetDeliveryCommand\").f(void 0, void 0).ser(se_GetDeliveryCommand).de(de_GetDeliveryCommand).build() {\n static {\n __name(this, \"GetDeliveryCommand\");\n }\n};\n\n// src/commands/GetDeliveryDestinationCommand.ts\n\n\n\nvar GetDeliveryDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetDeliveryDestination\", {}).n(\"CloudWatchLogsClient\", \"GetDeliveryDestinationCommand\").f(void 0, void 0).ser(se_GetDeliveryDestinationCommand).de(de_GetDeliveryDestinationCommand).build() {\n static {\n __name(this, \"GetDeliveryDestinationCommand\");\n }\n};\n\n// src/commands/GetDeliveryDestinationPolicyCommand.ts\n\n\n\nvar GetDeliveryDestinationPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetDeliveryDestinationPolicy\", {}).n(\"CloudWatchLogsClient\", \"GetDeliveryDestinationPolicyCommand\").f(void 0, void 0).ser(se_GetDeliveryDestinationPolicyCommand).de(de_GetDeliveryDestinationPolicyCommand).build() {\n static {\n __name(this, \"GetDeliveryDestinationPolicyCommand\");\n }\n};\n\n// src/commands/GetDeliverySourceCommand.ts\n\n\n\nvar GetDeliverySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetDeliverySource\", {}).n(\"CloudWatchLogsClient\", \"GetDeliverySourceCommand\").f(void 0, void 0).ser(se_GetDeliverySourceCommand).de(de_GetDeliverySourceCommand).build() {\n static {\n __name(this, \"GetDeliverySourceCommand\");\n }\n};\n\n// src/commands/GetIntegrationCommand.ts\n\n\n\nvar GetIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetIntegration\", {}).n(\"CloudWatchLogsClient\", \"GetIntegrationCommand\").f(void 0, void 0).ser(se_GetIntegrationCommand).de(de_GetIntegrationCommand).build() {\n static {\n __name(this, \"GetIntegrationCommand\");\n }\n};\n\n// src/commands/GetLogAnomalyDetectorCommand.ts\n\n\n\nvar GetLogAnomalyDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetLogAnomalyDetector\", {}).n(\"CloudWatchLogsClient\", \"GetLogAnomalyDetectorCommand\").f(void 0, void 0).ser(se_GetLogAnomalyDetectorCommand).de(de_GetLogAnomalyDetectorCommand).build() {\n static {\n __name(this, \"GetLogAnomalyDetectorCommand\");\n }\n};\n\n// src/commands/GetLogEventsCommand.ts\n\n\n\nvar GetLogEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetLogEvents\", {}).n(\"CloudWatchLogsClient\", \"GetLogEventsCommand\").f(void 0, void 0).ser(se_GetLogEventsCommand).de(de_GetLogEventsCommand).build() {\n static {\n __name(this, \"GetLogEventsCommand\");\n }\n};\n\n// src/commands/GetLogGroupFieldsCommand.ts\n\n\n\nvar GetLogGroupFieldsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetLogGroupFields\", {}).n(\"CloudWatchLogsClient\", \"GetLogGroupFieldsCommand\").f(void 0, void 0).ser(se_GetLogGroupFieldsCommand).de(de_GetLogGroupFieldsCommand).build() {\n static {\n __name(this, \"GetLogGroupFieldsCommand\");\n }\n};\n\n// src/commands/GetLogRecordCommand.ts\n\n\n\nvar GetLogRecordCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetLogRecord\", {}).n(\"CloudWatchLogsClient\", \"GetLogRecordCommand\").f(void 0, void 0).ser(se_GetLogRecordCommand).de(de_GetLogRecordCommand).build() {\n static {\n __name(this, \"GetLogRecordCommand\");\n }\n};\n\n// src/commands/GetQueryResultsCommand.ts\n\n\n\nvar GetQueryResultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetQueryResults\", {}).n(\"CloudWatchLogsClient\", \"GetQueryResultsCommand\").f(void 0, void 0).ser(se_GetQueryResultsCommand).de(de_GetQueryResultsCommand).build() {\n static {\n __name(this, \"GetQueryResultsCommand\");\n }\n};\n\n// src/commands/GetTransformerCommand.ts\n\n\n\nvar GetTransformerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"GetTransformer\", {}).n(\"CloudWatchLogsClient\", \"GetTransformerCommand\").f(void 0, void 0).ser(se_GetTransformerCommand).de(de_GetTransformerCommand).build() {\n static {\n __name(this, \"GetTransformerCommand\");\n }\n};\n\n// src/commands/ListAnomaliesCommand.ts\n\n\n\nvar ListAnomaliesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListAnomalies\", {}).n(\"CloudWatchLogsClient\", \"ListAnomaliesCommand\").f(void 0, void 0).ser(se_ListAnomaliesCommand).de(de_ListAnomaliesCommand).build() {\n static {\n __name(this, \"ListAnomaliesCommand\");\n }\n};\n\n// src/commands/ListIntegrationsCommand.ts\n\n\n\nvar ListIntegrationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListIntegrations\", {}).n(\"CloudWatchLogsClient\", \"ListIntegrationsCommand\").f(void 0, void 0).ser(se_ListIntegrationsCommand).de(de_ListIntegrationsCommand).build() {\n static {\n __name(this, \"ListIntegrationsCommand\");\n }\n};\n\n// src/commands/ListLogAnomalyDetectorsCommand.ts\n\n\n\nvar ListLogAnomalyDetectorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListLogAnomalyDetectors\", {}).n(\"CloudWatchLogsClient\", \"ListLogAnomalyDetectorsCommand\").f(void 0, void 0).ser(se_ListLogAnomalyDetectorsCommand).de(de_ListLogAnomalyDetectorsCommand).build() {\n static {\n __name(this, \"ListLogAnomalyDetectorsCommand\");\n }\n};\n\n// src/commands/ListLogGroupsForQueryCommand.ts\n\n\n\nvar ListLogGroupsForQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListLogGroupsForQuery\", {}).n(\"CloudWatchLogsClient\", \"ListLogGroupsForQueryCommand\").f(void 0, void 0).ser(se_ListLogGroupsForQueryCommand).de(de_ListLogGroupsForQueryCommand).build() {\n static {\n __name(this, \"ListLogGroupsForQueryCommand\");\n }\n};\n\n// src/commands/ListTagsForResourceCommand.ts\n\n\n\nvar ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListTagsForResource\", {}).n(\"CloudWatchLogsClient\", \"ListTagsForResourceCommand\").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {\n static {\n __name(this, \"ListTagsForResourceCommand\");\n }\n};\n\n// src/commands/ListTagsLogGroupCommand.ts\n\n\n\nvar ListTagsLogGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"ListTagsLogGroup\", {}).n(\"CloudWatchLogsClient\", \"ListTagsLogGroupCommand\").f(void 0, void 0).ser(se_ListTagsLogGroupCommand).de(de_ListTagsLogGroupCommand).build() {\n static {\n __name(this, \"ListTagsLogGroupCommand\");\n }\n};\n\n// src/commands/PutAccountPolicyCommand.ts\n\n\n\nvar PutAccountPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutAccountPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutAccountPolicyCommand\").f(void 0, void 0).ser(se_PutAccountPolicyCommand).de(de_PutAccountPolicyCommand).build() {\n static {\n __name(this, \"PutAccountPolicyCommand\");\n }\n};\n\n// src/commands/PutDataProtectionPolicyCommand.ts\n\n\n\nvar PutDataProtectionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDataProtectionPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutDataProtectionPolicyCommand\").f(void 0, void 0).ser(se_PutDataProtectionPolicyCommand).de(de_PutDataProtectionPolicyCommand).build() {\n static {\n __name(this, \"PutDataProtectionPolicyCommand\");\n }\n};\n\n// src/commands/PutDeliveryDestinationCommand.ts\n\n\n\nvar PutDeliveryDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDeliveryDestination\", {}).n(\"CloudWatchLogsClient\", \"PutDeliveryDestinationCommand\").f(void 0, void 0).ser(se_PutDeliveryDestinationCommand).de(de_PutDeliveryDestinationCommand).build() {\n static {\n __name(this, \"PutDeliveryDestinationCommand\");\n }\n};\n\n// src/commands/PutDeliveryDestinationPolicyCommand.ts\n\n\n\nvar PutDeliveryDestinationPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDeliveryDestinationPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutDeliveryDestinationPolicyCommand\").f(void 0, void 0).ser(se_PutDeliveryDestinationPolicyCommand).de(de_PutDeliveryDestinationPolicyCommand).build() {\n static {\n __name(this, \"PutDeliveryDestinationPolicyCommand\");\n }\n};\n\n// src/commands/PutDeliverySourceCommand.ts\n\n\n\nvar PutDeliverySourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDeliverySource\", {}).n(\"CloudWatchLogsClient\", \"PutDeliverySourceCommand\").f(void 0, void 0).ser(se_PutDeliverySourceCommand).de(de_PutDeliverySourceCommand).build() {\n static {\n __name(this, \"PutDeliverySourceCommand\");\n }\n};\n\n// src/commands/PutDestinationCommand.ts\n\n\n\nvar PutDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDestination\", {}).n(\"CloudWatchLogsClient\", \"PutDestinationCommand\").f(void 0, void 0).ser(se_PutDestinationCommand).de(de_PutDestinationCommand).build() {\n static {\n __name(this, \"PutDestinationCommand\");\n }\n};\n\n// src/commands/PutDestinationPolicyCommand.ts\n\n\n\nvar PutDestinationPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutDestinationPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutDestinationPolicyCommand\").f(void 0, void 0).ser(se_PutDestinationPolicyCommand).de(de_PutDestinationPolicyCommand).build() {\n static {\n __name(this, \"PutDestinationPolicyCommand\");\n }\n};\n\n// src/commands/PutIndexPolicyCommand.ts\n\n\n\nvar PutIndexPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutIndexPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutIndexPolicyCommand\").f(void 0, void 0).ser(se_PutIndexPolicyCommand).de(de_PutIndexPolicyCommand).build() {\n static {\n __name(this, \"PutIndexPolicyCommand\");\n }\n};\n\n// src/commands/PutIntegrationCommand.ts\n\n\n\nvar PutIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutIntegration\", {}).n(\"CloudWatchLogsClient\", \"PutIntegrationCommand\").f(void 0, void 0).ser(se_PutIntegrationCommand).de(de_PutIntegrationCommand).build() {\n static {\n __name(this, \"PutIntegrationCommand\");\n }\n};\n\n// src/commands/PutLogEventsCommand.ts\n\n\n\nvar PutLogEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutLogEvents\", {}).n(\"CloudWatchLogsClient\", \"PutLogEventsCommand\").f(void 0, void 0).ser(se_PutLogEventsCommand).de(de_PutLogEventsCommand).build() {\n static {\n __name(this, \"PutLogEventsCommand\");\n }\n};\n\n// src/commands/PutMetricFilterCommand.ts\n\n\n\nvar PutMetricFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutMetricFilter\", {}).n(\"CloudWatchLogsClient\", \"PutMetricFilterCommand\").f(void 0, void 0).ser(se_PutMetricFilterCommand).de(de_PutMetricFilterCommand).build() {\n static {\n __name(this, \"PutMetricFilterCommand\");\n }\n};\n\n// src/commands/PutQueryDefinitionCommand.ts\n\n\n\nvar PutQueryDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutQueryDefinition\", {}).n(\"CloudWatchLogsClient\", \"PutQueryDefinitionCommand\").f(void 0, void 0).ser(se_PutQueryDefinitionCommand).de(de_PutQueryDefinitionCommand).build() {\n static {\n __name(this, \"PutQueryDefinitionCommand\");\n }\n};\n\n// src/commands/PutResourcePolicyCommand.ts\n\n\n\nvar PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutResourcePolicy\", {}).n(\"CloudWatchLogsClient\", \"PutResourcePolicyCommand\").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {\n static {\n __name(this, \"PutResourcePolicyCommand\");\n }\n};\n\n// src/commands/PutRetentionPolicyCommand.ts\n\n\n\nvar PutRetentionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutRetentionPolicy\", {}).n(\"CloudWatchLogsClient\", \"PutRetentionPolicyCommand\").f(void 0, void 0).ser(se_PutRetentionPolicyCommand).de(de_PutRetentionPolicyCommand).build() {\n static {\n __name(this, \"PutRetentionPolicyCommand\");\n }\n};\n\n// src/commands/PutSubscriptionFilterCommand.ts\n\n\n\nvar PutSubscriptionFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutSubscriptionFilter\", {}).n(\"CloudWatchLogsClient\", \"PutSubscriptionFilterCommand\").f(void 0, void 0).ser(se_PutSubscriptionFilterCommand).de(de_PutSubscriptionFilterCommand).build() {\n static {\n __name(this, \"PutSubscriptionFilterCommand\");\n }\n};\n\n// src/commands/PutTransformerCommand.ts\n\n\n\nvar PutTransformerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"PutTransformer\", {}).n(\"CloudWatchLogsClient\", \"PutTransformerCommand\").f(void 0, void 0).ser(se_PutTransformerCommand).de(de_PutTransformerCommand).build() {\n static {\n __name(this, \"PutTransformerCommand\");\n }\n};\n\n// src/commands/StartLiveTailCommand.ts\n\n\n\nvar StartLiveTailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"StartLiveTail\", {\n /**\n * @internal\n */\n eventStream: {\n output: true\n }\n}).n(\"CloudWatchLogsClient\", \"StartLiveTailCommand\").f(void 0, StartLiveTailResponseFilterSensitiveLog).ser(se_StartLiveTailCommand).de(de_StartLiveTailCommand).build() {\n static {\n __name(this, \"StartLiveTailCommand\");\n }\n};\n\n// src/commands/StartQueryCommand.ts\n\n\n\nvar StartQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"StartQuery\", {}).n(\"CloudWatchLogsClient\", \"StartQueryCommand\").f(void 0, void 0).ser(se_StartQueryCommand).de(de_StartQueryCommand).build() {\n static {\n __name(this, \"StartQueryCommand\");\n }\n};\n\n// src/commands/StopQueryCommand.ts\n\n\n\nvar StopQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"StopQuery\", {}).n(\"CloudWatchLogsClient\", \"StopQueryCommand\").f(void 0, void 0).ser(se_StopQueryCommand).de(de_StopQueryCommand).build() {\n static {\n __name(this, \"StopQueryCommand\");\n }\n};\n\n// src/commands/TagLogGroupCommand.ts\n\n\n\nvar TagLogGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"TagLogGroup\", {}).n(\"CloudWatchLogsClient\", \"TagLogGroupCommand\").f(void 0, void 0).ser(se_TagLogGroupCommand).de(de_TagLogGroupCommand).build() {\n static {\n __name(this, \"TagLogGroupCommand\");\n }\n};\n\n// src/commands/TagResourceCommand.ts\n\n\n\nvar TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"TagResource\", {}).n(\"CloudWatchLogsClient\", \"TagResourceCommand\").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {\n static {\n __name(this, \"TagResourceCommand\");\n }\n};\n\n// src/commands/TestMetricFilterCommand.ts\n\n\n\nvar TestMetricFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"TestMetricFilter\", {}).n(\"CloudWatchLogsClient\", \"TestMetricFilterCommand\").f(void 0, void 0).ser(se_TestMetricFilterCommand).de(de_TestMetricFilterCommand).build() {\n static {\n __name(this, \"TestMetricFilterCommand\");\n }\n};\n\n// src/commands/TestTransformerCommand.ts\n\n\n\nvar TestTransformerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"TestTransformer\", {}).n(\"CloudWatchLogsClient\", \"TestTransformerCommand\").f(void 0, void 0).ser(se_TestTransformerCommand).de(de_TestTransformerCommand).build() {\n static {\n __name(this, \"TestTransformerCommand\");\n }\n};\n\n// src/commands/UntagLogGroupCommand.ts\n\n\n\nvar UntagLogGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"UntagLogGroup\", {}).n(\"CloudWatchLogsClient\", \"UntagLogGroupCommand\").f(void 0, void 0).ser(se_UntagLogGroupCommand).de(de_UntagLogGroupCommand).build() {\n static {\n __name(this, \"UntagLogGroupCommand\");\n }\n};\n\n// src/commands/UntagResourceCommand.ts\n\n\n\nvar UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"UntagResource\", {}).n(\"CloudWatchLogsClient\", \"UntagResourceCommand\").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {\n static {\n __name(this, \"UntagResourceCommand\");\n }\n};\n\n// src/commands/UpdateAnomalyCommand.ts\n\n\n\nvar UpdateAnomalyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"UpdateAnomaly\", {}).n(\"CloudWatchLogsClient\", \"UpdateAnomalyCommand\").f(void 0, void 0).ser(se_UpdateAnomalyCommand).de(de_UpdateAnomalyCommand).build() {\n static {\n __name(this, \"UpdateAnomalyCommand\");\n }\n};\n\n// src/commands/UpdateDeliveryConfigurationCommand.ts\n\n\n\nvar UpdateDeliveryConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"UpdateDeliveryConfiguration\", {}).n(\"CloudWatchLogsClient\", \"UpdateDeliveryConfigurationCommand\").f(void 0, void 0).ser(se_UpdateDeliveryConfigurationCommand).de(de_UpdateDeliveryConfigurationCommand).build() {\n static {\n __name(this, \"UpdateDeliveryConfigurationCommand\");\n }\n};\n\n// src/commands/UpdateLogAnomalyDetectorCommand.ts\n\n\n\nvar UpdateLogAnomalyDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"Logs_20140328\", \"UpdateLogAnomalyDetector\", {}).n(\"CloudWatchLogsClient\", \"UpdateLogAnomalyDetectorCommand\").f(void 0, void 0).ser(se_UpdateLogAnomalyDetectorCommand).de(de_UpdateLogAnomalyDetectorCommand).build() {\n static {\n __name(this, \"UpdateLogAnomalyDetectorCommand\");\n }\n};\n\n// src/CloudWatchLogs.ts\nvar commands = {\n AssociateKmsKeyCommand,\n CancelExportTaskCommand,\n CreateDeliveryCommand,\n CreateExportTaskCommand,\n CreateLogAnomalyDetectorCommand,\n CreateLogGroupCommand,\n CreateLogStreamCommand,\n DeleteAccountPolicyCommand,\n DeleteDataProtectionPolicyCommand,\n DeleteDeliveryCommand,\n DeleteDeliveryDestinationCommand,\n DeleteDeliveryDestinationPolicyCommand,\n DeleteDeliverySourceCommand,\n DeleteDestinationCommand,\n DeleteIndexPolicyCommand,\n DeleteIntegrationCommand,\n DeleteLogAnomalyDetectorCommand,\n DeleteLogGroupCommand,\n DeleteLogStreamCommand,\n DeleteMetricFilterCommand,\n DeleteQueryDefinitionCommand,\n DeleteResourcePolicyCommand,\n DeleteRetentionPolicyCommand,\n DeleteSubscriptionFilterCommand,\n DeleteTransformerCommand,\n DescribeAccountPoliciesCommand,\n DescribeConfigurationTemplatesCommand,\n DescribeDeliveriesCommand,\n DescribeDeliveryDestinationsCommand,\n DescribeDeliverySourcesCommand,\n DescribeDestinationsCommand,\n DescribeExportTasksCommand,\n DescribeFieldIndexesCommand,\n DescribeIndexPoliciesCommand,\n DescribeLogGroupsCommand,\n DescribeLogStreamsCommand,\n DescribeMetricFiltersCommand,\n DescribeQueriesCommand,\n DescribeQueryDefinitionsCommand,\n DescribeResourcePoliciesCommand,\n DescribeSubscriptionFiltersCommand,\n DisassociateKmsKeyCommand,\n FilterLogEventsCommand,\n GetDataProtectionPolicyCommand,\n GetDeliveryCommand,\n GetDeliveryDestinationCommand,\n GetDeliveryDestinationPolicyCommand,\n GetDeliverySourceCommand,\n GetIntegrationCommand,\n GetLogAnomalyDetectorCommand,\n GetLogEventsCommand,\n GetLogGroupFieldsCommand,\n GetLogRecordCommand,\n GetQueryResultsCommand,\n GetTransformerCommand,\n ListAnomaliesCommand,\n ListIntegrationsCommand,\n ListLogAnomalyDetectorsCommand,\n ListLogGroupsForQueryCommand,\n ListTagsForResourceCommand,\n ListTagsLogGroupCommand,\n PutAccountPolicyCommand,\n PutDataProtectionPolicyCommand,\n PutDeliveryDestinationCommand,\n PutDeliveryDestinationPolicyCommand,\n PutDeliverySourceCommand,\n PutDestinationCommand,\n PutDestinationPolicyCommand,\n PutIndexPolicyCommand,\n PutIntegrationCommand,\n PutLogEventsCommand,\n PutMetricFilterCommand,\n PutQueryDefinitionCommand,\n PutResourcePolicyCommand,\n PutRetentionPolicyCommand,\n PutSubscriptionFilterCommand,\n PutTransformerCommand,\n StartLiveTailCommand,\n StartQueryCommand,\n StopQueryCommand,\n TagLogGroupCommand,\n TagResourceCommand,\n TestMetricFilterCommand,\n TestTransformerCommand,\n UntagLogGroupCommand,\n UntagResourceCommand,\n UpdateAnomalyCommand,\n UpdateDeliveryConfigurationCommand,\n UpdateLogAnomalyDetectorCommand\n};\nvar CloudWatchLogs = class extends CloudWatchLogsClient {\n static {\n __name(this, \"CloudWatchLogs\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, CloudWatchLogs);\n\n// src/pagination/DescribeConfigurationTemplatesPaginator.ts\n\nvar paginateDescribeConfigurationTemplates = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeConfigurationTemplatesCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeDeliveriesPaginator.ts\n\nvar paginateDescribeDeliveries = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeDeliveriesCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeDeliveryDestinationsPaginator.ts\n\nvar paginateDescribeDeliveryDestinations = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeDeliveryDestinationsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeDeliverySourcesPaginator.ts\n\nvar paginateDescribeDeliverySources = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeDeliverySourcesCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeDestinationsPaginator.ts\n\nvar paginateDescribeDestinations = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeDestinationsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeLogGroupsPaginator.ts\n\nvar paginateDescribeLogGroups = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeLogGroupsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeLogStreamsPaginator.ts\n\nvar paginateDescribeLogStreams = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeLogStreamsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeMetricFiltersPaginator.ts\n\nvar paginateDescribeMetricFilters = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeMetricFiltersCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/DescribeSubscriptionFiltersPaginator.ts\n\nvar paginateDescribeSubscriptionFilters = (0, import_core.createPaginator)(CloudWatchLogsClient, DescribeSubscriptionFiltersCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/FilterLogEventsPaginator.ts\n\nvar paginateFilterLogEvents = (0, import_core.createPaginator)(CloudWatchLogsClient, FilterLogEventsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/GetLogEventsPaginator.ts\n\nvar paginateGetLogEvents = (0, import_core.createPaginator)(CloudWatchLogsClient, GetLogEventsCommand, \"nextToken\", \"nextForwardToken\", \"limit\");\n\n// src/pagination/ListAnomaliesPaginator.ts\n\nvar paginateListAnomalies = (0, import_core.createPaginator)(CloudWatchLogsClient, ListAnomaliesCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/ListLogAnomalyDetectorsPaginator.ts\n\nvar paginateListLogAnomalyDetectors = (0, import_core.createPaginator)(CloudWatchLogsClient, ListLogAnomalyDetectorsCommand, \"nextToken\", \"nextToken\", \"limit\");\n\n// src/pagination/ListLogGroupsForQueryPaginator.ts\n\nvar paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchLogsClient, ListLogGroupsForQueryCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n CloudWatchLogsServiceException,\n __Client,\n CloudWatchLogsClient,\n CloudWatchLogs,\n $Command,\n AssociateKmsKeyCommand,\n CancelExportTaskCommand,\n CreateDeliveryCommand,\n CreateExportTaskCommand,\n CreateLogAnomalyDetectorCommand,\n CreateLogGroupCommand,\n CreateLogStreamCommand,\n DeleteAccountPolicyCommand,\n DeleteDataProtectionPolicyCommand,\n DeleteDeliveryCommand,\n DeleteDeliveryDestinationCommand,\n DeleteDeliveryDestinationPolicyCommand,\n DeleteDeliverySourceCommand,\n DeleteDestinationCommand,\n DeleteIndexPolicyCommand,\n DeleteIntegrationCommand,\n DeleteLogAnomalyDetectorCommand,\n DeleteLogGroupCommand,\n DeleteLogStreamCommand,\n DeleteMetricFilterCommand,\n DeleteQueryDefinitionCommand,\n DeleteResourcePolicyCommand,\n DeleteRetentionPolicyCommand,\n DeleteSubscriptionFilterCommand,\n DeleteTransformerCommand,\n DescribeAccountPoliciesCommand,\n DescribeConfigurationTemplatesCommand,\n DescribeDeliveriesCommand,\n DescribeDeliveryDestinationsCommand,\n DescribeDeliverySourcesCommand,\n DescribeDestinationsCommand,\n DescribeExportTasksCommand,\n DescribeFieldIndexesCommand,\n DescribeIndexPoliciesCommand,\n DescribeLogGroupsCommand,\n DescribeLogStreamsCommand,\n DescribeMetricFiltersCommand,\n DescribeQueriesCommand,\n DescribeQueryDefinitionsCommand,\n DescribeResourcePoliciesCommand,\n DescribeSubscriptionFiltersCommand,\n DisassociateKmsKeyCommand,\n FilterLogEventsCommand,\n GetDataProtectionPolicyCommand,\n GetDeliveryCommand,\n GetDeliveryDestinationCommand,\n GetDeliveryDestinationPolicyCommand,\n GetDeliverySourceCommand,\n GetIntegrationCommand,\n GetLogAnomalyDetectorCommand,\n GetLogEventsCommand,\n GetLogGroupFieldsCommand,\n GetLogRecordCommand,\n GetQueryResultsCommand,\n GetTransformerCommand,\n ListAnomaliesCommand,\n ListIntegrationsCommand,\n ListLogAnomalyDetectorsCommand,\n ListLogGroupsForQueryCommand,\n ListTagsForResourceCommand,\n ListTagsLogGroupCommand,\n PutAccountPolicyCommand,\n PutDataProtectionPolicyCommand,\n PutDeliveryDestinationCommand,\n PutDeliveryDestinationPolicyCommand,\n PutDeliverySourceCommand,\n PutDestinationCommand,\n PutDestinationPolicyCommand,\n PutIndexPolicyCommand,\n PutIntegrationCommand,\n PutLogEventsCommand,\n PutMetricFilterCommand,\n PutQueryDefinitionCommand,\n PutResourcePolicyCommand,\n PutRetentionPolicyCommand,\n PutSubscriptionFilterCommand,\n PutTransformerCommand,\n StartLiveTailCommand,\n StartQueryCommand,\n StopQueryCommand,\n TagLogGroupCommand,\n TagResourceCommand,\n TestMetricFilterCommand,\n TestTransformerCommand,\n UntagLogGroupCommand,\n UntagResourceCommand,\n UpdateAnomalyCommand,\n UpdateDeliveryConfigurationCommand,\n UpdateLogAnomalyDetectorCommand,\n paginateDescribeConfigurationTemplates,\n paginateDescribeDeliveries,\n paginateDescribeDeliveryDestinations,\n paginateDescribeDeliverySources,\n paginateDescribeDestinations,\n paginateDescribeLogGroups,\n paginateDescribeLogStreams,\n paginateDescribeMetricFilters,\n paginateDescribeSubscriptionFilters,\n paginateFilterLogEvents,\n paginateGetLogEvents,\n paginateListAnomalies,\n paginateListLogAnomalyDetectors,\n paginateListLogGroupsForQuery,\n AccessDeniedException,\n PolicyType,\n Scope,\n State,\n AnomalyDetectorStatus,\n EvaluationFrequency,\n InvalidParameterException,\n OperationAbortedException,\n ResourceNotFoundException,\n ServiceUnavailableException,\n InvalidOperationException,\n OutputFormat,\n DeliveryDestinationType,\n ConflictException,\n ServiceQuotaExceededException,\n ThrottlingException,\n ValidationException,\n LimitExceededException,\n ResourceAlreadyExistsException,\n LogGroupClass,\n DataAlreadyAcceptedException,\n DataProtectionStatus,\n ExportTaskStatusCode,\n IndexSource,\n InheritedProperty,\n OrderBy,\n StandardUnit,\n QueryLanguage,\n QueryStatus,\n Distribution,\n EntityRejectionErrorType,\n FlattenedElement,\n OpenSearchResourceStatusType,\n IntegrationDetails,\n IntegrationStatus,\n IntegrationType,\n Type,\n InvalidSequenceTokenException,\n SuppressionState,\n ResourceConfig,\n UnrecognizedClientException,\n SessionStreamingException,\n SessionTimeoutException,\n StartLiveTailResponseStream,\n MalformedQueryException,\n TooManyTagsException,\n SuppressionUnit,\n SuppressionType,\n StartLiveTailResponseStreamFilterSensitiveLog,\n StartLiveTailResponseFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst eventstream_serde_node_1 = require(\"@smithy/eventstream-serde-node\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2014-03-28\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCloudWatchLogsHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"CloudWatch Logs\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n randomUUID: _crypto.default.randomUUID\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.unsafeStringify = unsafeStringify;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.unsafeStringify)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.URL = exports.DNS = void 0;\nexports.default = v35;\n\nvar _stringify = require(\"./stringify.js\");\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _native = _interopRequireDefault(require(\"./native.js\"));\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n if (_native.default.randomUUID && !buf && !options) {\n return _native.default.randomUUID();\n }\n\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.slice(14, 15), 16);\n}\n\nvar _default = version;\nexports.default = _default;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultCodeBuildHttpAuthSchemeProvider = exports.defaultCodeBuildHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultCodeBuildHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultCodeBuildHttpAuthSchemeParametersProvider = defaultCodeBuildHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"codebuild\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultCodeBuildHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultCodeBuildHttpAuthSchemeProvider = defaultCodeBuildHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst s = \"required\", t = \"fn\", u = \"argv\", v = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = { [s]: false, \"type\": \"String\" }, i = { [s]: true, \"default\": false, \"type\": \"Boolean\" }, j = { [v]: \"Endpoint\" }, k = { [t]: c, [u]: [{ [v]: \"UseFIPS\" }, true] }, l = { [t]: c, [u]: [{ [v]: \"UseDualStack\" }, true] }, m = {}, n = { [t]: \"getAttr\", [u]: [{ [v]: g }, \"supportsFIPS\"] }, o = { [t]: c, [u]: [true, { [t]: \"getAttr\", [u]: [{ [v]: g }, \"supportsDualStack\"] }] }, p = [k], q = [l], r = [{ [v]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: q, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: \"aws.partition\", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: \"https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: \"https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: \"https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://codebuild.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AccountLimitExceededException: () => AccountLimitExceededException,\n AccountSuspendedException: () => AccountSuspendedException,\n ArtifactNamespace: () => ArtifactNamespace,\n ArtifactPackaging: () => ArtifactPackaging,\n ArtifactsType: () => ArtifactsType,\n AuthType: () => AuthType,\n BatchDeleteBuildsCommand: () => BatchDeleteBuildsCommand,\n BatchGetBuildBatchesCommand: () => BatchGetBuildBatchesCommand,\n BatchGetBuildsCommand: () => BatchGetBuildsCommand,\n BatchGetCommandExecutionsCommand: () => BatchGetCommandExecutionsCommand,\n BatchGetCommandExecutionsOutputFilterSensitiveLog: () => BatchGetCommandExecutionsOutputFilterSensitiveLog,\n BatchGetFleetsCommand: () => BatchGetFleetsCommand,\n BatchGetProjectsCommand: () => BatchGetProjectsCommand,\n BatchGetReportGroupsCommand: () => BatchGetReportGroupsCommand,\n BatchGetReportsCommand: () => BatchGetReportsCommand,\n BatchGetSandboxesCommand: () => BatchGetSandboxesCommand,\n BatchReportModeType: () => BatchReportModeType,\n BucketOwnerAccess: () => BucketOwnerAccess,\n BuildBatchPhaseType: () => BuildBatchPhaseType,\n BuildPhaseType: () => BuildPhaseType,\n CacheMode: () => CacheMode,\n CacheType: () => CacheType,\n CodeBuild: () => CodeBuild,\n CodeBuildClient: () => CodeBuildClient,\n CodeBuildServiceException: () => CodeBuildServiceException,\n CommandExecutionFilterSensitiveLog: () => CommandExecutionFilterSensitiveLog,\n CommandType: () => CommandType,\n ComputeType: () => ComputeType,\n CreateFleetCommand: () => CreateFleetCommand,\n CreateProjectCommand: () => CreateProjectCommand,\n CreateReportGroupCommand: () => CreateReportGroupCommand,\n CreateWebhookCommand: () => CreateWebhookCommand,\n CredentialProviderType: () => CredentialProviderType,\n DeleteBuildBatchCommand: () => DeleteBuildBatchCommand,\n DeleteFleetCommand: () => DeleteFleetCommand,\n DeleteProjectCommand: () => DeleteProjectCommand,\n DeleteReportCommand: () => DeleteReportCommand,\n DeleteReportGroupCommand: () => DeleteReportGroupCommand,\n DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,\n DeleteSourceCredentialsCommand: () => DeleteSourceCredentialsCommand,\n DeleteWebhookCommand: () => DeleteWebhookCommand,\n DescribeCodeCoveragesCommand: () => DescribeCodeCoveragesCommand,\n DescribeTestCasesCommand: () => DescribeTestCasesCommand,\n EnvironmentType: () => EnvironmentType,\n EnvironmentVariableType: () => EnvironmentVariableType,\n FileSystemType: () => FileSystemType,\n FleetContextCode: () => FleetContextCode,\n FleetOverflowBehavior: () => FleetOverflowBehavior,\n FleetProxyRuleBehavior: () => FleetProxyRuleBehavior,\n FleetProxyRuleEffectType: () => FleetProxyRuleEffectType,\n FleetProxyRuleType: () => FleetProxyRuleType,\n FleetScalingMetricType: () => FleetScalingMetricType,\n FleetScalingType: () => FleetScalingType,\n FleetSortByType: () => FleetSortByType,\n FleetStatusCode: () => FleetStatusCode,\n GetReportGroupTrendCommand: () => GetReportGroupTrendCommand,\n GetResourcePolicyCommand: () => GetResourcePolicyCommand,\n ImagePullCredentialsType: () => ImagePullCredentialsType,\n ImportSourceCredentialsCommand: () => ImportSourceCredentialsCommand,\n ImportSourceCredentialsInputFilterSensitiveLog: () => ImportSourceCredentialsInputFilterSensitiveLog,\n InvalidInputException: () => InvalidInputException,\n InvalidateProjectCacheCommand: () => InvalidateProjectCacheCommand,\n LanguageType: () => LanguageType,\n ListBuildBatchesCommand: () => ListBuildBatchesCommand,\n ListBuildBatchesForProjectCommand: () => ListBuildBatchesForProjectCommand,\n ListBuildsCommand: () => ListBuildsCommand,\n ListBuildsForProjectCommand: () => ListBuildsForProjectCommand,\n ListCommandExecutionsForSandboxCommand: () => ListCommandExecutionsForSandboxCommand,\n ListCommandExecutionsForSandboxInputFilterSensitiveLog: () => ListCommandExecutionsForSandboxInputFilterSensitiveLog,\n ListCommandExecutionsForSandboxOutputFilterSensitiveLog: () => ListCommandExecutionsForSandboxOutputFilterSensitiveLog,\n ListCuratedEnvironmentImagesCommand: () => ListCuratedEnvironmentImagesCommand,\n ListFleetsCommand: () => ListFleetsCommand,\n ListFleetsInputFilterSensitiveLog: () => ListFleetsInputFilterSensitiveLog,\n ListProjectsCommand: () => ListProjectsCommand,\n ListReportGroupsCommand: () => ListReportGroupsCommand,\n ListReportsCommand: () => ListReportsCommand,\n ListReportsForReportGroupCommand: () => ListReportsForReportGroupCommand,\n ListSandboxesCommand: () => ListSandboxesCommand,\n ListSandboxesForProjectCommand: () => ListSandboxesForProjectCommand,\n ListSandboxesForProjectInputFilterSensitiveLog: () => ListSandboxesForProjectInputFilterSensitiveLog,\n ListSharedProjectsCommand: () => ListSharedProjectsCommand,\n ListSharedReportGroupsCommand: () => ListSharedReportGroupsCommand,\n ListSourceCredentialsCommand: () => ListSourceCredentialsCommand,\n LogsConfigStatusType: () => LogsConfigStatusType,\n MachineType: () => MachineType,\n OAuthProviderException: () => OAuthProviderException,\n PlatformType: () => PlatformType,\n ProjectSortByType: () => ProjectSortByType,\n ProjectVisibilityType: () => ProjectVisibilityType,\n PutResourcePolicyCommand: () => PutResourcePolicyCommand,\n ReportCodeCoverageSortByType: () => ReportCodeCoverageSortByType,\n ReportExportConfigType: () => ReportExportConfigType,\n ReportGroupSortByType: () => ReportGroupSortByType,\n ReportGroupStatusType: () => ReportGroupStatusType,\n ReportGroupTrendFieldType: () => ReportGroupTrendFieldType,\n ReportPackagingType: () => ReportPackagingType,\n ReportStatusType: () => ReportStatusType,\n ReportType: () => ReportType,\n ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RetryBuildBatchCommand: () => RetryBuildBatchCommand,\n RetryBuildBatchType: () => RetryBuildBatchType,\n RetryBuildCommand: () => RetryBuildCommand,\n ServerType: () => ServerType,\n SharedResourceSortByType: () => SharedResourceSortByType,\n SortOrderType: () => SortOrderType,\n SourceAuthType: () => SourceAuthType,\n SourceType: () => SourceType,\n StartBuildBatchCommand: () => StartBuildBatchCommand,\n StartBuildCommand: () => StartBuildCommand,\n StartCommandExecutionCommand: () => StartCommandExecutionCommand,\n StartCommandExecutionInputFilterSensitiveLog: () => StartCommandExecutionInputFilterSensitiveLog,\n StartCommandExecutionOutputFilterSensitiveLog: () => StartCommandExecutionOutputFilterSensitiveLog,\n StartSandboxCommand: () => StartSandboxCommand,\n StartSandboxConnectionCommand: () => StartSandboxConnectionCommand,\n StartSandboxInputFilterSensitiveLog: () => StartSandboxInputFilterSensitiveLog,\n StatusType: () => StatusType,\n StopBuildBatchCommand: () => StopBuildBatchCommand,\n StopBuildCommand: () => StopBuildCommand,\n StopSandboxCommand: () => StopSandboxCommand,\n UpdateFleetCommand: () => UpdateFleetCommand,\n UpdateProjectCommand: () => UpdateProjectCommand,\n UpdateProjectVisibilityCommand: () => UpdateProjectVisibilityCommand,\n UpdateReportGroupCommand: () => UpdateReportGroupCommand,\n UpdateWebhookCommand: () => UpdateWebhookCommand,\n WebhookBuildType: () => WebhookBuildType,\n WebhookFilterType: () => WebhookFilterType,\n WebhookScopeType: () => WebhookScopeType,\n WebhookStatus: () => WebhookStatus,\n __Client: () => import_smithy_client.Client,\n paginateDescribeCodeCoverages: () => paginateDescribeCodeCoverages,\n paginateDescribeTestCases: () => paginateDescribeTestCases,\n paginateListBuildBatches: () => paginateListBuildBatches,\n paginateListBuildBatchesForProject: () => paginateListBuildBatchesForProject,\n paginateListBuilds: () => paginateListBuilds,\n paginateListBuildsForProject: () => paginateListBuildsForProject,\n paginateListCommandExecutionsForSandbox: () => paginateListCommandExecutionsForSandbox,\n paginateListFleets: () => paginateListFleets,\n paginateListProjects: () => paginateListProjects,\n paginateListReportGroups: () => paginateListReportGroups,\n paginateListReports: () => paginateListReports,\n paginateListReportsForReportGroup: () => paginateListReportsForReportGroup,\n paginateListSandboxes: () => paginateListSandboxes,\n paginateListSandboxesForProject: () => paginateListSandboxesForProject,\n paginateListSharedProjects: () => paginateListSharedProjects,\n paginateListSharedReportGroups: () => paginateListSharedReportGroups\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/CodeBuildClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"codebuild\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/CodeBuildClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/CodeBuildClient.ts\nvar CodeBuildClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"CodeBuildClient\");\n }\n /**\n * The resolved configuration of CodeBuildClient class. This is resolved and normalized from the {@link CodeBuildClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodeBuildHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/CodeBuild.ts\n\n\n// src/commands/BatchDeleteBuildsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_json1_1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\n\n// src/models/CodeBuildServiceException.ts\n\nvar CodeBuildServiceException = class _CodeBuildServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"CodeBuildServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _CodeBuildServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\n\nvar AccountLimitExceededException = class _AccountLimitExceededException extends CodeBuildServiceException {\n static {\n __name(this, \"AccountLimitExceededException\");\n }\n name = \"AccountLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccountLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccountLimitExceededException.prototype);\n }\n};\nvar AccountSuspendedException = class _AccountSuspendedException extends CodeBuildServiceException {\n static {\n __name(this, \"AccountSuspendedException\");\n }\n name = \"AccountSuspendedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccountSuspendedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccountSuspendedException.prototype);\n }\n};\nvar ArtifactNamespace = {\n BUILD_ID: \"BUILD_ID\",\n NONE: \"NONE\"\n};\nvar ArtifactPackaging = {\n NONE: \"NONE\",\n ZIP: \"ZIP\"\n};\nvar ArtifactsType = {\n CODEPIPELINE: \"CODEPIPELINE\",\n NO_ARTIFACTS: \"NO_ARTIFACTS\",\n S3: \"S3\"\n};\nvar AuthType = {\n BASIC_AUTH: \"BASIC_AUTH\",\n CODECONNECTIONS: \"CODECONNECTIONS\",\n OAUTH: \"OAUTH\",\n PERSONAL_ACCESS_TOKEN: \"PERSONAL_ACCESS_TOKEN\",\n SECRETS_MANAGER: \"SECRETS_MANAGER\"\n};\nvar InvalidInputException = class _InvalidInputException extends CodeBuildServiceException {\n static {\n __name(this, \"InvalidInputException\");\n }\n name = \"InvalidInputException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInputException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInputException.prototype);\n }\n};\nvar BucketOwnerAccess = {\n FULL: \"FULL\",\n NONE: \"NONE\",\n READ_ONLY: \"READ_ONLY\"\n};\nvar BatchReportModeType = {\n REPORT_AGGREGATED_BATCH: \"REPORT_AGGREGATED_BATCH\",\n REPORT_INDIVIDUAL_BUILDS: \"REPORT_INDIVIDUAL_BUILDS\"\n};\nvar StatusType = {\n FAILED: \"FAILED\",\n FAULT: \"FAULT\",\n IN_PROGRESS: \"IN_PROGRESS\",\n STOPPED: \"STOPPED\",\n SUCCEEDED: \"SUCCEEDED\",\n TIMED_OUT: \"TIMED_OUT\"\n};\nvar CacheMode = {\n LOCAL_CUSTOM_CACHE: \"LOCAL_CUSTOM_CACHE\",\n LOCAL_DOCKER_LAYER_CACHE: \"LOCAL_DOCKER_LAYER_CACHE\",\n LOCAL_SOURCE_CACHE: \"LOCAL_SOURCE_CACHE\"\n};\nvar CacheType = {\n LOCAL: \"LOCAL\",\n NO_CACHE: \"NO_CACHE\",\n S3: \"S3\"\n};\nvar MachineType = {\n GENERAL: \"GENERAL\",\n NVME: \"NVME\"\n};\nvar ComputeType = {\n ATTRIBUTE_BASED_COMPUTE: \"ATTRIBUTE_BASED_COMPUTE\",\n BUILD_GENERAL1_2XLARGE: \"BUILD_GENERAL1_2XLARGE\",\n BUILD_GENERAL1_LARGE: \"BUILD_GENERAL1_LARGE\",\n BUILD_GENERAL1_MEDIUM: \"BUILD_GENERAL1_MEDIUM\",\n BUILD_GENERAL1_SMALL: \"BUILD_GENERAL1_SMALL\",\n BUILD_GENERAL1_XLARGE: \"BUILD_GENERAL1_XLARGE\",\n BUILD_LAMBDA_10GB: \"BUILD_LAMBDA_10GB\",\n BUILD_LAMBDA_1GB: \"BUILD_LAMBDA_1GB\",\n BUILD_LAMBDA_2GB: \"BUILD_LAMBDA_2GB\",\n BUILD_LAMBDA_4GB: \"BUILD_LAMBDA_4GB\",\n BUILD_LAMBDA_8GB: \"BUILD_LAMBDA_8GB\",\n CUSTOM_INSTANCE_TYPE: \"CUSTOM_INSTANCE_TYPE\"\n};\nvar EnvironmentVariableType = {\n PARAMETER_STORE: \"PARAMETER_STORE\",\n PLAINTEXT: \"PLAINTEXT\",\n SECRETS_MANAGER: \"SECRETS_MANAGER\"\n};\nvar ImagePullCredentialsType = {\n CODEBUILD: \"CODEBUILD\",\n SERVICE_ROLE: \"SERVICE_ROLE\"\n};\nvar CredentialProviderType = {\n SECRETS_MANAGER: \"SECRETS_MANAGER\"\n};\nvar EnvironmentType = {\n ARM_CONTAINER: \"ARM_CONTAINER\",\n ARM_EC2: \"ARM_EC2\",\n ARM_LAMBDA_CONTAINER: \"ARM_LAMBDA_CONTAINER\",\n LINUX_CONTAINER: \"LINUX_CONTAINER\",\n LINUX_EC2: \"LINUX_EC2\",\n LINUX_GPU_CONTAINER: \"LINUX_GPU_CONTAINER\",\n LINUX_LAMBDA_CONTAINER: \"LINUX_LAMBDA_CONTAINER\",\n MAC_ARM: \"MAC_ARM\",\n WINDOWS_CONTAINER: \"WINDOWS_CONTAINER\",\n WINDOWS_EC2: \"WINDOWS_EC2\",\n WINDOWS_SERVER_2019_CONTAINER: \"WINDOWS_SERVER_2019_CONTAINER\",\n WINDOWS_SERVER_2022_CONTAINER: \"WINDOWS_SERVER_2022_CONTAINER\"\n};\nvar FileSystemType = {\n EFS: \"EFS\"\n};\nvar LogsConfigStatusType = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar BuildBatchPhaseType = {\n COMBINE_ARTIFACTS: \"COMBINE_ARTIFACTS\",\n DOWNLOAD_BATCHSPEC: \"DOWNLOAD_BATCHSPEC\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n STOPPED: \"STOPPED\",\n SUBMITTED: \"SUBMITTED\",\n SUCCEEDED: \"SUCCEEDED\"\n};\nvar SourceAuthType = {\n CODECONNECTIONS: \"CODECONNECTIONS\",\n OAUTH: \"OAUTH\",\n SECRETS_MANAGER: \"SECRETS_MANAGER\"\n};\nvar SourceType = {\n BITBUCKET: \"BITBUCKET\",\n CODECOMMIT: \"CODECOMMIT\",\n CODEPIPELINE: \"CODEPIPELINE\",\n GITHUB: \"GITHUB\",\n GITHUB_ENTERPRISE: \"GITHUB_ENTERPRISE\",\n GITLAB: \"GITLAB\",\n GITLAB_SELF_MANAGED: \"GITLAB_SELF_MANAGED\",\n NO_SOURCE: \"NO_SOURCE\",\n S3: \"S3\"\n};\nvar BuildPhaseType = {\n BUILD: \"BUILD\",\n COMPLETED: \"COMPLETED\",\n DOWNLOAD_SOURCE: \"DOWNLOAD_SOURCE\",\n FINALIZING: \"FINALIZING\",\n INSTALL: \"INSTALL\",\n POST_BUILD: \"POST_BUILD\",\n PRE_BUILD: \"PRE_BUILD\",\n PROVISIONING: \"PROVISIONING\",\n QUEUED: \"QUEUED\",\n SUBMITTED: \"SUBMITTED\",\n UPLOAD_ARTIFACTS: \"UPLOAD_ARTIFACTS\"\n};\nvar CommandType = {\n SHELL: \"SHELL\"\n};\nvar FleetOverflowBehavior = {\n ON_DEMAND: \"ON_DEMAND\",\n QUEUE: \"QUEUE\"\n};\nvar FleetProxyRuleBehavior = {\n ALLOW_ALL: \"ALLOW_ALL\",\n DENY_ALL: \"DENY_ALL\"\n};\nvar FleetProxyRuleEffectType = {\n ALLOW: \"ALLOW\",\n DENY: \"DENY\"\n};\nvar FleetProxyRuleType = {\n DOMAIN: \"DOMAIN\",\n IP: \"IP\"\n};\nvar FleetScalingType = {\n TARGET_TRACKING_SCALING: \"TARGET_TRACKING_SCALING\"\n};\nvar FleetScalingMetricType = {\n FLEET_UTILIZATION_RATE: \"FLEET_UTILIZATION_RATE\"\n};\nvar FleetContextCode = {\n ACTION_REQUIRED: \"ACTION_REQUIRED\",\n CREATE_FAILED: \"CREATE_FAILED\",\n INSUFFICIENT_CAPACITY: \"INSUFFICIENT_CAPACITY\",\n PENDING_DELETION: \"PENDING_DELETION\",\n UPDATE_FAILED: \"UPDATE_FAILED\"\n};\nvar FleetStatusCode = {\n ACTIVE: \"ACTIVE\",\n CREATE_FAILED: \"CREATE_FAILED\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\",\n PENDING_DELETION: \"PENDING_DELETION\",\n ROTATING: \"ROTATING\",\n UPDATE_ROLLBACK_FAILED: \"UPDATE_ROLLBACK_FAILED\",\n UPDATING: \"UPDATING\"\n};\nvar ProjectVisibilityType = {\n PRIVATE: \"PRIVATE\",\n PUBLIC_READ: \"PUBLIC_READ\"\n};\nvar WebhookBuildType = {\n BUILD: \"BUILD\",\n BUILD_BATCH: \"BUILD_BATCH\",\n RUNNER_BUILDKITE_BUILD: \"RUNNER_BUILDKITE_BUILD\"\n};\nvar WebhookFilterType = {\n ACTOR_ACCOUNT_ID: \"ACTOR_ACCOUNT_ID\",\n BASE_REF: \"BASE_REF\",\n COMMIT_MESSAGE: \"COMMIT_MESSAGE\",\n EVENT: \"EVENT\",\n FILE_PATH: \"FILE_PATH\",\n HEAD_REF: \"HEAD_REF\",\n ORGANIZATION_NAME: \"ORGANIZATION_NAME\",\n RELEASE_NAME: \"RELEASE_NAME\",\n REPOSITORY_NAME: \"REPOSITORY_NAME\",\n TAG_NAME: \"TAG_NAME\",\n WORKFLOW_NAME: \"WORKFLOW_NAME\"\n};\nvar WebhookScopeType = {\n GITHUB_GLOBAL: \"GITHUB_GLOBAL\",\n GITHUB_ORGANIZATION: \"GITHUB_ORGANIZATION\",\n GITLAB_GROUP: \"GITLAB_GROUP\"\n};\nvar WebhookStatus = {\n ACTIVE: \"ACTIVE\",\n CREATE_FAILED: \"CREATE_FAILED\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\"\n};\nvar ReportExportConfigType = {\n NO_EXPORT: \"NO_EXPORT\",\n S3: \"S3\"\n};\nvar ReportPackagingType = {\n NONE: \"NONE\",\n ZIP: \"ZIP\"\n};\nvar ReportGroupStatusType = {\n ACTIVE: \"ACTIVE\",\n DELETING: \"DELETING\"\n};\nvar ReportType = {\n CODE_COVERAGE: \"CODE_COVERAGE\",\n TEST: \"TEST\"\n};\nvar ReportStatusType = {\n DELETING: \"DELETING\",\n FAILED: \"FAILED\",\n GENERATING: \"GENERATING\",\n INCOMPLETE: \"INCOMPLETE\",\n SUCCEEDED: \"SUCCEEDED\"\n};\nvar ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CodeBuildServiceException {\n static {\n __name(this, \"ResourceAlreadyExistsException\");\n }\n name = \"ResourceAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);\n }\n};\nvar OAuthProviderException = class _OAuthProviderException extends CodeBuildServiceException {\n static {\n __name(this, \"OAuthProviderException\");\n }\n name = \"OAuthProviderException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OAuthProviderException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OAuthProviderException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends CodeBuildServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar ReportCodeCoverageSortByType = {\n FILE_PATH: \"FILE_PATH\",\n LINE_COVERAGE_PERCENTAGE: \"LINE_COVERAGE_PERCENTAGE\"\n};\nvar SortOrderType = {\n ASCENDING: \"ASCENDING\",\n DESCENDING: \"DESCENDING\"\n};\nvar ReportGroupTrendFieldType = {\n BRANCHES_COVERED: \"BRANCHES_COVERED\",\n BRANCHES_MISSED: \"BRANCHES_MISSED\",\n BRANCH_COVERAGE: \"BRANCH_COVERAGE\",\n DURATION: \"DURATION\",\n LINES_COVERED: \"LINES_COVERED\",\n LINES_MISSED: \"LINES_MISSED\",\n LINE_COVERAGE: \"LINE_COVERAGE\",\n PASS_RATE: \"PASS_RATE\",\n TOTAL: \"TOTAL\"\n};\nvar ServerType = {\n BITBUCKET: \"BITBUCKET\",\n GITHUB: \"GITHUB\",\n GITHUB_ENTERPRISE: \"GITHUB_ENTERPRISE\",\n GITLAB: \"GITLAB\",\n GITLAB_SELF_MANAGED: \"GITLAB_SELF_MANAGED\"\n};\nvar LanguageType = {\n ANDROID: \"ANDROID\",\n BASE: \"BASE\",\n DOCKER: \"DOCKER\",\n DOTNET: \"DOTNET\",\n GOLANG: \"GOLANG\",\n JAVA: \"JAVA\",\n NODE_JS: \"NODE_JS\",\n PHP: \"PHP\",\n PYTHON: \"PYTHON\",\n RUBY: \"RUBY\"\n};\nvar PlatformType = {\n AMAZON_LINUX: \"AMAZON_LINUX\",\n DEBIAN: \"DEBIAN\",\n UBUNTU: \"UBUNTU\",\n WINDOWS_SERVER: \"WINDOWS_SERVER\"\n};\nvar FleetSortByType = {\n CREATED_TIME: \"CREATED_TIME\",\n LAST_MODIFIED_TIME: \"LAST_MODIFIED_TIME\",\n NAME: \"NAME\"\n};\nvar ProjectSortByType = {\n CREATED_TIME: \"CREATED_TIME\",\n LAST_MODIFIED_TIME: \"LAST_MODIFIED_TIME\",\n NAME: \"NAME\"\n};\nvar ReportGroupSortByType = {\n CREATED_TIME: \"CREATED_TIME\",\n LAST_MODIFIED_TIME: \"LAST_MODIFIED_TIME\",\n NAME: \"NAME\"\n};\nvar SharedResourceSortByType = {\n ARN: \"ARN\",\n MODIFIED_TIME: \"MODIFIED_TIME\"\n};\nvar RetryBuildBatchType = {\n RETRY_ALL_BUILDS: \"RETRY_ALL_BUILDS\",\n RETRY_FAILED_BUILDS: \"RETRY_FAILED_BUILDS\"\n};\nvar CommandExecutionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.command && { command: import_smithy_client.SENSITIVE_STRING },\n ...obj.standardOutputContent && { standardOutputContent: import_smithy_client.SENSITIVE_STRING },\n ...obj.standardErrContent && { standardErrContent: import_smithy_client.SENSITIVE_STRING }\n}), \"CommandExecutionFilterSensitiveLog\");\nvar BatchGetCommandExecutionsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.commandExecutions && {\n commandExecutions: obj.commandExecutions.map((item) => CommandExecutionFilterSensitiveLog(item))\n }\n}), \"BatchGetCommandExecutionsOutputFilterSensitiveLog\");\nvar ImportSourceCredentialsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.token && { token: import_smithy_client.SENSITIVE_STRING }\n}), \"ImportSourceCredentialsInputFilterSensitiveLog\");\nvar ListCommandExecutionsForSandboxInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.nextToken && { nextToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListCommandExecutionsForSandboxInputFilterSensitiveLog\");\nvar ListCommandExecutionsForSandboxOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.commandExecutions && {\n commandExecutions: obj.commandExecutions.map((item) => CommandExecutionFilterSensitiveLog(item))\n }\n}), \"ListCommandExecutionsForSandboxOutputFilterSensitiveLog\");\nvar ListFleetsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.nextToken && { nextToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListFleetsInputFilterSensitiveLog\");\nvar ListSandboxesForProjectInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.nextToken && { nextToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListSandboxesForProjectInputFilterSensitiveLog\");\nvar StartCommandExecutionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.command && { command: import_smithy_client.SENSITIVE_STRING }\n}), \"StartCommandExecutionInputFilterSensitiveLog\");\nvar StartCommandExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.commandExecution && { commandExecution: CommandExecutionFilterSensitiveLog(obj.commandExecution) }\n}), \"StartCommandExecutionOutputFilterSensitiveLog\");\nvar StartSandboxInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.idempotencyToken && { idempotencyToken: import_smithy_client.SENSITIVE_STRING }\n}), \"StartSandboxInputFilterSensitiveLog\");\n\n// src/protocols/Aws_json1_1.ts\nvar se_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchDeleteBuilds\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchDeleteBuildsCommand\");\nvar se_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetBuildBatches\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetBuildBatchesCommand\");\nvar se_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetBuilds\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetBuildsCommand\");\nvar se_BatchGetCommandExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetCommandExecutions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetCommandExecutionsCommand\");\nvar se_BatchGetFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetFleets\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetFleetsCommand\");\nvar se_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetProjects\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetProjectsCommand\");\nvar se_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetReportGroups\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetReportGroupsCommand\");\nvar se_BatchGetReportsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetReports\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetReportsCommand\");\nvar se_BatchGetSandboxesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetSandboxes\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetSandboxesCommand\");\nvar se_CreateFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateFleet\");\n let body;\n body = JSON.stringify(se_CreateFleetInput(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateFleetCommand\");\nvar se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateProjectCommand\");\nvar se_CreateReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateReportGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateReportGroupCommand\");\nvar se_CreateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateWebhook\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateWebhookCommand\");\nvar se_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteBuildBatch\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteBuildBatchCommand\");\nvar se_DeleteFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteFleet\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteFleetCommand\");\nvar se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteProjectCommand\");\nvar se_DeleteReportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteReport\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteReportCommand\");\nvar se_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteReportGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteReportGroupCommand\");\nvar se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteResourcePolicyCommand\");\nvar se_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteSourceCredentials\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSourceCredentialsCommand\");\nvar se_DeleteWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteWebhook\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteWebhookCommand\");\nvar se_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeCodeCoverages\");\n let body;\n body = JSON.stringify(se_DescribeCodeCoveragesInput(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCodeCoveragesCommand\");\nvar se_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeTestCases\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTestCasesCommand\");\nvar se_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetReportGroupTrend\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetReportGroupTrendCommand\");\nvar se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetResourcePolicyCommand\");\nvar se_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ImportSourceCredentials\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportSourceCredentialsCommand\");\nvar se_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"InvalidateProjectCache\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_InvalidateProjectCacheCommand\");\nvar se_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListBuildBatches\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListBuildBatchesCommand\");\nvar se_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListBuildBatchesForProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListBuildBatchesForProjectCommand\");\nvar se_ListBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListBuilds\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListBuildsCommand\");\nvar se_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListBuildsForProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListBuildsForProjectCommand\");\nvar se_ListCommandExecutionsForSandboxCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListCommandExecutionsForSandbox\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListCommandExecutionsForSandboxCommand\");\nvar se_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListCuratedEnvironmentImages\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListCuratedEnvironmentImagesCommand\");\nvar se_ListFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListFleets\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListFleetsCommand\");\nvar se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListProjects\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListProjectsCommand\");\nvar se_ListReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListReportGroups\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListReportGroupsCommand\");\nvar se_ListReportsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListReports\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListReportsCommand\");\nvar se_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListReportsForReportGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListReportsForReportGroupCommand\");\nvar se_ListSandboxesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSandboxes\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSandboxesCommand\");\nvar se_ListSandboxesForProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSandboxesForProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSandboxesForProjectCommand\");\nvar se_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSharedProjects\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSharedProjectsCommand\");\nvar se_ListSharedReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSharedReportGroups\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSharedReportGroupsCommand\");\nvar se_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSourceCredentials\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSourceCredentialsCommand\");\nvar se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutResourcePolicyCommand\");\nvar se_RetryBuildCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RetryBuild\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RetryBuildCommand\");\nvar se_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RetryBuildBatch\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RetryBuildBatchCommand\");\nvar se_StartBuildCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartBuild\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartBuildCommand\");\nvar se_StartBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartBuildBatch\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartBuildBatchCommand\");\nvar se_StartCommandExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartCommandExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartCommandExecutionCommand\");\nvar se_StartSandboxCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartSandbox\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartSandboxCommand\");\nvar se_StartSandboxConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartSandboxConnection\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartSandboxConnectionCommand\");\nvar se_StopBuildCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopBuild\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopBuildCommand\");\nvar se_StopBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopBuildBatch\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopBuildBatchCommand\");\nvar se_StopSandboxCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopSandbox\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopSandboxCommand\");\nvar se_UpdateFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateFleet\");\n let body;\n body = JSON.stringify(se_UpdateFleetInput(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateFleetCommand\");\nvar se_UpdateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateProject\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateProjectCommand\");\nvar se_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateProjectVisibility\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateProjectVisibilityCommand\");\nvar se_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateReportGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateReportGroupCommand\");\nvar se_UpdateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateWebhook\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateWebhookCommand\");\nvar de_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchDeleteBuildsCommand\");\nvar de_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetBuildBatchesOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetBuildBatchesCommand\");\nvar de_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetBuildsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetBuildsCommand\");\nvar de_BatchGetCommandExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetCommandExecutionsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetCommandExecutionsCommand\");\nvar de_BatchGetFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetFleetsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetFleetsCommand\");\nvar de_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetProjectsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetProjectsCommand\");\nvar de_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetReportGroupsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetReportGroupsCommand\");\nvar de_BatchGetReportsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetReportsOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetReportsCommand\");\nvar de_BatchGetSandboxesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetSandboxesOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetSandboxesCommand\");\nvar de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateFleetOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateFleetCommand\");\nvar de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateProjectOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateProjectCommand\");\nvar de_CreateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateReportGroupOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateReportGroupCommand\");\nvar de_CreateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateWebhookOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateWebhookCommand\");\nvar de_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteBuildBatchCommand\");\nvar de_DeleteFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteFleetCommand\");\nvar de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteProjectCommand\");\nvar de_DeleteReportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteReportCommand\");\nvar de_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteReportGroupCommand\");\nvar de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteResourcePolicyCommand\");\nvar de_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteSourceCredentialsCommand\");\nvar de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteWebhookCommand\");\nvar de_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCodeCoveragesOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCodeCoveragesCommand\");\nvar de_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTestCasesOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTestCasesCommand\");\nvar de_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetReportGroupTrendCommand\");\nvar de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetResourcePolicyCommand\");\nvar de_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportSourceCredentialsCommand\");\nvar de_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_InvalidateProjectCacheCommand\");\nvar de_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListBuildBatchesCommand\");\nvar de_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListBuildBatchesForProjectCommand\");\nvar de_ListBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListBuildsCommand\");\nvar de_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListBuildsForProjectCommand\");\nvar de_ListCommandExecutionsForSandboxCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListCommandExecutionsForSandboxOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListCommandExecutionsForSandboxCommand\");\nvar de_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListCuratedEnvironmentImagesCommand\");\nvar de_ListFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListFleetsCommand\");\nvar de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListProjectsCommand\");\nvar de_ListReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListReportGroupsCommand\");\nvar de_ListReportsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListReportsCommand\");\nvar de_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListReportsForReportGroupCommand\");\nvar de_ListSandboxesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSandboxesCommand\");\nvar de_ListSandboxesForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSandboxesForProjectCommand\");\nvar de_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSharedProjectsCommand\");\nvar de_ListSharedReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSharedReportGroupsCommand\");\nvar de_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSourceCredentialsCommand\");\nvar de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutResourcePolicyCommand\");\nvar de_RetryBuildCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_RetryBuildOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RetryBuildCommand\");\nvar de_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_RetryBuildBatchOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RetryBuildBatchCommand\");\nvar de_StartBuildCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StartBuildOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartBuildCommand\");\nvar de_StartBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StartBuildBatchOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartBuildBatchCommand\");\nvar de_StartCommandExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StartCommandExecutionOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartCommandExecutionCommand\");\nvar de_StartSandboxCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StartSandboxOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartSandboxCommand\");\nvar de_StartSandboxConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartSandboxConnectionCommand\");\nvar de_StopBuildCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StopBuildOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopBuildCommand\");\nvar de_StopBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StopBuildBatchOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopBuildBatchCommand\");\nvar de_StopSandboxCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_StopSandboxOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopSandboxCommand\");\nvar de_UpdateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateFleetOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateFleetCommand\");\nvar de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateProjectOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateProjectCommand\");\nvar de_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateProjectVisibilityCommand\");\nvar de_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateReportGroupOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateReportGroupCommand\");\nvar de_UpdateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateWebhookOutput(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateWebhookCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidInputException\":\n case \"com.amazonaws.codebuild#InvalidInputException\":\n throw await de_InvalidInputExceptionRes(parsedOutput, context);\n case \"AccountLimitExceededException\":\n case \"com.amazonaws.codebuild#AccountLimitExceededException\":\n throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);\n case \"ResourceAlreadyExistsException\":\n case \"com.amazonaws.codebuild#ResourceAlreadyExistsException\":\n throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);\n case \"OAuthProviderException\":\n case \"com.amazonaws.codebuild#OAuthProviderException\":\n throw await de_OAuthProviderExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.codebuild#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"AccountSuspendedException\":\n case \"com.amazonaws.codebuild#AccountSuspendedException\":\n throw await de_AccountSuspendedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_AccountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AccountLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AccountLimitExceededExceptionRes\");\nvar de_AccountSuspendedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AccountSuspendedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AccountSuspendedExceptionRes\");\nvar de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInputException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInputExceptionRes\");\nvar de_OAuthProviderExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OAuthProviderException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OAuthProviderExceptionRes\");\nvar de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceAlreadyExistsExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar se_CreateFleetInput = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n baseCapacity: [],\n computeConfiguration: import_smithy_client._json,\n computeType: [],\n environmentType: [],\n fleetServiceRole: [],\n imageId: [],\n name: [],\n overflowBehavior: [],\n proxyConfiguration: import_smithy_client._json,\n scalingConfiguration: /* @__PURE__ */ __name((_) => se_ScalingConfigurationInput(_, context), \"scalingConfiguration\"),\n tags: import_smithy_client._json,\n vpcConfig: import_smithy_client._json\n });\n}, \"se_CreateFleetInput\");\nvar se_DescribeCodeCoveragesInput = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n maxLineCoveragePercentage: import_smithy_client.serializeFloat,\n maxResults: [],\n minLineCoveragePercentage: import_smithy_client.serializeFloat,\n nextToken: [],\n reportArn: [],\n sortBy: [],\n sortOrder: []\n });\n}, \"se_DescribeCodeCoveragesInput\");\nvar se_ScalingConfigurationInput = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n maxCapacity: [],\n scalingType: [],\n targetTrackingScalingConfigs: /* @__PURE__ */ __name((_) => se_TargetTrackingScalingConfigurations(_, context), \"targetTrackingScalingConfigs\")\n });\n}, \"se_ScalingConfigurationInput\");\nvar se_TargetTrackingScalingConfiguration = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n metricType: [],\n targetValue: import_smithy_client.serializeFloat\n });\n}, \"se_TargetTrackingScalingConfiguration\");\nvar se_TargetTrackingScalingConfigurations = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n return se_TargetTrackingScalingConfiguration(entry, context);\n });\n}, \"se_TargetTrackingScalingConfigurations\");\nvar se_UpdateFleetInput = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n arn: [],\n baseCapacity: [],\n computeConfiguration: import_smithy_client._json,\n computeType: [],\n environmentType: [],\n fleetServiceRole: [],\n imageId: [],\n overflowBehavior: [],\n proxyConfiguration: import_smithy_client._json,\n scalingConfiguration: /* @__PURE__ */ __name((_) => se_ScalingConfigurationInput(_, context), \"scalingConfiguration\"),\n tags: import_smithy_client._json,\n vpcConfig: import_smithy_client._json\n });\n}, \"se_UpdateFleetInput\");\nvar de_BatchGetBuildBatchesOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n buildBatches: /* @__PURE__ */ __name((_) => de_BuildBatches(_, context), \"buildBatches\"),\n buildBatchesNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetBuildBatchesOutput\");\nvar de_BatchGetBuildsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n builds: /* @__PURE__ */ __name((_) => de_Builds(_, context), \"builds\"),\n buildsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetBuildsOutput\");\nvar de_BatchGetCommandExecutionsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n commandExecutions: /* @__PURE__ */ __name((_) => de_CommandExecutions(_, context), \"commandExecutions\"),\n commandExecutionsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetCommandExecutionsOutput\");\nvar de_BatchGetFleetsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n fleets: /* @__PURE__ */ __name((_) => de_Fleets(_, context), \"fleets\"),\n fleetsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetFleetsOutput\");\nvar de_BatchGetProjectsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n projects: /* @__PURE__ */ __name((_) => de_Projects(_, context), \"projects\"),\n projectsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetProjectsOutput\");\nvar de_BatchGetReportGroupsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n reportGroups: /* @__PURE__ */ __name((_) => de_ReportGroups(_, context), \"reportGroups\"),\n reportGroupsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetReportGroupsOutput\");\nvar de_BatchGetReportsOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n reports: /* @__PURE__ */ __name((_) => de_Reports(_, context), \"reports\"),\n reportsNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetReportsOutput\");\nvar de_BatchGetSandboxesOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n sandboxes: /* @__PURE__ */ __name((_) => de_Sandboxes(_, context), \"sandboxes\"),\n sandboxesNotFound: import_smithy_client._json\n });\n}, \"de_BatchGetSandboxesOutput\");\nvar de_Build = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n artifacts: import_smithy_client._json,\n autoRetryConfig: import_smithy_client._json,\n buildBatchArn: import_smithy_client.expectString,\n buildComplete: import_smithy_client.expectBoolean,\n buildNumber: import_smithy_client.expectLong,\n buildStatus: import_smithy_client.expectString,\n cache: import_smithy_client._json,\n currentPhase: import_smithy_client.expectString,\n debugSession: import_smithy_client._json,\n encryptionKey: import_smithy_client.expectString,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n environment: import_smithy_client._json,\n exportedEnvironmentVariables: import_smithy_client._json,\n fileSystemLocations: import_smithy_client._json,\n id: import_smithy_client.expectString,\n initiator: import_smithy_client.expectString,\n logs: import_smithy_client._json,\n networkInterface: import_smithy_client._json,\n phases: /* @__PURE__ */ __name((_) => de_BuildPhases(_, context), \"phases\"),\n projectName: import_smithy_client.expectString,\n queuedTimeoutInMinutes: import_smithy_client.expectInt32,\n reportArns: import_smithy_client._json,\n resolvedSourceVersion: import_smithy_client.expectString,\n secondaryArtifacts: import_smithy_client._json,\n secondarySourceVersions: import_smithy_client._json,\n secondarySources: import_smithy_client._json,\n serviceRole: import_smithy_client.expectString,\n source: import_smithy_client._json,\n sourceVersion: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\"),\n timeoutInMinutes: import_smithy_client.expectInt32,\n vpcConfig: import_smithy_client._json\n });\n}, \"de_Build\");\nvar de_BuildBatch = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n artifacts: import_smithy_client._json,\n buildBatchConfig: import_smithy_client._json,\n buildBatchNumber: import_smithy_client.expectLong,\n buildBatchStatus: import_smithy_client.expectString,\n buildGroups: /* @__PURE__ */ __name((_) => de_BuildGroups(_, context), \"buildGroups\"),\n buildTimeoutInMinutes: import_smithy_client.expectInt32,\n cache: import_smithy_client._json,\n complete: import_smithy_client.expectBoolean,\n currentPhase: import_smithy_client.expectString,\n debugSessionEnabled: import_smithy_client.expectBoolean,\n encryptionKey: import_smithy_client.expectString,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n environment: import_smithy_client._json,\n fileSystemLocations: import_smithy_client._json,\n id: import_smithy_client.expectString,\n initiator: import_smithy_client.expectString,\n logConfig: import_smithy_client._json,\n phases: /* @__PURE__ */ __name((_) => de_BuildBatchPhases(_, context), \"phases\"),\n projectName: import_smithy_client.expectString,\n queuedTimeoutInMinutes: import_smithy_client.expectInt32,\n reportArns: import_smithy_client._json,\n resolvedSourceVersion: import_smithy_client.expectString,\n secondaryArtifacts: import_smithy_client._json,\n secondarySourceVersions: import_smithy_client._json,\n secondarySources: import_smithy_client._json,\n serviceRole: import_smithy_client.expectString,\n source: import_smithy_client._json,\n sourceVersion: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\"),\n vpcConfig: import_smithy_client._json\n });\n}, \"de_BuildBatch\");\nvar de_BuildBatches = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_BuildBatch(entry, context);\n });\n return retVal;\n}, \"de_BuildBatches\");\nvar de_BuildBatchPhase = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n contexts: import_smithy_client._json,\n durationInSeconds: import_smithy_client.expectLong,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n phaseStatus: import_smithy_client.expectString,\n phaseType: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\")\n });\n}, \"de_BuildBatchPhase\");\nvar de_BuildBatchPhases = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_BuildBatchPhase(entry, context);\n });\n return retVal;\n}, \"de_BuildBatchPhases\");\nvar de_BuildGroup = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n currentBuildSummary: /* @__PURE__ */ __name((_) => de_BuildSummary(_, context), \"currentBuildSummary\"),\n dependsOn: import_smithy_client._json,\n identifier: import_smithy_client.expectString,\n ignoreFailure: import_smithy_client.expectBoolean,\n priorBuildSummaryList: /* @__PURE__ */ __name((_) => de_BuildSummaries(_, context), \"priorBuildSummaryList\")\n });\n}, \"de_BuildGroup\");\nvar de_BuildGroups = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_BuildGroup(entry, context);\n });\n return retVal;\n}, \"de_BuildGroups\");\nvar de_BuildPhase = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n contexts: import_smithy_client._json,\n durationInSeconds: import_smithy_client.expectLong,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n phaseStatus: import_smithy_client.expectString,\n phaseType: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\")\n });\n}, \"de_BuildPhase\");\nvar de_BuildPhases = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_BuildPhase(entry, context);\n });\n return retVal;\n}, \"de_BuildPhases\");\nvar de_Builds = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Build(entry, context);\n });\n return retVal;\n}, \"de_Builds\");\nvar de_BuildSummaries = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_BuildSummary(entry, context);\n });\n return retVal;\n}, \"de_BuildSummaries\");\nvar de_BuildSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n buildStatus: import_smithy_client.expectString,\n primaryArtifact: import_smithy_client._json,\n requestedOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"requestedOn\"),\n secondaryArtifacts: import_smithy_client._json\n });\n}, \"de_BuildSummary\");\nvar de_CodeCoverage = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n branchCoveragePercentage: import_smithy_client.limitedParseDouble,\n branchesCovered: import_smithy_client.expectInt32,\n branchesMissed: import_smithy_client.expectInt32,\n expired: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"expired\"),\n filePath: import_smithy_client.expectString,\n id: import_smithy_client.expectString,\n lineCoveragePercentage: import_smithy_client.limitedParseDouble,\n linesCovered: import_smithy_client.expectInt32,\n linesMissed: import_smithy_client.expectInt32,\n reportARN: import_smithy_client.expectString\n });\n}, \"de_CodeCoverage\");\nvar de_CodeCoverageReportSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n branchCoveragePercentage: import_smithy_client.limitedParseDouble,\n branchesCovered: import_smithy_client.expectInt32,\n branchesMissed: import_smithy_client.expectInt32,\n lineCoveragePercentage: import_smithy_client.limitedParseDouble,\n linesCovered: import_smithy_client.expectInt32,\n linesMissed: import_smithy_client.expectInt32\n });\n}, \"de_CodeCoverageReportSummary\");\nvar de_CodeCoverages = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_CodeCoverage(entry, context);\n });\n return retVal;\n}, \"de_CodeCoverages\");\nvar de_CommandExecution = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n command: import_smithy_client.expectString,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n exitCode: import_smithy_client.expectString,\n id: import_smithy_client.expectString,\n logs: import_smithy_client._json,\n sandboxArn: import_smithy_client.expectString,\n sandboxId: import_smithy_client.expectString,\n standardErrContent: import_smithy_client.expectString,\n standardOutputContent: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\"),\n status: import_smithy_client.expectString,\n submitTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"submitTime\"),\n type: import_smithy_client.expectString\n });\n}, \"de_CommandExecution\");\nvar de_CommandExecutions = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_CommandExecution(entry, context);\n });\n return retVal;\n}, \"de_CommandExecutions\");\nvar de_CreateFleetOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n fleet: /* @__PURE__ */ __name((_) => de_Fleet(_, context), \"fleet\")\n });\n}, \"de_CreateFleetOutput\");\nvar de_CreateProjectOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n project: /* @__PURE__ */ __name((_) => de_Project(_, context), \"project\")\n });\n}, \"de_CreateProjectOutput\");\nvar de_CreateReportGroupOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n reportGroup: /* @__PURE__ */ __name((_) => de_ReportGroup(_, context), \"reportGroup\")\n });\n}, \"de_CreateReportGroupOutput\");\nvar de_CreateWebhookOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n webhook: /* @__PURE__ */ __name((_) => de_Webhook(_, context), \"webhook\")\n });\n}, \"de_CreateWebhookOutput\");\nvar de_DescribeCodeCoveragesOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n codeCoverages: /* @__PURE__ */ __name((_) => de_CodeCoverages(_, context), \"codeCoverages\"),\n nextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeCodeCoveragesOutput\");\nvar de_DescribeTestCasesOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n nextToken: import_smithy_client.expectString,\n testCases: /* @__PURE__ */ __name((_) => de_TestCases(_, context), \"testCases\")\n });\n}, \"de_DescribeTestCasesOutput\");\nvar de_Fleet = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n baseCapacity: import_smithy_client.expectInt32,\n computeConfiguration: import_smithy_client._json,\n computeType: import_smithy_client.expectString,\n created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"created\"),\n environmentType: import_smithy_client.expectString,\n fleetServiceRole: import_smithy_client.expectString,\n id: import_smithy_client.expectString,\n imageId: import_smithy_client.expectString,\n lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastModified\"),\n name: import_smithy_client.expectString,\n overflowBehavior: import_smithy_client.expectString,\n proxyConfiguration: import_smithy_client._json,\n scalingConfiguration: /* @__PURE__ */ __name((_) => de_ScalingConfigurationOutput(_, context), \"scalingConfiguration\"),\n status: import_smithy_client._json,\n tags: import_smithy_client._json,\n vpcConfig: import_smithy_client._json\n });\n}, \"de_Fleet\");\nvar de_Fleets = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Fleet(entry, context);\n });\n return retVal;\n}, \"de_Fleets\");\nvar de_ListCommandExecutionsForSandboxOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n commandExecutions: /* @__PURE__ */ __name((_) => de_CommandExecutions(_, context), \"commandExecutions\"),\n nextToken: import_smithy_client.expectString\n });\n}, \"de_ListCommandExecutionsForSandboxOutput\");\nvar de_Project = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n artifacts: import_smithy_client._json,\n autoRetryLimit: import_smithy_client.expectInt32,\n badge: import_smithy_client._json,\n buildBatchConfig: import_smithy_client._json,\n cache: import_smithy_client._json,\n concurrentBuildLimit: import_smithy_client.expectInt32,\n created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"created\"),\n description: import_smithy_client.expectString,\n encryptionKey: import_smithy_client.expectString,\n environment: import_smithy_client._json,\n fileSystemLocations: import_smithy_client._json,\n lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastModified\"),\n logsConfig: import_smithy_client._json,\n name: import_smithy_client.expectString,\n projectVisibility: import_smithy_client.expectString,\n publicProjectAlias: import_smithy_client.expectString,\n queuedTimeoutInMinutes: import_smithy_client.expectInt32,\n resourceAccessRole: import_smithy_client.expectString,\n secondaryArtifacts: import_smithy_client._json,\n secondarySourceVersions: import_smithy_client._json,\n secondarySources: import_smithy_client._json,\n serviceRole: import_smithy_client.expectString,\n source: import_smithy_client._json,\n sourceVersion: import_smithy_client.expectString,\n tags: import_smithy_client._json,\n timeoutInMinutes: import_smithy_client.expectInt32,\n vpcConfig: import_smithy_client._json,\n webhook: /* @__PURE__ */ __name((_) => de_Webhook(_, context), \"webhook\")\n });\n}, \"de_Project\");\nvar de_Projects = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Project(entry, context);\n });\n return retVal;\n}, \"de_Projects\");\nvar de_Report = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n codeCoverageSummary: /* @__PURE__ */ __name((_) => de_CodeCoverageReportSummary(_, context), \"codeCoverageSummary\"),\n created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"created\"),\n executionId: import_smithy_client.expectString,\n expired: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"expired\"),\n exportConfig: import_smithy_client._json,\n name: import_smithy_client.expectString,\n reportGroupArn: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n testSummary: import_smithy_client._json,\n truncated: import_smithy_client.expectBoolean,\n type: import_smithy_client.expectString\n });\n}, \"de_Report\");\nvar de_ReportGroup = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"created\"),\n exportConfig: import_smithy_client._json,\n lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastModified\"),\n name: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n tags: import_smithy_client._json,\n type: import_smithy_client.expectString\n });\n}, \"de_ReportGroup\");\nvar de_ReportGroups = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ReportGroup(entry, context);\n });\n return retVal;\n}, \"de_ReportGroups\");\nvar de_Reports = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Report(entry, context);\n });\n return retVal;\n}, \"de_Reports\");\nvar de_RetryBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n buildBatch: /* @__PURE__ */ __name((_) => de_BuildBatch(_, context), \"buildBatch\")\n });\n}, \"de_RetryBuildBatchOutput\");\nvar de_RetryBuildOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n build: /* @__PURE__ */ __name((_) => de_Build(_, context), \"build\")\n });\n}, \"de_RetryBuildOutput\");\nvar de_Sandbox = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n arn: import_smithy_client.expectString,\n currentSession: /* @__PURE__ */ __name((_) => de_SandboxSession(_, context), \"currentSession\"),\n encryptionKey: import_smithy_client.expectString,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n environment: import_smithy_client._json,\n fileSystemLocations: import_smithy_client._json,\n id: import_smithy_client.expectString,\n logConfig: import_smithy_client._json,\n projectName: import_smithy_client.expectString,\n queuedTimeoutInMinutes: import_smithy_client.expectInt32,\n requestTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"requestTime\"),\n secondarySourceVersions: import_smithy_client._json,\n secondarySources: import_smithy_client._json,\n serviceRole: import_smithy_client.expectString,\n source: import_smithy_client._json,\n sourceVersion: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\"),\n status: import_smithy_client.expectString,\n timeoutInMinutes: import_smithy_client.expectInt32,\n vpcConfig: import_smithy_client._json\n });\n}, \"de_Sandbox\");\nvar de_Sandboxes = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Sandbox(entry, context);\n });\n return retVal;\n}, \"de_Sandboxes\");\nvar de_SandboxSession = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n currentPhase: import_smithy_client.expectString,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n id: import_smithy_client.expectString,\n logs: import_smithy_client._json,\n networkInterface: import_smithy_client._json,\n phases: /* @__PURE__ */ __name((_) => de_SandboxSessionPhases(_, context), \"phases\"),\n resolvedSourceVersion: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\"),\n status: import_smithy_client.expectString\n });\n}, \"de_SandboxSession\");\nvar de_SandboxSessionPhase = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n contexts: import_smithy_client._json,\n durationInSeconds: import_smithy_client.expectLong,\n endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"endTime\"),\n phaseStatus: import_smithy_client.expectString,\n phaseType: import_smithy_client.expectString,\n startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"startTime\")\n });\n}, \"de_SandboxSessionPhase\");\nvar de_SandboxSessionPhases = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_SandboxSessionPhase(entry, context);\n });\n return retVal;\n}, \"de_SandboxSessionPhases\");\nvar de_ScalingConfigurationOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n desiredCapacity: import_smithy_client.expectInt32,\n maxCapacity: import_smithy_client.expectInt32,\n scalingType: import_smithy_client.expectString,\n targetTrackingScalingConfigs: /* @__PURE__ */ __name((_) => de_TargetTrackingScalingConfigurations(_, context), \"targetTrackingScalingConfigs\")\n });\n}, \"de_ScalingConfigurationOutput\");\nvar de_StartBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n buildBatch: /* @__PURE__ */ __name((_) => de_BuildBatch(_, context), \"buildBatch\")\n });\n}, \"de_StartBuildBatchOutput\");\nvar de_StartBuildOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n build: /* @__PURE__ */ __name((_) => de_Build(_, context), \"build\")\n });\n}, \"de_StartBuildOutput\");\nvar de_StartCommandExecutionOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n commandExecution: /* @__PURE__ */ __name((_) => de_CommandExecution(_, context), \"commandExecution\")\n });\n}, \"de_StartCommandExecutionOutput\");\nvar de_StartSandboxOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n sandbox: /* @__PURE__ */ __name((_) => de_Sandbox(_, context), \"sandbox\")\n });\n}, \"de_StartSandboxOutput\");\nvar de_StopBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n buildBatch: /* @__PURE__ */ __name((_) => de_BuildBatch(_, context), \"buildBatch\")\n });\n}, \"de_StopBuildBatchOutput\");\nvar de_StopBuildOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n build: /* @__PURE__ */ __name((_) => de_Build(_, context), \"build\")\n });\n}, \"de_StopBuildOutput\");\nvar de_StopSandboxOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n sandbox: /* @__PURE__ */ __name((_) => de_Sandbox(_, context), \"sandbox\")\n });\n}, \"de_StopSandboxOutput\");\nvar de_TargetTrackingScalingConfiguration = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n metricType: import_smithy_client.expectString,\n targetValue: import_smithy_client.limitedParseDouble\n });\n}, \"de_TargetTrackingScalingConfiguration\");\nvar de_TargetTrackingScalingConfigurations = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_TargetTrackingScalingConfiguration(entry, context);\n });\n return retVal;\n}, \"de_TargetTrackingScalingConfigurations\");\nvar de_TestCase = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n durationInNanoSeconds: import_smithy_client.expectLong,\n expired: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"expired\"),\n message: import_smithy_client.expectString,\n name: import_smithy_client.expectString,\n prefix: import_smithy_client.expectString,\n reportArn: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n testRawDataPath: import_smithy_client.expectString,\n testSuiteName: import_smithy_client.expectString\n });\n}, \"de_TestCase\");\nvar de_TestCases = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_TestCase(entry, context);\n });\n return retVal;\n}, \"de_TestCases\");\nvar de_UpdateFleetOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n fleet: /* @__PURE__ */ __name((_) => de_Fleet(_, context), \"fleet\")\n });\n}, \"de_UpdateFleetOutput\");\nvar de_UpdateProjectOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n project: /* @__PURE__ */ __name((_) => de_Project(_, context), \"project\")\n });\n}, \"de_UpdateProjectOutput\");\nvar de_UpdateReportGroupOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n reportGroup: /* @__PURE__ */ __name((_) => de_ReportGroup(_, context), \"reportGroup\")\n });\n}, \"de_UpdateReportGroupOutput\");\nvar de_UpdateWebhookOutput = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n webhook: /* @__PURE__ */ __name((_) => de_Webhook(_, context), \"webhook\")\n });\n}, \"de_UpdateWebhookOutput\");\nvar de_Webhook = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n branchFilter: import_smithy_client.expectString,\n buildType: import_smithy_client.expectString,\n filterGroups: import_smithy_client._json,\n lastModifiedSecret: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastModifiedSecret\"),\n manualCreation: import_smithy_client.expectBoolean,\n payloadUrl: import_smithy_client.expectString,\n scopeConfiguration: import_smithy_client._json,\n secret: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n statusMessage: import_smithy_client.expectString,\n url: import_smithy_client.expectString\n });\n}, \"de_Webhook\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(CodeBuildServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `CodeBuild_20161006.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/BatchDeleteBuildsCommand.ts\nvar BatchDeleteBuildsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchDeleteBuilds\", {}).n(\"CodeBuildClient\", \"BatchDeleteBuildsCommand\").f(void 0, void 0).ser(se_BatchDeleteBuildsCommand).de(de_BatchDeleteBuildsCommand).build() {\n static {\n __name(this, \"BatchDeleteBuildsCommand\");\n }\n};\n\n// src/commands/BatchGetBuildBatchesCommand.ts\n\n\n\nvar BatchGetBuildBatchesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetBuildBatches\", {}).n(\"CodeBuildClient\", \"BatchGetBuildBatchesCommand\").f(void 0, void 0).ser(se_BatchGetBuildBatchesCommand).de(de_BatchGetBuildBatchesCommand).build() {\n static {\n __name(this, \"BatchGetBuildBatchesCommand\");\n }\n};\n\n// src/commands/BatchGetBuildsCommand.ts\n\n\n\nvar BatchGetBuildsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetBuilds\", {}).n(\"CodeBuildClient\", \"BatchGetBuildsCommand\").f(void 0, void 0).ser(se_BatchGetBuildsCommand).de(de_BatchGetBuildsCommand).build() {\n static {\n __name(this, \"BatchGetBuildsCommand\");\n }\n};\n\n// src/commands/BatchGetCommandExecutionsCommand.ts\n\n\n\nvar BatchGetCommandExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetCommandExecutions\", {}).n(\"CodeBuildClient\", \"BatchGetCommandExecutionsCommand\").f(void 0, BatchGetCommandExecutionsOutputFilterSensitiveLog).ser(se_BatchGetCommandExecutionsCommand).de(de_BatchGetCommandExecutionsCommand).build() {\n static {\n __name(this, \"BatchGetCommandExecutionsCommand\");\n }\n};\n\n// src/commands/BatchGetFleetsCommand.ts\n\n\n\nvar BatchGetFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetFleets\", {}).n(\"CodeBuildClient\", \"BatchGetFleetsCommand\").f(void 0, void 0).ser(se_BatchGetFleetsCommand).de(de_BatchGetFleetsCommand).build() {\n static {\n __name(this, \"BatchGetFleetsCommand\");\n }\n};\n\n// src/commands/BatchGetProjectsCommand.ts\n\n\n\nvar BatchGetProjectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetProjects\", {}).n(\"CodeBuildClient\", \"BatchGetProjectsCommand\").f(void 0, void 0).ser(se_BatchGetProjectsCommand).de(de_BatchGetProjectsCommand).build() {\n static {\n __name(this, \"BatchGetProjectsCommand\");\n }\n};\n\n// src/commands/BatchGetReportGroupsCommand.ts\n\n\n\nvar BatchGetReportGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetReportGroups\", {}).n(\"CodeBuildClient\", \"BatchGetReportGroupsCommand\").f(void 0, void 0).ser(se_BatchGetReportGroupsCommand).de(de_BatchGetReportGroupsCommand).build() {\n static {\n __name(this, \"BatchGetReportGroupsCommand\");\n }\n};\n\n// src/commands/BatchGetReportsCommand.ts\n\n\n\nvar BatchGetReportsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetReports\", {}).n(\"CodeBuildClient\", \"BatchGetReportsCommand\").f(void 0, void 0).ser(se_BatchGetReportsCommand).de(de_BatchGetReportsCommand).build() {\n static {\n __name(this, \"BatchGetReportsCommand\");\n }\n};\n\n// src/commands/BatchGetSandboxesCommand.ts\n\n\n\nvar BatchGetSandboxesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"BatchGetSandboxes\", {}).n(\"CodeBuildClient\", \"BatchGetSandboxesCommand\").f(void 0, void 0).ser(se_BatchGetSandboxesCommand).de(de_BatchGetSandboxesCommand).build() {\n static {\n __name(this, \"BatchGetSandboxesCommand\");\n }\n};\n\n// src/commands/CreateFleetCommand.ts\n\n\n\nvar CreateFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"CreateFleet\", {}).n(\"CodeBuildClient\", \"CreateFleetCommand\").f(void 0, void 0).ser(se_CreateFleetCommand).de(de_CreateFleetCommand).build() {\n static {\n __name(this, \"CreateFleetCommand\");\n }\n};\n\n// src/commands/CreateProjectCommand.ts\n\n\n\nvar CreateProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"CreateProject\", {}).n(\"CodeBuildClient\", \"CreateProjectCommand\").f(void 0, void 0).ser(se_CreateProjectCommand).de(de_CreateProjectCommand).build() {\n static {\n __name(this, \"CreateProjectCommand\");\n }\n};\n\n// src/commands/CreateReportGroupCommand.ts\n\n\n\nvar CreateReportGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"CreateReportGroup\", {}).n(\"CodeBuildClient\", \"CreateReportGroupCommand\").f(void 0, void 0).ser(se_CreateReportGroupCommand).de(de_CreateReportGroupCommand).build() {\n static {\n __name(this, \"CreateReportGroupCommand\");\n }\n};\n\n// src/commands/CreateWebhookCommand.ts\n\n\n\nvar CreateWebhookCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"CreateWebhook\", {}).n(\"CodeBuildClient\", \"CreateWebhookCommand\").f(void 0, void 0).ser(se_CreateWebhookCommand).de(de_CreateWebhookCommand).build() {\n static {\n __name(this, \"CreateWebhookCommand\");\n }\n};\n\n// src/commands/DeleteBuildBatchCommand.ts\n\n\n\nvar DeleteBuildBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteBuildBatch\", {}).n(\"CodeBuildClient\", \"DeleteBuildBatchCommand\").f(void 0, void 0).ser(se_DeleteBuildBatchCommand).de(de_DeleteBuildBatchCommand).build() {\n static {\n __name(this, \"DeleteBuildBatchCommand\");\n }\n};\n\n// src/commands/DeleteFleetCommand.ts\n\n\n\nvar DeleteFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteFleet\", {}).n(\"CodeBuildClient\", \"DeleteFleetCommand\").f(void 0, void 0).ser(se_DeleteFleetCommand).de(de_DeleteFleetCommand).build() {\n static {\n __name(this, \"DeleteFleetCommand\");\n }\n};\n\n// src/commands/DeleteProjectCommand.ts\n\n\n\nvar DeleteProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteProject\", {}).n(\"CodeBuildClient\", \"DeleteProjectCommand\").f(void 0, void 0).ser(se_DeleteProjectCommand).de(de_DeleteProjectCommand).build() {\n static {\n __name(this, \"DeleteProjectCommand\");\n }\n};\n\n// src/commands/DeleteReportCommand.ts\n\n\n\nvar DeleteReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteReport\", {}).n(\"CodeBuildClient\", \"DeleteReportCommand\").f(void 0, void 0).ser(se_DeleteReportCommand).de(de_DeleteReportCommand).build() {\n static {\n __name(this, \"DeleteReportCommand\");\n }\n};\n\n// src/commands/DeleteReportGroupCommand.ts\n\n\n\nvar DeleteReportGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteReportGroup\", {}).n(\"CodeBuildClient\", \"DeleteReportGroupCommand\").f(void 0, void 0).ser(se_DeleteReportGroupCommand).de(de_DeleteReportGroupCommand).build() {\n static {\n __name(this, \"DeleteReportGroupCommand\");\n }\n};\n\n// src/commands/DeleteResourcePolicyCommand.ts\n\n\n\nvar DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteResourcePolicy\", {}).n(\"CodeBuildClient\", \"DeleteResourcePolicyCommand\").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {\n static {\n __name(this, \"DeleteResourcePolicyCommand\");\n }\n};\n\n// src/commands/DeleteSourceCredentialsCommand.ts\n\n\n\nvar DeleteSourceCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteSourceCredentials\", {}).n(\"CodeBuildClient\", \"DeleteSourceCredentialsCommand\").f(void 0, void 0).ser(se_DeleteSourceCredentialsCommand).de(de_DeleteSourceCredentialsCommand).build() {\n static {\n __name(this, \"DeleteSourceCredentialsCommand\");\n }\n};\n\n// src/commands/DeleteWebhookCommand.ts\n\n\n\nvar DeleteWebhookCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DeleteWebhook\", {}).n(\"CodeBuildClient\", \"DeleteWebhookCommand\").f(void 0, void 0).ser(se_DeleteWebhookCommand).de(de_DeleteWebhookCommand).build() {\n static {\n __name(this, \"DeleteWebhookCommand\");\n }\n};\n\n// src/commands/DescribeCodeCoveragesCommand.ts\n\n\n\nvar DescribeCodeCoveragesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DescribeCodeCoverages\", {}).n(\"CodeBuildClient\", \"DescribeCodeCoveragesCommand\").f(void 0, void 0).ser(se_DescribeCodeCoveragesCommand).de(de_DescribeCodeCoveragesCommand).build() {\n static {\n __name(this, \"DescribeCodeCoveragesCommand\");\n }\n};\n\n// src/commands/DescribeTestCasesCommand.ts\n\n\n\nvar DescribeTestCasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"DescribeTestCases\", {}).n(\"CodeBuildClient\", \"DescribeTestCasesCommand\").f(void 0, void 0).ser(se_DescribeTestCasesCommand).de(de_DescribeTestCasesCommand).build() {\n static {\n __name(this, \"DescribeTestCasesCommand\");\n }\n};\n\n// src/commands/GetReportGroupTrendCommand.ts\n\n\n\nvar GetReportGroupTrendCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"GetReportGroupTrend\", {}).n(\"CodeBuildClient\", \"GetReportGroupTrendCommand\").f(void 0, void 0).ser(se_GetReportGroupTrendCommand).de(de_GetReportGroupTrendCommand).build() {\n static {\n __name(this, \"GetReportGroupTrendCommand\");\n }\n};\n\n// src/commands/GetResourcePolicyCommand.ts\n\n\n\nvar GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"GetResourcePolicy\", {}).n(\"CodeBuildClient\", \"GetResourcePolicyCommand\").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {\n static {\n __name(this, \"GetResourcePolicyCommand\");\n }\n};\n\n// src/commands/ImportSourceCredentialsCommand.ts\n\n\n\nvar ImportSourceCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ImportSourceCredentials\", {}).n(\"CodeBuildClient\", \"ImportSourceCredentialsCommand\").f(ImportSourceCredentialsInputFilterSensitiveLog, void 0).ser(se_ImportSourceCredentialsCommand).de(de_ImportSourceCredentialsCommand).build() {\n static {\n __name(this, \"ImportSourceCredentialsCommand\");\n }\n};\n\n// src/commands/InvalidateProjectCacheCommand.ts\n\n\n\nvar InvalidateProjectCacheCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"InvalidateProjectCache\", {}).n(\"CodeBuildClient\", \"InvalidateProjectCacheCommand\").f(void 0, void 0).ser(se_InvalidateProjectCacheCommand).de(de_InvalidateProjectCacheCommand).build() {\n static {\n __name(this, \"InvalidateProjectCacheCommand\");\n }\n};\n\n// src/commands/ListBuildBatchesCommand.ts\n\n\n\nvar ListBuildBatchesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListBuildBatches\", {}).n(\"CodeBuildClient\", \"ListBuildBatchesCommand\").f(void 0, void 0).ser(se_ListBuildBatchesCommand).de(de_ListBuildBatchesCommand).build() {\n static {\n __name(this, \"ListBuildBatchesCommand\");\n }\n};\n\n// src/commands/ListBuildBatchesForProjectCommand.ts\n\n\n\nvar ListBuildBatchesForProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListBuildBatchesForProject\", {}).n(\"CodeBuildClient\", \"ListBuildBatchesForProjectCommand\").f(void 0, void 0).ser(se_ListBuildBatchesForProjectCommand).de(de_ListBuildBatchesForProjectCommand).build() {\n static {\n __name(this, \"ListBuildBatchesForProjectCommand\");\n }\n};\n\n// src/commands/ListBuildsCommand.ts\n\n\n\nvar ListBuildsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListBuilds\", {}).n(\"CodeBuildClient\", \"ListBuildsCommand\").f(void 0, void 0).ser(se_ListBuildsCommand).de(de_ListBuildsCommand).build() {\n static {\n __name(this, \"ListBuildsCommand\");\n }\n};\n\n// src/commands/ListBuildsForProjectCommand.ts\n\n\n\nvar ListBuildsForProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListBuildsForProject\", {}).n(\"CodeBuildClient\", \"ListBuildsForProjectCommand\").f(void 0, void 0).ser(se_ListBuildsForProjectCommand).de(de_ListBuildsForProjectCommand).build() {\n static {\n __name(this, \"ListBuildsForProjectCommand\");\n }\n};\n\n// src/commands/ListCommandExecutionsForSandboxCommand.ts\n\n\n\nvar ListCommandExecutionsForSandboxCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListCommandExecutionsForSandbox\", {}).n(\"CodeBuildClient\", \"ListCommandExecutionsForSandboxCommand\").f(ListCommandExecutionsForSandboxInputFilterSensitiveLog, ListCommandExecutionsForSandboxOutputFilterSensitiveLog).ser(se_ListCommandExecutionsForSandboxCommand).de(de_ListCommandExecutionsForSandboxCommand).build() {\n static {\n __name(this, \"ListCommandExecutionsForSandboxCommand\");\n }\n};\n\n// src/commands/ListCuratedEnvironmentImagesCommand.ts\n\n\n\nvar ListCuratedEnvironmentImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListCuratedEnvironmentImages\", {}).n(\"CodeBuildClient\", \"ListCuratedEnvironmentImagesCommand\").f(void 0, void 0).ser(se_ListCuratedEnvironmentImagesCommand).de(de_ListCuratedEnvironmentImagesCommand).build() {\n static {\n __name(this, \"ListCuratedEnvironmentImagesCommand\");\n }\n};\n\n// src/commands/ListFleetsCommand.ts\n\n\n\nvar ListFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListFleets\", {}).n(\"CodeBuildClient\", \"ListFleetsCommand\").f(ListFleetsInputFilterSensitiveLog, void 0).ser(se_ListFleetsCommand).de(de_ListFleetsCommand).build() {\n static {\n __name(this, \"ListFleetsCommand\");\n }\n};\n\n// src/commands/ListProjectsCommand.ts\n\n\n\nvar ListProjectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListProjects\", {}).n(\"CodeBuildClient\", \"ListProjectsCommand\").f(void 0, void 0).ser(se_ListProjectsCommand).de(de_ListProjectsCommand).build() {\n static {\n __name(this, \"ListProjectsCommand\");\n }\n};\n\n// src/commands/ListReportGroupsCommand.ts\n\n\n\nvar ListReportGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListReportGroups\", {}).n(\"CodeBuildClient\", \"ListReportGroupsCommand\").f(void 0, void 0).ser(se_ListReportGroupsCommand).de(de_ListReportGroupsCommand).build() {\n static {\n __name(this, \"ListReportGroupsCommand\");\n }\n};\n\n// src/commands/ListReportsCommand.ts\n\n\n\nvar ListReportsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListReports\", {}).n(\"CodeBuildClient\", \"ListReportsCommand\").f(void 0, void 0).ser(se_ListReportsCommand).de(de_ListReportsCommand).build() {\n static {\n __name(this, \"ListReportsCommand\");\n }\n};\n\n// src/commands/ListReportsForReportGroupCommand.ts\n\n\n\nvar ListReportsForReportGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListReportsForReportGroup\", {}).n(\"CodeBuildClient\", \"ListReportsForReportGroupCommand\").f(void 0, void 0).ser(se_ListReportsForReportGroupCommand).de(de_ListReportsForReportGroupCommand).build() {\n static {\n __name(this, \"ListReportsForReportGroupCommand\");\n }\n};\n\n// src/commands/ListSandboxesCommand.ts\n\n\n\nvar ListSandboxesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListSandboxes\", {}).n(\"CodeBuildClient\", \"ListSandboxesCommand\").f(void 0, void 0).ser(se_ListSandboxesCommand).de(de_ListSandboxesCommand).build() {\n static {\n __name(this, \"ListSandboxesCommand\");\n }\n};\n\n// src/commands/ListSandboxesForProjectCommand.ts\n\n\n\nvar ListSandboxesForProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListSandboxesForProject\", {}).n(\"CodeBuildClient\", \"ListSandboxesForProjectCommand\").f(ListSandboxesForProjectInputFilterSensitiveLog, void 0).ser(se_ListSandboxesForProjectCommand).de(de_ListSandboxesForProjectCommand).build() {\n static {\n __name(this, \"ListSandboxesForProjectCommand\");\n }\n};\n\n// src/commands/ListSharedProjectsCommand.ts\n\n\n\nvar ListSharedProjectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListSharedProjects\", {}).n(\"CodeBuildClient\", \"ListSharedProjectsCommand\").f(void 0, void 0).ser(se_ListSharedProjectsCommand).de(de_ListSharedProjectsCommand).build() {\n static {\n __name(this, \"ListSharedProjectsCommand\");\n }\n};\n\n// src/commands/ListSharedReportGroupsCommand.ts\n\n\n\nvar ListSharedReportGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListSharedReportGroups\", {}).n(\"CodeBuildClient\", \"ListSharedReportGroupsCommand\").f(void 0, void 0).ser(se_ListSharedReportGroupsCommand).de(de_ListSharedReportGroupsCommand).build() {\n static {\n __name(this, \"ListSharedReportGroupsCommand\");\n }\n};\n\n// src/commands/ListSourceCredentialsCommand.ts\n\n\n\nvar ListSourceCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"ListSourceCredentials\", {}).n(\"CodeBuildClient\", \"ListSourceCredentialsCommand\").f(void 0, void 0).ser(se_ListSourceCredentialsCommand).de(de_ListSourceCredentialsCommand).build() {\n static {\n __name(this, \"ListSourceCredentialsCommand\");\n }\n};\n\n// src/commands/PutResourcePolicyCommand.ts\n\n\n\nvar PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"PutResourcePolicy\", {}).n(\"CodeBuildClient\", \"PutResourcePolicyCommand\").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {\n static {\n __name(this, \"PutResourcePolicyCommand\");\n }\n};\n\n// src/commands/RetryBuildBatchCommand.ts\n\n\n\nvar RetryBuildBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"RetryBuildBatch\", {}).n(\"CodeBuildClient\", \"RetryBuildBatchCommand\").f(void 0, void 0).ser(se_RetryBuildBatchCommand).de(de_RetryBuildBatchCommand).build() {\n static {\n __name(this, \"RetryBuildBatchCommand\");\n }\n};\n\n// src/commands/RetryBuildCommand.ts\n\n\n\nvar RetryBuildCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"RetryBuild\", {}).n(\"CodeBuildClient\", \"RetryBuildCommand\").f(void 0, void 0).ser(se_RetryBuildCommand).de(de_RetryBuildCommand).build() {\n static {\n __name(this, \"RetryBuildCommand\");\n }\n};\n\n// src/commands/StartBuildBatchCommand.ts\n\n\n\nvar StartBuildBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StartBuildBatch\", {}).n(\"CodeBuildClient\", \"StartBuildBatchCommand\").f(void 0, void 0).ser(se_StartBuildBatchCommand).de(de_StartBuildBatchCommand).build() {\n static {\n __name(this, \"StartBuildBatchCommand\");\n }\n};\n\n// src/commands/StartBuildCommand.ts\n\n\n\nvar StartBuildCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StartBuild\", {}).n(\"CodeBuildClient\", \"StartBuildCommand\").f(void 0, void 0).ser(se_StartBuildCommand).de(de_StartBuildCommand).build() {\n static {\n __name(this, \"StartBuildCommand\");\n }\n};\n\n// src/commands/StartCommandExecutionCommand.ts\n\n\n\nvar StartCommandExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StartCommandExecution\", {}).n(\"CodeBuildClient\", \"StartCommandExecutionCommand\").f(StartCommandExecutionInputFilterSensitiveLog, StartCommandExecutionOutputFilterSensitiveLog).ser(se_StartCommandExecutionCommand).de(de_StartCommandExecutionCommand).build() {\n static {\n __name(this, \"StartCommandExecutionCommand\");\n }\n};\n\n// src/commands/StartSandboxCommand.ts\n\n\n\nvar StartSandboxCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StartSandbox\", {}).n(\"CodeBuildClient\", \"StartSandboxCommand\").f(StartSandboxInputFilterSensitiveLog, void 0).ser(se_StartSandboxCommand).de(de_StartSandboxCommand).build() {\n static {\n __name(this, \"StartSandboxCommand\");\n }\n};\n\n// src/commands/StartSandboxConnectionCommand.ts\n\n\n\nvar StartSandboxConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StartSandboxConnection\", {}).n(\"CodeBuildClient\", \"StartSandboxConnectionCommand\").f(void 0, void 0).ser(se_StartSandboxConnectionCommand).de(de_StartSandboxConnectionCommand).build() {\n static {\n __name(this, \"StartSandboxConnectionCommand\");\n }\n};\n\n// src/commands/StopBuildBatchCommand.ts\n\n\n\nvar StopBuildBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StopBuildBatch\", {}).n(\"CodeBuildClient\", \"StopBuildBatchCommand\").f(void 0, void 0).ser(se_StopBuildBatchCommand).de(de_StopBuildBatchCommand).build() {\n static {\n __name(this, \"StopBuildBatchCommand\");\n }\n};\n\n// src/commands/StopBuildCommand.ts\n\n\n\nvar StopBuildCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StopBuild\", {}).n(\"CodeBuildClient\", \"StopBuildCommand\").f(void 0, void 0).ser(se_StopBuildCommand).de(de_StopBuildCommand).build() {\n static {\n __name(this, \"StopBuildCommand\");\n }\n};\n\n// src/commands/StopSandboxCommand.ts\n\n\n\nvar StopSandboxCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"StopSandbox\", {}).n(\"CodeBuildClient\", \"StopSandboxCommand\").f(void 0, void 0).ser(se_StopSandboxCommand).de(de_StopSandboxCommand).build() {\n static {\n __name(this, \"StopSandboxCommand\");\n }\n};\n\n// src/commands/UpdateFleetCommand.ts\n\n\n\nvar UpdateFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"UpdateFleet\", {}).n(\"CodeBuildClient\", \"UpdateFleetCommand\").f(void 0, void 0).ser(se_UpdateFleetCommand).de(de_UpdateFleetCommand).build() {\n static {\n __name(this, \"UpdateFleetCommand\");\n }\n};\n\n// src/commands/UpdateProjectCommand.ts\n\n\n\nvar UpdateProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"UpdateProject\", {}).n(\"CodeBuildClient\", \"UpdateProjectCommand\").f(void 0, void 0).ser(se_UpdateProjectCommand).de(de_UpdateProjectCommand).build() {\n static {\n __name(this, \"UpdateProjectCommand\");\n }\n};\n\n// src/commands/UpdateProjectVisibilityCommand.ts\n\n\n\nvar UpdateProjectVisibilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"UpdateProjectVisibility\", {}).n(\"CodeBuildClient\", \"UpdateProjectVisibilityCommand\").f(void 0, void 0).ser(se_UpdateProjectVisibilityCommand).de(de_UpdateProjectVisibilityCommand).build() {\n static {\n __name(this, \"UpdateProjectVisibilityCommand\");\n }\n};\n\n// src/commands/UpdateReportGroupCommand.ts\n\n\n\nvar UpdateReportGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"UpdateReportGroup\", {}).n(\"CodeBuildClient\", \"UpdateReportGroupCommand\").f(void 0, void 0).ser(se_UpdateReportGroupCommand).de(de_UpdateReportGroupCommand).build() {\n static {\n __name(this, \"UpdateReportGroupCommand\");\n }\n};\n\n// src/commands/UpdateWebhookCommand.ts\n\n\n\nvar UpdateWebhookCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"CodeBuild_20161006\", \"UpdateWebhook\", {}).n(\"CodeBuildClient\", \"UpdateWebhookCommand\").f(void 0, void 0).ser(se_UpdateWebhookCommand).de(de_UpdateWebhookCommand).build() {\n static {\n __name(this, \"UpdateWebhookCommand\");\n }\n};\n\n// src/CodeBuild.ts\nvar commands = {\n BatchDeleteBuildsCommand,\n BatchGetBuildBatchesCommand,\n BatchGetBuildsCommand,\n BatchGetCommandExecutionsCommand,\n BatchGetFleetsCommand,\n BatchGetProjectsCommand,\n BatchGetReportGroupsCommand,\n BatchGetReportsCommand,\n BatchGetSandboxesCommand,\n CreateFleetCommand,\n CreateProjectCommand,\n CreateReportGroupCommand,\n CreateWebhookCommand,\n DeleteBuildBatchCommand,\n DeleteFleetCommand,\n DeleteProjectCommand,\n DeleteReportCommand,\n DeleteReportGroupCommand,\n DeleteResourcePolicyCommand,\n DeleteSourceCredentialsCommand,\n DeleteWebhookCommand,\n DescribeCodeCoveragesCommand,\n DescribeTestCasesCommand,\n GetReportGroupTrendCommand,\n GetResourcePolicyCommand,\n ImportSourceCredentialsCommand,\n InvalidateProjectCacheCommand,\n ListBuildBatchesCommand,\n ListBuildBatchesForProjectCommand,\n ListBuildsCommand,\n ListBuildsForProjectCommand,\n ListCommandExecutionsForSandboxCommand,\n ListCuratedEnvironmentImagesCommand,\n ListFleetsCommand,\n ListProjectsCommand,\n ListReportGroupsCommand,\n ListReportsCommand,\n ListReportsForReportGroupCommand,\n ListSandboxesCommand,\n ListSandboxesForProjectCommand,\n ListSharedProjectsCommand,\n ListSharedReportGroupsCommand,\n ListSourceCredentialsCommand,\n PutResourcePolicyCommand,\n RetryBuildCommand,\n RetryBuildBatchCommand,\n StartBuildCommand,\n StartBuildBatchCommand,\n StartCommandExecutionCommand,\n StartSandboxCommand,\n StartSandboxConnectionCommand,\n StopBuildCommand,\n StopBuildBatchCommand,\n StopSandboxCommand,\n UpdateFleetCommand,\n UpdateProjectCommand,\n UpdateProjectVisibilityCommand,\n UpdateReportGroupCommand,\n UpdateWebhookCommand\n};\nvar CodeBuild = class extends CodeBuildClient {\n static {\n __name(this, \"CodeBuild\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, CodeBuild);\n\n// src/pagination/DescribeCodeCoveragesPaginator.ts\n\nvar paginateDescribeCodeCoverages = (0, import_core.createPaginator)(CodeBuildClient, DescribeCodeCoveragesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/DescribeTestCasesPaginator.ts\n\nvar paginateDescribeTestCases = (0, import_core.createPaginator)(CodeBuildClient, DescribeTestCasesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListBuildBatchesForProjectPaginator.ts\n\nvar paginateListBuildBatchesForProject = (0, import_core.createPaginator)(CodeBuildClient, ListBuildBatchesForProjectCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListBuildBatchesPaginator.ts\n\nvar paginateListBuildBatches = (0, import_core.createPaginator)(CodeBuildClient, ListBuildBatchesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListBuildsForProjectPaginator.ts\n\nvar paginateListBuildsForProject = (0, import_core.createPaginator)(CodeBuildClient, ListBuildsForProjectCommand, \"nextToken\", \"nextToken\", \"\");\n\n// src/pagination/ListBuildsPaginator.ts\n\nvar paginateListBuilds = (0, import_core.createPaginator)(CodeBuildClient, ListBuildsCommand, \"nextToken\", \"nextToken\", \"\");\n\n// src/pagination/ListCommandExecutionsForSandboxPaginator.ts\n\nvar paginateListCommandExecutionsForSandbox = (0, import_core.createPaginator)(CodeBuildClient, ListCommandExecutionsForSandboxCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListFleetsPaginator.ts\n\nvar paginateListFleets = (0, import_core.createPaginator)(CodeBuildClient, ListFleetsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListProjectsPaginator.ts\n\nvar paginateListProjects = (0, import_core.createPaginator)(CodeBuildClient, ListProjectsCommand, \"nextToken\", \"nextToken\", \"\");\n\n// src/pagination/ListReportGroupsPaginator.ts\n\nvar paginateListReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListReportGroupsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListReportsForReportGroupPaginator.ts\n\nvar paginateListReportsForReportGroup = (0, import_core.createPaginator)(CodeBuildClient, ListReportsForReportGroupCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListReportsPaginator.ts\n\nvar paginateListReports = (0, import_core.createPaginator)(CodeBuildClient, ListReportsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListSandboxesForProjectPaginator.ts\n\nvar paginateListSandboxesForProject = (0, import_core.createPaginator)(CodeBuildClient, ListSandboxesForProjectCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListSandboxesPaginator.ts\n\nvar paginateListSandboxes = (0, import_core.createPaginator)(CodeBuildClient, ListSandboxesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListSharedProjectsPaginator.ts\n\nvar paginateListSharedProjects = (0, import_core.createPaginator)(CodeBuildClient, ListSharedProjectsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListSharedReportGroupsPaginator.ts\n\nvar paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListSharedReportGroupsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n CodeBuildServiceException,\n __Client,\n CodeBuildClient,\n CodeBuild,\n $Command,\n BatchDeleteBuildsCommand,\n BatchGetBuildBatchesCommand,\n BatchGetBuildsCommand,\n BatchGetCommandExecutionsCommand,\n BatchGetFleetsCommand,\n BatchGetProjectsCommand,\n BatchGetReportGroupsCommand,\n BatchGetReportsCommand,\n BatchGetSandboxesCommand,\n CreateFleetCommand,\n CreateProjectCommand,\n CreateReportGroupCommand,\n CreateWebhookCommand,\n DeleteBuildBatchCommand,\n DeleteFleetCommand,\n DeleteProjectCommand,\n DeleteReportCommand,\n DeleteReportGroupCommand,\n DeleteResourcePolicyCommand,\n DeleteSourceCredentialsCommand,\n DeleteWebhookCommand,\n DescribeCodeCoveragesCommand,\n DescribeTestCasesCommand,\n GetReportGroupTrendCommand,\n GetResourcePolicyCommand,\n ImportSourceCredentialsCommand,\n InvalidateProjectCacheCommand,\n ListBuildBatchesCommand,\n ListBuildBatchesForProjectCommand,\n ListBuildsCommand,\n ListBuildsForProjectCommand,\n ListCommandExecutionsForSandboxCommand,\n ListCuratedEnvironmentImagesCommand,\n ListFleetsCommand,\n ListProjectsCommand,\n ListReportGroupsCommand,\n ListReportsCommand,\n ListReportsForReportGroupCommand,\n ListSandboxesCommand,\n ListSandboxesForProjectCommand,\n ListSharedProjectsCommand,\n ListSharedReportGroupsCommand,\n ListSourceCredentialsCommand,\n PutResourcePolicyCommand,\n RetryBuildBatchCommand,\n RetryBuildCommand,\n StartBuildBatchCommand,\n StartBuildCommand,\n StartCommandExecutionCommand,\n StartSandboxCommand,\n StartSandboxConnectionCommand,\n StopBuildBatchCommand,\n StopBuildCommand,\n StopSandboxCommand,\n UpdateFleetCommand,\n UpdateProjectCommand,\n UpdateProjectVisibilityCommand,\n UpdateReportGroupCommand,\n UpdateWebhookCommand,\n paginateDescribeCodeCoverages,\n paginateDescribeTestCases,\n paginateListBuildBatchesForProject,\n paginateListBuildBatches,\n paginateListBuildsForProject,\n paginateListBuilds,\n paginateListCommandExecutionsForSandbox,\n paginateListFleets,\n paginateListProjects,\n paginateListReportGroups,\n paginateListReportsForReportGroup,\n paginateListReports,\n paginateListSandboxesForProject,\n paginateListSandboxes,\n paginateListSharedProjects,\n paginateListSharedReportGroups,\n AccountLimitExceededException,\n AccountSuspendedException,\n ArtifactNamespace,\n ArtifactPackaging,\n ArtifactsType,\n AuthType,\n InvalidInputException,\n BucketOwnerAccess,\n BatchReportModeType,\n StatusType,\n CacheMode,\n CacheType,\n MachineType,\n ComputeType,\n EnvironmentVariableType,\n ImagePullCredentialsType,\n CredentialProviderType,\n EnvironmentType,\n FileSystemType,\n LogsConfigStatusType,\n BuildBatchPhaseType,\n SourceAuthType,\n SourceType,\n BuildPhaseType,\n CommandType,\n FleetOverflowBehavior,\n FleetProxyRuleBehavior,\n FleetProxyRuleEffectType,\n FleetProxyRuleType,\n FleetScalingType,\n FleetScalingMetricType,\n FleetContextCode,\n FleetStatusCode,\n ProjectVisibilityType,\n WebhookBuildType,\n WebhookFilterType,\n WebhookScopeType,\n WebhookStatus,\n ReportExportConfigType,\n ReportPackagingType,\n ReportGroupStatusType,\n ReportType,\n ReportStatusType,\n ResourceAlreadyExistsException,\n OAuthProviderException,\n ResourceNotFoundException,\n ReportCodeCoverageSortByType,\n SortOrderType,\n ReportGroupTrendFieldType,\n ServerType,\n LanguageType,\n PlatformType,\n FleetSortByType,\n ProjectSortByType,\n ReportGroupSortByType,\n SharedResourceSortByType,\n RetryBuildBatchType,\n CommandExecutionFilterSensitiveLog,\n BatchGetCommandExecutionsOutputFilterSensitiveLog,\n ImportSourceCredentialsInputFilterSensitiveLog,\n ListCommandExecutionsForSandboxInputFilterSensitiveLog,\n ListCommandExecutionsForSandboxOutputFilterSensitiveLog,\n ListFleetsInputFilterSensitiveLog,\n ListSandboxesForProjectInputFilterSensitiveLog,\n StartCommandExecutionInputFilterSensitiveLog,\n StartCommandExecutionOutputFilterSensitiveLog,\n StartSandboxInputFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2016-10-06\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCodeBuildHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"CodeBuild\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultCognitoIdentityHttpAuthSchemeProvider = exports.defaultCognitoIdentityHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultCognitoIdentityHttpAuthSchemeParametersProvider = defaultCognitoIdentityHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"cognito-identity\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetCredentialsForIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"GetId\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"GetOpenIdToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"UnlinkIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultCognitoIdentityHttpAuthSchemeProvider = defaultCognitoIdentityHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst w = \"required\", x = \"fn\", y = \"argv\", z = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = \"stringEquals\", j = { [w]: false, \"type\": \"String\" }, k = { [w]: true, \"default\": false, \"type\": \"Boolean\" }, l = { [z]: \"Endpoint\" }, m = { [x]: c, [y]: [{ [z]: \"UseFIPS\" }, true] }, n = { [x]: c, [y]: [{ [z]: \"UseDualStack\" }, true] }, o = {}, p = { [z]: \"Region\" }, q = { [x]: h, [y]: [{ [z]: g }, \"supportsFIPS\"] }, r = { [z]: g }, s = { [x]: c, [y]: [true, { [x]: h, [y]: [r, \"supportsDualStack\"] }] }, t = [m], u = [n], v = [p];\nconst _data = { version: \"1.0\", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j }, rules: [{ conditions: [{ [x]: b, [y]: [l] }], rules: [{ conditions: t, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: u, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: l, properties: o, headers: o }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: \"aws.partition\", [y]: v, assign: g }], rules: [{ conditions: [m, n], rules: [{ conditions: [{ [x]: c, [y]: [a, q] }, s], rules: [{ conditions: [{ [x]: i, [y]: [p, \"us-east-1\"] }], endpoint: { url: \"https://cognito-identity-fips.us-east-1.amazonaws.com\", properties: o, headers: o }, type: e }, { conditions: [{ [x]: i, [y]: [p, \"us-east-2\"] }], endpoint: { url: \"https://cognito-identity-fips.us-east-2.amazonaws.com\", properties: o, headers: o }, type: e }, { conditions: [{ [x]: i, [y]: [p, \"us-west-1\"] }], endpoint: { url: \"https://cognito-identity-fips.us-west-1.amazonaws.com\", properties: o, headers: o }, type: e }, { conditions: [{ [x]: i, [y]: [p, \"us-west-2\"] }], endpoint: { url: \"https://cognito-identity-fips.us-west-2.amazonaws.com\", properties: o, headers: o }, type: e }, { endpoint: { url: \"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: o, headers: o }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [q, a] }], rules: [{ endpoint: { url: \"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: o, headers: o }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: u, rules: [{ conditions: [s], rules: [{ conditions: [{ [x]: i, [y]: [\"aws\", { [x]: h, [y]: [r, \"name\"] }] }], endpoint: { url: \"https://cognito-identity.{Region}.amazonaws.com\", properties: o, headers: o }, type: e }, { endpoint: { url: \"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: o, headers: o }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}\", properties: o, headers: o }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AmbiguousRoleResolutionType: () => AmbiguousRoleResolutionType,\n CognitoIdentity: () => CognitoIdentity,\n CognitoIdentityClient: () => CognitoIdentityClient,\n CognitoIdentityServiceException: () => CognitoIdentityServiceException,\n ConcurrentModificationException: () => ConcurrentModificationException,\n CreateIdentityPoolCommand: () => CreateIdentityPoolCommand,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n DeleteIdentitiesCommand: () => DeleteIdentitiesCommand,\n DeleteIdentityPoolCommand: () => DeleteIdentityPoolCommand,\n DescribeIdentityCommand: () => DescribeIdentityCommand,\n DescribeIdentityPoolCommand: () => DescribeIdentityPoolCommand,\n DeveloperUserAlreadyRegisteredException: () => DeveloperUserAlreadyRegisteredException,\n ErrorCode: () => ErrorCode,\n ExternalServiceException: () => ExternalServiceException,\n GetCredentialsForIdentityCommand: () => GetCredentialsForIdentityCommand,\n GetCredentialsForIdentityInputFilterSensitiveLog: () => GetCredentialsForIdentityInputFilterSensitiveLog,\n GetCredentialsForIdentityResponseFilterSensitiveLog: () => GetCredentialsForIdentityResponseFilterSensitiveLog,\n GetIdCommand: () => GetIdCommand,\n GetIdInputFilterSensitiveLog: () => GetIdInputFilterSensitiveLog,\n GetIdentityPoolRolesCommand: () => GetIdentityPoolRolesCommand,\n GetOpenIdTokenCommand: () => GetOpenIdTokenCommand,\n GetOpenIdTokenForDeveloperIdentityCommand: () => GetOpenIdTokenForDeveloperIdentityCommand,\n GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog: () => GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,\n GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog: () => GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog,\n GetOpenIdTokenInputFilterSensitiveLog: () => GetOpenIdTokenInputFilterSensitiveLog,\n GetOpenIdTokenResponseFilterSensitiveLog: () => GetOpenIdTokenResponseFilterSensitiveLog,\n GetPrincipalTagAttributeMapCommand: () => GetPrincipalTagAttributeMapCommand,\n InternalErrorException: () => InternalErrorException,\n InvalidIdentityPoolConfigurationException: () => InvalidIdentityPoolConfigurationException,\n InvalidParameterException: () => InvalidParameterException,\n LimitExceededException: () => LimitExceededException,\n ListIdentitiesCommand: () => ListIdentitiesCommand,\n ListIdentityPoolsCommand: () => ListIdentityPoolsCommand,\n ListTagsForResourceCommand: () => ListTagsForResourceCommand,\n LookupDeveloperIdentityCommand: () => LookupDeveloperIdentityCommand,\n MappingRuleMatchType: () => MappingRuleMatchType,\n MergeDeveloperIdentitiesCommand: () => MergeDeveloperIdentitiesCommand,\n NotAuthorizedException: () => NotAuthorizedException,\n ResourceConflictException: () => ResourceConflictException,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleMappingType: () => RoleMappingType,\n SetIdentityPoolRolesCommand: () => SetIdentityPoolRolesCommand,\n SetPrincipalTagAttributeMapCommand: () => SetPrincipalTagAttributeMapCommand,\n TagResourceCommand: () => TagResourceCommand,\n TooManyRequestsException: () => TooManyRequestsException,\n UnlinkDeveloperIdentityCommand: () => UnlinkDeveloperIdentityCommand,\n UnlinkIdentityCommand: () => UnlinkIdentityCommand,\n UnlinkIdentityInputFilterSensitiveLog: () => UnlinkIdentityInputFilterSensitiveLog,\n UntagResourceCommand: () => UntagResourceCommand,\n UpdateIdentityPoolCommand: () => UpdateIdentityPoolCommand,\n __Client: () => import_smithy_client.Client,\n paginateListIdentityPools: () => paginateListIdentityPools\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/CognitoIdentityClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"cognito-identity\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/CognitoIdentityClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/CognitoIdentityClient.ts\nvar CognitoIdentityClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"CognitoIdentityClient\");\n }\n /**\n * The resolved configuration of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCognitoIdentityHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/CognitoIdentity.ts\n\n\n// src/commands/CreateIdentityPoolCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_json1_1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\n\n// src/models/CognitoIdentityServiceException.ts\n\nvar CognitoIdentityServiceException = class _CognitoIdentityServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"CognitoIdentityServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _CognitoIdentityServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\n\nvar AmbiguousRoleResolutionType = {\n AUTHENTICATED_ROLE: \"AuthenticatedRole\",\n DENY: \"Deny\"\n};\nvar InternalErrorException = class _InternalErrorException extends CognitoIdentityServiceException {\n static {\n __name(this, \"InternalErrorException\");\n }\n name = \"InternalErrorException\";\n $fault = \"server\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalErrorException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalErrorException.prototype);\n }\n};\nvar InvalidParameterException = class _InvalidParameterException extends CognitoIdentityServiceException {\n static {\n __name(this, \"InvalidParameterException\");\n }\n name = \"InvalidParameterException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidParameterException.prototype);\n }\n};\nvar LimitExceededException = class _LimitExceededException extends CognitoIdentityServiceException {\n static {\n __name(this, \"LimitExceededException\");\n }\n name = \"LimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LimitExceededException.prototype);\n }\n};\nvar NotAuthorizedException = class _NotAuthorizedException extends CognitoIdentityServiceException {\n static {\n __name(this, \"NotAuthorizedException\");\n }\n name = \"NotAuthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NotAuthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NotAuthorizedException.prototype);\n }\n};\nvar ResourceConflictException = class _ResourceConflictException extends CognitoIdentityServiceException {\n static {\n __name(this, \"ResourceConflictException\");\n }\n name = \"ResourceConflictException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceConflictException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceConflictException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends CognitoIdentityServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar ErrorCode = {\n ACCESS_DENIED: \"AccessDenied\",\n INTERNAL_SERVER_ERROR: \"InternalServerError\"\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends CognitoIdentityServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar ExternalServiceException = class _ExternalServiceException extends CognitoIdentityServiceException {\n static {\n __name(this, \"ExternalServiceException\");\n }\n name = \"ExternalServiceException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExternalServiceException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExternalServiceException.prototype);\n }\n};\nvar InvalidIdentityPoolConfigurationException = class _InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException {\n static {\n __name(this, \"InvalidIdentityPoolConfigurationException\");\n }\n name = \"InvalidIdentityPoolConfigurationException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityPoolConfigurationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityPoolConfigurationException.prototype);\n }\n};\nvar MappingRuleMatchType = {\n CONTAINS: \"Contains\",\n EQUALS: \"Equals\",\n NOT_EQUAL: \"NotEqual\",\n STARTS_WITH: \"StartsWith\"\n};\nvar RoleMappingType = {\n RULES: \"Rules\",\n TOKEN: \"Token\"\n};\nvar DeveloperUserAlreadyRegisteredException = class _DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException {\n static {\n __name(this, \"DeveloperUserAlreadyRegisteredException\");\n }\n name = \"DeveloperUserAlreadyRegisteredException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DeveloperUserAlreadyRegisteredException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DeveloperUserAlreadyRegisteredException.prototype);\n }\n};\nvar ConcurrentModificationException = class _ConcurrentModificationException extends CognitoIdentityServiceException {\n static {\n __name(this, \"ConcurrentModificationException\");\n }\n name = \"ConcurrentModificationException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ConcurrentModificationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);\n }\n};\nvar GetCredentialsForIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }\n}), \"GetCredentialsForIdentityInputFilterSensitiveLog\");\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretKey && { SecretKey: import_smithy_client.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar GetCredentialsForIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"GetCredentialsForIdentityResponseFilterSensitiveLog\");\nvar GetIdInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }\n}), \"GetIdInputFilterSensitiveLog\");\nvar GetOpenIdTokenInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }\n}), \"GetOpenIdTokenInputFilterSensitiveLog\");\nvar GetOpenIdTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Token && { Token: import_smithy_client.SENSITIVE_STRING }\n}), \"GetOpenIdTokenResponseFilterSensitiveLog\");\nvar GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }\n}), \"GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog\");\nvar GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Token && { Token: import_smithy_client.SENSITIVE_STRING }\n}), \"GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog\");\nvar UnlinkIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }\n}), \"UnlinkIdentityInputFilterSensitiveLog\");\n\n// src/protocols/Aws_json1_1.ts\nvar se_CreateIdentityPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateIdentityPool\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIdentityPoolCommand\");\nvar se_DeleteIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteIdentities\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIdentitiesCommand\");\nvar se_DeleteIdentityPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteIdentityPool\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIdentityPoolCommand\");\nvar se_DescribeIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIdentityCommand\");\nvar se_DescribeIdentityPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeIdentityPool\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIdentityPoolCommand\");\nvar se_GetCredentialsForIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetCredentialsForIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCredentialsForIdentityCommand\");\nvar se_GetIdCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetId\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIdCommand\");\nvar se_GetIdentityPoolRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetIdentityPoolRoles\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIdentityPoolRolesCommand\");\nvar se_GetOpenIdTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetOpenIdToken\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetOpenIdTokenCommand\");\nvar se_GetOpenIdTokenForDeveloperIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetOpenIdTokenForDeveloperIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetOpenIdTokenForDeveloperIdentityCommand\");\nvar se_GetPrincipalTagAttributeMapCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetPrincipalTagAttributeMap\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetPrincipalTagAttributeMapCommand\");\nvar se_ListIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListIdentities\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListIdentitiesCommand\");\nvar se_ListIdentityPoolsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListIdentityPools\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListIdentityPoolsCommand\");\nvar se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListTagsForResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListTagsForResourceCommand\");\nvar se_LookupDeveloperIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"LookupDeveloperIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_LookupDeveloperIdentityCommand\");\nvar se_MergeDeveloperIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"MergeDeveloperIdentities\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_MergeDeveloperIdentitiesCommand\");\nvar se_SetIdentityPoolRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"SetIdentityPoolRoles\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SetIdentityPoolRolesCommand\");\nvar se_SetPrincipalTagAttributeMapCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"SetPrincipalTagAttributeMap\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SetPrincipalTagAttributeMapCommand\");\nvar se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TagResourceCommand\");\nvar se_UnlinkDeveloperIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UnlinkDeveloperIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnlinkDeveloperIdentityCommand\");\nvar se_UnlinkIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UnlinkIdentity\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnlinkIdentityCommand\");\nvar se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UntagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UntagResourceCommand\");\nvar se_UpdateIdentityPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateIdentityPool\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateIdentityPoolCommand\");\nvar de_CreateIdentityPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIdentityPoolCommand\");\nvar de_DeleteIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIdentitiesCommand\");\nvar de_DeleteIdentityPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteIdentityPoolCommand\");\nvar de_DescribeIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_IdentityDescription(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIdentityCommand\");\nvar de_DescribeIdentityPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIdentityPoolCommand\");\nvar de_GetCredentialsForIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetCredentialsForIdentityResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCredentialsForIdentityCommand\");\nvar de_GetIdCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIdCommand\");\nvar de_GetIdentityPoolRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIdentityPoolRolesCommand\");\nvar de_GetOpenIdTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetOpenIdTokenCommand\");\nvar de_GetOpenIdTokenForDeveloperIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetOpenIdTokenForDeveloperIdentityCommand\");\nvar de_GetPrincipalTagAttributeMapCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetPrincipalTagAttributeMapCommand\");\nvar de_ListIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListIdentitiesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListIdentitiesCommand\");\nvar de_ListIdentityPoolsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListIdentityPoolsCommand\");\nvar de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListTagsForResourceCommand\");\nvar de_LookupDeveloperIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_LookupDeveloperIdentityCommand\");\nvar de_MergeDeveloperIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_MergeDeveloperIdentitiesCommand\");\nvar de_SetIdentityPoolRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_SetIdentityPoolRolesCommand\");\nvar de_SetPrincipalTagAttributeMapCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SetPrincipalTagAttributeMapCommand\");\nvar de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TagResourceCommand\");\nvar de_UnlinkDeveloperIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UnlinkDeveloperIdentityCommand\");\nvar de_UnlinkIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UnlinkIdentityCommand\");\nvar de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UntagResourceCommand\");\nvar de_UpdateIdentityPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateIdentityPoolCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await de_ExternalServiceExceptionRes(parsedOutput, context);\n case \"InvalidIdentityPoolConfigurationException\":\n case \"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException\":\n throw await de_InvalidIdentityPoolConfigurationExceptionRes(parsedOutput, context);\n case \"DeveloperUserAlreadyRegisteredException\":\n case \"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException\":\n throw await de_DeveloperUserAlreadyRegisteredExceptionRes(parsedOutput, context);\n case \"ConcurrentModificationException\":\n case \"com.amazonaws.cognitoidentity#ConcurrentModificationException\":\n throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ConcurrentModificationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ConcurrentModificationExceptionRes\");\nvar de_DeveloperUserAlreadyRegisteredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DeveloperUserAlreadyRegisteredException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DeveloperUserAlreadyRegisteredExceptionRes\");\nvar de_ExternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ExternalServiceException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ExternalServiceExceptionRes\");\nvar de_InternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InternalErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InternalErrorExceptionRes\");\nvar de_InvalidIdentityPoolConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidIdentityPoolConfigurationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityPoolConfigurationExceptionRes\");\nvar de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidParameterExceptionRes\");\nvar de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LimitExceededExceptionRes\");\nvar de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new NotAuthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_NotAuthorizedExceptionRes\");\nvar de_ResourceConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceConflictExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AccessKeyId: import_smithy_client.expectString,\n Expiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"Expiration\"),\n SecretKey: import_smithy_client.expectString,\n SessionToken: import_smithy_client.expectString\n });\n}, \"de_Credentials\");\nvar de_GetCredentialsForIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Credentials: /* @__PURE__ */ __name((_) => de_Credentials(_, context), \"Credentials\"),\n IdentityId: import_smithy_client.expectString\n });\n}, \"de_GetCredentialsForIdentityResponse\");\nvar de_IdentitiesList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_IdentityDescription(entry, context);\n });\n return retVal;\n}, \"de_IdentitiesList\");\nvar de_IdentityDescription = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreationDate\"),\n IdentityId: import_smithy_client.expectString,\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n Logins: import_smithy_client._json\n });\n}, \"de_IdentityDescription\");\nvar de_ListIdentitiesResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Identities: /* @__PURE__ */ __name((_) => de_IdentitiesList(_, context), \"Identities\"),\n IdentityPoolId: import_smithy_client.expectString,\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListIdentitiesResponse\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(CognitoIdentityServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AWSCognitoIdentityService.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/CreateIdentityPoolCommand.ts\nvar CreateIdentityPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"CreateIdentityPool\", {}).n(\"CognitoIdentityClient\", \"CreateIdentityPoolCommand\").f(void 0, void 0).ser(se_CreateIdentityPoolCommand).de(de_CreateIdentityPoolCommand).build() {\n static {\n __name(this, \"CreateIdentityPoolCommand\");\n }\n};\n\n// src/commands/DeleteIdentitiesCommand.ts\n\n\n\nvar DeleteIdentitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"DeleteIdentities\", {}).n(\"CognitoIdentityClient\", \"DeleteIdentitiesCommand\").f(void 0, void 0).ser(se_DeleteIdentitiesCommand).de(de_DeleteIdentitiesCommand).build() {\n static {\n __name(this, \"DeleteIdentitiesCommand\");\n }\n};\n\n// src/commands/DeleteIdentityPoolCommand.ts\n\n\n\nvar DeleteIdentityPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"DeleteIdentityPool\", {}).n(\"CognitoIdentityClient\", \"DeleteIdentityPoolCommand\").f(void 0, void 0).ser(se_DeleteIdentityPoolCommand).de(de_DeleteIdentityPoolCommand).build() {\n static {\n __name(this, \"DeleteIdentityPoolCommand\");\n }\n};\n\n// src/commands/DescribeIdentityCommand.ts\n\n\n\nvar DescribeIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"DescribeIdentity\", {}).n(\"CognitoIdentityClient\", \"DescribeIdentityCommand\").f(void 0, void 0).ser(se_DescribeIdentityCommand).de(de_DescribeIdentityCommand).build() {\n static {\n __name(this, \"DescribeIdentityCommand\");\n }\n};\n\n// src/commands/DescribeIdentityPoolCommand.ts\n\n\n\nvar DescribeIdentityPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"DescribeIdentityPool\", {}).n(\"CognitoIdentityClient\", \"DescribeIdentityPoolCommand\").f(void 0, void 0).ser(se_DescribeIdentityPoolCommand).de(de_DescribeIdentityPoolCommand).build() {\n static {\n __name(this, \"DescribeIdentityPoolCommand\");\n }\n};\n\n// src/commands/GetCredentialsForIdentityCommand.ts\n\n\n\nvar GetCredentialsForIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetCredentialsForIdentity\", {}).n(\"CognitoIdentityClient\", \"GetCredentialsForIdentityCommand\").f(GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog).ser(se_GetCredentialsForIdentityCommand).de(de_GetCredentialsForIdentityCommand).build() {\n static {\n __name(this, \"GetCredentialsForIdentityCommand\");\n }\n};\n\n// src/commands/GetIdCommand.ts\n\n\n\nvar GetIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetId\", {}).n(\"CognitoIdentityClient\", \"GetIdCommand\").f(GetIdInputFilterSensitiveLog, void 0).ser(se_GetIdCommand).de(de_GetIdCommand).build() {\n static {\n __name(this, \"GetIdCommand\");\n }\n};\n\n// src/commands/GetIdentityPoolRolesCommand.ts\n\n\n\nvar GetIdentityPoolRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetIdentityPoolRoles\", {}).n(\"CognitoIdentityClient\", \"GetIdentityPoolRolesCommand\").f(void 0, void 0).ser(se_GetIdentityPoolRolesCommand).de(de_GetIdentityPoolRolesCommand).build() {\n static {\n __name(this, \"GetIdentityPoolRolesCommand\");\n }\n};\n\n// src/commands/GetOpenIdTokenCommand.ts\n\n\n\nvar GetOpenIdTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetOpenIdToken\", {}).n(\"CognitoIdentityClient\", \"GetOpenIdTokenCommand\").f(GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog).ser(se_GetOpenIdTokenCommand).de(de_GetOpenIdTokenCommand).build() {\n static {\n __name(this, \"GetOpenIdTokenCommand\");\n }\n};\n\n// src/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts\n\n\n\nvar GetOpenIdTokenForDeveloperIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetOpenIdTokenForDeveloperIdentity\", {}).n(\"CognitoIdentityClient\", \"GetOpenIdTokenForDeveloperIdentityCommand\").f(\n GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,\n GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog\n).ser(se_GetOpenIdTokenForDeveloperIdentityCommand).de(de_GetOpenIdTokenForDeveloperIdentityCommand).build() {\n static {\n __name(this, \"GetOpenIdTokenForDeveloperIdentityCommand\");\n }\n};\n\n// src/commands/GetPrincipalTagAttributeMapCommand.ts\n\n\n\nvar GetPrincipalTagAttributeMapCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetPrincipalTagAttributeMap\", {}).n(\"CognitoIdentityClient\", \"GetPrincipalTagAttributeMapCommand\").f(void 0, void 0).ser(se_GetPrincipalTagAttributeMapCommand).de(de_GetPrincipalTagAttributeMapCommand).build() {\n static {\n __name(this, \"GetPrincipalTagAttributeMapCommand\");\n }\n};\n\n// src/commands/ListIdentitiesCommand.ts\n\n\n\nvar ListIdentitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"ListIdentities\", {}).n(\"CognitoIdentityClient\", \"ListIdentitiesCommand\").f(void 0, void 0).ser(se_ListIdentitiesCommand).de(de_ListIdentitiesCommand).build() {\n static {\n __name(this, \"ListIdentitiesCommand\");\n }\n};\n\n// src/commands/ListIdentityPoolsCommand.ts\n\n\n\nvar ListIdentityPoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"ListIdentityPools\", {}).n(\"CognitoIdentityClient\", \"ListIdentityPoolsCommand\").f(void 0, void 0).ser(se_ListIdentityPoolsCommand).de(de_ListIdentityPoolsCommand).build() {\n static {\n __name(this, \"ListIdentityPoolsCommand\");\n }\n};\n\n// src/commands/ListTagsForResourceCommand.ts\n\n\n\nvar ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"ListTagsForResource\", {}).n(\"CognitoIdentityClient\", \"ListTagsForResourceCommand\").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {\n static {\n __name(this, \"ListTagsForResourceCommand\");\n }\n};\n\n// src/commands/LookupDeveloperIdentityCommand.ts\n\n\n\nvar LookupDeveloperIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"LookupDeveloperIdentity\", {}).n(\"CognitoIdentityClient\", \"LookupDeveloperIdentityCommand\").f(void 0, void 0).ser(se_LookupDeveloperIdentityCommand).de(de_LookupDeveloperIdentityCommand).build() {\n static {\n __name(this, \"LookupDeveloperIdentityCommand\");\n }\n};\n\n// src/commands/MergeDeveloperIdentitiesCommand.ts\n\n\n\nvar MergeDeveloperIdentitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"MergeDeveloperIdentities\", {}).n(\"CognitoIdentityClient\", \"MergeDeveloperIdentitiesCommand\").f(void 0, void 0).ser(se_MergeDeveloperIdentitiesCommand).de(de_MergeDeveloperIdentitiesCommand).build() {\n static {\n __name(this, \"MergeDeveloperIdentitiesCommand\");\n }\n};\n\n// src/commands/SetIdentityPoolRolesCommand.ts\n\n\n\nvar SetIdentityPoolRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"SetIdentityPoolRoles\", {}).n(\"CognitoIdentityClient\", \"SetIdentityPoolRolesCommand\").f(void 0, void 0).ser(se_SetIdentityPoolRolesCommand).de(de_SetIdentityPoolRolesCommand).build() {\n static {\n __name(this, \"SetIdentityPoolRolesCommand\");\n }\n};\n\n// src/commands/SetPrincipalTagAttributeMapCommand.ts\n\n\n\nvar SetPrincipalTagAttributeMapCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"SetPrincipalTagAttributeMap\", {}).n(\"CognitoIdentityClient\", \"SetPrincipalTagAttributeMapCommand\").f(void 0, void 0).ser(se_SetPrincipalTagAttributeMapCommand).de(de_SetPrincipalTagAttributeMapCommand).build() {\n static {\n __name(this, \"SetPrincipalTagAttributeMapCommand\");\n }\n};\n\n// src/commands/TagResourceCommand.ts\n\n\n\nvar TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"TagResource\", {}).n(\"CognitoIdentityClient\", \"TagResourceCommand\").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {\n static {\n __name(this, \"TagResourceCommand\");\n }\n};\n\n// src/commands/UnlinkDeveloperIdentityCommand.ts\n\n\n\nvar UnlinkDeveloperIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"UnlinkDeveloperIdentity\", {}).n(\"CognitoIdentityClient\", \"UnlinkDeveloperIdentityCommand\").f(void 0, void 0).ser(se_UnlinkDeveloperIdentityCommand).de(de_UnlinkDeveloperIdentityCommand).build() {\n static {\n __name(this, \"UnlinkDeveloperIdentityCommand\");\n }\n};\n\n// src/commands/UnlinkIdentityCommand.ts\n\n\n\nvar UnlinkIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"UnlinkIdentity\", {}).n(\"CognitoIdentityClient\", \"UnlinkIdentityCommand\").f(UnlinkIdentityInputFilterSensitiveLog, void 0).ser(se_UnlinkIdentityCommand).de(de_UnlinkIdentityCommand).build() {\n static {\n __name(this, \"UnlinkIdentityCommand\");\n }\n};\n\n// src/commands/UntagResourceCommand.ts\n\n\n\nvar UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"UntagResource\", {}).n(\"CognitoIdentityClient\", \"UntagResourceCommand\").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {\n static {\n __name(this, \"UntagResourceCommand\");\n }\n};\n\n// src/commands/UpdateIdentityPoolCommand.ts\n\n\n\nvar UpdateIdentityPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"UpdateIdentityPool\", {}).n(\"CognitoIdentityClient\", \"UpdateIdentityPoolCommand\").f(void 0, void 0).ser(se_UpdateIdentityPoolCommand).de(de_UpdateIdentityPoolCommand).build() {\n static {\n __name(this, \"UpdateIdentityPoolCommand\");\n }\n};\n\n// src/CognitoIdentity.ts\nvar commands = {\n CreateIdentityPoolCommand,\n DeleteIdentitiesCommand,\n DeleteIdentityPoolCommand,\n DescribeIdentityCommand,\n DescribeIdentityPoolCommand,\n GetCredentialsForIdentityCommand,\n GetIdCommand,\n GetIdentityPoolRolesCommand,\n GetOpenIdTokenCommand,\n GetOpenIdTokenForDeveloperIdentityCommand,\n GetPrincipalTagAttributeMapCommand,\n ListIdentitiesCommand,\n ListIdentityPoolsCommand,\n ListTagsForResourceCommand,\n LookupDeveloperIdentityCommand,\n MergeDeveloperIdentitiesCommand,\n SetIdentityPoolRolesCommand,\n SetPrincipalTagAttributeMapCommand,\n TagResourceCommand,\n UnlinkDeveloperIdentityCommand,\n UnlinkIdentityCommand,\n UntagResourceCommand,\n UpdateIdentityPoolCommand\n};\nvar CognitoIdentity = class extends CognitoIdentityClient {\n static {\n __name(this, \"CognitoIdentity\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, CognitoIdentity);\n\n// src/pagination/ListIdentityPoolsPaginator.ts\n\nvar paginateListIdentityPools = (0, import_core.createPaginator)(CognitoIdentityClient, ListIdentityPoolsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n CognitoIdentityServiceException,\n __Client,\n CognitoIdentityClient,\n CognitoIdentity,\n $Command,\n CreateIdentityPoolCommand,\n DeleteIdentitiesCommand,\n DeleteIdentityPoolCommand,\n DescribeIdentityCommand,\n DescribeIdentityPoolCommand,\n GetCredentialsForIdentityCommand,\n GetIdCommand,\n GetIdentityPoolRolesCommand,\n GetOpenIdTokenCommand,\n GetOpenIdTokenForDeveloperIdentityCommand,\n GetPrincipalTagAttributeMapCommand,\n ListIdentitiesCommand,\n ListIdentityPoolsCommand,\n ListTagsForResourceCommand,\n LookupDeveloperIdentityCommand,\n MergeDeveloperIdentitiesCommand,\n SetIdentityPoolRolesCommand,\n SetPrincipalTagAttributeMapCommand,\n TagResourceCommand,\n UnlinkDeveloperIdentityCommand,\n UnlinkIdentityCommand,\n UntagResourceCommand,\n UpdateIdentityPoolCommand,\n paginateListIdentityPools,\n AmbiguousRoleResolutionType,\n InternalErrorException,\n InvalidParameterException,\n LimitExceededException,\n NotAuthorizedException,\n ResourceConflictException,\n TooManyRequestsException,\n ErrorCode,\n ResourceNotFoundException,\n ExternalServiceException,\n InvalidIdentityPoolConfigurationException,\n MappingRuleMatchType,\n RoleMappingType,\n DeveloperUserAlreadyRegisteredException,\n ConcurrentModificationException,\n GetCredentialsForIdentityInputFilterSensitiveLog,\n CredentialsFilterSensitiveLog,\n GetCredentialsForIdentityResponseFilterSensitiveLog,\n GetIdInputFilterSensitiveLog,\n GetOpenIdTokenInputFilterSensitiveLog,\n GetOpenIdTokenResponseFilterSensitiveLog,\n GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,\n GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog,\n UnlinkIdentityInputFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2014-06-30\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCognitoIdentityHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"Cognito Identity\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,\n getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,\n getUserAgentPlugin: () => getUserAgentPlugin,\n resolveUserAgentConfig: () => resolveUserAgentConfig,\n userAgentMiddleware: () => userAgentMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/configurations.ts\nvar import_core = require(\"@smithy/core\");\nvar DEFAULT_UA_APP_ID = void 0;\nfunction isValidUserAgentAppId(appId) {\n if (appId === void 0) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\n__name(isValidUserAgentAppId, \"isValidUserAgentAppId\");\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: /* @__PURE__ */ __name(async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n } else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n }, \"userAgentAppId\")\n });\n}\n__name(resolveUserAgentConfig, \"resolveUserAgentConfig\");\n\n// src/user-agent-middleware.ts\nvar import_util_endpoints = require(\"@aws-sdk/util-endpoints\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/check-features.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n (0, import_core2.setFeature)(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n (0, import_core2.setFeature)(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n (0, import_core2.setFeature)(context, key, value);\n }\n }\n}\n__name(checkFeatures, \"checkFeatures\");\n\n// src/constants.ts\nvar USER_AGENT = \"user-agent\";\nvar X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nvar SPACE = \" \";\nvar UA_NAME_SEPARATOR = \"/\";\nvar UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nvar UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nvar UA_ESCAPE_CHAR = \"-\";\n\n// src/encode-features.ts\nvar BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n } else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n__name(encodeFeatures, \"encodeFeatures\");\n\n// src/user-agent-middleware.ts\nvar userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(\n `m/${encodeFeatures(\n Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features)\n )}`\n );\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));\n }\n const prefix = (0, import_util_endpoints.getUserAgentPrefix)();\n const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n } else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request\n });\n}, \"userAgentMiddleware\");\nvar escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => {\n const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n}, \"escapeUserAgent\");\nvar getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true\n};\nvar getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getUserAgentPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n DEFAULT_UA_APP_ID,\n resolveUserAgentConfig,\n userAgentMiddleware,\n getUserAgentMiddlewareOptions,\n getUserAgentPlugin\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sso-oidc/index.ts\nvar index_exports = {};\n__export(index_exports, {\n $Command: () => import_smithy_client6.Command,\n AccessDeniedException: () => AccessDeniedException,\n AuthorizationPendingException: () => AuthorizationPendingException,\n CreateTokenCommand: () => CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n InternalServerException: () => InternalServerException,\n InvalidClientException: () => InvalidClientException,\n InvalidGrantException: () => InvalidGrantException,\n InvalidRequestException: () => InvalidRequestException,\n InvalidScopeException: () => InvalidScopeException,\n SSOOIDC: () => SSOOIDC,\n SSOOIDCClient: () => SSOOIDCClient,\n SSOOIDCServiceException: () => SSOOIDCServiceException,\n SlowDownException: () => SlowDownException,\n UnauthorizedClientException: () => UnauthorizedClientException,\n UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,\n __Client: () => import_smithy_client2.Client\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/submodules/sso-oidc/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_runtimeConfig = require(\"./runtimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar SSOOIDCClient = class extends import_smithy_client2.Client {\n static {\n __name(this, \"SSOOIDCClient\");\n }\n /**\n * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar import_smithy_client7 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {\n static {\n __name(this, \"SSOOIDCServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);\n }\n};\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultEC2HttpAuthSchemeProvider = exports.defaultEC2HttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultEC2HttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultEC2HttpAuthSchemeParametersProvider = defaultEC2HttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"ec2\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultEC2HttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultEC2HttpAuthSchemeProvider = defaultEC2HttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://ec2.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://ec2.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AcceleratorManufacturer: () => AcceleratorManufacturer,\n AcceleratorName: () => AcceleratorName,\n AcceleratorType: () => AcceleratorType,\n AcceptAddressTransferCommand: () => AcceptAddressTransferCommand,\n AcceptCapacityReservationBillingOwnershipCommand: () => AcceptCapacityReservationBillingOwnershipCommand,\n AcceptReservedInstancesExchangeQuoteCommand: () => AcceptReservedInstancesExchangeQuoteCommand,\n AcceptTransitGatewayMulticastDomainAssociationsCommand: () => AcceptTransitGatewayMulticastDomainAssociationsCommand,\n AcceptTransitGatewayPeeringAttachmentCommand: () => AcceptTransitGatewayPeeringAttachmentCommand,\n AcceptTransitGatewayVpcAttachmentCommand: () => AcceptTransitGatewayVpcAttachmentCommand,\n AcceptVpcEndpointConnectionsCommand: () => AcceptVpcEndpointConnectionsCommand,\n AcceptVpcPeeringConnectionCommand: () => AcceptVpcPeeringConnectionCommand,\n AccountAttributeName: () => AccountAttributeName,\n ActivityStatus: () => ActivityStatus,\n AddressAttributeName: () => AddressAttributeName,\n AddressFamily: () => AddressFamily,\n AddressTransferStatus: () => AddressTransferStatus,\n AdvertiseByoipCidrCommand: () => AdvertiseByoipCidrCommand,\n Affinity: () => Affinity,\n AllocateAddressCommand: () => AllocateAddressCommand,\n AllocateHostsCommand: () => AllocateHostsCommand,\n AllocateIpamPoolCidrCommand: () => AllocateIpamPoolCidrCommand,\n AllocationState: () => AllocationState,\n AllocationStrategy: () => AllocationStrategy,\n AllocationType: () => AllocationType,\n AllowedImagesSettingsDisabledState: () => AllowedImagesSettingsDisabledState,\n AllowedImagesSettingsEnabledState: () => AllowedImagesSettingsEnabledState,\n AllowsMultipleInstanceTypes: () => AllowsMultipleInstanceTypes,\n AmdSevSnpSpecification: () => AmdSevSnpSpecification,\n AnalysisStatus: () => AnalysisStatus,\n ApplianceModeSupportValue: () => ApplianceModeSupportValue,\n ApplySecurityGroupsToClientVpnTargetNetworkCommand: () => ApplySecurityGroupsToClientVpnTargetNetworkCommand,\n ArchitectureType: () => ArchitectureType,\n ArchitectureValues: () => ArchitectureValues,\n AsnAssociationState: () => AsnAssociationState,\n AsnState: () => AsnState,\n AssignIpv6AddressesCommand: () => AssignIpv6AddressesCommand,\n AssignPrivateIpAddressesCommand: () => AssignPrivateIpAddressesCommand,\n AssignPrivateNatGatewayAddressCommand: () => AssignPrivateNatGatewayAddressCommand,\n AssociateAddressCommand: () => AssociateAddressCommand,\n AssociateCapacityReservationBillingOwnerCommand: () => AssociateCapacityReservationBillingOwnerCommand,\n AssociateClientVpnTargetNetworkCommand: () => AssociateClientVpnTargetNetworkCommand,\n AssociateDhcpOptionsCommand: () => AssociateDhcpOptionsCommand,\n AssociateEnclaveCertificateIamRoleCommand: () => AssociateEnclaveCertificateIamRoleCommand,\n AssociateIamInstanceProfileCommand: () => AssociateIamInstanceProfileCommand,\n AssociateInstanceEventWindowCommand: () => AssociateInstanceEventWindowCommand,\n AssociateIpamByoasnCommand: () => AssociateIpamByoasnCommand,\n AssociateIpamResourceDiscoveryCommand: () => AssociateIpamResourceDiscoveryCommand,\n AssociateNatGatewayAddressCommand: () => AssociateNatGatewayAddressCommand,\n AssociateRouteServerCommand: () => AssociateRouteServerCommand,\n AssociateRouteTableCommand: () => AssociateRouteTableCommand,\n AssociateSecurityGroupVpcCommand: () => AssociateSecurityGroupVpcCommand,\n AssociateSubnetCidrBlockCommand: () => AssociateSubnetCidrBlockCommand,\n AssociateTransitGatewayMulticastDomainCommand: () => AssociateTransitGatewayMulticastDomainCommand,\n AssociateTransitGatewayPolicyTableCommand: () => AssociateTransitGatewayPolicyTableCommand,\n AssociateTransitGatewayRouteTableCommand: () => AssociateTransitGatewayRouteTableCommand,\n AssociateTrunkInterfaceCommand: () => AssociateTrunkInterfaceCommand,\n AssociateVpcCidrBlockCommand: () => AssociateVpcCidrBlockCommand,\n AssociatedNetworkType: () => AssociatedNetworkType,\n AssociationStatusCode: () => AssociationStatusCode,\n AttachClassicLinkVpcCommand: () => AttachClassicLinkVpcCommand,\n AttachInternetGatewayCommand: () => AttachInternetGatewayCommand,\n AttachNetworkInterfaceCommand: () => AttachNetworkInterfaceCommand,\n AttachVerifiedAccessTrustProviderCommand: () => AttachVerifiedAccessTrustProviderCommand,\n AttachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => AttachVerifiedAccessTrustProviderResultFilterSensitiveLog,\n AttachVolumeCommand: () => AttachVolumeCommand,\n AttachVpnGatewayCommand: () => AttachVpnGatewayCommand,\n AttachmentStatus: () => AttachmentStatus,\n AuthorizeClientVpnIngressCommand: () => AuthorizeClientVpnIngressCommand,\n AuthorizeSecurityGroupEgressCommand: () => AuthorizeSecurityGroupEgressCommand,\n AuthorizeSecurityGroupIngressCommand: () => AuthorizeSecurityGroupIngressCommand,\n AutoAcceptSharedAssociationsValue: () => AutoAcceptSharedAssociationsValue,\n AutoAcceptSharedAttachmentsValue: () => AutoAcceptSharedAttachmentsValue,\n AutoPlacement: () => AutoPlacement,\n AvailabilityZoneOptInStatus: () => AvailabilityZoneOptInStatus,\n AvailabilityZoneState: () => AvailabilityZoneState,\n BandwidthWeightingType: () => BandwidthWeightingType,\n BareMetal: () => BareMetal,\n BatchState: () => BatchState,\n BgpStatus: () => BgpStatus,\n BlockPublicAccessMode: () => BlockPublicAccessMode,\n BootModeType: () => BootModeType,\n BootModeValues: () => BootModeValues,\n BundleInstanceCommand: () => BundleInstanceCommand,\n BundleInstanceRequestFilterSensitiveLog: () => BundleInstanceRequestFilterSensitiveLog,\n BundleInstanceResultFilterSensitiveLog: () => BundleInstanceResultFilterSensitiveLog,\n BundleTaskFilterSensitiveLog: () => BundleTaskFilterSensitiveLog,\n BundleTaskState: () => BundleTaskState,\n BurstablePerformance: () => BurstablePerformance,\n ByoipCidrState: () => ByoipCidrState,\n CallerRole: () => CallerRole,\n CancelBatchErrorCode: () => CancelBatchErrorCode,\n CancelBundleTaskCommand: () => CancelBundleTaskCommand,\n CancelBundleTaskResultFilterSensitiveLog: () => CancelBundleTaskResultFilterSensitiveLog,\n CancelCapacityReservationCommand: () => CancelCapacityReservationCommand,\n CancelCapacityReservationFleetsCommand: () => CancelCapacityReservationFleetsCommand,\n CancelConversionTaskCommand: () => CancelConversionTaskCommand,\n CancelDeclarativePoliciesReportCommand: () => CancelDeclarativePoliciesReportCommand,\n CancelExportTaskCommand: () => CancelExportTaskCommand,\n CancelImageLaunchPermissionCommand: () => CancelImageLaunchPermissionCommand,\n CancelImportTaskCommand: () => CancelImportTaskCommand,\n CancelReservedInstancesListingCommand: () => CancelReservedInstancesListingCommand,\n CancelSpotFleetRequestsCommand: () => CancelSpotFleetRequestsCommand,\n CancelSpotInstanceRequestState: () => CancelSpotInstanceRequestState,\n CancelSpotInstanceRequestsCommand: () => CancelSpotInstanceRequestsCommand,\n CapacityBlockExtensionStatus: () => CapacityBlockExtensionStatus,\n CapacityReservationBillingRequestStatus: () => CapacityReservationBillingRequestStatus,\n CapacityReservationDeliveryPreference: () => CapacityReservationDeliveryPreference,\n CapacityReservationFleetState: () => CapacityReservationFleetState,\n CapacityReservationInstancePlatform: () => CapacityReservationInstancePlatform,\n CapacityReservationPreference: () => CapacityReservationPreference,\n CapacityReservationState: () => CapacityReservationState,\n CapacityReservationTenancy: () => CapacityReservationTenancy,\n CapacityReservationType: () => CapacityReservationType,\n CarrierGatewayState: () => CarrierGatewayState,\n ClientCertificateRevocationListStatusCode: () => ClientCertificateRevocationListStatusCode,\n ClientVpnAuthenticationType: () => ClientVpnAuthenticationType,\n ClientVpnAuthorizationRuleStatusCode: () => ClientVpnAuthorizationRuleStatusCode,\n ClientVpnConnectionStatusCode: () => ClientVpnConnectionStatusCode,\n ClientVpnEndpointAttributeStatusCode: () => ClientVpnEndpointAttributeStatusCode,\n ClientVpnEndpointStatusCode: () => ClientVpnEndpointStatusCode,\n ClientVpnRouteStatusCode: () => ClientVpnRouteStatusCode,\n ConfirmProductInstanceCommand: () => ConfirmProductInstanceCommand,\n ConnectionNotificationState: () => ConnectionNotificationState,\n ConnectionNotificationType: () => ConnectionNotificationType,\n ConnectivityType: () => ConnectivityType,\n ContainerFormat: () => ContainerFormat,\n ConversionTaskFilterSensitiveLog: () => ConversionTaskFilterSensitiveLog,\n ConversionTaskState: () => ConversionTaskState,\n CopyFpgaImageCommand: () => CopyFpgaImageCommand,\n CopyImageCommand: () => CopyImageCommand,\n CopySnapshotCommand: () => CopySnapshotCommand,\n CopySnapshotRequestFilterSensitiveLog: () => CopySnapshotRequestFilterSensitiveLog,\n CopyTagsFromSource: () => CopyTagsFromSource,\n CpuManufacturer: () => CpuManufacturer,\n CreateCapacityReservationBySplittingCommand: () => CreateCapacityReservationBySplittingCommand,\n CreateCapacityReservationCommand: () => CreateCapacityReservationCommand,\n CreateCapacityReservationFleetCommand: () => CreateCapacityReservationFleetCommand,\n CreateCarrierGatewayCommand: () => CreateCarrierGatewayCommand,\n CreateClientVpnEndpointCommand: () => CreateClientVpnEndpointCommand,\n CreateClientVpnRouteCommand: () => CreateClientVpnRouteCommand,\n CreateCoipCidrCommand: () => CreateCoipCidrCommand,\n CreateCoipPoolCommand: () => CreateCoipPoolCommand,\n CreateCustomerGatewayCommand: () => CreateCustomerGatewayCommand,\n CreateDefaultSubnetCommand: () => CreateDefaultSubnetCommand,\n CreateDefaultVpcCommand: () => CreateDefaultVpcCommand,\n CreateDhcpOptionsCommand: () => CreateDhcpOptionsCommand,\n CreateEgressOnlyInternetGatewayCommand: () => CreateEgressOnlyInternetGatewayCommand,\n CreateFleetCommand: () => CreateFleetCommand,\n CreateFlowLogsCommand: () => CreateFlowLogsCommand,\n CreateFpgaImageCommand: () => CreateFpgaImageCommand,\n CreateImageCommand: () => CreateImageCommand,\n CreateInstanceConnectEndpointCommand: () => CreateInstanceConnectEndpointCommand,\n CreateInstanceEventWindowCommand: () => CreateInstanceEventWindowCommand,\n CreateInstanceExportTaskCommand: () => CreateInstanceExportTaskCommand,\n CreateInternetGatewayCommand: () => CreateInternetGatewayCommand,\n CreateIpamCommand: () => CreateIpamCommand,\n CreateIpamExternalResourceVerificationTokenCommand: () => CreateIpamExternalResourceVerificationTokenCommand,\n CreateIpamPoolCommand: () => CreateIpamPoolCommand,\n CreateIpamResourceDiscoveryCommand: () => CreateIpamResourceDiscoveryCommand,\n CreateIpamScopeCommand: () => CreateIpamScopeCommand,\n CreateKeyPairCommand: () => CreateKeyPairCommand,\n CreateLaunchTemplateCommand: () => CreateLaunchTemplateCommand,\n CreateLaunchTemplateRequestFilterSensitiveLog: () => CreateLaunchTemplateRequestFilterSensitiveLog,\n CreateLaunchTemplateVersionCommand: () => CreateLaunchTemplateVersionCommand,\n CreateLaunchTemplateVersionRequestFilterSensitiveLog: () => CreateLaunchTemplateVersionRequestFilterSensitiveLog,\n CreateLaunchTemplateVersionResultFilterSensitiveLog: () => CreateLaunchTemplateVersionResultFilterSensitiveLog,\n CreateLocalGatewayRouteCommand: () => CreateLocalGatewayRouteCommand,\n CreateLocalGatewayRouteTableCommand: () => CreateLocalGatewayRouteTableCommand,\n CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n CreateLocalGatewayRouteTableVpcAssociationCommand: () => CreateLocalGatewayRouteTableVpcAssociationCommand,\n CreateLocalGatewayVirtualInterfaceCommand: () => CreateLocalGatewayVirtualInterfaceCommand,\n CreateLocalGatewayVirtualInterfaceGroupCommand: () => CreateLocalGatewayVirtualInterfaceGroupCommand,\n CreateManagedPrefixListCommand: () => CreateManagedPrefixListCommand,\n CreateNatGatewayCommand: () => CreateNatGatewayCommand,\n CreateNetworkAclCommand: () => CreateNetworkAclCommand,\n CreateNetworkAclEntryCommand: () => CreateNetworkAclEntryCommand,\n CreateNetworkInsightsAccessScopeCommand: () => CreateNetworkInsightsAccessScopeCommand,\n CreateNetworkInsightsPathCommand: () => CreateNetworkInsightsPathCommand,\n CreateNetworkInterfaceCommand: () => CreateNetworkInterfaceCommand,\n CreateNetworkInterfacePermissionCommand: () => CreateNetworkInterfacePermissionCommand,\n CreatePlacementGroupCommand: () => CreatePlacementGroupCommand,\n CreatePublicIpv4PoolCommand: () => CreatePublicIpv4PoolCommand,\n CreateReplaceRootVolumeTaskCommand: () => CreateReplaceRootVolumeTaskCommand,\n CreateReservedInstancesListingCommand: () => CreateReservedInstancesListingCommand,\n CreateRestoreImageTaskCommand: () => CreateRestoreImageTaskCommand,\n CreateRouteCommand: () => CreateRouteCommand,\n CreateRouteServerCommand: () => CreateRouteServerCommand,\n CreateRouteServerEndpointCommand: () => CreateRouteServerEndpointCommand,\n CreateRouteServerPeerCommand: () => CreateRouteServerPeerCommand,\n CreateRouteTableCommand: () => CreateRouteTableCommand,\n CreateSecurityGroupCommand: () => CreateSecurityGroupCommand,\n CreateSnapshotCommand: () => CreateSnapshotCommand,\n CreateSnapshotsCommand: () => CreateSnapshotsCommand,\n CreateSpotDatafeedSubscriptionCommand: () => CreateSpotDatafeedSubscriptionCommand,\n CreateStoreImageTaskCommand: () => CreateStoreImageTaskCommand,\n CreateSubnetCidrReservationCommand: () => CreateSubnetCidrReservationCommand,\n CreateSubnetCommand: () => CreateSubnetCommand,\n CreateTagsCommand: () => CreateTagsCommand,\n CreateTrafficMirrorFilterCommand: () => CreateTrafficMirrorFilterCommand,\n CreateTrafficMirrorFilterRuleCommand: () => CreateTrafficMirrorFilterRuleCommand,\n CreateTrafficMirrorSessionCommand: () => CreateTrafficMirrorSessionCommand,\n CreateTrafficMirrorTargetCommand: () => CreateTrafficMirrorTargetCommand,\n CreateTransitGatewayCommand: () => CreateTransitGatewayCommand,\n CreateTransitGatewayConnectCommand: () => CreateTransitGatewayConnectCommand,\n CreateTransitGatewayConnectPeerCommand: () => CreateTransitGatewayConnectPeerCommand,\n CreateTransitGatewayMulticastDomainCommand: () => CreateTransitGatewayMulticastDomainCommand,\n CreateTransitGatewayPeeringAttachmentCommand: () => CreateTransitGatewayPeeringAttachmentCommand,\n CreateTransitGatewayPolicyTableCommand: () => CreateTransitGatewayPolicyTableCommand,\n CreateTransitGatewayPrefixListReferenceCommand: () => CreateTransitGatewayPrefixListReferenceCommand,\n CreateTransitGatewayRouteCommand: () => CreateTransitGatewayRouteCommand,\n CreateTransitGatewayRouteTableAnnouncementCommand: () => CreateTransitGatewayRouteTableAnnouncementCommand,\n CreateTransitGatewayRouteTableCommand: () => CreateTransitGatewayRouteTableCommand,\n CreateTransitGatewayVpcAttachmentCommand: () => CreateTransitGatewayVpcAttachmentCommand,\n CreateVerifiedAccessEndpointCommand: () => CreateVerifiedAccessEndpointCommand,\n CreateVerifiedAccessGroupCommand: () => CreateVerifiedAccessGroupCommand,\n CreateVerifiedAccessInstanceCommand: () => CreateVerifiedAccessInstanceCommand,\n CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderCommand: () => CreateVerifiedAccessTrustProviderCommand,\n CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderResultFilterSensitiveLog,\n CreateVolumeCommand: () => CreateVolumeCommand,\n CreateVpcBlockPublicAccessExclusionCommand: () => CreateVpcBlockPublicAccessExclusionCommand,\n CreateVpcCommand: () => CreateVpcCommand,\n CreateVpcEndpointCommand: () => CreateVpcEndpointCommand,\n CreateVpcEndpointConnectionNotificationCommand: () => CreateVpcEndpointConnectionNotificationCommand,\n CreateVpcEndpointServiceConfigurationCommand: () => CreateVpcEndpointServiceConfigurationCommand,\n CreateVpcPeeringConnectionCommand: () => CreateVpcPeeringConnectionCommand,\n CreateVpnConnectionCommand: () => CreateVpnConnectionCommand,\n CreateVpnConnectionRequestFilterSensitiveLog: () => CreateVpnConnectionRequestFilterSensitiveLog,\n CreateVpnConnectionResultFilterSensitiveLog: () => CreateVpnConnectionResultFilterSensitiveLog,\n CreateVpnConnectionRouteCommand: () => CreateVpnConnectionRouteCommand,\n CreateVpnGatewayCommand: () => CreateVpnGatewayCommand,\n CurrencyCodeValues: () => CurrencyCodeValues,\n DatafeedSubscriptionState: () => DatafeedSubscriptionState,\n DefaultInstanceMetadataEndpointState: () => DefaultInstanceMetadataEndpointState,\n DefaultInstanceMetadataTagsState: () => DefaultInstanceMetadataTagsState,\n DefaultRouteTableAssociationValue: () => DefaultRouteTableAssociationValue,\n DefaultRouteTablePropagationValue: () => DefaultRouteTablePropagationValue,\n DefaultTargetCapacityType: () => DefaultTargetCapacityType,\n DeleteCarrierGatewayCommand: () => DeleteCarrierGatewayCommand,\n DeleteClientVpnEndpointCommand: () => DeleteClientVpnEndpointCommand,\n DeleteClientVpnRouteCommand: () => DeleteClientVpnRouteCommand,\n DeleteCoipCidrCommand: () => DeleteCoipCidrCommand,\n DeleteCoipPoolCommand: () => DeleteCoipPoolCommand,\n DeleteCustomerGatewayCommand: () => DeleteCustomerGatewayCommand,\n DeleteDhcpOptionsCommand: () => DeleteDhcpOptionsCommand,\n DeleteEgressOnlyInternetGatewayCommand: () => DeleteEgressOnlyInternetGatewayCommand,\n DeleteFleetErrorCode: () => DeleteFleetErrorCode,\n DeleteFleetsCommand: () => DeleteFleetsCommand,\n DeleteFlowLogsCommand: () => DeleteFlowLogsCommand,\n DeleteFpgaImageCommand: () => DeleteFpgaImageCommand,\n DeleteInstanceConnectEndpointCommand: () => DeleteInstanceConnectEndpointCommand,\n DeleteInstanceEventWindowCommand: () => DeleteInstanceEventWindowCommand,\n DeleteInternetGatewayCommand: () => DeleteInternetGatewayCommand,\n DeleteIpamCommand: () => DeleteIpamCommand,\n DeleteIpamExternalResourceVerificationTokenCommand: () => DeleteIpamExternalResourceVerificationTokenCommand,\n DeleteIpamPoolCommand: () => DeleteIpamPoolCommand,\n DeleteIpamResourceDiscoveryCommand: () => DeleteIpamResourceDiscoveryCommand,\n DeleteIpamScopeCommand: () => DeleteIpamScopeCommand,\n DeleteKeyPairCommand: () => DeleteKeyPairCommand,\n DeleteLaunchTemplateCommand: () => DeleteLaunchTemplateCommand,\n DeleteLaunchTemplateVersionsCommand: () => DeleteLaunchTemplateVersionsCommand,\n DeleteLocalGatewayRouteCommand: () => DeleteLocalGatewayRouteCommand,\n DeleteLocalGatewayRouteTableCommand: () => DeleteLocalGatewayRouteTableCommand,\n DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n DeleteLocalGatewayRouteTableVpcAssociationCommand: () => DeleteLocalGatewayRouteTableVpcAssociationCommand,\n DeleteLocalGatewayVirtualInterfaceCommand: () => DeleteLocalGatewayVirtualInterfaceCommand,\n DeleteLocalGatewayVirtualInterfaceGroupCommand: () => DeleteLocalGatewayVirtualInterfaceGroupCommand,\n DeleteManagedPrefixListCommand: () => DeleteManagedPrefixListCommand,\n DeleteNatGatewayCommand: () => DeleteNatGatewayCommand,\n DeleteNetworkAclCommand: () => DeleteNetworkAclCommand,\n DeleteNetworkAclEntryCommand: () => DeleteNetworkAclEntryCommand,\n DeleteNetworkInsightsAccessScopeAnalysisCommand: () => DeleteNetworkInsightsAccessScopeAnalysisCommand,\n DeleteNetworkInsightsAccessScopeCommand: () => DeleteNetworkInsightsAccessScopeCommand,\n DeleteNetworkInsightsAnalysisCommand: () => DeleteNetworkInsightsAnalysisCommand,\n DeleteNetworkInsightsPathCommand: () => DeleteNetworkInsightsPathCommand,\n DeleteNetworkInterfaceCommand: () => DeleteNetworkInterfaceCommand,\n DeleteNetworkInterfacePermissionCommand: () => DeleteNetworkInterfacePermissionCommand,\n DeletePlacementGroupCommand: () => DeletePlacementGroupCommand,\n DeletePublicIpv4PoolCommand: () => DeletePublicIpv4PoolCommand,\n DeleteQueuedReservedInstancesCommand: () => DeleteQueuedReservedInstancesCommand,\n DeleteQueuedReservedInstancesErrorCode: () => DeleteQueuedReservedInstancesErrorCode,\n DeleteRouteCommand: () => DeleteRouteCommand,\n DeleteRouteServerCommand: () => DeleteRouteServerCommand,\n DeleteRouteServerEndpointCommand: () => DeleteRouteServerEndpointCommand,\n DeleteRouteServerPeerCommand: () => DeleteRouteServerPeerCommand,\n DeleteRouteTableCommand: () => DeleteRouteTableCommand,\n DeleteSecurityGroupCommand: () => DeleteSecurityGroupCommand,\n DeleteSnapshotCommand: () => DeleteSnapshotCommand,\n DeleteSpotDatafeedSubscriptionCommand: () => DeleteSpotDatafeedSubscriptionCommand,\n DeleteSubnetCidrReservationCommand: () => DeleteSubnetCidrReservationCommand,\n DeleteSubnetCommand: () => DeleteSubnetCommand,\n DeleteTagsCommand: () => DeleteTagsCommand,\n DeleteTrafficMirrorFilterCommand: () => DeleteTrafficMirrorFilterCommand,\n DeleteTrafficMirrorFilterRuleCommand: () => DeleteTrafficMirrorFilterRuleCommand,\n DeleteTrafficMirrorSessionCommand: () => DeleteTrafficMirrorSessionCommand,\n DeleteTrafficMirrorTargetCommand: () => DeleteTrafficMirrorTargetCommand,\n DeleteTransitGatewayCommand: () => DeleteTransitGatewayCommand,\n DeleteTransitGatewayConnectCommand: () => DeleteTransitGatewayConnectCommand,\n DeleteTransitGatewayConnectPeerCommand: () => DeleteTransitGatewayConnectPeerCommand,\n DeleteTransitGatewayMulticastDomainCommand: () => DeleteTransitGatewayMulticastDomainCommand,\n DeleteTransitGatewayPeeringAttachmentCommand: () => DeleteTransitGatewayPeeringAttachmentCommand,\n DeleteTransitGatewayPolicyTableCommand: () => DeleteTransitGatewayPolicyTableCommand,\n DeleteTransitGatewayPrefixListReferenceCommand: () => DeleteTransitGatewayPrefixListReferenceCommand,\n DeleteTransitGatewayRouteCommand: () => DeleteTransitGatewayRouteCommand,\n DeleteTransitGatewayRouteTableAnnouncementCommand: () => DeleteTransitGatewayRouteTableAnnouncementCommand,\n DeleteTransitGatewayRouteTableCommand: () => DeleteTransitGatewayRouteTableCommand,\n DeleteTransitGatewayVpcAttachmentCommand: () => DeleteTransitGatewayVpcAttachmentCommand,\n DeleteVerifiedAccessEndpointCommand: () => DeleteVerifiedAccessEndpointCommand,\n DeleteVerifiedAccessGroupCommand: () => DeleteVerifiedAccessGroupCommand,\n DeleteVerifiedAccessInstanceCommand: () => DeleteVerifiedAccessInstanceCommand,\n DeleteVerifiedAccessTrustProviderCommand: () => DeleteVerifiedAccessTrustProviderCommand,\n DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog,\n DeleteVolumeCommand: () => DeleteVolumeCommand,\n DeleteVpcBlockPublicAccessExclusionCommand: () => DeleteVpcBlockPublicAccessExclusionCommand,\n DeleteVpcCommand: () => DeleteVpcCommand,\n DeleteVpcEndpointConnectionNotificationsCommand: () => DeleteVpcEndpointConnectionNotificationsCommand,\n DeleteVpcEndpointServiceConfigurationsCommand: () => DeleteVpcEndpointServiceConfigurationsCommand,\n DeleteVpcEndpointsCommand: () => DeleteVpcEndpointsCommand,\n DeleteVpcPeeringConnectionCommand: () => DeleteVpcPeeringConnectionCommand,\n DeleteVpnConnectionCommand: () => DeleteVpnConnectionCommand,\n DeleteVpnConnectionRouteCommand: () => DeleteVpnConnectionRouteCommand,\n DeleteVpnGatewayCommand: () => DeleteVpnGatewayCommand,\n DeprovisionByoipCidrCommand: () => DeprovisionByoipCidrCommand,\n DeprovisionIpamByoasnCommand: () => DeprovisionIpamByoasnCommand,\n DeprovisionIpamPoolCidrCommand: () => DeprovisionIpamPoolCidrCommand,\n DeprovisionPublicIpv4PoolCidrCommand: () => DeprovisionPublicIpv4PoolCidrCommand,\n DeregisterImageCommand: () => DeregisterImageCommand,\n DeregisterInstanceEventNotificationAttributesCommand: () => DeregisterInstanceEventNotificationAttributesCommand,\n DeregisterTransitGatewayMulticastGroupMembersCommand: () => DeregisterTransitGatewayMulticastGroupMembersCommand,\n DeregisterTransitGatewayMulticastGroupSourcesCommand: () => DeregisterTransitGatewayMulticastGroupSourcesCommand,\n DescribeAccountAttributesCommand: () => DescribeAccountAttributesCommand,\n DescribeAddressTransfersCommand: () => DescribeAddressTransfersCommand,\n DescribeAddressesAttributeCommand: () => DescribeAddressesAttributeCommand,\n DescribeAddressesCommand: () => DescribeAddressesCommand,\n DescribeAggregateIdFormatCommand: () => DescribeAggregateIdFormatCommand,\n DescribeAvailabilityZonesCommand: () => DescribeAvailabilityZonesCommand,\n DescribeAwsNetworkPerformanceMetricSubscriptionsCommand: () => DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,\n DescribeBundleTasksCommand: () => DescribeBundleTasksCommand,\n DescribeBundleTasksResultFilterSensitiveLog: () => DescribeBundleTasksResultFilterSensitiveLog,\n DescribeByoipCidrsCommand: () => DescribeByoipCidrsCommand,\n DescribeCapacityBlockExtensionHistoryCommand: () => DescribeCapacityBlockExtensionHistoryCommand,\n DescribeCapacityBlockExtensionOfferingsCommand: () => DescribeCapacityBlockExtensionOfferingsCommand,\n DescribeCapacityBlockOfferingsCommand: () => DescribeCapacityBlockOfferingsCommand,\n DescribeCapacityReservationBillingRequestsCommand: () => DescribeCapacityReservationBillingRequestsCommand,\n DescribeCapacityReservationFleetsCommand: () => DescribeCapacityReservationFleetsCommand,\n DescribeCapacityReservationsCommand: () => DescribeCapacityReservationsCommand,\n DescribeCarrierGatewaysCommand: () => DescribeCarrierGatewaysCommand,\n DescribeClassicLinkInstancesCommand: () => DescribeClassicLinkInstancesCommand,\n DescribeClientVpnAuthorizationRulesCommand: () => DescribeClientVpnAuthorizationRulesCommand,\n DescribeClientVpnConnectionsCommand: () => DescribeClientVpnConnectionsCommand,\n DescribeClientVpnEndpointsCommand: () => DescribeClientVpnEndpointsCommand,\n DescribeClientVpnRoutesCommand: () => DescribeClientVpnRoutesCommand,\n DescribeClientVpnTargetNetworksCommand: () => DescribeClientVpnTargetNetworksCommand,\n DescribeCoipPoolsCommand: () => DescribeCoipPoolsCommand,\n DescribeConversionTasksCommand: () => DescribeConversionTasksCommand,\n DescribeConversionTasksResultFilterSensitiveLog: () => DescribeConversionTasksResultFilterSensitiveLog,\n DescribeCustomerGatewaysCommand: () => DescribeCustomerGatewaysCommand,\n DescribeDeclarativePoliciesReportsCommand: () => DescribeDeclarativePoliciesReportsCommand,\n DescribeDhcpOptionsCommand: () => DescribeDhcpOptionsCommand,\n DescribeEgressOnlyInternetGatewaysCommand: () => DescribeEgressOnlyInternetGatewaysCommand,\n DescribeElasticGpusCommand: () => DescribeElasticGpusCommand,\n DescribeExportImageTasksCommand: () => DescribeExportImageTasksCommand,\n DescribeExportTasksCommand: () => DescribeExportTasksCommand,\n DescribeFastLaunchImagesCommand: () => DescribeFastLaunchImagesCommand,\n DescribeFastSnapshotRestoresCommand: () => DescribeFastSnapshotRestoresCommand,\n DescribeFleetHistoryCommand: () => DescribeFleetHistoryCommand,\n DescribeFleetInstancesCommand: () => DescribeFleetInstancesCommand,\n DescribeFleetsCommand: () => DescribeFleetsCommand,\n DescribeFlowLogsCommand: () => DescribeFlowLogsCommand,\n DescribeFpgaImageAttributeCommand: () => DescribeFpgaImageAttributeCommand,\n DescribeFpgaImagesCommand: () => DescribeFpgaImagesCommand,\n DescribeHostReservationOfferingsCommand: () => DescribeHostReservationOfferingsCommand,\n DescribeHostReservationsCommand: () => DescribeHostReservationsCommand,\n DescribeHostsCommand: () => DescribeHostsCommand,\n DescribeIamInstanceProfileAssociationsCommand: () => DescribeIamInstanceProfileAssociationsCommand,\n DescribeIdFormatCommand: () => DescribeIdFormatCommand,\n DescribeIdentityIdFormatCommand: () => DescribeIdentityIdFormatCommand,\n DescribeImageAttributeCommand: () => DescribeImageAttributeCommand,\n DescribeImagesCommand: () => DescribeImagesCommand,\n DescribeImportImageTasksCommand: () => DescribeImportImageTasksCommand,\n DescribeImportImageTasksResultFilterSensitiveLog: () => DescribeImportImageTasksResultFilterSensitiveLog,\n DescribeImportSnapshotTasksCommand: () => DescribeImportSnapshotTasksCommand,\n DescribeImportSnapshotTasksResultFilterSensitiveLog: () => DescribeImportSnapshotTasksResultFilterSensitiveLog,\n DescribeInstanceAttributeCommand: () => DescribeInstanceAttributeCommand,\n DescribeInstanceConnectEndpointsCommand: () => DescribeInstanceConnectEndpointsCommand,\n DescribeInstanceCreditSpecificationsCommand: () => DescribeInstanceCreditSpecificationsCommand,\n DescribeInstanceEventNotificationAttributesCommand: () => DescribeInstanceEventNotificationAttributesCommand,\n DescribeInstanceEventWindowsCommand: () => DescribeInstanceEventWindowsCommand,\n DescribeInstanceImageMetadataCommand: () => DescribeInstanceImageMetadataCommand,\n DescribeInstanceStatusCommand: () => DescribeInstanceStatusCommand,\n DescribeInstanceTopologyCommand: () => DescribeInstanceTopologyCommand,\n DescribeInstanceTypeOfferingsCommand: () => DescribeInstanceTypeOfferingsCommand,\n DescribeInstanceTypesCommand: () => DescribeInstanceTypesCommand,\n DescribeInstancesCommand: () => DescribeInstancesCommand,\n DescribeInternetGatewaysCommand: () => DescribeInternetGatewaysCommand,\n DescribeIpamByoasnCommand: () => DescribeIpamByoasnCommand,\n DescribeIpamExternalResourceVerificationTokensCommand: () => DescribeIpamExternalResourceVerificationTokensCommand,\n DescribeIpamPoolsCommand: () => DescribeIpamPoolsCommand,\n DescribeIpamResourceDiscoveriesCommand: () => DescribeIpamResourceDiscoveriesCommand,\n DescribeIpamResourceDiscoveryAssociationsCommand: () => DescribeIpamResourceDiscoveryAssociationsCommand,\n DescribeIpamScopesCommand: () => DescribeIpamScopesCommand,\n DescribeIpamsCommand: () => DescribeIpamsCommand,\n DescribeIpv6PoolsCommand: () => DescribeIpv6PoolsCommand,\n DescribeKeyPairsCommand: () => DescribeKeyPairsCommand,\n DescribeLaunchTemplateVersionsCommand: () => DescribeLaunchTemplateVersionsCommand,\n DescribeLaunchTemplateVersionsResultFilterSensitiveLog: () => DescribeLaunchTemplateVersionsResultFilterSensitiveLog,\n DescribeLaunchTemplatesCommand: () => DescribeLaunchTemplatesCommand,\n DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand: () => DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,\n DescribeLocalGatewayRouteTableVpcAssociationsCommand: () => DescribeLocalGatewayRouteTableVpcAssociationsCommand,\n DescribeLocalGatewayRouteTablesCommand: () => DescribeLocalGatewayRouteTablesCommand,\n DescribeLocalGatewayVirtualInterfaceGroupsCommand: () => DescribeLocalGatewayVirtualInterfaceGroupsCommand,\n DescribeLocalGatewayVirtualInterfacesCommand: () => DescribeLocalGatewayVirtualInterfacesCommand,\n DescribeLocalGatewaysCommand: () => DescribeLocalGatewaysCommand,\n DescribeLockedSnapshotsCommand: () => DescribeLockedSnapshotsCommand,\n DescribeMacHostsCommand: () => DescribeMacHostsCommand,\n DescribeManagedPrefixListsCommand: () => DescribeManagedPrefixListsCommand,\n DescribeMovingAddressesCommand: () => DescribeMovingAddressesCommand,\n DescribeNatGatewaysCommand: () => DescribeNatGatewaysCommand,\n DescribeNetworkAclsCommand: () => DescribeNetworkAclsCommand,\n DescribeNetworkInsightsAccessScopeAnalysesCommand: () => DescribeNetworkInsightsAccessScopeAnalysesCommand,\n DescribeNetworkInsightsAccessScopesCommand: () => DescribeNetworkInsightsAccessScopesCommand,\n DescribeNetworkInsightsAnalysesCommand: () => DescribeNetworkInsightsAnalysesCommand,\n DescribeNetworkInsightsPathsCommand: () => DescribeNetworkInsightsPathsCommand,\n DescribeNetworkInterfaceAttributeCommand: () => DescribeNetworkInterfaceAttributeCommand,\n DescribeNetworkInterfacePermissionsCommand: () => DescribeNetworkInterfacePermissionsCommand,\n DescribeNetworkInterfacesCommand: () => DescribeNetworkInterfacesCommand,\n DescribeOutpostLagsCommand: () => DescribeOutpostLagsCommand,\n DescribePlacementGroupsCommand: () => DescribePlacementGroupsCommand,\n DescribePrefixListsCommand: () => DescribePrefixListsCommand,\n DescribePrincipalIdFormatCommand: () => DescribePrincipalIdFormatCommand,\n DescribePublicIpv4PoolsCommand: () => DescribePublicIpv4PoolsCommand,\n DescribeRegionsCommand: () => DescribeRegionsCommand,\n DescribeReplaceRootVolumeTasksCommand: () => DescribeReplaceRootVolumeTasksCommand,\n DescribeReservedInstancesCommand: () => DescribeReservedInstancesCommand,\n DescribeReservedInstancesListingsCommand: () => DescribeReservedInstancesListingsCommand,\n DescribeReservedInstancesModificationsCommand: () => DescribeReservedInstancesModificationsCommand,\n DescribeReservedInstancesOfferingsCommand: () => DescribeReservedInstancesOfferingsCommand,\n DescribeRouteServerEndpointsCommand: () => DescribeRouteServerEndpointsCommand,\n DescribeRouteServerPeersCommand: () => DescribeRouteServerPeersCommand,\n DescribeRouteServersCommand: () => DescribeRouteServersCommand,\n DescribeRouteTablesCommand: () => DescribeRouteTablesCommand,\n DescribeScheduledInstanceAvailabilityCommand: () => DescribeScheduledInstanceAvailabilityCommand,\n DescribeScheduledInstancesCommand: () => DescribeScheduledInstancesCommand,\n DescribeSecurityGroupReferencesCommand: () => DescribeSecurityGroupReferencesCommand,\n DescribeSecurityGroupRulesCommand: () => DescribeSecurityGroupRulesCommand,\n DescribeSecurityGroupVpcAssociationsCommand: () => DescribeSecurityGroupVpcAssociationsCommand,\n DescribeSecurityGroupsCommand: () => DescribeSecurityGroupsCommand,\n DescribeServiceLinkVirtualInterfacesCommand: () => DescribeServiceLinkVirtualInterfacesCommand,\n DescribeSnapshotAttributeCommand: () => DescribeSnapshotAttributeCommand,\n DescribeSnapshotTierStatusCommand: () => DescribeSnapshotTierStatusCommand,\n DescribeSnapshotsCommand: () => DescribeSnapshotsCommand,\n DescribeSpotDatafeedSubscriptionCommand: () => DescribeSpotDatafeedSubscriptionCommand,\n DescribeSpotFleetInstancesCommand: () => DescribeSpotFleetInstancesCommand,\n DescribeSpotFleetRequestHistoryCommand: () => DescribeSpotFleetRequestHistoryCommand,\n DescribeSpotFleetRequestsCommand: () => DescribeSpotFleetRequestsCommand,\n DescribeSpotFleetRequestsResponseFilterSensitiveLog: () => DescribeSpotFleetRequestsResponseFilterSensitiveLog,\n DescribeSpotInstanceRequestsCommand: () => DescribeSpotInstanceRequestsCommand,\n DescribeSpotInstanceRequestsResultFilterSensitiveLog: () => DescribeSpotInstanceRequestsResultFilterSensitiveLog,\n DescribeSpotPriceHistoryCommand: () => DescribeSpotPriceHistoryCommand,\n DescribeStaleSecurityGroupsCommand: () => DescribeStaleSecurityGroupsCommand,\n DescribeStoreImageTasksCommand: () => DescribeStoreImageTasksCommand,\n DescribeSubnetsCommand: () => DescribeSubnetsCommand,\n DescribeTagsCommand: () => DescribeTagsCommand,\n DescribeTrafficMirrorFilterRulesCommand: () => DescribeTrafficMirrorFilterRulesCommand,\n DescribeTrafficMirrorFiltersCommand: () => DescribeTrafficMirrorFiltersCommand,\n DescribeTrafficMirrorSessionsCommand: () => DescribeTrafficMirrorSessionsCommand,\n DescribeTrafficMirrorTargetsCommand: () => DescribeTrafficMirrorTargetsCommand,\n DescribeTransitGatewayAttachmentsCommand: () => DescribeTransitGatewayAttachmentsCommand,\n DescribeTransitGatewayConnectPeersCommand: () => DescribeTransitGatewayConnectPeersCommand,\n DescribeTransitGatewayConnectsCommand: () => DescribeTransitGatewayConnectsCommand,\n DescribeTransitGatewayMulticastDomainsCommand: () => DescribeTransitGatewayMulticastDomainsCommand,\n DescribeTransitGatewayPeeringAttachmentsCommand: () => DescribeTransitGatewayPeeringAttachmentsCommand,\n DescribeTransitGatewayPolicyTablesCommand: () => DescribeTransitGatewayPolicyTablesCommand,\n DescribeTransitGatewayRouteTableAnnouncementsCommand: () => DescribeTransitGatewayRouteTableAnnouncementsCommand,\n DescribeTransitGatewayRouteTablesCommand: () => DescribeTransitGatewayRouteTablesCommand,\n DescribeTransitGatewayVpcAttachmentsCommand: () => DescribeTransitGatewayVpcAttachmentsCommand,\n DescribeTransitGatewaysCommand: () => DescribeTransitGatewaysCommand,\n DescribeTrunkInterfaceAssociationsCommand: () => DescribeTrunkInterfaceAssociationsCommand,\n DescribeVerifiedAccessEndpointsCommand: () => DescribeVerifiedAccessEndpointsCommand,\n DescribeVerifiedAccessGroupsCommand: () => DescribeVerifiedAccessGroupsCommand,\n DescribeVerifiedAccessInstanceLoggingConfigurationsCommand: () => DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,\n DescribeVerifiedAccessInstancesCommand: () => DescribeVerifiedAccessInstancesCommand,\n DescribeVerifiedAccessTrustProvidersCommand: () => DescribeVerifiedAccessTrustProvidersCommand,\n DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: () => DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,\n DescribeVolumeAttributeCommand: () => DescribeVolumeAttributeCommand,\n DescribeVolumeStatusCommand: () => DescribeVolumeStatusCommand,\n DescribeVolumesCommand: () => DescribeVolumesCommand,\n DescribeVolumesModificationsCommand: () => DescribeVolumesModificationsCommand,\n DescribeVpcAttributeCommand: () => DescribeVpcAttributeCommand,\n DescribeVpcBlockPublicAccessExclusionsCommand: () => DescribeVpcBlockPublicAccessExclusionsCommand,\n DescribeVpcBlockPublicAccessOptionsCommand: () => DescribeVpcBlockPublicAccessOptionsCommand,\n DescribeVpcClassicLinkCommand: () => DescribeVpcClassicLinkCommand,\n DescribeVpcClassicLinkDnsSupportCommand: () => DescribeVpcClassicLinkDnsSupportCommand,\n DescribeVpcEndpointAssociationsCommand: () => DescribeVpcEndpointAssociationsCommand,\n DescribeVpcEndpointConnectionNotificationsCommand: () => DescribeVpcEndpointConnectionNotificationsCommand,\n DescribeVpcEndpointConnectionsCommand: () => DescribeVpcEndpointConnectionsCommand,\n DescribeVpcEndpointServiceConfigurationsCommand: () => DescribeVpcEndpointServiceConfigurationsCommand,\n DescribeVpcEndpointServicePermissionsCommand: () => DescribeVpcEndpointServicePermissionsCommand,\n DescribeVpcEndpointServicesCommand: () => DescribeVpcEndpointServicesCommand,\n DescribeVpcEndpointsCommand: () => DescribeVpcEndpointsCommand,\n DescribeVpcPeeringConnectionsCommand: () => DescribeVpcPeeringConnectionsCommand,\n DescribeVpcsCommand: () => DescribeVpcsCommand,\n DescribeVpnConnectionsCommand: () => DescribeVpnConnectionsCommand,\n DescribeVpnConnectionsResultFilterSensitiveLog: () => DescribeVpnConnectionsResultFilterSensitiveLog,\n DescribeVpnGatewaysCommand: () => DescribeVpnGatewaysCommand,\n DestinationFileFormat: () => DestinationFileFormat,\n DetachClassicLinkVpcCommand: () => DetachClassicLinkVpcCommand,\n DetachInternetGatewayCommand: () => DetachInternetGatewayCommand,\n DetachNetworkInterfaceCommand: () => DetachNetworkInterfaceCommand,\n DetachVerifiedAccessTrustProviderCommand: () => DetachVerifiedAccessTrustProviderCommand,\n DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,\n DetachVolumeCommand: () => DetachVolumeCommand,\n DetachVpnGatewayCommand: () => DetachVpnGatewayCommand,\n DeviceTrustProviderType: () => DeviceTrustProviderType,\n DeviceType: () => DeviceType,\n DisableAddressTransferCommand: () => DisableAddressTransferCommand,\n DisableAllowedImagesSettingsCommand: () => DisableAllowedImagesSettingsCommand,\n DisableAwsNetworkPerformanceMetricSubscriptionCommand: () => DisableAwsNetworkPerformanceMetricSubscriptionCommand,\n DisableEbsEncryptionByDefaultCommand: () => DisableEbsEncryptionByDefaultCommand,\n DisableFastLaunchCommand: () => DisableFastLaunchCommand,\n DisableFastSnapshotRestoresCommand: () => DisableFastSnapshotRestoresCommand,\n DisableImageBlockPublicAccessCommand: () => DisableImageBlockPublicAccessCommand,\n DisableImageCommand: () => DisableImageCommand,\n DisableImageDeprecationCommand: () => DisableImageDeprecationCommand,\n DisableImageDeregistrationProtectionCommand: () => DisableImageDeregistrationProtectionCommand,\n DisableIpamOrganizationAdminAccountCommand: () => DisableIpamOrganizationAdminAccountCommand,\n DisableRouteServerPropagationCommand: () => DisableRouteServerPropagationCommand,\n DisableSerialConsoleAccessCommand: () => DisableSerialConsoleAccessCommand,\n DisableSnapshotBlockPublicAccessCommand: () => DisableSnapshotBlockPublicAccessCommand,\n DisableTransitGatewayRouteTablePropagationCommand: () => DisableTransitGatewayRouteTablePropagationCommand,\n DisableVgwRoutePropagationCommand: () => DisableVgwRoutePropagationCommand,\n DisableVpcClassicLinkCommand: () => DisableVpcClassicLinkCommand,\n DisableVpcClassicLinkDnsSupportCommand: () => DisableVpcClassicLinkDnsSupportCommand,\n DisassociateAddressCommand: () => DisassociateAddressCommand,\n DisassociateCapacityReservationBillingOwnerCommand: () => DisassociateCapacityReservationBillingOwnerCommand,\n DisassociateClientVpnTargetNetworkCommand: () => DisassociateClientVpnTargetNetworkCommand,\n DisassociateEnclaveCertificateIamRoleCommand: () => DisassociateEnclaveCertificateIamRoleCommand,\n DisassociateIamInstanceProfileCommand: () => DisassociateIamInstanceProfileCommand,\n DisassociateInstanceEventWindowCommand: () => DisassociateInstanceEventWindowCommand,\n DisassociateIpamByoasnCommand: () => DisassociateIpamByoasnCommand,\n DisassociateIpamResourceDiscoveryCommand: () => DisassociateIpamResourceDiscoveryCommand,\n DisassociateNatGatewayAddressCommand: () => DisassociateNatGatewayAddressCommand,\n DisassociateRouteServerCommand: () => DisassociateRouteServerCommand,\n DisassociateRouteTableCommand: () => DisassociateRouteTableCommand,\n DisassociateSecurityGroupVpcCommand: () => DisassociateSecurityGroupVpcCommand,\n DisassociateSubnetCidrBlockCommand: () => DisassociateSubnetCidrBlockCommand,\n DisassociateTransitGatewayMulticastDomainCommand: () => DisassociateTransitGatewayMulticastDomainCommand,\n DisassociateTransitGatewayPolicyTableCommand: () => DisassociateTransitGatewayPolicyTableCommand,\n DisassociateTransitGatewayRouteTableCommand: () => DisassociateTransitGatewayRouteTableCommand,\n DisassociateTrunkInterfaceCommand: () => DisassociateTrunkInterfaceCommand,\n DisassociateVpcCidrBlockCommand: () => DisassociateVpcCidrBlockCommand,\n DiskImageDescriptionFilterSensitiveLog: () => DiskImageDescriptionFilterSensitiveLog,\n DiskImageDetailFilterSensitiveLog: () => DiskImageDetailFilterSensitiveLog,\n DiskImageFilterSensitiveLog: () => DiskImageFilterSensitiveLog,\n DiskImageFormat: () => DiskImageFormat,\n DiskType: () => DiskType,\n DnsNameState: () => DnsNameState,\n DnsRecordIpType: () => DnsRecordIpType,\n DnsSupportValue: () => DnsSupportValue,\n DomainType: () => DomainType,\n DynamicRoutingValue: () => DynamicRoutingValue,\n EC2: () => EC2,\n EC2Client: () => EC2Client,\n EC2ServiceException: () => EC2ServiceException,\n EbsEncryptionSupport: () => EbsEncryptionSupport,\n EbsNvmeSupport: () => EbsNvmeSupport,\n EbsOptimizedSupport: () => EbsOptimizedSupport,\n Ec2InstanceConnectEndpointState: () => Ec2InstanceConnectEndpointState,\n EkPubKeyFormat: () => EkPubKeyFormat,\n EkPubKeyType: () => EkPubKeyType,\n ElasticGpuState: () => ElasticGpuState,\n ElasticGpuStatus: () => ElasticGpuStatus,\n EnaSupport: () => EnaSupport,\n EnableAddressTransferCommand: () => EnableAddressTransferCommand,\n EnableAllowedImagesSettingsCommand: () => EnableAllowedImagesSettingsCommand,\n EnableAwsNetworkPerformanceMetricSubscriptionCommand: () => EnableAwsNetworkPerformanceMetricSubscriptionCommand,\n EnableEbsEncryptionByDefaultCommand: () => EnableEbsEncryptionByDefaultCommand,\n EnableFastLaunchCommand: () => EnableFastLaunchCommand,\n EnableFastSnapshotRestoresCommand: () => EnableFastSnapshotRestoresCommand,\n EnableImageBlockPublicAccessCommand: () => EnableImageBlockPublicAccessCommand,\n EnableImageCommand: () => EnableImageCommand,\n EnableImageDeprecationCommand: () => EnableImageDeprecationCommand,\n EnableImageDeregistrationProtectionCommand: () => EnableImageDeregistrationProtectionCommand,\n EnableIpamOrganizationAdminAccountCommand: () => EnableIpamOrganizationAdminAccountCommand,\n EnableReachabilityAnalyzerOrganizationSharingCommand: () => EnableReachabilityAnalyzerOrganizationSharingCommand,\n EnableRouteServerPropagationCommand: () => EnableRouteServerPropagationCommand,\n EnableSerialConsoleAccessCommand: () => EnableSerialConsoleAccessCommand,\n EnableSnapshotBlockPublicAccessCommand: () => EnableSnapshotBlockPublicAccessCommand,\n EnableTransitGatewayRouteTablePropagationCommand: () => EnableTransitGatewayRouteTablePropagationCommand,\n EnableVgwRoutePropagationCommand: () => EnableVgwRoutePropagationCommand,\n EnableVolumeIOCommand: () => EnableVolumeIOCommand,\n EnableVpcClassicLinkCommand: () => EnableVpcClassicLinkCommand,\n EnableVpcClassicLinkDnsSupportCommand: () => EnableVpcClassicLinkDnsSupportCommand,\n EndDateType: () => EndDateType,\n EphemeralNvmeSupport: () => EphemeralNvmeSupport,\n EventCode: () => EventCode,\n EventType: () => EventType,\n ExcessCapacityTerminationPolicy: () => ExcessCapacityTerminationPolicy,\n ExportClientVpnClientCertificateRevocationListCommand: () => ExportClientVpnClientCertificateRevocationListCommand,\n ExportClientVpnClientConfigurationCommand: () => ExportClientVpnClientConfigurationCommand,\n ExportEnvironment: () => ExportEnvironment,\n ExportImageCommand: () => ExportImageCommand,\n ExportTaskState: () => ExportTaskState,\n ExportTransitGatewayRoutesCommand: () => ExportTransitGatewayRoutesCommand,\n ExportVerifiedAccessInstanceClientConfigurationCommand: () => ExportVerifiedAccessInstanceClientConfigurationCommand,\n ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog: () => ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog,\n FastLaunchResourceType: () => FastLaunchResourceType,\n FastLaunchStateCode: () => FastLaunchStateCode,\n FastSnapshotRestoreStateCode: () => FastSnapshotRestoreStateCode,\n FindingsFound: () => FindingsFound,\n FleetActivityStatus: () => FleetActivityStatus,\n FleetCapacityReservationTenancy: () => FleetCapacityReservationTenancy,\n FleetCapacityReservationUsageStrategy: () => FleetCapacityReservationUsageStrategy,\n FleetEventType: () => FleetEventType,\n FleetExcessCapacityTerminationPolicy: () => FleetExcessCapacityTerminationPolicy,\n FleetInstanceMatchCriteria: () => FleetInstanceMatchCriteria,\n FleetOnDemandAllocationStrategy: () => FleetOnDemandAllocationStrategy,\n FleetReplacementStrategy: () => FleetReplacementStrategy,\n FleetStateCode: () => FleetStateCode,\n FleetType: () => FleetType,\n FlexibleEnaQueuesSupport: () => FlexibleEnaQueuesSupport,\n FlowLogsResourceType: () => FlowLogsResourceType,\n FpgaImageAttributeName: () => FpgaImageAttributeName,\n FpgaImageStateCode: () => FpgaImageStateCode,\n GatewayAssociationState: () => GatewayAssociationState,\n GatewayType: () => GatewayType,\n GetAllowedImagesSettingsCommand: () => GetAllowedImagesSettingsCommand,\n GetAssociatedEnclaveCertificateIamRolesCommand: () => GetAssociatedEnclaveCertificateIamRolesCommand,\n GetAssociatedIpv6PoolCidrsCommand: () => GetAssociatedIpv6PoolCidrsCommand,\n GetAwsNetworkPerformanceDataCommand: () => GetAwsNetworkPerformanceDataCommand,\n GetCapacityReservationUsageCommand: () => GetCapacityReservationUsageCommand,\n GetCoipPoolUsageCommand: () => GetCoipPoolUsageCommand,\n GetConsoleOutputCommand: () => GetConsoleOutputCommand,\n GetConsoleScreenshotCommand: () => GetConsoleScreenshotCommand,\n GetDeclarativePoliciesReportSummaryCommand: () => GetDeclarativePoliciesReportSummaryCommand,\n GetDefaultCreditSpecificationCommand: () => GetDefaultCreditSpecificationCommand,\n GetEbsDefaultKmsKeyIdCommand: () => GetEbsDefaultKmsKeyIdCommand,\n GetEbsEncryptionByDefaultCommand: () => GetEbsEncryptionByDefaultCommand,\n GetFlowLogsIntegrationTemplateCommand: () => GetFlowLogsIntegrationTemplateCommand,\n GetGroupsForCapacityReservationCommand: () => GetGroupsForCapacityReservationCommand,\n GetHostReservationPurchasePreviewCommand: () => GetHostReservationPurchasePreviewCommand,\n GetImageBlockPublicAccessStateCommand: () => GetImageBlockPublicAccessStateCommand,\n GetInstanceMetadataDefaultsCommand: () => GetInstanceMetadataDefaultsCommand,\n GetInstanceTpmEkPubCommand: () => GetInstanceTpmEkPubCommand,\n GetInstanceTpmEkPubResultFilterSensitiveLog: () => GetInstanceTpmEkPubResultFilterSensitiveLog,\n GetInstanceTypesFromInstanceRequirementsCommand: () => GetInstanceTypesFromInstanceRequirementsCommand,\n GetInstanceUefiDataCommand: () => GetInstanceUefiDataCommand,\n GetIpamAddressHistoryCommand: () => GetIpamAddressHistoryCommand,\n GetIpamDiscoveredAccountsCommand: () => GetIpamDiscoveredAccountsCommand,\n GetIpamDiscoveredPublicAddressesCommand: () => GetIpamDiscoveredPublicAddressesCommand,\n GetIpamDiscoveredResourceCidrsCommand: () => GetIpamDiscoveredResourceCidrsCommand,\n GetIpamPoolAllocationsCommand: () => GetIpamPoolAllocationsCommand,\n GetIpamPoolCidrsCommand: () => GetIpamPoolCidrsCommand,\n GetIpamResourceCidrsCommand: () => GetIpamResourceCidrsCommand,\n GetLaunchTemplateDataCommand: () => GetLaunchTemplateDataCommand,\n GetLaunchTemplateDataResultFilterSensitiveLog: () => GetLaunchTemplateDataResultFilterSensitiveLog,\n GetManagedPrefixListAssociationsCommand: () => GetManagedPrefixListAssociationsCommand,\n GetManagedPrefixListEntriesCommand: () => GetManagedPrefixListEntriesCommand,\n GetNetworkInsightsAccessScopeAnalysisFindingsCommand: () => GetNetworkInsightsAccessScopeAnalysisFindingsCommand,\n GetNetworkInsightsAccessScopeContentCommand: () => GetNetworkInsightsAccessScopeContentCommand,\n GetPasswordDataCommand: () => GetPasswordDataCommand,\n GetPasswordDataResultFilterSensitiveLog: () => GetPasswordDataResultFilterSensitiveLog,\n GetReservedInstancesExchangeQuoteCommand: () => GetReservedInstancesExchangeQuoteCommand,\n GetRouteServerAssociationsCommand: () => GetRouteServerAssociationsCommand,\n GetRouteServerPropagationsCommand: () => GetRouteServerPropagationsCommand,\n GetRouteServerRoutingDatabaseCommand: () => GetRouteServerRoutingDatabaseCommand,\n GetSecurityGroupsForVpcCommand: () => GetSecurityGroupsForVpcCommand,\n GetSerialConsoleAccessStatusCommand: () => GetSerialConsoleAccessStatusCommand,\n GetSnapshotBlockPublicAccessStateCommand: () => GetSnapshotBlockPublicAccessStateCommand,\n GetSpotPlacementScoresCommand: () => GetSpotPlacementScoresCommand,\n GetSubnetCidrReservationsCommand: () => GetSubnetCidrReservationsCommand,\n GetTransitGatewayAttachmentPropagationsCommand: () => GetTransitGatewayAttachmentPropagationsCommand,\n GetTransitGatewayMulticastDomainAssociationsCommand: () => GetTransitGatewayMulticastDomainAssociationsCommand,\n GetTransitGatewayPolicyTableAssociationsCommand: () => GetTransitGatewayPolicyTableAssociationsCommand,\n GetTransitGatewayPolicyTableEntriesCommand: () => GetTransitGatewayPolicyTableEntriesCommand,\n GetTransitGatewayPrefixListReferencesCommand: () => GetTransitGatewayPrefixListReferencesCommand,\n GetTransitGatewayRouteTableAssociationsCommand: () => GetTransitGatewayRouteTableAssociationsCommand,\n GetTransitGatewayRouteTablePropagationsCommand: () => GetTransitGatewayRouteTablePropagationsCommand,\n GetVerifiedAccessEndpointPolicyCommand: () => GetVerifiedAccessEndpointPolicyCommand,\n GetVerifiedAccessEndpointTargetsCommand: () => GetVerifiedAccessEndpointTargetsCommand,\n GetVerifiedAccessGroupPolicyCommand: () => GetVerifiedAccessGroupPolicyCommand,\n GetVpnConnectionDeviceSampleConfigurationCommand: () => GetVpnConnectionDeviceSampleConfigurationCommand,\n GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: () => GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog,\n GetVpnConnectionDeviceTypesCommand: () => GetVpnConnectionDeviceTypesCommand,\n GetVpnTunnelReplacementStatusCommand: () => GetVpnTunnelReplacementStatusCommand,\n HostMaintenance: () => HostMaintenance,\n HostRecovery: () => HostRecovery,\n HostTenancy: () => HostTenancy,\n HostnameType: () => HostnameType,\n HttpTokensState: () => HttpTokensState,\n HypervisorType: () => HypervisorType,\n IamInstanceProfileAssociationState: () => IamInstanceProfileAssociationState,\n Igmpv2SupportValue: () => Igmpv2SupportValue,\n ImageAttributeName: () => ImageAttributeName,\n ImageBlockPublicAccessDisabledState: () => ImageBlockPublicAccessDisabledState,\n ImageBlockPublicAccessEnabledState: () => ImageBlockPublicAccessEnabledState,\n ImageDiskContainerFilterSensitiveLog: () => ImageDiskContainerFilterSensitiveLog,\n ImageState: () => ImageState,\n ImageTypeValues: () => ImageTypeValues,\n ImdsSupportValues: () => ImdsSupportValues,\n ImportClientVpnClientCertificateRevocationListCommand: () => ImportClientVpnClientCertificateRevocationListCommand,\n ImportImageCommand: () => ImportImageCommand,\n ImportImageRequestFilterSensitiveLog: () => ImportImageRequestFilterSensitiveLog,\n ImportImageResultFilterSensitiveLog: () => ImportImageResultFilterSensitiveLog,\n ImportImageTaskFilterSensitiveLog: () => ImportImageTaskFilterSensitiveLog,\n ImportInstanceCommand: () => ImportInstanceCommand,\n ImportInstanceLaunchSpecificationFilterSensitiveLog: () => ImportInstanceLaunchSpecificationFilterSensitiveLog,\n ImportInstanceRequestFilterSensitiveLog: () => ImportInstanceRequestFilterSensitiveLog,\n ImportInstanceResultFilterSensitiveLog: () => ImportInstanceResultFilterSensitiveLog,\n ImportInstanceTaskDetailsFilterSensitiveLog: () => ImportInstanceTaskDetailsFilterSensitiveLog,\n ImportInstanceVolumeDetailItemFilterSensitiveLog: () => ImportInstanceVolumeDetailItemFilterSensitiveLog,\n ImportKeyPairCommand: () => ImportKeyPairCommand,\n ImportSnapshotCommand: () => ImportSnapshotCommand,\n ImportSnapshotRequestFilterSensitiveLog: () => ImportSnapshotRequestFilterSensitiveLog,\n ImportSnapshotResultFilterSensitiveLog: () => ImportSnapshotResultFilterSensitiveLog,\n ImportSnapshotTaskFilterSensitiveLog: () => ImportSnapshotTaskFilterSensitiveLog,\n ImportVolumeCommand: () => ImportVolumeCommand,\n ImportVolumeRequestFilterSensitiveLog: () => ImportVolumeRequestFilterSensitiveLog,\n ImportVolumeResultFilterSensitiveLog: () => ImportVolumeResultFilterSensitiveLog,\n ImportVolumeTaskDetailsFilterSensitiveLog: () => ImportVolumeTaskDetailsFilterSensitiveLog,\n InstanceAttributeName: () => InstanceAttributeName,\n InstanceAutoRecoveryState: () => InstanceAutoRecoveryState,\n InstanceBandwidthWeighting: () => InstanceBandwidthWeighting,\n InstanceBootModeValues: () => InstanceBootModeValues,\n InstanceEventWindowState: () => InstanceEventWindowState,\n InstanceGeneration: () => InstanceGeneration,\n InstanceHealthStatus: () => InstanceHealthStatus,\n InstanceInterruptionBehavior: () => InstanceInterruptionBehavior,\n InstanceLifecycle: () => InstanceLifecycle,\n InstanceLifecycleType: () => InstanceLifecycleType,\n InstanceMatchCriteria: () => InstanceMatchCriteria,\n InstanceMetadataEndpointState: () => InstanceMetadataEndpointState,\n InstanceMetadataOptionsState: () => InstanceMetadataOptionsState,\n InstanceMetadataProtocolState: () => InstanceMetadataProtocolState,\n InstanceMetadataTagsState: () => InstanceMetadataTagsState,\n InstanceStateName: () => InstanceStateName,\n InstanceStorageEncryptionSupport: () => InstanceStorageEncryptionSupport,\n InstanceTypeHypervisor: () => InstanceTypeHypervisor,\n InterfacePermissionType: () => InterfacePermissionType,\n InterfaceProtocolType: () => InterfaceProtocolType,\n InternetGatewayBlockMode: () => InternetGatewayBlockMode,\n InternetGatewayExclusionMode: () => InternetGatewayExclusionMode,\n IpAddressType: () => IpAddressType,\n IpSource: () => IpSource,\n IpamAddressHistoryResourceType: () => IpamAddressHistoryResourceType,\n IpamAssociatedResourceDiscoveryStatus: () => IpamAssociatedResourceDiscoveryStatus,\n IpamComplianceStatus: () => IpamComplianceStatus,\n IpamDiscoveryFailureCode: () => IpamDiscoveryFailureCode,\n IpamExternalResourceVerificationTokenState: () => IpamExternalResourceVerificationTokenState,\n IpamManagementState: () => IpamManagementState,\n IpamMeteredAccount: () => IpamMeteredAccount,\n IpamNetworkInterfaceAttachmentStatus: () => IpamNetworkInterfaceAttachmentStatus,\n IpamOverlapStatus: () => IpamOverlapStatus,\n IpamPoolAllocationResourceType: () => IpamPoolAllocationResourceType,\n IpamPoolAwsService: () => IpamPoolAwsService,\n IpamPoolCidrFailureCode: () => IpamPoolCidrFailureCode,\n IpamPoolCidrState: () => IpamPoolCidrState,\n IpamPoolPublicIpSource: () => IpamPoolPublicIpSource,\n IpamPoolSourceResourceType: () => IpamPoolSourceResourceType,\n IpamPoolState: () => IpamPoolState,\n IpamPublicAddressAssociationStatus: () => IpamPublicAddressAssociationStatus,\n IpamPublicAddressAwsService: () => IpamPublicAddressAwsService,\n IpamPublicAddressType: () => IpamPublicAddressType,\n IpamResourceCidrIpSource: () => IpamResourceCidrIpSource,\n IpamResourceDiscoveryAssociationState: () => IpamResourceDiscoveryAssociationState,\n IpamResourceDiscoveryState: () => IpamResourceDiscoveryState,\n IpamResourceType: () => IpamResourceType,\n IpamScopeState: () => IpamScopeState,\n IpamScopeType: () => IpamScopeType,\n IpamState: () => IpamState,\n IpamTier: () => IpamTier,\n Ipv6AddressAttribute: () => Ipv6AddressAttribute,\n Ipv6SupportValue: () => Ipv6SupportValue,\n KeyFormat: () => KeyFormat,\n KeyPairFilterSensitiveLog: () => KeyPairFilterSensitiveLog,\n KeyType: () => KeyType,\n LaunchSpecificationFilterSensitiveLog: () => LaunchSpecificationFilterSensitiveLog,\n LaunchTemplateAutoRecoveryState: () => LaunchTemplateAutoRecoveryState,\n LaunchTemplateErrorCode: () => LaunchTemplateErrorCode,\n LaunchTemplateHttpTokensState: () => LaunchTemplateHttpTokensState,\n LaunchTemplateInstanceMetadataEndpointState: () => LaunchTemplateInstanceMetadataEndpointState,\n LaunchTemplateInstanceMetadataOptionsState: () => LaunchTemplateInstanceMetadataOptionsState,\n LaunchTemplateInstanceMetadataProtocolIpv6: () => LaunchTemplateInstanceMetadataProtocolIpv6,\n LaunchTemplateInstanceMetadataTagsState: () => LaunchTemplateInstanceMetadataTagsState,\n LaunchTemplateVersionFilterSensitiveLog: () => LaunchTemplateVersionFilterSensitiveLog,\n ListImagesInRecycleBinCommand: () => ListImagesInRecycleBinCommand,\n ListSnapshotsInRecycleBinCommand: () => ListSnapshotsInRecycleBinCommand,\n ListingState: () => ListingState,\n ListingStatus: () => ListingStatus,\n LocalGatewayRouteState: () => LocalGatewayRouteState,\n LocalGatewayRouteTableMode: () => LocalGatewayRouteTableMode,\n LocalGatewayRouteType: () => LocalGatewayRouteType,\n LocalGatewayVirtualInterfaceConfigurationState: () => LocalGatewayVirtualInterfaceConfigurationState,\n LocalGatewayVirtualInterfaceGroupConfigurationState: () => LocalGatewayVirtualInterfaceGroupConfigurationState,\n LocalStorage: () => LocalStorage,\n LocalStorageType: () => LocalStorageType,\n LocationType: () => LocationType,\n LockMode: () => LockMode,\n LockSnapshotCommand: () => LockSnapshotCommand,\n LockState: () => LockState,\n LogDestinationType: () => LogDestinationType,\n ManagedBy: () => ManagedBy,\n MarketType: () => MarketType,\n MembershipType: () => MembershipType,\n MetadataDefaultHttpTokensState: () => MetadataDefaultHttpTokensState,\n MetricType: () => MetricType,\n ModifyAddressAttributeCommand: () => ModifyAddressAttributeCommand,\n ModifyAvailabilityZoneGroupCommand: () => ModifyAvailabilityZoneGroupCommand,\n ModifyAvailabilityZoneOptInStatus: () => ModifyAvailabilityZoneOptInStatus,\n ModifyCapacityReservationCommand: () => ModifyCapacityReservationCommand,\n ModifyCapacityReservationFleetCommand: () => ModifyCapacityReservationFleetCommand,\n ModifyClientVpnEndpointCommand: () => ModifyClientVpnEndpointCommand,\n ModifyDefaultCreditSpecificationCommand: () => ModifyDefaultCreditSpecificationCommand,\n ModifyEbsDefaultKmsKeyIdCommand: () => ModifyEbsDefaultKmsKeyIdCommand,\n ModifyFleetCommand: () => ModifyFleetCommand,\n ModifyFpgaImageAttributeCommand: () => ModifyFpgaImageAttributeCommand,\n ModifyHostsCommand: () => ModifyHostsCommand,\n ModifyIdFormatCommand: () => ModifyIdFormatCommand,\n ModifyIdentityIdFormatCommand: () => ModifyIdentityIdFormatCommand,\n ModifyImageAttributeCommand: () => ModifyImageAttributeCommand,\n ModifyInstanceAttributeCommand: () => ModifyInstanceAttributeCommand,\n ModifyInstanceCapacityReservationAttributesCommand: () => ModifyInstanceCapacityReservationAttributesCommand,\n ModifyInstanceCpuOptionsCommand: () => ModifyInstanceCpuOptionsCommand,\n ModifyInstanceCreditSpecificationCommand: () => ModifyInstanceCreditSpecificationCommand,\n ModifyInstanceEventStartTimeCommand: () => ModifyInstanceEventStartTimeCommand,\n ModifyInstanceEventWindowCommand: () => ModifyInstanceEventWindowCommand,\n ModifyInstanceMaintenanceOptionsCommand: () => ModifyInstanceMaintenanceOptionsCommand,\n ModifyInstanceMetadataDefaultsCommand: () => ModifyInstanceMetadataDefaultsCommand,\n ModifyInstanceMetadataOptionsCommand: () => ModifyInstanceMetadataOptionsCommand,\n ModifyInstanceNetworkPerformanceOptionsCommand: () => ModifyInstanceNetworkPerformanceOptionsCommand,\n ModifyInstancePlacementCommand: () => ModifyInstancePlacementCommand,\n ModifyIpamCommand: () => ModifyIpamCommand,\n ModifyIpamPoolCommand: () => ModifyIpamPoolCommand,\n ModifyIpamResourceCidrCommand: () => ModifyIpamResourceCidrCommand,\n ModifyIpamResourceDiscoveryCommand: () => ModifyIpamResourceDiscoveryCommand,\n ModifyIpamScopeCommand: () => ModifyIpamScopeCommand,\n ModifyLaunchTemplateCommand: () => ModifyLaunchTemplateCommand,\n ModifyLocalGatewayRouteCommand: () => ModifyLocalGatewayRouteCommand,\n ModifyManagedPrefixListCommand: () => ModifyManagedPrefixListCommand,\n ModifyNetworkInterfaceAttributeCommand: () => ModifyNetworkInterfaceAttributeCommand,\n ModifyPrivateDnsNameOptionsCommand: () => ModifyPrivateDnsNameOptionsCommand,\n ModifyReservedInstancesCommand: () => ModifyReservedInstancesCommand,\n ModifyRouteServerCommand: () => ModifyRouteServerCommand,\n ModifySecurityGroupRulesCommand: () => ModifySecurityGroupRulesCommand,\n ModifySnapshotAttributeCommand: () => ModifySnapshotAttributeCommand,\n ModifySnapshotTierCommand: () => ModifySnapshotTierCommand,\n ModifySpotFleetRequestCommand: () => ModifySpotFleetRequestCommand,\n ModifySubnetAttributeCommand: () => ModifySubnetAttributeCommand,\n ModifyTrafficMirrorFilterNetworkServicesCommand: () => ModifyTrafficMirrorFilterNetworkServicesCommand,\n ModifyTrafficMirrorFilterRuleCommand: () => ModifyTrafficMirrorFilterRuleCommand,\n ModifyTrafficMirrorSessionCommand: () => ModifyTrafficMirrorSessionCommand,\n ModifyTransitGatewayCommand: () => ModifyTransitGatewayCommand,\n ModifyTransitGatewayPrefixListReferenceCommand: () => ModifyTransitGatewayPrefixListReferenceCommand,\n ModifyTransitGatewayVpcAttachmentCommand: () => ModifyTransitGatewayVpcAttachmentCommand,\n ModifyVerifiedAccessEndpointCommand: () => ModifyVerifiedAccessEndpointCommand,\n ModifyVerifiedAccessEndpointPolicyCommand: () => ModifyVerifiedAccessEndpointPolicyCommand,\n ModifyVerifiedAccessGroupCommand: () => ModifyVerifiedAccessGroupCommand,\n ModifyVerifiedAccessGroupPolicyCommand: () => ModifyVerifiedAccessGroupPolicyCommand,\n ModifyVerifiedAccessInstanceCommand: () => ModifyVerifiedAccessInstanceCommand,\n ModifyVerifiedAccessInstanceLoggingConfigurationCommand: () => ModifyVerifiedAccessInstanceLoggingConfigurationCommand,\n ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderCommand: () => ModifyVerifiedAccessTrustProviderCommand,\n ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog,\n ModifyVolumeAttributeCommand: () => ModifyVolumeAttributeCommand,\n ModifyVolumeCommand: () => ModifyVolumeCommand,\n ModifyVpcAttributeCommand: () => ModifyVpcAttributeCommand,\n ModifyVpcBlockPublicAccessExclusionCommand: () => ModifyVpcBlockPublicAccessExclusionCommand,\n ModifyVpcBlockPublicAccessOptionsCommand: () => ModifyVpcBlockPublicAccessOptionsCommand,\n ModifyVpcEndpointCommand: () => ModifyVpcEndpointCommand,\n ModifyVpcEndpointConnectionNotificationCommand: () => ModifyVpcEndpointConnectionNotificationCommand,\n ModifyVpcEndpointServiceConfigurationCommand: () => ModifyVpcEndpointServiceConfigurationCommand,\n ModifyVpcEndpointServicePayerResponsibilityCommand: () => ModifyVpcEndpointServicePayerResponsibilityCommand,\n ModifyVpcEndpointServicePermissionsCommand: () => ModifyVpcEndpointServicePermissionsCommand,\n ModifyVpcPeeringConnectionOptionsCommand: () => ModifyVpcPeeringConnectionOptionsCommand,\n ModifyVpcTenancyCommand: () => ModifyVpcTenancyCommand,\n ModifyVpnConnectionCommand: () => ModifyVpnConnectionCommand,\n ModifyVpnConnectionOptionsCommand: () => ModifyVpnConnectionOptionsCommand,\n ModifyVpnConnectionOptionsResultFilterSensitiveLog: () => ModifyVpnConnectionOptionsResultFilterSensitiveLog,\n ModifyVpnConnectionResultFilterSensitiveLog: () => ModifyVpnConnectionResultFilterSensitiveLog,\n ModifyVpnTunnelCertificateCommand: () => ModifyVpnTunnelCertificateCommand,\n ModifyVpnTunnelCertificateResultFilterSensitiveLog: () => ModifyVpnTunnelCertificateResultFilterSensitiveLog,\n ModifyVpnTunnelOptionsCommand: () => ModifyVpnTunnelOptionsCommand,\n ModifyVpnTunnelOptionsRequestFilterSensitiveLog: () => ModifyVpnTunnelOptionsRequestFilterSensitiveLog,\n ModifyVpnTunnelOptionsResultFilterSensitiveLog: () => ModifyVpnTunnelOptionsResultFilterSensitiveLog,\n ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: () => ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog,\n MonitorInstancesCommand: () => MonitorInstancesCommand,\n MonitoringState: () => MonitoringState,\n MoveAddressToVpcCommand: () => MoveAddressToVpcCommand,\n MoveByoipCidrToIpamCommand: () => MoveByoipCidrToIpamCommand,\n MoveCapacityReservationInstancesCommand: () => MoveCapacityReservationInstancesCommand,\n MoveStatus: () => MoveStatus,\n MulticastSupportValue: () => MulticastSupportValue,\n NatGatewayAddressStatus: () => NatGatewayAddressStatus,\n NatGatewayState: () => NatGatewayState,\n NetworkInterfaceAttribute: () => NetworkInterfaceAttribute,\n NetworkInterfaceCreationType: () => NetworkInterfaceCreationType,\n NetworkInterfacePermissionStateCode: () => NetworkInterfacePermissionStateCode,\n NetworkInterfaceStatus: () => NetworkInterfaceStatus,\n NetworkInterfaceType: () => NetworkInterfaceType,\n NitroEnclavesSupport: () => NitroEnclavesSupport,\n NitroTpmSupport: () => NitroTpmSupport,\n OfferingClassType: () => OfferingClassType,\n OfferingTypeValues: () => OfferingTypeValues,\n OidcOptionsFilterSensitiveLog: () => OidcOptionsFilterSensitiveLog,\n OnDemandAllocationStrategy: () => OnDemandAllocationStrategy,\n OperationType: () => OperationType,\n PartitionLoadFrequency: () => PartitionLoadFrequency,\n PayerResponsibility: () => PayerResponsibility,\n PaymentOption: () => PaymentOption,\n PeriodType: () => PeriodType,\n PermissionGroup: () => PermissionGroup,\n PhcSupport: () => PhcSupport,\n PlacementGroupState: () => PlacementGroupState,\n PlacementGroupStrategy: () => PlacementGroupStrategy,\n PlacementStrategy: () => PlacementStrategy,\n PlatformValues: () => PlatformValues,\n PrefixListState: () => PrefixListState,\n PrincipalType: () => PrincipalType,\n ProductCodeValues: () => ProductCodeValues,\n Protocol: () => Protocol,\n ProtocolValue: () => ProtocolValue,\n ProvisionByoipCidrCommand: () => ProvisionByoipCidrCommand,\n ProvisionIpamByoasnCommand: () => ProvisionIpamByoasnCommand,\n ProvisionIpamPoolCidrCommand: () => ProvisionIpamPoolCidrCommand,\n ProvisionPublicIpv4PoolCidrCommand: () => ProvisionPublicIpv4PoolCidrCommand,\n PurchaseCapacityBlockCommand: () => PurchaseCapacityBlockCommand,\n PurchaseCapacityBlockExtensionCommand: () => PurchaseCapacityBlockExtensionCommand,\n PurchaseHostReservationCommand: () => PurchaseHostReservationCommand,\n PurchaseReservedInstancesOfferingCommand: () => PurchaseReservedInstancesOfferingCommand,\n PurchaseScheduledInstancesCommand: () => PurchaseScheduledInstancesCommand,\n RIProductDescription: () => RIProductDescription,\n RebootInstancesCommand: () => RebootInstancesCommand,\n RecurringChargeFrequency: () => RecurringChargeFrequency,\n RegisterImageCommand: () => RegisterImageCommand,\n RegisterInstanceEventNotificationAttributesCommand: () => RegisterInstanceEventNotificationAttributesCommand,\n RegisterTransitGatewayMulticastGroupMembersCommand: () => RegisterTransitGatewayMulticastGroupMembersCommand,\n RegisterTransitGatewayMulticastGroupSourcesCommand: () => RegisterTransitGatewayMulticastGroupSourcesCommand,\n RejectCapacityReservationBillingOwnershipCommand: () => RejectCapacityReservationBillingOwnershipCommand,\n RejectTransitGatewayMulticastDomainAssociationsCommand: () => RejectTransitGatewayMulticastDomainAssociationsCommand,\n RejectTransitGatewayPeeringAttachmentCommand: () => RejectTransitGatewayPeeringAttachmentCommand,\n RejectTransitGatewayVpcAttachmentCommand: () => RejectTransitGatewayVpcAttachmentCommand,\n RejectVpcEndpointConnectionsCommand: () => RejectVpcEndpointConnectionsCommand,\n RejectVpcPeeringConnectionCommand: () => RejectVpcPeeringConnectionCommand,\n ReleaseAddressCommand: () => ReleaseAddressCommand,\n ReleaseHostsCommand: () => ReleaseHostsCommand,\n ReleaseIpamPoolAllocationCommand: () => ReleaseIpamPoolAllocationCommand,\n ReplaceIamInstanceProfileAssociationCommand: () => ReplaceIamInstanceProfileAssociationCommand,\n ReplaceImageCriteriaInAllowedImagesSettingsCommand: () => ReplaceImageCriteriaInAllowedImagesSettingsCommand,\n ReplaceNetworkAclAssociationCommand: () => ReplaceNetworkAclAssociationCommand,\n ReplaceNetworkAclEntryCommand: () => ReplaceNetworkAclEntryCommand,\n ReplaceRootVolumeTaskState: () => ReplaceRootVolumeTaskState,\n ReplaceRouteCommand: () => ReplaceRouteCommand,\n ReplaceRouteTableAssociationCommand: () => ReplaceRouteTableAssociationCommand,\n ReplaceTransitGatewayRouteCommand: () => ReplaceTransitGatewayRouteCommand,\n ReplaceVpnTunnelCommand: () => ReplaceVpnTunnelCommand,\n ReplacementStrategy: () => ReplacementStrategy,\n ReportInstanceReasonCodes: () => ReportInstanceReasonCodes,\n ReportInstanceStatusCommand: () => ReportInstanceStatusCommand,\n ReportInstanceStatusRequestFilterSensitiveLog: () => ReportInstanceStatusRequestFilterSensitiveLog,\n ReportState: () => ReportState,\n ReportStatusType: () => ReportStatusType,\n RequestLaunchTemplateDataFilterSensitiveLog: () => RequestLaunchTemplateDataFilterSensitiveLog,\n RequestSpotFleetCommand: () => RequestSpotFleetCommand,\n RequestSpotFleetRequestFilterSensitiveLog: () => RequestSpotFleetRequestFilterSensitiveLog,\n RequestSpotInstancesCommand: () => RequestSpotInstancesCommand,\n RequestSpotInstancesRequestFilterSensitiveLog: () => RequestSpotInstancesRequestFilterSensitiveLog,\n RequestSpotInstancesResultFilterSensitiveLog: () => RequestSpotInstancesResultFilterSensitiveLog,\n RequestSpotLaunchSpecificationFilterSensitiveLog: () => RequestSpotLaunchSpecificationFilterSensitiveLog,\n ReservationState: () => ReservationState,\n ReservedInstanceState: () => ReservedInstanceState,\n ResetAddressAttributeCommand: () => ResetAddressAttributeCommand,\n ResetEbsDefaultKmsKeyIdCommand: () => ResetEbsDefaultKmsKeyIdCommand,\n ResetFpgaImageAttributeCommand: () => ResetFpgaImageAttributeCommand,\n ResetFpgaImageAttributeName: () => ResetFpgaImageAttributeName,\n ResetImageAttributeCommand: () => ResetImageAttributeCommand,\n ResetImageAttributeName: () => ResetImageAttributeName,\n ResetInstanceAttributeCommand: () => ResetInstanceAttributeCommand,\n ResetNetworkInterfaceAttributeCommand: () => ResetNetworkInterfaceAttributeCommand,\n ResetSnapshotAttributeCommand: () => ResetSnapshotAttributeCommand,\n ResourceType: () => ResourceType,\n ResponseLaunchTemplateDataFilterSensitiveLog: () => ResponseLaunchTemplateDataFilterSensitiveLog,\n RestoreAddressToClassicCommand: () => RestoreAddressToClassicCommand,\n RestoreImageFromRecycleBinCommand: () => RestoreImageFromRecycleBinCommand,\n RestoreManagedPrefixListVersionCommand: () => RestoreManagedPrefixListVersionCommand,\n RestoreSnapshotFromRecycleBinCommand: () => RestoreSnapshotFromRecycleBinCommand,\n RestoreSnapshotTierCommand: () => RestoreSnapshotTierCommand,\n RevokeClientVpnIngressCommand: () => RevokeClientVpnIngressCommand,\n RevokeSecurityGroupEgressCommand: () => RevokeSecurityGroupEgressCommand,\n RevokeSecurityGroupIngressCommand: () => RevokeSecurityGroupIngressCommand,\n RootDeviceType: () => RootDeviceType,\n RouteOrigin: () => RouteOrigin,\n RouteServerAssociationState: () => RouteServerAssociationState,\n RouteServerBfdState: () => RouteServerBfdState,\n RouteServerBgpState: () => RouteServerBgpState,\n RouteServerEndpointState: () => RouteServerEndpointState,\n RouteServerPeerLivenessMode: () => RouteServerPeerLivenessMode,\n RouteServerPeerState: () => RouteServerPeerState,\n RouteServerPersistRoutesAction: () => RouteServerPersistRoutesAction,\n RouteServerPersistRoutesState: () => RouteServerPersistRoutesState,\n RouteServerPropagationState: () => RouteServerPropagationState,\n RouteServerRouteInstallationStatus: () => RouteServerRouteInstallationStatus,\n RouteServerRouteStatus: () => RouteServerRouteStatus,\n RouteServerState: () => RouteServerState,\n RouteState: () => RouteState,\n RouteTableAssociationStateCode: () => RouteTableAssociationStateCode,\n RuleAction: () => RuleAction,\n RunInstancesCommand: () => RunInstancesCommand,\n RunInstancesRequestFilterSensitiveLog: () => RunInstancesRequestFilterSensitiveLog,\n RunScheduledInstancesCommand: () => RunScheduledInstancesCommand,\n RunScheduledInstancesRequestFilterSensitiveLog: () => RunScheduledInstancesRequestFilterSensitiveLog,\n S3StorageFilterSensitiveLog: () => S3StorageFilterSensitiveLog,\n SSEType: () => SSEType,\n ScheduledInstancesLaunchSpecificationFilterSensitiveLog: () => ScheduledInstancesLaunchSpecificationFilterSensitiveLog,\n Scope: () => Scope,\n SearchLocalGatewayRoutesCommand: () => SearchLocalGatewayRoutesCommand,\n SearchTransitGatewayMulticastGroupsCommand: () => SearchTransitGatewayMulticastGroupsCommand,\n SearchTransitGatewayRoutesCommand: () => SearchTransitGatewayRoutesCommand,\n SecurityGroupReferencingSupportValue: () => SecurityGroupReferencingSupportValue,\n SecurityGroupVpcAssociationState: () => SecurityGroupVpcAssociationState,\n SelfServicePortal: () => SelfServicePortal,\n SendDiagnosticInterruptCommand: () => SendDiagnosticInterruptCommand,\n ServiceConnectivityType: () => ServiceConnectivityType,\n ServiceLinkVirtualInterfaceConfigurationState: () => ServiceLinkVirtualInterfaceConfigurationState,\n ServiceManaged: () => ServiceManaged,\n ServiceState: () => ServiceState,\n ServiceType: () => ServiceType,\n ShutdownBehavior: () => ShutdownBehavior,\n SnapshotAttributeName: () => SnapshotAttributeName,\n SnapshotBlockPublicAccessState: () => SnapshotBlockPublicAccessState,\n SnapshotDetailFilterSensitiveLog: () => SnapshotDetailFilterSensitiveLog,\n SnapshotDiskContainerFilterSensitiveLog: () => SnapshotDiskContainerFilterSensitiveLog,\n SnapshotLocationEnum: () => SnapshotLocationEnum,\n SnapshotState: () => SnapshotState,\n SnapshotTaskDetailFilterSensitiveLog: () => SnapshotTaskDetailFilterSensitiveLog,\n SpotAllocationStrategy: () => SpotAllocationStrategy,\n SpotFleetLaunchSpecificationFilterSensitiveLog: () => SpotFleetLaunchSpecificationFilterSensitiveLog,\n SpotFleetRequestConfigDataFilterSensitiveLog: () => SpotFleetRequestConfigDataFilterSensitiveLog,\n SpotFleetRequestConfigFilterSensitiveLog: () => SpotFleetRequestConfigFilterSensitiveLog,\n SpotInstanceInterruptionBehavior: () => SpotInstanceInterruptionBehavior,\n SpotInstanceRequestFilterSensitiveLog: () => SpotInstanceRequestFilterSensitiveLog,\n SpotInstanceState: () => SpotInstanceState,\n SpotInstanceType: () => SpotInstanceType,\n SpreadLevel: () => SpreadLevel,\n StartDeclarativePoliciesReportCommand: () => StartDeclarativePoliciesReportCommand,\n StartInstancesCommand: () => StartInstancesCommand,\n StartNetworkInsightsAccessScopeAnalysisCommand: () => StartNetworkInsightsAccessScopeAnalysisCommand,\n StartNetworkInsightsAnalysisCommand: () => StartNetworkInsightsAnalysisCommand,\n StartVpcEndpointServicePrivateDnsVerificationCommand: () => StartVpcEndpointServicePrivateDnsVerificationCommand,\n State: () => State,\n StaticSourcesSupportValue: () => StaticSourcesSupportValue,\n StatisticType: () => StatisticType,\n Status: () => Status,\n StatusName: () => StatusName,\n StatusType: () => StatusType,\n StopInstancesCommand: () => StopInstancesCommand,\n StorageFilterSensitiveLog: () => StorageFilterSensitiveLog,\n StorageTier: () => StorageTier,\n SubnetCidrBlockStateCode: () => SubnetCidrBlockStateCode,\n SubnetCidrReservationType: () => SubnetCidrReservationType,\n SubnetState: () => SubnetState,\n SummaryStatus: () => SummaryStatus,\n SupportedAdditionalProcessorFeature: () => SupportedAdditionalProcessorFeature,\n TargetCapacityUnitType: () => TargetCapacityUnitType,\n TargetStorageTier: () => TargetStorageTier,\n TelemetryStatus: () => TelemetryStatus,\n Tenancy: () => Tenancy,\n TerminateClientVpnConnectionsCommand: () => TerminateClientVpnConnectionsCommand,\n TerminateInstancesCommand: () => TerminateInstancesCommand,\n TieringOperationStatus: () => TieringOperationStatus,\n TokenState: () => TokenState,\n TpmSupportValues: () => TpmSupportValues,\n TrafficDirection: () => TrafficDirection,\n TrafficMirrorFilterRuleField: () => TrafficMirrorFilterRuleField,\n TrafficMirrorNetworkService: () => TrafficMirrorNetworkService,\n TrafficMirrorRuleAction: () => TrafficMirrorRuleAction,\n TrafficMirrorSessionField: () => TrafficMirrorSessionField,\n TrafficMirrorTargetType: () => TrafficMirrorTargetType,\n TrafficType: () => TrafficType,\n TransferType: () => TransferType,\n TransitGatewayAssociationState: () => TransitGatewayAssociationState,\n TransitGatewayAttachmentResourceType: () => TransitGatewayAttachmentResourceType,\n TransitGatewayAttachmentState: () => TransitGatewayAttachmentState,\n TransitGatewayConnectPeerState: () => TransitGatewayConnectPeerState,\n TransitGatewayMulitcastDomainAssociationState: () => TransitGatewayMulitcastDomainAssociationState,\n TransitGatewayMulticastDomainState: () => TransitGatewayMulticastDomainState,\n TransitGatewayPolicyTableState: () => TransitGatewayPolicyTableState,\n TransitGatewayPrefixListReferenceState: () => TransitGatewayPrefixListReferenceState,\n TransitGatewayPropagationState: () => TransitGatewayPropagationState,\n TransitGatewayRouteState: () => TransitGatewayRouteState,\n TransitGatewayRouteTableAnnouncementDirection: () => TransitGatewayRouteTableAnnouncementDirection,\n TransitGatewayRouteTableAnnouncementState: () => TransitGatewayRouteTableAnnouncementState,\n TransitGatewayRouteTableState: () => TransitGatewayRouteTableState,\n TransitGatewayRouteType: () => TransitGatewayRouteType,\n TransitGatewayState: () => TransitGatewayState,\n TransportProtocol: () => TransportProtocol,\n TrustProviderType: () => TrustProviderType,\n TunnelInsideIpVersion: () => TunnelInsideIpVersion,\n TunnelOptionFilterSensitiveLog: () => TunnelOptionFilterSensitiveLog,\n UnassignIpv6AddressesCommand: () => UnassignIpv6AddressesCommand,\n UnassignPrivateIpAddressesCommand: () => UnassignPrivateIpAddressesCommand,\n UnassignPrivateNatGatewayAddressCommand: () => UnassignPrivateNatGatewayAddressCommand,\n UnlimitedSupportedInstanceFamily: () => UnlimitedSupportedInstanceFamily,\n UnlockSnapshotCommand: () => UnlockSnapshotCommand,\n UnmonitorInstancesCommand: () => UnmonitorInstancesCommand,\n UnsuccessfulInstanceCreditSpecificationErrorCode: () => UnsuccessfulInstanceCreditSpecificationErrorCode,\n UpdateSecurityGroupRuleDescriptionsEgressCommand: () => UpdateSecurityGroupRuleDescriptionsEgressCommand,\n UpdateSecurityGroupRuleDescriptionsIngressCommand: () => UpdateSecurityGroupRuleDescriptionsIngressCommand,\n UsageClassType: () => UsageClassType,\n UserDataFilterSensitiveLog: () => UserDataFilterSensitiveLog,\n UserTrustProviderType: () => UserTrustProviderType,\n VerificationMethod: () => VerificationMethod,\n VerifiedAccessEndpointAttachmentType: () => VerifiedAccessEndpointAttachmentType,\n VerifiedAccessEndpointProtocol: () => VerifiedAccessEndpointProtocol,\n VerifiedAccessEndpointStatusCode: () => VerifiedAccessEndpointStatusCode,\n VerifiedAccessEndpointType: () => VerifiedAccessEndpointType,\n VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: () => VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog,\n VerifiedAccessLogDeliveryStatusCode: () => VerifiedAccessLogDeliveryStatusCode,\n VerifiedAccessTrustProviderFilterSensitiveLog: () => VerifiedAccessTrustProviderFilterSensitiveLog,\n VirtualizationType: () => VirtualizationType,\n VolumeAttachmentState: () => VolumeAttachmentState,\n VolumeAttributeName: () => VolumeAttributeName,\n VolumeModificationState: () => VolumeModificationState,\n VolumeState: () => VolumeState,\n VolumeStatusInfoStatus: () => VolumeStatusInfoStatus,\n VolumeStatusName: () => VolumeStatusName,\n VolumeType: () => VolumeType,\n VpcAttributeName: () => VpcAttributeName,\n VpcBlockPublicAccessExclusionState: () => VpcBlockPublicAccessExclusionState,\n VpcBlockPublicAccessExclusionsAllowed: () => VpcBlockPublicAccessExclusionsAllowed,\n VpcBlockPublicAccessState: () => VpcBlockPublicAccessState,\n VpcCidrBlockStateCode: () => VpcCidrBlockStateCode,\n VpcEncryptionControlExclusionState: () => VpcEncryptionControlExclusionState,\n VpcEncryptionControlMode: () => VpcEncryptionControlMode,\n VpcEncryptionControlState: () => VpcEncryptionControlState,\n VpcEndpointType: () => VpcEndpointType,\n VpcPeeringConnectionStateReasonCode: () => VpcPeeringConnectionStateReasonCode,\n VpcState: () => VpcState,\n VpcTenancy: () => VpcTenancy,\n VpnConnectionFilterSensitiveLog: () => VpnConnectionFilterSensitiveLog,\n VpnConnectionOptionsFilterSensitiveLog: () => VpnConnectionOptionsFilterSensitiveLog,\n VpnConnectionOptionsSpecificationFilterSensitiveLog: () => VpnConnectionOptionsSpecificationFilterSensitiveLog,\n VpnEcmpSupportValue: () => VpnEcmpSupportValue,\n VpnProtocol: () => VpnProtocol,\n VpnState: () => VpnState,\n VpnStaticRouteSource: () => VpnStaticRouteSource,\n VpnTunnelOptionsSpecificationFilterSensitiveLog: () => VpnTunnelOptionsSpecificationFilterSensitiveLog,\n WeekDay: () => WeekDay,\n WithdrawByoipCidrCommand: () => WithdrawByoipCidrCommand,\n _InstanceType: () => _InstanceType,\n __Client: () => import_smithy_client.Client,\n paginateDescribeAddressTransfers: () => paginateDescribeAddressTransfers,\n paginateDescribeAddressesAttribute: () => paginateDescribeAddressesAttribute,\n paginateDescribeAwsNetworkPerformanceMetricSubscriptions: () => paginateDescribeAwsNetworkPerformanceMetricSubscriptions,\n paginateDescribeByoipCidrs: () => paginateDescribeByoipCidrs,\n paginateDescribeCapacityBlockExtensionHistory: () => paginateDescribeCapacityBlockExtensionHistory,\n paginateDescribeCapacityBlockExtensionOfferings: () => paginateDescribeCapacityBlockExtensionOfferings,\n paginateDescribeCapacityBlockOfferings: () => paginateDescribeCapacityBlockOfferings,\n paginateDescribeCapacityReservationBillingRequests: () => paginateDescribeCapacityReservationBillingRequests,\n paginateDescribeCapacityReservationFleets: () => paginateDescribeCapacityReservationFleets,\n paginateDescribeCapacityReservations: () => paginateDescribeCapacityReservations,\n paginateDescribeCarrierGateways: () => paginateDescribeCarrierGateways,\n paginateDescribeClassicLinkInstances: () => paginateDescribeClassicLinkInstances,\n paginateDescribeClientVpnAuthorizationRules: () => paginateDescribeClientVpnAuthorizationRules,\n paginateDescribeClientVpnConnections: () => paginateDescribeClientVpnConnections,\n paginateDescribeClientVpnEndpoints: () => paginateDescribeClientVpnEndpoints,\n paginateDescribeClientVpnRoutes: () => paginateDescribeClientVpnRoutes,\n paginateDescribeClientVpnTargetNetworks: () => paginateDescribeClientVpnTargetNetworks,\n paginateDescribeCoipPools: () => paginateDescribeCoipPools,\n paginateDescribeDhcpOptions: () => paginateDescribeDhcpOptions,\n paginateDescribeEgressOnlyInternetGateways: () => paginateDescribeEgressOnlyInternetGateways,\n paginateDescribeExportImageTasks: () => paginateDescribeExportImageTasks,\n paginateDescribeFastLaunchImages: () => paginateDescribeFastLaunchImages,\n paginateDescribeFastSnapshotRestores: () => paginateDescribeFastSnapshotRestores,\n paginateDescribeFleets: () => paginateDescribeFleets,\n paginateDescribeFlowLogs: () => paginateDescribeFlowLogs,\n paginateDescribeFpgaImages: () => paginateDescribeFpgaImages,\n paginateDescribeHostReservationOfferings: () => paginateDescribeHostReservationOfferings,\n paginateDescribeHostReservations: () => paginateDescribeHostReservations,\n paginateDescribeHosts: () => paginateDescribeHosts,\n paginateDescribeIamInstanceProfileAssociations: () => paginateDescribeIamInstanceProfileAssociations,\n paginateDescribeImages: () => paginateDescribeImages,\n paginateDescribeImportImageTasks: () => paginateDescribeImportImageTasks,\n paginateDescribeImportSnapshotTasks: () => paginateDescribeImportSnapshotTasks,\n paginateDescribeInstanceConnectEndpoints: () => paginateDescribeInstanceConnectEndpoints,\n paginateDescribeInstanceCreditSpecifications: () => paginateDescribeInstanceCreditSpecifications,\n paginateDescribeInstanceEventWindows: () => paginateDescribeInstanceEventWindows,\n paginateDescribeInstanceImageMetadata: () => paginateDescribeInstanceImageMetadata,\n paginateDescribeInstanceStatus: () => paginateDescribeInstanceStatus,\n paginateDescribeInstanceTopology: () => paginateDescribeInstanceTopology,\n paginateDescribeInstanceTypeOfferings: () => paginateDescribeInstanceTypeOfferings,\n paginateDescribeInstanceTypes: () => paginateDescribeInstanceTypes,\n paginateDescribeInstances: () => paginateDescribeInstances,\n paginateDescribeInternetGateways: () => paginateDescribeInternetGateways,\n paginateDescribeIpamPools: () => paginateDescribeIpamPools,\n paginateDescribeIpamResourceDiscoveries: () => paginateDescribeIpamResourceDiscoveries,\n paginateDescribeIpamResourceDiscoveryAssociations: () => paginateDescribeIpamResourceDiscoveryAssociations,\n paginateDescribeIpamScopes: () => paginateDescribeIpamScopes,\n paginateDescribeIpams: () => paginateDescribeIpams,\n paginateDescribeIpv6Pools: () => paginateDescribeIpv6Pools,\n paginateDescribeLaunchTemplateVersions: () => paginateDescribeLaunchTemplateVersions,\n paginateDescribeLaunchTemplates: () => paginateDescribeLaunchTemplates,\n paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations: () => paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations,\n paginateDescribeLocalGatewayRouteTableVpcAssociations: () => paginateDescribeLocalGatewayRouteTableVpcAssociations,\n paginateDescribeLocalGatewayRouteTables: () => paginateDescribeLocalGatewayRouteTables,\n paginateDescribeLocalGatewayVirtualInterfaceGroups: () => paginateDescribeLocalGatewayVirtualInterfaceGroups,\n paginateDescribeLocalGatewayVirtualInterfaces: () => paginateDescribeLocalGatewayVirtualInterfaces,\n paginateDescribeLocalGateways: () => paginateDescribeLocalGateways,\n paginateDescribeMacHosts: () => paginateDescribeMacHosts,\n paginateDescribeManagedPrefixLists: () => paginateDescribeManagedPrefixLists,\n paginateDescribeMovingAddresses: () => paginateDescribeMovingAddresses,\n paginateDescribeNatGateways: () => paginateDescribeNatGateways,\n paginateDescribeNetworkAcls: () => paginateDescribeNetworkAcls,\n paginateDescribeNetworkInsightsAccessScopeAnalyses: () => paginateDescribeNetworkInsightsAccessScopeAnalyses,\n paginateDescribeNetworkInsightsAccessScopes: () => paginateDescribeNetworkInsightsAccessScopes,\n paginateDescribeNetworkInsightsAnalyses: () => paginateDescribeNetworkInsightsAnalyses,\n paginateDescribeNetworkInsightsPaths: () => paginateDescribeNetworkInsightsPaths,\n paginateDescribeNetworkInterfacePermissions: () => paginateDescribeNetworkInterfacePermissions,\n paginateDescribeNetworkInterfaces: () => paginateDescribeNetworkInterfaces,\n paginateDescribePrefixLists: () => paginateDescribePrefixLists,\n paginateDescribePrincipalIdFormat: () => paginateDescribePrincipalIdFormat,\n paginateDescribePublicIpv4Pools: () => paginateDescribePublicIpv4Pools,\n paginateDescribeReplaceRootVolumeTasks: () => paginateDescribeReplaceRootVolumeTasks,\n paginateDescribeReservedInstancesModifications: () => paginateDescribeReservedInstancesModifications,\n paginateDescribeReservedInstancesOfferings: () => paginateDescribeReservedInstancesOfferings,\n paginateDescribeRouteServerEndpoints: () => paginateDescribeRouteServerEndpoints,\n paginateDescribeRouteServerPeers: () => paginateDescribeRouteServerPeers,\n paginateDescribeRouteServers: () => paginateDescribeRouteServers,\n paginateDescribeRouteTables: () => paginateDescribeRouteTables,\n paginateDescribeScheduledInstanceAvailability: () => paginateDescribeScheduledInstanceAvailability,\n paginateDescribeScheduledInstances: () => paginateDescribeScheduledInstances,\n paginateDescribeSecurityGroupRules: () => paginateDescribeSecurityGroupRules,\n paginateDescribeSecurityGroupVpcAssociations: () => paginateDescribeSecurityGroupVpcAssociations,\n paginateDescribeSecurityGroups: () => paginateDescribeSecurityGroups,\n paginateDescribeSnapshotTierStatus: () => paginateDescribeSnapshotTierStatus,\n paginateDescribeSnapshots: () => paginateDescribeSnapshots,\n paginateDescribeSpotFleetRequests: () => paginateDescribeSpotFleetRequests,\n paginateDescribeSpotInstanceRequests: () => paginateDescribeSpotInstanceRequests,\n paginateDescribeSpotPriceHistory: () => paginateDescribeSpotPriceHistory,\n paginateDescribeStaleSecurityGroups: () => paginateDescribeStaleSecurityGroups,\n paginateDescribeStoreImageTasks: () => paginateDescribeStoreImageTasks,\n paginateDescribeSubnets: () => paginateDescribeSubnets,\n paginateDescribeTags: () => paginateDescribeTags,\n paginateDescribeTrafficMirrorFilters: () => paginateDescribeTrafficMirrorFilters,\n paginateDescribeTrafficMirrorSessions: () => paginateDescribeTrafficMirrorSessions,\n paginateDescribeTrafficMirrorTargets: () => paginateDescribeTrafficMirrorTargets,\n paginateDescribeTransitGatewayAttachments: () => paginateDescribeTransitGatewayAttachments,\n paginateDescribeTransitGatewayConnectPeers: () => paginateDescribeTransitGatewayConnectPeers,\n paginateDescribeTransitGatewayConnects: () => paginateDescribeTransitGatewayConnects,\n paginateDescribeTransitGatewayMulticastDomains: () => paginateDescribeTransitGatewayMulticastDomains,\n paginateDescribeTransitGatewayPeeringAttachments: () => paginateDescribeTransitGatewayPeeringAttachments,\n paginateDescribeTransitGatewayPolicyTables: () => paginateDescribeTransitGatewayPolicyTables,\n paginateDescribeTransitGatewayRouteTableAnnouncements: () => paginateDescribeTransitGatewayRouteTableAnnouncements,\n paginateDescribeTransitGatewayRouteTables: () => paginateDescribeTransitGatewayRouteTables,\n paginateDescribeTransitGatewayVpcAttachments: () => paginateDescribeTransitGatewayVpcAttachments,\n paginateDescribeTransitGateways: () => paginateDescribeTransitGateways,\n paginateDescribeTrunkInterfaceAssociations: () => paginateDescribeTrunkInterfaceAssociations,\n paginateDescribeVerifiedAccessEndpoints: () => paginateDescribeVerifiedAccessEndpoints,\n paginateDescribeVerifiedAccessGroups: () => paginateDescribeVerifiedAccessGroups,\n paginateDescribeVerifiedAccessInstanceLoggingConfigurations: () => paginateDescribeVerifiedAccessInstanceLoggingConfigurations,\n paginateDescribeVerifiedAccessInstances: () => paginateDescribeVerifiedAccessInstances,\n paginateDescribeVerifiedAccessTrustProviders: () => paginateDescribeVerifiedAccessTrustProviders,\n paginateDescribeVolumeStatus: () => paginateDescribeVolumeStatus,\n paginateDescribeVolumes: () => paginateDescribeVolumes,\n paginateDescribeVolumesModifications: () => paginateDescribeVolumesModifications,\n paginateDescribeVpcClassicLinkDnsSupport: () => paginateDescribeVpcClassicLinkDnsSupport,\n paginateDescribeVpcEndpointConnectionNotifications: () => paginateDescribeVpcEndpointConnectionNotifications,\n paginateDescribeVpcEndpointConnections: () => paginateDescribeVpcEndpointConnections,\n paginateDescribeVpcEndpointServiceConfigurations: () => paginateDescribeVpcEndpointServiceConfigurations,\n paginateDescribeVpcEndpointServicePermissions: () => paginateDescribeVpcEndpointServicePermissions,\n paginateDescribeVpcEndpoints: () => paginateDescribeVpcEndpoints,\n paginateDescribeVpcPeeringConnections: () => paginateDescribeVpcPeeringConnections,\n paginateDescribeVpcs: () => paginateDescribeVpcs,\n paginateGetAssociatedIpv6PoolCidrs: () => paginateGetAssociatedIpv6PoolCidrs,\n paginateGetAwsNetworkPerformanceData: () => paginateGetAwsNetworkPerformanceData,\n paginateGetGroupsForCapacityReservation: () => paginateGetGroupsForCapacityReservation,\n paginateGetInstanceTypesFromInstanceRequirements: () => paginateGetInstanceTypesFromInstanceRequirements,\n paginateGetIpamAddressHistory: () => paginateGetIpamAddressHistory,\n paginateGetIpamDiscoveredAccounts: () => paginateGetIpamDiscoveredAccounts,\n paginateGetIpamDiscoveredResourceCidrs: () => paginateGetIpamDiscoveredResourceCidrs,\n paginateGetIpamPoolAllocations: () => paginateGetIpamPoolAllocations,\n paginateGetIpamPoolCidrs: () => paginateGetIpamPoolCidrs,\n paginateGetIpamResourceCidrs: () => paginateGetIpamResourceCidrs,\n paginateGetManagedPrefixListAssociations: () => paginateGetManagedPrefixListAssociations,\n paginateGetManagedPrefixListEntries: () => paginateGetManagedPrefixListEntries,\n paginateGetNetworkInsightsAccessScopeAnalysisFindings: () => paginateGetNetworkInsightsAccessScopeAnalysisFindings,\n paginateGetSecurityGroupsForVpc: () => paginateGetSecurityGroupsForVpc,\n paginateGetSpotPlacementScores: () => paginateGetSpotPlacementScores,\n paginateGetTransitGatewayAttachmentPropagations: () => paginateGetTransitGatewayAttachmentPropagations,\n paginateGetTransitGatewayMulticastDomainAssociations: () => paginateGetTransitGatewayMulticastDomainAssociations,\n paginateGetTransitGatewayPolicyTableAssociations: () => paginateGetTransitGatewayPolicyTableAssociations,\n paginateGetTransitGatewayPrefixListReferences: () => paginateGetTransitGatewayPrefixListReferences,\n paginateGetTransitGatewayRouteTableAssociations: () => paginateGetTransitGatewayRouteTableAssociations,\n paginateGetTransitGatewayRouteTablePropagations: () => paginateGetTransitGatewayRouteTablePropagations,\n paginateGetVpnConnectionDeviceTypes: () => paginateGetVpnConnectionDeviceTypes,\n paginateListImagesInRecycleBin: () => paginateListImagesInRecycleBin,\n paginateListSnapshotsInRecycleBin: () => paginateListSnapshotsInRecycleBin,\n paginateSearchLocalGatewayRoutes: () => paginateSearchLocalGatewayRoutes,\n paginateSearchTransitGatewayMulticastGroups: () => paginateSearchTransitGatewayMulticastGroups,\n waitForBundleTaskComplete: () => waitForBundleTaskComplete,\n waitForConversionTaskCancelled: () => waitForConversionTaskCancelled,\n waitForConversionTaskCompleted: () => waitForConversionTaskCompleted,\n waitForConversionTaskDeleted: () => waitForConversionTaskDeleted,\n waitForCustomerGatewayAvailable: () => waitForCustomerGatewayAvailable,\n waitForExportTaskCancelled: () => waitForExportTaskCancelled,\n waitForExportTaskCompleted: () => waitForExportTaskCompleted,\n waitForImageAvailable: () => waitForImageAvailable,\n waitForImageExists: () => waitForImageExists,\n waitForInstanceExists: () => waitForInstanceExists,\n waitForInstanceRunning: () => waitForInstanceRunning,\n waitForInstanceStatusOk: () => waitForInstanceStatusOk,\n waitForInstanceStopped: () => waitForInstanceStopped,\n waitForInstanceTerminated: () => waitForInstanceTerminated,\n waitForInternetGatewayExists: () => waitForInternetGatewayExists,\n waitForKeyPairExists: () => waitForKeyPairExists,\n waitForNatGatewayAvailable: () => waitForNatGatewayAvailable,\n waitForNatGatewayDeleted: () => waitForNatGatewayDeleted,\n waitForNetworkInterfaceAvailable: () => waitForNetworkInterfaceAvailable,\n waitForPasswordDataAvailable: () => waitForPasswordDataAvailable,\n waitForSecurityGroupExists: () => waitForSecurityGroupExists,\n waitForSnapshotCompleted: () => waitForSnapshotCompleted,\n waitForSnapshotImported: () => waitForSnapshotImported,\n waitForSpotInstanceRequestFulfilled: () => waitForSpotInstanceRequestFulfilled,\n waitForStoreImageTaskComplete: () => waitForStoreImageTaskComplete,\n waitForSubnetAvailable: () => waitForSubnetAvailable,\n waitForSystemStatusOk: () => waitForSystemStatusOk,\n waitForVolumeAvailable: () => waitForVolumeAvailable,\n waitForVolumeDeleted: () => waitForVolumeDeleted,\n waitForVolumeInUse: () => waitForVolumeInUse,\n waitForVpcAvailable: () => waitForVpcAvailable,\n waitForVpcExists: () => waitForVpcExists,\n waitForVpcPeeringConnectionDeleted: () => waitForVpcPeeringConnectionDeleted,\n waitForVpcPeeringConnectionExists: () => waitForVpcPeeringConnectionExists,\n waitForVpnConnectionAvailable: () => waitForVpnConnectionAvailable,\n waitForVpnConnectionDeleted: () => waitForVpnConnectionDeleted,\n waitUntilBundleTaskComplete: () => waitUntilBundleTaskComplete,\n waitUntilConversionTaskCancelled: () => waitUntilConversionTaskCancelled,\n waitUntilConversionTaskCompleted: () => waitUntilConversionTaskCompleted,\n waitUntilConversionTaskDeleted: () => waitUntilConversionTaskDeleted,\n waitUntilCustomerGatewayAvailable: () => waitUntilCustomerGatewayAvailable,\n waitUntilExportTaskCancelled: () => waitUntilExportTaskCancelled,\n waitUntilExportTaskCompleted: () => waitUntilExportTaskCompleted,\n waitUntilImageAvailable: () => waitUntilImageAvailable,\n waitUntilImageExists: () => waitUntilImageExists,\n waitUntilInstanceExists: () => waitUntilInstanceExists,\n waitUntilInstanceRunning: () => waitUntilInstanceRunning,\n waitUntilInstanceStatusOk: () => waitUntilInstanceStatusOk,\n waitUntilInstanceStopped: () => waitUntilInstanceStopped,\n waitUntilInstanceTerminated: () => waitUntilInstanceTerminated,\n waitUntilInternetGatewayExists: () => waitUntilInternetGatewayExists,\n waitUntilKeyPairExists: () => waitUntilKeyPairExists,\n waitUntilNatGatewayAvailable: () => waitUntilNatGatewayAvailable,\n waitUntilNatGatewayDeleted: () => waitUntilNatGatewayDeleted,\n waitUntilNetworkInterfaceAvailable: () => waitUntilNetworkInterfaceAvailable,\n waitUntilPasswordDataAvailable: () => waitUntilPasswordDataAvailable,\n waitUntilSecurityGroupExists: () => waitUntilSecurityGroupExists,\n waitUntilSnapshotCompleted: () => waitUntilSnapshotCompleted,\n waitUntilSnapshotImported: () => waitUntilSnapshotImported,\n waitUntilSpotInstanceRequestFulfilled: () => waitUntilSpotInstanceRequestFulfilled,\n waitUntilStoreImageTaskComplete: () => waitUntilStoreImageTaskComplete,\n waitUntilSubnetAvailable: () => waitUntilSubnetAvailable,\n waitUntilSystemStatusOk: () => waitUntilSystemStatusOk,\n waitUntilVolumeAvailable: () => waitUntilVolumeAvailable,\n waitUntilVolumeDeleted: () => waitUntilVolumeDeleted,\n waitUntilVolumeInUse: () => waitUntilVolumeInUse,\n waitUntilVpcAvailable: () => waitUntilVpcAvailable,\n waitUntilVpcExists: () => waitUntilVpcExists,\n waitUntilVpcPeeringConnectionDeleted: () => waitUntilVpcPeeringConnectionDeleted,\n waitUntilVpcPeeringConnectionExists: () => waitUntilVpcPeeringConnectionExists,\n waitUntilVpnConnectionAvailable: () => waitUntilVpnConnectionAvailable,\n waitUntilVpnConnectionDeleted: () => waitUntilVpnConnectionDeleted\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/EC2Client.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"ec2\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/EC2Client.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/EC2Client.ts\nvar EC2Client = class extends import_smithy_client.Client {\n static {\n __name(this, \"EC2Client\");\n }\n /**\n * The resolved configuration of EC2Client class. This is resolved and normalized from the {@link EC2ClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/EC2.ts\n\n\n// src/commands/AcceptAddressTransferCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_ec2.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar import_uuid = require(\"uuid\");\n\n// src/models/EC2ServiceException.ts\n\nvar EC2ServiceException = class _EC2ServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"EC2ServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _EC2ServiceException.prototype);\n }\n};\n\n// src/protocols/Aws_ec2.ts\nvar se_AcceptAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptAddressTransferRequest(input, context),\n [_A]: _AAT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptAddressTransferCommand\");\nvar se_AcceptCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptCapacityReservationBillingOwnershipRequest(input, context),\n [_A]: _ACRBO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptCapacityReservationBillingOwnershipCommand\");\nvar se_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptReservedInstancesExchangeQuoteRequest(input, context),\n [_A]: _ARIEQ,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptReservedInstancesExchangeQuoteCommand\");\nvar se_AcceptTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptTransitGatewayMulticastDomainAssociationsRequest(input, context),\n [_A]: _ATGMDA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptTransitGatewayMulticastDomainAssociationsCommand\");\nvar se_AcceptTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptTransitGatewayPeeringAttachmentRequest(input, context),\n [_A]: _ATGPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptTransitGatewayPeeringAttachmentCommand\");\nvar se_AcceptTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptTransitGatewayVpcAttachmentRequest(input, context),\n [_A]: _ATGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptTransitGatewayVpcAttachmentCommand\");\nvar se_AcceptVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptVpcEndpointConnectionsRequest(input, context),\n [_A]: _AVEC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptVpcEndpointConnectionsCommand\");\nvar se_AcceptVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AcceptVpcPeeringConnectionRequest(input, context),\n [_A]: _AVPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AcceptVpcPeeringConnectionCommand\");\nvar se_AdvertiseByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AdvertiseByoipCidrRequest(input, context),\n [_A]: _ABC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AdvertiseByoipCidrCommand\");\nvar se_AllocateAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AllocateAddressRequest(input, context),\n [_A]: _AA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AllocateAddressCommand\");\nvar se_AllocateHostsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AllocateHostsRequest(input, context),\n [_A]: _AH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AllocateHostsCommand\");\nvar se_AllocateIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AllocateIpamPoolCidrRequest(input, context),\n [_A]: _AIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AllocateIpamPoolCidrCommand\");\nvar se_ApplySecurityGroupsToClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ApplySecurityGroupsToClientVpnTargetNetworkRequest(input, context),\n [_A]: _ASGTCVTN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ApplySecurityGroupsToClientVpnTargetNetworkCommand\");\nvar se_AssignIpv6AddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssignIpv6AddressesRequest(input, context),\n [_A]: _AIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssignIpv6AddressesCommand\");\nvar se_AssignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssignPrivateIpAddressesRequest(input, context),\n [_A]: _APIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssignPrivateIpAddressesCommand\");\nvar se_AssignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssignPrivateNatGatewayAddressRequest(input, context),\n [_A]: _APNGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssignPrivateNatGatewayAddressCommand\");\nvar se_AssociateAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateAddressRequest(input, context),\n [_A]: _AAs,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateAddressCommand\");\nvar se_AssociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateCapacityReservationBillingOwnerRequest(input, context),\n [_A]: _ACRBOs,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateCapacityReservationBillingOwnerCommand\");\nvar se_AssociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateClientVpnTargetNetworkRequest(input, context),\n [_A]: _ACVTN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateClientVpnTargetNetworkCommand\");\nvar se_AssociateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateDhcpOptionsRequest(input, context),\n [_A]: _ADO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateDhcpOptionsCommand\");\nvar se_AssociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateEnclaveCertificateIamRoleRequest(input, context),\n [_A]: _AECIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateEnclaveCertificateIamRoleCommand\");\nvar se_AssociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateIamInstanceProfileRequest(input, context),\n [_A]: _AIIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateIamInstanceProfileCommand\");\nvar se_AssociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateInstanceEventWindowRequest(input, context),\n [_A]: _AIEW,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateInstanceEventWindowCommand\");\nvar se_AssociateIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateIpamByoasnRequest(input, context),\n [_A]: _AIB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateIpamByoasnCommand\");\nvar se_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateIpamResourceDiscoveryRequest(input, context),\n [_A]: _AIRD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateIpamResourceDiscoveryCommand\");\nvar se_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateNatGatewayAddressRequest(input, context),\n [_A]: _ANGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateNatGatewayAddressCommand\");\nvar se_AssociateRouteServerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateRouteServerRequest(input, context),\n [_A]: _ARS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateRouteServerCommand\");\nvar se_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateRouteTableRequest(input, context),\n [_A]: _ART,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateRouteTableCommand\");\nvar se_AssociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateSecurityGroupVpcRequest(input, context),\n [_A]: _ASGV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateSecurityGroupVpcCommand\");\nvar se_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateSubnetCidrBlockRequest(input, context),\n [_A]: _ASCB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateSubnetCidrBlockCommand\");\nvar se_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateTransitGatewayMulticastDomainRequest(input, context),\n [_A]: _ATGMD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateTransitGatewayMulticastDomainCommand\");\nvar se_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateTransitGatewayPolicyTableRequest(input, context),\n [_A]: _ATGPT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateTransitGatewayPolicyTableCommand\");\nvar se_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateTransitGatewayRouteTableRequest(input, context),\n [_A]: _ATGRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateTransitGatewayRouteTableCommand\");\nvar se_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateTrunkInterfaceRequest(input, context),\n [_A]: _ATI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateTrunkInterfaceCommand\");\nvar se_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssociateVpcCidrBlockRequest(input, context),\n [_A]: _AVCB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateVpcCidrBlockCommand\");\nvar se_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachClassicLinkVpcRequest(input, context),\n [_A]: _ACLV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachClassicLinkVpcCommand\");\nvar se_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachInternetGatewayRequest(input, context),\n [_A]: _AIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachInternetGatewayCommand\");\nvar se_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachNetworkInterfaceRequest(input, context),\n [_A]: _ANI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachNetworkInterfaceCommand\");\nvar se_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachVerifiedAccessTrustProviderRequest(input, context),\n [_A]: _AVATP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachVerifiedAccessTrustProviderCommand\");\nvar se_AttachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachVolumeRequest(input, context),\n [_A]: _AV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachVolumeCommand\");\nvar se_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AttachVpnGatewayRequest(input, context),\n [_A]: _AVG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AttachVpnGatewayCommand\");\nvar se_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AuthorizeClientVpnIngressRequest(input, context),\n [_A]: _ACVI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AuthorizeClientVpnIngressCommand\");\nvar se_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AuthorizeSecurityGroupEgressRequest(input, context),\n [_A]: _ASGE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AuthorizeSecurityGroupEgressCommand\");\nvar se_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AuthorizeSecurityGroupIngressRequest(input, context),\n [_A]: _ASGI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AuthorizeSecurityGroupIngressCommand\");\nvar se_BundleInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_BundleInstanceRequest(input, context),\n [_A]: _BI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BundleInstanceCommand\");\nvar se_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelBundleTaskRequest(input, context),\n [_A]: _CBT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelBundleTaskCommand\");\nvar se_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelCapacityReservationRequest(input, context),\n [_A]: _CCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelCapacityReservationCommand\");\nvar se_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelCapacityReservationFleetsRequest(input, context),\n [_A]: _CCRF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelCapacityReservationFleetsCommand\");\nvar se_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelConversionRequest(input, context),\n [_A]: _CCT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelConversionTaskCommand\");\nvar se_CancelDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelDeclarativePoliciesReportRequest(input, context),\n [_A]: _CDPR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelDeclarativePoliciesReportCommand\");\nvar se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelExportTaskRequest(input, context),\n [_A]: _CET,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelExportTaskCommand\");\nvar se_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelImageLaunchPermissionRequest(input, context),\n [_A]: _CILP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelImageLaunchPermissionCommand\");\nvar se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelImportTaskRequest(input, context),\n [_A]: _CIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelImportTaskCommand\");\nvar se_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelReservedInstancesListingRequest(input, context),\n [_A]: _CRIL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelReservedInstancesListingCommand\");\nvar se_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelSpotFleetRequestsRequest(input, context),\n [_A]: _CSFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelSpotFleetRequestsCommand\");\nvar se_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CancelSpotInstanceRequestsRequest(input, context),\n [_A]: _CSIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelSpotInstanceRequestsCommand\");\nvar se_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ConfirmProductInstanceRequest(input, context),\n [_A]: _CPI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ConfirmProductInstanceCommand\");\nvar se_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CopyFpgaImageRequest(input, context),\n [_A]: _CFI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CopyFpgaImageCommand\");\nvar se_CopyImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CopyImageRequest(input, context),\n [_A]: _CI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CopyImageCommand\");\nvar se_CopySnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CopySnapshotRequest(input, context),\n [_A]: _CS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CopySnapshotCommand\");\nvar se_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCapacityReservationRequest(input, context),\n [_A]: _CCRr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCapacityReservationCommand\");\nvar se_CreateCapacityReservationBySplittingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCapacityReservationBySplittingRequest(input, context),\n [_A]: _CCRBS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCapacityReservationBySplittingCommand\");\nvar se_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCapacityReservationFleetRequest(input, context),\n [_A]: _CCRFr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCapacityReservationFleetCommand\");\nvar se_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCarrierGatewayRequest(input, context),\n [_A]: _CCG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCarrierGatewayCommand\");\nvar se_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateClientVpnEndpointRequest(input, context),\n [_A]: _CCVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateClientVpnEndpointCommand\");\nvar se_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateClientVpnRouteRequest(input, context),\n [_A]: _CCVR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateClientVpnRouteCommand\");\nvar se_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCoipCidrRequest(input, context),\n [_A]: _CCC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCoipCidrCommand\");\nvar se_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCoipPoolRequest(input, context),\n [_A]: _CCP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCoipPoolCommand\");\nvar se_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateCustomerGatewayRequest(input, context),\n [_A]: _CCGr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateCustomerGatewayCommand\");\nvar se_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateDefaultSubnetRequest(input, context),\n [_A]: _CDS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateDefaultSubnetCommand\");\nvar se_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateDefaultVpcRequest(input, context),\n [_A]: _CDV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateDefaultVpcCommand\");\nvar se_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateDhcpOptionsRequest(input, context),\n [_A]: _CDO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateDhcpOptionsCommand\");\nvar se_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateEgressOnlyInternetGatewayRequest(input, context),\n [_A]: _CEOIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateEgressOnlyInternetGatewayCommand\");\nvar se_CreateFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateFleetRequest(input, context),\n [_A]: _CF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateFleetCommand\");\nvar se_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateFlowLogsRequest(input, context),\n [_A]: _CFL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateFlowLogsCommand\");\nvar se_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateFpgaImageRequest(input, context),\n [_A]: _CFIr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateFpgaImageCommand\");\nvar se_CreateImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateImageRequest(input, context),\n [_A]: _CIr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateImageCommand\");\nvar se_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateInstanceConnectEndpointRequest(input, context),\n [_A]: _CICE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateInstanceConnectEndpointCommand\");\nvar se_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateInstanceEventWindowRequest(input, context),\n [_A]: _CIEW,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateInstanceEventWindowCommand\");\nvar se_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateInstanceExportTaskRequest(input, context),\n [_A]: _CIET,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateInstanceExportTaskCommand\");\nvar se_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateInternetGatewayRequest(input, context),\n [_A]: _CIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateInternetGatewayCommand\");\nvar se_CreateIpamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateIpamRequest(input, context),\n [_A]: _CIre,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIpamCommand\");\nvar se_CreateIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateIpamExternalResourceVerificationTokenRequest(input, context),\n [_A]: _CIERVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIpamExternalResourceVerificationTokenCommand\");\nvar se_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateIpamPoolRequest(input, context),\n [_A]: _CIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIpamPoolCommand\");\nvar se_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateIpamResourceDiscoveryRequest(input, context),\n [_A]: _CIRD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIpamResourceDiscoveryCommand\");\nvar se_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateIpamScopeRequest(input, context),\n [_A]: _CIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateIpamScopeCommand\");\nvar se_CreateKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateKeyPairRequest(input, context),\n [_A]: _CKP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateKeyPairCommand\");\nvar se_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLaunchTemplateRequest(input, context),\n [_A]: _CLT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLaunchTemplateCommand\");\nvar se_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLaunchTemplateVersionRequest(input, context),\n [_A]: _CLTV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLaunchTemplateVersionCommand\");\nvar se_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayRouteRequest(input, context),\n [_A]: _CLGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayRouteCommand\");\nvar se_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayRouteTableRequest(input, context),\n [_A]: _CLGRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayRouteTableCommand\");\nvar se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context),\n [_A]: _CLGRTVIGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\nvar se_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayRouteTableVpcAssociationRequest(input, context),\n [_A]: _CLGRTVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayRouteTableVpcAssociationCommand\");\nvar se_CreateLocalGatewayVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayVirtualInterfaceRequest(input, context),\n [_A]: _CLGVI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayVirtualInterfaceCommand\");\nvar se_CreateLocalGatewayVirtualInterfaceGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateLocalGatewayVirtualInterfaceGroupRequest(input, context),\n [_A]: _CLGVIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateLocalGatewayVirtualInterfaceGroupCommand\");\nvar se_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateManagedPrefixListRequest(input, context),\n [_A]: _CMPL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateManagedPrefixListCommand\");\nvar se_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNatGatewayRequest(input, context),\n [_A]: _CNG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNatGatewayCommand\");\nvar se_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkAclRequest(input, context),\n [_A]: _CNA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkAclCommand\");\nvar se_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkAclEntryRequest(input, context),\n [_A]: _CNAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkAclEntryCommand\");\nvar se_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkInsightsAccessScopeRequest(input, context),\n [_A]: _CNIAS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkInsightsAccessScopeCommand\");\nvar se_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkInsightsPathRequest(input, context),\n [_A]: _CNIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkInsightsPathCommand\");\nvar se_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkInterfaceRequest(input, context),\n [_A]: _CNI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkInterfaceCommand\");\nvar se_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateNetworkInterfacePermissionRequest(input, context),\n [_A]: _CNIPr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateNetworkInterfacePermissionCommand\");\nvar se_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreatePlacementGroupRequest(input, context),\n [_A]: _CPG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreatePlacementGroupCommand\");\nvar se_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreatePublicIpv4PoolRequest(input, context),\n [_A]: _CPIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreatePublicIpv4PoolCommand\");\nvar se_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateReplaceRootVolumeTaskRequest(input, context),\n [_A]: _CRRVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateReplaceRootVolumeTaskCommand\");\nvar se_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateReservedInstancesListingRequest(input, context),\n [_A]: _CRILr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateReservedInstancesListingCommand\");\nvar se_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRestoreImageTaskRequest(input, context),\n [_A]: _CRIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRestoreImageTaskCommand\");\nvar se_CreateRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRouteRequest(input, context),\n [_A]: _CR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRouteCommand\");\nvar se_CreateRouteServerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRouteServerRequest(input, context),\n [_A]: _CRS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRouteServerCommand\");\nvar se_CreateRouteServerEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRouteServerEndpointRequest(input, context),\n [_A]: _CRSE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRouteServerEndpointCommand\");\nvar se_CreateRouteServerPeerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRouteServerPeerRequest(input, context),\n [_A]: _CRSP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRouteServerPeerCommand\");\nvar se_CreateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateRouteTableRequest(input, context),\n [_A]: _CRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRouteTableCommand\");\nvar se_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSecurityGroupRequest(input, context),\n [_A]: _CSG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSecurityGroupCommand\");\nvar se_CreateSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSnapshotRequest(input, context),\n [_A]: _CSr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSnapshotCommand\");\nvar se_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSnapshotsRequest(input, context),\n [_A]: _CSre,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSnapshotsCommand\");\nvar se_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSpotDatafeedSubscriptionRequest(input, context),\n [_A]: _CSDS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSpotDatafeedSubscriptionCommand\");\nvar se_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateStoreImageTaskRequest(input, context),\n [_A]: _CSIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateStoreImageTaskCommand\");\nvar se_CreateSubnetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSubnetRequest(input, context),\n [_A]: _CSrea,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSubnetCommand\");\nvar se_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateSubnetCidrReservationRequest(input, context),\n [_A]: _CSCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSubnetCidrReservationCommand\");\nvar se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTagsRequest(input, context),\n [_A]: _CT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTagsCommand\");\nvar se_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTrafficMirrorFilterRequest(input, context),\n [_A]: _CTMF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTrafficMirrorFilterCommand\");\nvar se_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTrafficMirrorFilterRuleRequest(input, context),\n [_A]: _CTMFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTrafficMirrorFilterRuleCommand\");\nvar se_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTrafficMirrorSessionRequest(input, context),\n [_A]: _CTMS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTrafficMirrorSessionCommand\");\nvar se_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTrafficMirrorTargetRequest(input, context),\n [_A]: _CTMT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTrafficMirrorTargetCommand\");\nvar se_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayRequest(input, context),\n [_A]: _CTG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayCommand\");\nvar se_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayConnectRequest(input, context),\n [_A]: _CTGC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayConnectCommand\");\nvar se_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayConnectPeerRequest(input, context),\n [_A]: _CTGCP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayConnectPeerCommand\");\nvar se_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayMulticastDomainRequest(input, context),\n [_A]: _CTGMD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayMulticastDomainCommand\");\nvar se_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayPeeringAttachmentRequest(input, context),\n [_A]: _CTGPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayPeeringAttachmentCommand\");\nvar se_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayPolicyTableRequest(input, context),\n [_A]: _CTGPT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayPolicyTableCommand\");\nvar se_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayPrefixListReferenceRequest(input, context),\n [_A]: _CTGPLR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayPrefixListReferenceCommand\");\nvar se_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayRouteRequest(input, context),\n [_A]: _CTGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayRouteCommand\");\nvar se_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayRouteTableRequest(input, context),\n [_A]: _CTGRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayRouteTableCommand\");\nvar se_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayRouteTableAnnouncementRequest(input, context),\n [_A]: _CTGRTA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayRouteTableAnnouncementCommand\");\nvar se_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateTransitGatewayVpcAttachmentRequest(input, context),\n [_A]: _CTGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateTransitGatewayVpcAttachmentCommand\");\nvar se_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVerifiedAccessEndpointRequest(input, context),\n [_A]: _CVAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVerifiedAccessEndpointCommand\");\nvar se_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVerifiedAccessGroupRequest(input, context),\n [_A]: _CVAG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVerifiedAccessGroupCommand\");\nvar se_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVerifiedAccessInstanceRequest(input, context),\n [_A]: _CVAI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVerifiedAccessInstanceCommand\");\nvar se_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVerifiedAccessTrustProviderRequest(input, context),\n [_A]: _CVATP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVerifiedAccessTrustProviderCommand\");\nvar se_CreateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVolumeRequest(input, context),\n [_A]: _CV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVolumeCommand\");\nvar se_CreateVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcRequest(input, context),\n [_A]: _CVr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcCommand\");\nvar se_CreateVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcBlockPublicAccessExclusionRequest(input, context),\n [_A]: _CVBPAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcBlockPublicAccessExclusionCommand\");\nvar se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcEndpointRequest(input, context),\n [_A]: _CVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcEndpointCommand\");\nvar se_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcEndpointConnectionNotificationRequest(input, context),\n [_A]: _CVECN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcEndpointConnectionNotificationCommand\");\nvar se_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcEndpointServiceConfigurationRequest(input, context),\n [_A]: _CVESC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcEndpointServiceConfigurationCommand\");\nvar se_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpcPeeringConnectionRequest(input, context),\n [_A]: _CVPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpcPeeringConnectionCommand\");\nvar se_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpnConnectionRequest(input, context),\n [_A]: _CVC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpnConnectionCommand\");\nvar se_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpnConnectionRouteRequest(input, context),\n [_A]: _CVCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpnConnectionRouteCommand\");\nvar se_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_CreateVpnGatewayRequest(input, context),\n [_A]: _CVG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateVpnGatewayCommand\");\nvar se_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteCarrierGatewayRequest(input, context),\n [_A]: _DCG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteCarrierGatewayCommand\");\nvar se_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteClientVpnEndpointRequest(input, context),\n [_A]: _DCVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteClientVpnEndpointCommand\");\nvar se_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteClientVpnRouteRequest(input, context),\n [_A]: _DCVR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteClientVpnRouteCommand\");\nvar se_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteCoipCidrRequest(input, context),\n [_A]: _DCC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteCoipCidrCommand\");\nvar se_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteCoipPoolRequest(input, context),\n [_A]: _DCP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteCoipPoolCommand\");\nvar se_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteCustomerGatewayRequest(input, context),\n [_A]: _DCGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteCustomerGatewayCommand\");\nvar se_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteDhcpOptionsRequest(input, context),\n [_A]: _DDO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDhcpOptionsCommand\");\nvar se_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteEgressOnlyInternetGatewayRequest(input, context),\n [_A]: _DEOIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteEgressOnlyInternetGatewayCommand\");\nvar se_DeleteFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteFleetsRequest(input, context),\n [_A]: _DF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteFleetsCommand\");\nvar se_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteFlowLogsRequest(input, context),\n [_A]: _DFL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteFlowLogsCommand\");\nvar se_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteFpgaImageRequest(input, context),\n [_A]: _DFI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteFpgaImageCommand\");\nvar se_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteInstanceConnectEndpointRequest(input, context),\n [_A]: _DICE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteInstanceConnectEndpointCommand\");\nvar se_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteInstanceEventWindowRequest(input, context),\n [_A]: _DIEW,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteInstanceEventWindowCommand\");\nvar se_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteInternetGatewayRequest(input, context),\n [_A]: _DIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteInternetGatewayCommand\");\nvar se_DeleteIpamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteIpamRequest(input, context),\n [_A]: _DI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIpamCommand\");\nvar se_DeleteIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteIpamExternalResourceVerificationTokenRequest(input, context),\n [_A]: _DIERVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIpamExternalResourceVerificationTokenCommand\");\nvar se_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteIpamPoolRequest(input, context),\n [_A]: _DIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIpamPoolCommand\");\nvar se_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteIpamResourceDiscoveryRequest(input, context),\n [_A]: _DIRD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIpamResourceDiscoveryCommand\");\nvar se_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteIpamScopeRequest(input, context),\n [_A]: _DIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteIpamScopeCommand\");\nvar se_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteKeyPairRequest(input, context),\n [_A]: _DKP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteKeyPairCommand\");\nvar se_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLaunchTemplateRequest(input, context),\n [_A]: _DLT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLaunchTemplateCommand\");\nvar se_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLaunchTemplateVersionsRequest(input, context),\n [_A]: _DLTV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLaunchTemplateVersionsCommand\");\nvar se_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayRouteRequest(input, context),\n [_A]: _DLGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayRouteCommand\");\nvar se_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayRouteTableRequest(input, context),\n [_A]: _DLGRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayRouteTableCommand\");\nvar se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context),\n [_A]: _DLGRTVIGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\nvar se_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayRouteTableVpcAssociationRequest(input, context),\n [_A]: _DLGRTVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayRouteTableVpcAssociationCommand\");\nvar se_DeleteLocalGatewayVirtualInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayVirtualInterfaceRequest(input, context),\n [_A]: _DLGVI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayVirtualInterfaceCommand\");\nvar se_DeleteLocalGatewayVirtualInterfaceGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteLocalGatewayVirtualInterfaceGroupRequest(input, context),\n [_A]: _DLGVIG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLocalGatewayVirtualInterfaceGroupCommand\");\nvar se_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteManagedPrefixListRequest(input, context),\n [_A]: _DMPL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteManagedPrefixListCommand\");\nvar se_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNatGatewayRequest(input, context),\n [_A]: _DNG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNatGatewayCommand\");\nvar se_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkAclRequest(input, context),\n [_A]: _DNA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkAclCommand\");\nvar se_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkAclEntryRequest(input, context),\n [_A]: _DNAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkAclEntryCommand\");\nvar se_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInsightsAccessScopeRequest(input, context),\n [_A]: _DNIAS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInsightsAccessScopeCommand\");\nvar se_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInsightsAccessScopeAnalysisRequest(input, context),\n [_A]: _DNIASA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInsightsAccessScopeAnalysisCommand\");\nvar se_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInsightsAnalysisRequest(input, context),\n [_A]: _DNIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInsightsAnalysisCommand\");\nvar se_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInsightsPathRequest(input, context),\n [_A]: _DNIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInsightsPathCommand\");\nvar se_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInterfaceRequest(input, context),\n [_A]: _DNI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInterfaceCommand\");\nvar se_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteNetworkInterfacePermissionRequest(input, context),\n [_A]: _DNIPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteNetworkInterfacePermissionCommand\");\nvar se_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeletePlacementGroupRequest(input, context),\n [_A]: _DPG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeletePlacementGroupCommand\");\nvar se_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeletePublicIpv4PoolRequest(input, context),\n [_A]: _DPIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeletePublicIpv4PoolCommand\");\nvar se_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteQueuedReservedInstancesRequest(input, context),\n [_A]: _DQRI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteQueuedReservedInstancesCommand\");\nvar se_DeleteRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteRouteRequest(input, context),\n [_A]: _DR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRouteCommand\");\nvar se_DeleteRouteServerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteRouteServerRequest(input, context),\n [_A]: _DRS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRouteServerCommand\");\nvar se_DeleteRouteServerEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteRouteServerEndpointRequest(input, context),\n [_A]: _DRSE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRouteServerEndpointCommand\");\nvar se_DeleteRouteServerPeerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteRouteServerPeerRequest(input, context),\n [_A]: _DRSP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRouteServerPeerCommand\");\nvar se_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteRouteTableRequest(input, context),\n [_A]: _DRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRouteTableCommand\");\nvar se_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteSecurityGroupRequest(input, context),\n [_A]: _DSG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSecurityGroupCommand\");\nvar se_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteSnapshotRequest(input, context),\n [_A]: _DS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSnapshotCommand\");\nvar se_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteSpotDatafeedSubscriptionRequest(input, context),\n [_A]: _DSDS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSpotDatafeedSubscriptionCommand\");\nvar se_DeleteSubnetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteSubnetRequest(input, context),\n [_A]: _DSe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSubnetCommand\");\nvar se_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteSubnetCidrReservationRequest(input, context),\n [_A]: _DSCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSubnetCidrReservationCommand\");\nvar se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTagsRequest(input, context),\n [_A]: _DT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTagsCommand\");\nvar se_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTrafficMirrorFilterRequest(input, context),\n [_A]: _DTMF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTrafficMirrorFilterCommand\");\nvar se_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTrafficMirrorFilterRuleRequest(input, context),\n [_A]: _DTMFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTrafficMirrorFilterRuleCommand\");\nvar se_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTrafficMirrorSessionRequest(input, context),\n [_A]: _DTMS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTrafficMirrorSessionCommand\");\nvar se_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTrafficMirrorTargetRequest(input, context),\n [_A]: _DTMT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTrafficMirrorTargetCommand\");\nvar se_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayRequest(input, context),\n [_A]: _DTG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayCommand\");\nvar se_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayConnectRequest(input, context),\n [_A]: _DTGC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayConnectCommand\");\nvar se_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayConnectPeerRequest(input, context),\n [_A]: _DTGCP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayConnectPeerCommand\");\nvar se_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayMulticastDomainRequest(input, context),\n [_A]: _DTGMD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayMulticastDomainCommand\");\nvar se_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayPeeringAttachmentRequest(input, context),\n [_A]: _DTGPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayPeeringAttachmentCommand\");\nvar se_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayPolicyTableRequest(input, context),\n [_A]: _DTGPT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayPolicyTableCommand\");\nvar se_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayPrefixListReferenceRequest(input, context),\n [_A]: _DTGPLR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayPrefixListReferenceCommand\");\nvar se_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayRouteRequest(input, context),\n [_A]: _DTGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayRouteCommand\");\nvar se_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayRouteTableRequest(input, context),\n [_A]: _DTGRT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayRouteTableCommand\");\nvar se_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayRouteTableAnnouncementRequest(input, context),\n [_A]: _DTGRTA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayRouteTableAnnouncementCommand\");\nvar se_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteTransitGatewayVpcAttachmentRequest(input, context),\n [_A]: _DTGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteTransitGatewayVpcAttachmentCommand\");\nvar se_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVerifiedAccessEndpointRequest(input, context),\n [_A]: _DVAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVerifiedAccessEndpointCommand\");\nvar se_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVerifiedAccessGroupRequest(input, context),\n [_A]: _DVAG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVerifiedAccessGroupCommand\");\nvar se_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVerifiedAccessInstanceRequest(input, context),\n [_A]: _DVAI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVerifiedAccessInstanceCommand\");\nvar se_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVerifiedAccessTrustProviderRequest(input, context),\n [_A]: _DVATP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVerifiedAccessTrustProviderCommand\");\nvar se_DeleteVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVolumeRequest(input, context),\n [_A]: _DV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVolumeCommand\");\nvar se_DeleteVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcRequest(input, context),\n [_A]: _DVe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcCommand\");\nvar se_DeleteVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcBlockPublicAccessExclusionRequest(input, context),\n [_A]: _DVBPAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcBlockPublicAccessExclusionCommand\");\nvar se_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcEndpointConnectionNotificationsRequest(input, context),\n [_A]: _DVECN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcEndpointConnectionNotificationsCommand\");\nvar se_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcEndpointsRequest(input, context),\n [_A]: _DVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcEndpointsCommand\");\nvar se_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcEndpointServiceConfigurationsRequest(input, context),\n [_A]: _DVESC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcEndpointServiceConfigurationsCommand\");\nvar se_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpcPeeringConnectionRequest(input, context),\n [_A]: _DVPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpcPeeringConnectionCommand\");\nvar se_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpnConnectionRequest(input, context),\n [_A]: _DVC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpnConnectionCommand\");\nvar se_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpnConnectionRouteRequest(input, context),\n [_A]: _DVCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpnConnectionRouteCommand\");\nvar se_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeleteVpnGatewayRequest(input, context),\n [_A]: _DVG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteVpnGatewayCommand\");\nvar se_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeprovisionByoipCidrRequest(input, context),\n [_A]: _DBC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeprovisionByoipCidrCommand\");\nvar se_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeprovisionIpamByoasnRequest(input, context),\n [_A]: _DIB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeprovisionIpamByoasnCommand\");\nvar se_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeprovisionIpamPoolCidrRequest(input, context),\n [_A]: _DIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeprovisionIpamPoolCidrCommand\");\nvar se_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeprovisionPublicIpv4PoolCidrRequest(input, context),\n [_A]: _DPIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeprovisionPublicIpv4PoolCidrCommand\");\nvar se_DeregisterImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeregisterImageRequest(input, context),\n [_A]: _DIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterImageCommand\");\nvar se_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeregisterInstanceEventNotificationAttributesRequest(input, context),\n [_A]: _DIENA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterInstanceEventNotificationAttributesCommand\");\nvar se_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeregisterTransitGatewayMulticastGroupMembersRequest(input, context),\n [_A]: _DTGMGM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterTransitGatewayMulticastGroupMembersCommand\");\nvar se_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DeregisterTransitGatewayMulticastGroupSourcesRequest(input, context),\n [_A]: _DTGMGS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterTransitGatewayMulticastGroupSourcesCommand\");\nvar se_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAccountAttributesRequest(input, context),\n [_A]: _DAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAccountAttributesCommand\");\nvar se_DescribeAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAddressesRequest(input, context),\n [_A]: _DA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAddressesCommand\");\nvar se_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAddressesAttributeRequest(input, context),\n [_A]: _DAAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAddressesAttributeCommand\");\nvar se_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAddressTransfersRequest(input, context),\n [_A]: _DAT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAddressTransfersCommand\");\nvar se_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAggregateIdFormatRequest(input, context),\n [_A]: _DAIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAggregateIdFormatCommand\");\nvar se_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAvailabilityZonesRequest(input, context),\n [_A]: _DAZ,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAvailabilityZonesCommand\");\nvar se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input, context),\n [_A]: _DANPMS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand\");\nvar se_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeBundleTasksRequest(input, context),\n [_A]: _DBT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeBundleTasksCommand\");\nvar se_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeByoipCidrsRequest(input, context),\n [_A]: _DBCe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeByoipCidrsCommand\");\nvar se_DescribeCapacityBlockExtensionHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityBlockExtensionHistoryRequest(input, context),\n [_A]: _DCBEH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityBlockExtensionHistoryCommand\");\nvar se_DescribeCapacityBlockExtensionOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityBlockExtensionOfferingsRequest(input, context),\n [_A]: _DCBEO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityBlockExtensionOfferingsCommand\");\nvar se_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityBlockOfferingsRequest(input, context),\n [_A]: _DCBO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityBlockOfferingsCommand\");\nvar se_DescribeCapacityReservationBillingRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityReservationBillingRequestsRequest(input, context),\n [_A]: _DCRBR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityReservationBillingRequestsCommand\");\nvar se_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityReservationFleetsRequest(input, context),\n [_A]: _DCRF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityReservationFleetsCommand\");\nvar se_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCapacityReservationsRequest(input, context),\n [_A]: _DCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCapacityReservationsCommand\");\nvar se_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCarrierGatewaysRequest(input, context),\n [_A]: _DCGes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCarrierGatewaysCommand\");\nvar se_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClassicLinkInstancesRequest(input, context),\n [_A]: _DCLI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClassicLinkInstancesCommand\");\nvar se_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClientVpnAuthorizationRulesRequest(input, context),\n [_A]: _DCVAR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClientVpnAuthorizationRulesCommand\");\nvar se_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClientVpnConnectionsRequest(input, context),\n [_A]: _DCVC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClientVpnConnectionsCommand\");\nvar se_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClientVpnEndpointsRequest(input, context),\n [_A]: _DCVEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClientVpnEndpointsCommand\");\nvar se_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClientVpnRoutesRequest(input, context),\n [_A]: _DCVRe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClientVpnRoutesCommand\");\nvar se_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeClientVpnTargetNetworksRequest(input, context),\n [_A]: _DCVTN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeClientVpnTargetNetworksCommand\");\nvar se_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCoipPoolsRequest(input, context),\n [_A]: _DCPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCoipPoolsCommand\");\nvar se_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeConversionTasksRequest(input, context),\n [_A]: _DCT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeConversionTasksCommand\");\nvar se_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeCustomerGatewaysRequest(input, context),\n [_A]: _DCGesc,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeCustomerGatewaysCommand\");\nvar se_DescribeDeclarativePoliciesReportsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeDeclarativePoliciesReportsRequest(input, context),\n [_A]: _DDPR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDeclarativePoliciesReportsCommand\");\nvar se_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeDhcpOptionsRequest(input, context),\n [_A]: _DDOe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDhcpOptionsCommand\");\nvar se_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeEgressOnlyInternetGatewaysRequest(input, context),\n [_A]: _DEOIGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeEgressOnlyInternetGatewaysCommand\");\nvar se_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeElasticGpusRequest(input, context),\n [_A]: _DEG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeElasticGpusCommand\");\nvar se_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeExportImageTasksRequest(input, context),\n [_A]: _DEIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeExportImageTasksCommand\");\nvar se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeExportTasksRequest(input, context),\n [_A]: _DET,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeExportTasksCommand\");\nvar se_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFastLaunchImagesRequest(input, context),\n [_A]: _DFLI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFastLaunchImagesCommand\");\nvar se_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFastSnapshotRestoresRequest(input, context),\n [_A]: _DFSR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFastSnapshotRestoresCommand\");\nvar se_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFleetHistoryRequest(input, context),\n [_A]: _DFH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFleetHistoryCommand\");\nvar se_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFleetInstancesRequest(input, context),\n [_A]: _DFIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFleetInstancesCommand\");\nvar se_DescribeFleetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFleetsRequest(input, context),\n [_A]: _DFe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFleetsCommand\");\nvar se_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFlowLogsRequest(input, context),\n [_A]: _DFLe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFlowLogsCommand\");\nvar se_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFpgaImageAttributeRequest(input, context),\n [_A]: _DFIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFpgaImageAttributeCommand\");\nvar se_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeFpgaImagesRequest(input, context),\n [_A]: _DFIes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeFpgaImagesCommand\");\nvar se_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeHostReservationOfferingsRequest(input, context),\n [_A]: _DHRO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeHostReservationOfferingsCommand\");\nvar se_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeHostReservationsRequest(input, context),\n [_A]: _DHR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeHostReservationsCommand\");\nvar se_DescribeHostsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeHostsRequest(input, context),\n [_A]: _DH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeHostsCommand\");\nvar se_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIamInstanceProfileAssociationsRequest(input, context),\n [_A]: _DIIPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIamInstanceProfileAssociationsCommand\");\nvar se_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIdentityIdFormatRequest(input, context),\n [_A]: _DIIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIdentityIdFormatCommand\");\nvar se_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIdFormatRequest(input, context),\n [_A]: _DIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIdFormatCommand\");\nvar se_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeImageAttributeRequest(input, context),\n [_A]: _DIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImageAttributeCommand\");\nvar se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeImagesRequest(input, context),\n [_A]: _DIes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImagesCommand\");\nvar se_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeImportImageTasksRequest(input, context),\n [_A]: _DIIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImportImageTasksCommand\");\nvar se_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeImportSnapshotTasksRequest(input, context),\n [_A]: _DIST,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImportSnapshotTasksCommand\");\nvar se_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceAttributeRequest(input, context),\n [_A]: _DIAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceAttributeCommand\");\nvar se_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceConnectEndpointsRequest(input, context),\n [_A]: _DICEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceConnectEndpointsCommand\");\nvar se_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceCreditSpecificationsRequest(input, context),\n [_A]: _DICS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceCreditSpecificationsCommand\");\nvar se_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceEventNotificationAttributesRequest(input, context),\n [_A]: _DIENAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceEventNotificationAttributesCommand\");\nvar se_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceEventWindowsRequest(input, context),\n [_A]: _DIEWe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceEventWindowsCommand\");\nvar se_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceImageMetadataRequest(input, context),\n [_A]: _DIIM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceImageMetadataCommand\");\nvar se_DescribeInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstancesRequest(input, context),\n [_A]: _DIesc,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstancesCommand\");\nvar se_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceStatusRequest(input, context),\n [_A]: _DISe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceStatusCommand\");\nvar se_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceTopologyRequest(input, context),\n [_A]: _DIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceTopologyCommand\");\nvar se_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceTypeOfferingsRequest(input, context),\n [_A]: _DITO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceTypeOfferingsCommand\");\nvar se_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInstanceTypesRequest(input, context),\n [_A]: _DITe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceTypesCommand\");\nvar se_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeInternetGatewaysRequest(input, context),\n [_A]: _DIGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInternetGatewaysCommand\");\nvar se_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamByoasnRequest(input, context),\n [_A]: _DIBe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamByoasnCommand\");\nvar se_DescribeIpamExternalResourceVerificationTokensCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamExternalResourceVerificationTokensRequest(input, context),\n [_A]: _DIERVTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamExternalResourceVerificationTokensCommand\");\nvar se_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamPoolsRequest(input, context),\n [_A]: _DIPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamPoolsCommand\");\nvar se_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamResourceDiscoveriesRequest(input, context),\n [_A]: _DIRDe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamResourceDiscoveriesCommand\");\nvar se_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamResourceDiscoveryAssociationsRequest(input, context),\n [_A]: _DIRDA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamResourceDiscoveryAssociationsCommand\");\nvar se_DescribeIpamsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamsRequest(input, context),\n [_A]: _DIescr,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamsCommand\");\nvar se_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpamScopesRequest(input, context),\n [_A]: _DISes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpamScopesCommand\");\nvar se_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeIpv6PoolsRequest(input, context),\n [_A]: _DIPes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeIpv6PoolsCommand\");\nvar se_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeKeyPairsRequest(input, context),\n [_A]: _DKPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeKeyPairsCommand\");\nvar se_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLaunchTemplatesRequest(input, context),\n [_A]: _DLTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLaunchTemplatesCommand\");\nvar se_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLaunchTemplateVersionsRequest(input, context),\n [_A]: _DLTVe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLaunchTemplateVersionsCommand\");\nvar se_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewayRouteTablesRequest(input, context),\n [_A]: _DLGRTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewayRouteTablesCommand\");\nvar se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(input, context),\n [_A]: _DLGRTVIGAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand\");\nvar se_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewayRouteTableVpcAssociationsRequest(input, context),\n [_A]: _DLGRTVAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewayRouteTableVpcAssociationsCommand\");\nvar se_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewaysRequest(input, context),\n [_A]: _DLG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewaysCommand\");\nvar se_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewayVirtualInterfaceGroupsRequest(input, context),\n [_A]: _DLGVIGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewayVirtualInterfaceGroupsCommand\");\nvar se_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLocalGatewayVirtualInterfacesRequest(input, context),\n [_A]: _DLGVIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLocalGatewayVirtualInterfacesCommand\");\nvar se_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeLockedSnapshotsRequest(input, context),\n [_A]: _DLS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeLockedSnapshotsCommand\");\nvar se_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeMacHostsRequest(input, context),\n [_A]: _DMH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMacHostsCommand\");\nvar se_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeManagedPrefixListsRequest(input, context),\n [_A]: _DMPLe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeManagedPrefixListsCommand\");\nvar se_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeMovingAddressesRequest(input, context),\n [_A]: _DMA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMovingAddressesCommand\");\nvar se_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNatGatewaysRequest(input, context),\n [_A]: _DNGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNatGatewaysCommand\");\nvar se_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkAclsRequest(input, context),\n [_A]: _DNAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkAclsCommand\");\nvar se_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInsightsAccessScopeAnalysesRequest(input, context),\n [_A]: _DNIASAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInsightsAccessScopeAnalysesCommand\");\nvar se_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInsightsAccessScopesRequest(input, context),\n [_A]: _DNIASe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInsightsAccessScopesCommand\");\nvar se_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInsightsAnalysesRequest(input, context),\n [_A]: _DNIAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInsightsAnalysesCommand\");\nvar se_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInsightsPathsRequest(input, context),\n [_A]: _DNIPes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInsightsPathsCommand\");\nvar se_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInterfaceAttributeRequest(input, context),\n [_A]: _DNIAes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInterfaceAttributeCommand\");\nvar se_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInterfacePermissionsRequest(input, context),\n [_A]: _DNIPesc,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInterfacePermissionsCommand\");\nvar se_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeNetworkInterfacesRequest(input, context),\n [_A]: _DNIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeNetworkInterfacesCommand\");\nvar se_DescribeOutpostLagsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeOutpostLagsRequest(input, context),\n [_A]: _DOL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeOutpostLagsCommand\");\nvar se_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribePlacementGroupsRequest(input, context),\n [_A]: _DPGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePlacementGroupsCommand\");\nvar se_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribePrefixListsRequest(input, context),\n [_A]: _DPL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePrefixListsCommand\");\nvar se_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribePrincipalIdFormatRequest(input, context),\n [_A]: _DPIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePrincipalIdFormatCommand\");\nvar se_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribePublicIpv4PoolsRequest(input, context),\n [_A]: _DPIPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePublicIpv4PoolsCommand\");\nvar se_DescribeRegionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeRegionsRequest(input, context),\n [_A]: _DRe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRegionsCommand\");\nvar se_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeReplaceRootVolumeTasksRequest(input, context),\n [_A]: _DRRVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeReplaceRootVolumeTasksCommand\");\nvar se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeReservedInstancesRequest(input, context),\n [_A]: _DRI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeReservedInstancesCommand\");\nvar se_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeReservedInstancesListingsRequest(input, context),\n [_A]: _DRIL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeReservedInstancesListingsCommand\");\nvar se_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeReservedInstancesModificationsRequest(input, context),\n [_A]: _DRIM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeReservedInstancesModificationsCommand\");\nvar se_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeReservedInstancesOfferingsRequest(input, context),\n [_A]: _DRIO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeReservedInstancesOfferingsCommand\");\nvar se_DescribeRouteServerEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeRouteServerEndpointsRequest(input, context),\n [_A]: _DRSEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRouteServerEndpointsCommand\");\nvar se_DescribeRouteServerPeersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeRouteServerPeersRequest(input, context),\n [_A]: _DRSPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRouteServerPeersCommand\");\nvar se_DescribeRouteServersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeRouteServersRequest(input, context),\n [_A]: _DRSe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRouteServersCommand\");\nvar se_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeRouteTablesRequest(input, context),\n [_A]: _DRTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRouteTablesCommand\");\nvar se_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeScheduledInstanceAvailabilityRequest(input, context),\n [_A]: _DSIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeScheduledInstanceAvailabilityCommand\");\nvar se_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeScheduledInstancesRequest(input, context),\n [_A]: _DSI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeScheduledInstancesCommand\");\nvar se_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSecurityGroupReferencesRequest(input, context),\n [_A]: _DSGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSecurityGroupReferencesCommand\");\nvar se_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSecurityGroupRulesRequest(input, context),\n [_A]: _DSGRe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSecurityGroupRulesCommand\");\nvar se_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSecurityGroupsRequest(input, context),\n [_A]: _DSGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSecurityGroupsCommand\");\nvar se_DescribeSecurityGroupVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSecurityGroupVpcAssociationsRequest(input, context),\n [_A]: _DSGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSecurityGroupVpcAssociationsCommand\");\nvar se_DescribeServiceLinkVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeServiceLinkVirtualInterfacesRequest(input, context),\n [_A]: _DSLVI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeServiceLinkVirtualInterfacesCommand\");\nvar se_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSnapshotAttributeRequest(input, context),\n [_A]: _DSA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSnapshotAttributeCommand\");\nvar se_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSnapshotsRequest(input, context),\n [_A]: _DSes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSnapshotsCommand\");\nvar se_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSnapshotTierStatusRequest(input, context),\n [_A]: _DSTS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSnapshotTierStatusCommand\");\nvar se_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotDatafeedSubscriptionRequest(input, context),\n [_A]: _DSDSe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotDatafeedSubscriptionCommand\");\nvar se_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotFleetInstancesRequest(input, context),\n [_A]: _DSFI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotFleetInstancesCommand\");\nvar se_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotFleetRequestHistoryRequest(input, context),\n [_A]: _DSFRH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotFleetRequestHistoryCommand\");\nvar se_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotFleetRequestsRequest(input, context),\n [_A]: _DSFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotFleetRequestsCommand\");\nvar se_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotInstanceRequestsRequest(input, context),\n [_A]: _DSIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotInstanceRequestsCommand\");\nvar se_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSpotPriceHistoryRequest(input, context),\n [_A]: _DSPH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSpotPriceHistoryCommand\");\nvar se_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeStaleSecurityGroupsRequest(input, context),\n [_A]: _DSSG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeStaleSecurityGroupsCommand\");\nvar se_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeStoreImageTasksRequest(input, context),\n [_A]: _DSIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeStoreImageTasksCommand\");\nvar se_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeSubnetsRequest(input, context),\n [_A]: _DSesc,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSubnetsCommand\");\nvar se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTagsRequest(input, context),\n [_A]: _DTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTagsCommand\");\nvar se_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTrafficMirrorFilterRulesRequest(input, context),\n [_A]: _DTMFRe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTrafficMirrorFilterRulesCommand\");\nvar se_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTrafficMirrorFiltersRequest(input, context),\n [_A]: _DTMFe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTrafficMirrorFiltersCommand\");\nvar se_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTrafficMirrorSessionsRequest(input, context),\n [_A]: _DTMSe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTrafficMirrorSessionsCommand\");\nvar se_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTrafficMirrorTargetsRequest(input, context),\n [_A]: _DTMTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTrafficMirrorTargetsCommand\");\nvar se_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayAttachmentsRequest(input, context),\n [_A]: _DTGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayAttachmentsCommand\");\nvar se_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayConnectPeersRequest(input, context),\n [_A]: _DTGCPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayConnectPeersCommand\");\nvar se_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayConnectsRequest(input, context),\n [_A]: _DTGCe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayConnectsCommand\");\nvar se_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayMulticastDomainsRequest(input, context),\n [_A]: _DTGMDe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayMulticastDomainsCommand\");\nvar se_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayPeeringAttachmentsRequest(input, context),\n [_A]: _DTGPAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayPeeringAttachmentsCommand\");\nvar se_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayPolicyTablesRequest(input, context),\n [_A]: _DTGPTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayPolicyTablesCommand\");\nvar se_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayRouteTableAnnouncementsRequest(input, context),\n [_A]: _DTGRTAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayRouteTableAnnouncementsCommand\");\nvar se_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayRouteTablesRequest(input, context),\n [_A]: _DTGRTe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayRouteTablesCommand\");\nvar se_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewaysRequest(input, context),\n [_A]: _DTGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewaysCommand\");\nvar se_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTransitGatewayVpcAttachmentsRequest(input, context),\n [_A]: _DTGVAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTransitGatewayVpcAttachmentsCommand\");\nvar se_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeTrunkInterfaceAssociationsRequest(input, context),\n [_A]: _DTIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeTrunkInterfaceAssociationsCommand\");\nvar se_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVerifiedAccessEndpointsRequest(input, context),\n [_A]: _DVAEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVerifiedAccessEndpointsCommand\");\nvar se_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVerifiedAccessGroupsRequest(input, context),\n [_A]: _DVAGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVerifiedAccessGroupsCommand\");\nvar se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context),\n [_A]: _DVAILC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand\");\nvar se_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVerifiedAccessInstancesRequest(input, context),\n [_A]: _DVAIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVerifiedAccessInstancesCommand\");\nvar se_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVerifiedAccessTrustProvidersRequest(input, context),\n [_A]: _DVATPe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVerifiedAccessTrustProvidersCommand\");\nvar se_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVolumeAttributeRequest(input, context),\n [_A]: _DVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVolumeAttributeCommand\");\nvar se_DescribeVolumesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVolumesRequest(input, context),\n [_A]: _DVes,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVolumesCommand\");\nvar se_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVolumesModificationsRequest(input, context),\n [_A]: _DVM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVolumesModificationsCommand\");\nvar se_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVolumeStatusRequest(input, context),\n [_A]: _DVS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVolumeStatusCommand\");\nvar se_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcAttributeRequest(input, context),\n [_A]: _DVAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcAttributeCommand\");\nvar se_DescribeVpcBlockPublicAccessExclusionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcBlockPublicAccessExclusionsRequest(input, context),\n [_A]: _DVBPAEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcBlockPublicAccessExclusionsCommand\");\nvar se_DescribeVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcBlockPublicAccessOptionsRequest(input, context),\n [_A]: _DVBPAO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcBlockPublicAccessOptionsCommand\");\nvar se_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcClassicLinkRequest(input, context),\n [_A]: _DVCL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcClassicLinkCommand\");\nvar se_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcClassicLinkDnsSupportRequest(input, context),\n [_A]: _DVCLDS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcClassicLinkDnsSupportCommand\");\nvar se_DescribeVpcEndpointAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointAssociationsRequest(input, context),\n [_A]: _DVEA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointAssociationsCommand\");\nvar se_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointConnectionNotificationsRequest(input, context),\n [_A]: _DVECNe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointConnectionNotificationsCommand\");\nvar se_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointConnectionsRequest(input, context),\n [_A]: _DVEC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointConnectionsCommand\");\nvar se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointsRequest(input, context),\n [_A]: _DVEe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointsCommand\");\nvar se_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointServiceConfigurationsRequest(input, context),\n [_A]: _DVESCe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointServiceConfigurationsCommand\");\nvar se_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointServicePermissionsRequest(input, context),\n [_A]: _DVESP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointServicePermissionsCommand\");\nvar se_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcEndpointServicesRequest(input, context),\n [_A]: _DVES,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcEndpointServicesCommand\");\nvar se_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcPeeringConnectionsRequest(input, context),\n [_A]: _DVPCe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcPeeringConnectionsCommand\");\nvar se_DescribeVpcsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpcsRequest(input, context),\n [_A]: _DVesc,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpcsCommand\");\nvar se_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpnConnectionsRequest(input, context),\n [_A]: _DVCe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpnConnectionsCommand\");\nvar se_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DescribeVpnGatewaysRequest(input, context),\n [_A]: _DVGe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeVpnGatewaysCommand\");\nvar se_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachClassicLinkVpcRequest(input, context),\n [_A]: _DCLV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachClassicLinkVpcCommand\");\nvar se_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachInternetGatewayRequest(input, context),\n [_A]: _DIGet,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachInternetGatewayCommand\");\nvar se_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachNetworkInterfaceRequest(input, context),\n [_A]: _DNIet,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachNetworkInterfaceCommand\");\nvar se_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachVerifiedAccessTrustProviderRequest(input, context),\n [_A]: _DVATPet,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachVerifiedAccessTrustProviderCommand\");\nvar se_DetachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachVolumeRequest(input, context),\n [_A]: _DVet,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachVolumeCommand\");\nvar se_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DetachVpnGatewayRequest(input, context),\n [_A]: _DVGet,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DetachVpnGatewayCommand\");\nvar se_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableAddressTransferRequest(input, context),\n [_A]: _DATi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableAddressTransferCommand\");\nvar se_DisableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableAllowedImagesSettingsRequest(input, context),\n [_A]: _DAIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableAllowedImagesSettingsCommand\");\nvar se_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableAwsNetworkPerformanceMetricSubscriptionRequest(input, context),\n [_A]: _DANPMSi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableAwsNetworkPerformanceMetricSubscriptionCommand\");\nvar se_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableEbsEncryptionByDefaultRequest(input, context),\n [_A]: _DEEBD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableEbsEncryptionByDefaultCommand\");\nvar se_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableFastLaunchRequest(input, context),\n [_A]: _DFLi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableFastLaunchCommand\");\nvar se_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableFastSnapshotRestoresRequest(input, context),\n [_A]: _DFSRi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableFastSnapshotRestoresCommand\");\nvar se_DisableImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableImageRequest(input, context),\n [_A]: _DIi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableImageCommand\");\nvar se_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableImageBlockPublicAccessRequest(input, context),\n [_A]: _DIBPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableImageBlockPublicAccessCommand\");\nvar se_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableImageDeprecationRequest(input, context),\n [_A]: _DID,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableImageDeprecationCommand\");\nvar se_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableImageDeregistrationProtectionRequest(input, context),\n [_A]: _DIDP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableImageDeregistrationProtectionCommand\");\nvar se_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableIpamOrganizationAdminAccountRequest(input, context),\n [_A]: _DIOAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableIpamOrganizationAdminAccountCommand\");\nvar se_DisableRouteServerPropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableRouteServerPropagationRequest(input, context),\n [_A]: _DRSPi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableRouteServerPropagationCommand\");\nvar se_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableSerialConsoleAccessRequest(input, context),\n [_A]: _DSCA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableSerialConsoleAccessCommand\");\nvar se_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableSnapshotBlockPublicAccessRequest(input, context),\n [_A]: _DSBPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableSnapshotBlockPublicAccessCommand\");\nvar se_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableTransitGatewayRouteTablePropagationRequest(input, context),\n [_A]: _DTGRTP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableTransitGatewayRouteTablePropagationCommand\");\nvar se_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableVgwRoutePropagationRequest(input, context),\n [_A]: _DVRP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableVgwRoutePropagationCommand\");\nvar se_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableVpcClassicLinkRequest(input, context),\n [_A]: _DVCLi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableVpcClassicLinkCommand\");\nvar se_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisableVpcClassicLinkDnsSupportRequest(input, context),\n [_A]: _DVCLDSi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisableVpcClassicLinkDnsSupportCommand\");\nvar se_DisassociateAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateAddressRequest(input, context),\n [_A]: _DAi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateAddressCommand\");\nvar se_DisassociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateCapacityReservationBillingOwnerRequest(input, context),\n [_A]: _DCRBO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateCapacityReservationBillingOwnerCommand\");\nvar se_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateClientVpnTargetNetworkRequest(input, context),\n [_A]: _DCVTNi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateClientVpnTargetNetworkCommand\");\nvar se_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateEnclaveCertificateIamRoleRequest(input, context),\n [_A]: _DECIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateEnclaveCertificateIamRoleCommand\");\nvar se_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateIamInstanceProfileRequest(input, context),\n [_A]: _DIIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateIamInstanceProfileCommand\");\nvar se_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateInstanceEventWindowRequest(input, context),\n [_A]: _DIEWi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateInstanceEventWindowCommand\");\nvar se_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateIpamByoasnRequest(input, context),\n [_A]: _DIBi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateIpamByoasnCommand\");\nvar se_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateIpamResourceDiscoveryRequest(input, context),\n [_A]: _DIRDi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateIpamResourceDiscoveryCommand\");\nvar se_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateNatGatewayAddressRequest(input, context),\n [_A]: _DNGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateNatGatewayAddressCommand\");\nvar se_DisassociateRouteServerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateRouteServerRequest(input, context),\n [_A]: _DRSi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateRouteServerCommand\");\nvar se_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateRouteTableRequest(input, context),\n [_A]: _DRTi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateRouteTableCommand\");\nvar se_DisassociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateSecurityGroupVpcRequest(input, context),\n [_A]: _DSGV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateSecurityGroupVpcCommand\");\nvar se_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateSubnetCidrBlockRequest(input, context),\n [_A]: _DSCB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateSubnetCidrBlockCommand\");\nvar se_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateTransitGatewayMulticastDomainRequest(input, context),\n [_A]: _DTGMDi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateTransitGatewayMulticastDomainCommand\");\nvar se_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateTransitGatewayPolicyTableRequest(input, context),\n [_A]: _DTGPTi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateTransitGatewayPolicyTableCommand\");\nvar se_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateTransitGatewayRouteTableRequest(input, context),\n [_A]: _DTGRTi,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateTransitGatewayRouteTableCommand\");\nvar se_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateTrunkInterfaceRequest(input, context),\n [_A]: _DTI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateTrunkInterfaceCommand\");\nvar se_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DisassociateVpcCidrBlockRequest(input, context),\n [_A]: _DVCB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateVpcCidrBlockCommand\");\nvar se_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableAddressTransferRequest(input, context),\n [_A]: _EAT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableAddressTransferCommand\");\nvar se_EnableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableAllowedImagesSettingsRequest(input, context),\n [_A]: _EAIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableAllowedImagesSettingsCommand\");\nvar se_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableAwsNetworkPerformanceMetricSubscriptionRequest(input, context),\n [_A]: _EANPMS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableAwsNetworkPerformanceMetricSubscriptionCommand\");\nvar se_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableEbsEncryptionByDefaultRequest(input, context),\n [_A]: _EEEBD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableEbsEncryptionByDefaultCommand\");\nvar se_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableFastLaunchRequest(input, context),\n [_A]: _EFL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableFastLaunchCommand\");\nvar se_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableFastSnapshotRestoresRequest(input, context),\n [_A]: _EFSR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableFastSnapshotRestoresCommand\");\nvar se_EnableImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableImageRequest(input, context),\n [_A]: _EI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableImageCommand\");\nvar se_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableImageBlockPublicAccessRequest(input, context),\n [_A]: _EIBPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableImageBlockPublicAccessCommand\");\nvar se_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableImageDeprecationRequest(input, context),\n [_A]: _EID,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableImageDeprecationCommand\");\nvar se_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableImageDeregistrationProtectionRequest(input, context),\n [_A]: _EIDP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableImageDeregistrationProtectionCommand\");\nvar se_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableIpamOrganizationAdminAccountRequest(input, context),\n [_A]: _EIOAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableIpamOrganizationAdminAccountCommand\");\nvar se_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableReachabilityAnalyzerOrganizationSharingRequest(input, context),\n [_A]: _ERAOS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableReachabilityAnalyzerOrganizationSharingCommand\");\nvar se_EnableRouteServerPropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableRouteServerPropagationRequest(input, context),\n [_A]: _ERSP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableRouteServerPropagationCommand\");\nvar se_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableSerialConsoleAccessRequest(input, context),\n [_A]: _ESCA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableSerialConsoleAccessCommand\");\nvar se_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableSnapshotBlockPublicAccessRequest(input, context),\n [_A]: _ESBPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableSnapshotBlockPublicAccessCommand\");\nvar se_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableTransitGatewayRouteTablePropagationRequest(input, context),\n [_A]: _ETGRTP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableTransitGatewayRouteTablePropagationCommand\");\nvar se_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableVgwRoutePropagationRequest(input, context),\n [_A]: _EVRP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableVgwRoutePropagationCommand\");\nvar se_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableVolumeIORequest(input, context),\n [_A]: _EVIO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableVolumeIOCommand\");\nvar se_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableVpcClassicLinkRequest(input, context),\n [_A]: _EVCL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableVpcClassicLinkCommand\");\nvar se_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_EnableVpcClassicLinkDnsSupportRequest(input, context),\n [_A]: _EVCLDS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_EnableVpcClassicLinkDnsSupportCommand\");\nvar se_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ExportClientVpnClientCertificateRevocationListRequest(input, context),\n [_A]: _ECVCCRL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ExportClientVpnClientCertificateRevocationListCommand\");\nvar se_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ExportClientVpnClientConfigurationRequest(input, context),\n [_A]: _ECVCC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ExportClientVpnClientConfigurationCommand\");\nvar se_ExportImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ExportImageRequest(input, context),\n [_A]: _EIx,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ExportImageCommand\");\nvar se_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ExportTransitGatewayRoutesRequest(input, context),\n [_A]: _ETGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ExportTransitGatewayRoutesCommand\");\nvar se_ExportVerifiedAccessInstanceClientConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ExportVerifiedAccessInstanceClientConfigurationRequest(input, context),\n [_A]: _EVAICC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ExportVerifiedAccessInstanceClientConfigurationCommand\");\nvar se_GetAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetAllowedImagesSettingsRequest(input, context),\n [_A]: _GAIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAllowedImagesSettingsCommand\");\nvar se_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetAssociatedEnclaveCertificateIamRolesRequest(input, context),\n [_A]: _GAECIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAssociatedEnclaveCertificateIamRolesCommand\");\nvar se_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetAssociatedIpv6PoolCidrsRequest(input, context),\n [_A]: _GAIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAssociatedIpv6PoolCidrsCommand\");\nvar se_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetAwsNetworkPerformanceDataRequest(input, context),\n [_A]: _GANPD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAwsNetworkPerformanceDataCommand\");\nvar se_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetCapacityReservationUsageRequest(input, context),\n [_A]: _GCRU,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCapacityReservationUsageCommand\");\nvar se_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetCoipPoolUsageRequest(input, context),\n [_A]: _GCPU,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCoipPoolUsageCommand\");\nvar se_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetConsoleOutputRequest(input, context),\n [_A]: _GCO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetConsoleOutputCommand\");\nvar se_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetConsoleScreenshotRequest(input, context),\n [_A]: _GCS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetConsoleScreenshotCommand\");\nvar se_GetDeclarativePoliciesReportSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetDeclarativePoliciesReportSummaryRequest(input, context),\n [_A]: _GDPRS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeclarativePoliciesReportSummaryCommand\");\nvar se_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetDefaultCreditSpecificationRequest(input, context),\n [_A]: _GDCS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDefaultCreditSpecificationCommand\");\nvar se_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetEbsDefaultKmsKeyIdRequest(input, context),\n [_A]: _GEDKKI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetEbsDefaultKmsKeyIdCommand\");\nvar se_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetEbsEncryptionByDefaultRequest(input, context),\n [_A]: _GEEBD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetEbsEncryptionByDefaultCommand\");\nvar se_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetFlowLogsIntegrationTemplateRequest(input, context),\n [_A]: _GFLIT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetFlowLogsIntegrationTemplateCommand\");\nvar se_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetGroupsForCapacityReservationRequest(input, context),\n [_A]: _GGFCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetGroupsForCapacityReservationCommand\");\nvar se_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetHostReservationPurchasePreviewRequest(input, context),\n [_A]: _GHRPP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetHostReservationPurchasePreviewCommand\");\nvar se_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetImageBlockPublicAccessStateRequest(input, context),\n [_A]: _GIBPAS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetImageBlockPublicAccessStateCommand\");\nvar se_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetInstanceMetadataDefaultsRequest(input, context),\n [_A]: _GIMD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInstanceMetadataDefaultsCommand\");\nvar se_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetInstanceTpmEkPubRequest(input, context),\n [_A]: _GITEP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInstanceTpmEkPubCommand\");\nvar se_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetInstanceTypesFromInstanceRequirementsRequest(input, context),\n [_A]: _GITFIR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInstanceTypesFromInstanceRequirementsCommand\");\nvar se_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetInstanceUefiDataRequest(input, context),\n [_A]: _GIUD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInstanceUefiDataCommand\");\nvar se_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamAddressHistoryRequest(input, context),\n [_A]: _GIAH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamAddressHistoryCommand\");\nvar se_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamDiscoveredAccountsRequest(input, context),\n [_A]: _GIDA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamDiscoveredAccountsCommand\");\nvar se_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamDiscoveredPublicAddressesRequest(input, context),\n [_A]: _GIDPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamDiscoveredPublicAddressesCommand\");\nvar se_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamDiscoveredResourceCidrsRequest(input, context),\n [_A]: _GIDRC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamDiscoveredResourceCidrsCommand\");\nvar se_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamPoolAllocationsRequest(input, context),\n [_A]: _GIPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamPoolAllocationsCommand\");\nvar se_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamPoolCidrsRequest(input, context),\n [_A]: _GIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamPoolCidrsCommand\");\nvar se_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetIpamResourceCidrsRequest(input, context),\n [_A]: _GIRC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetIpamResourceCidrsCommand\");\nvar se_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetLaunchTemplateDataRequest(input, context),\n [_A]: _GLTD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLaunchTemplateDataCommand\");\nvar se_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetManagedPrefixListAssociationsRequest(input, context),\n [_A]: _GMPLA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetManagedPrefixListAssociationsCommand\");\nvar se_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetManagedPrefixListEntriesRequest(input, context),\n [_A]: _GMPLE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetManagedPrefixListEntriesCommand\");\nvar se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest(input, context),\n [_A]: _GNIASAF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand\");\nvar se_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetNetworkInsightsAccessScopeContentRequest(input, context),\n [_A]: _GNIASC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetNetworkInsightsAccessScopeContentCommand\");\nvar se_GetPasswordDataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetPasswordDataRequest(input, context),\n [_A]: _GPD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetPasswordDataCommand\");\nvar se_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetReservedInstancesExchangeQuoteRequest(input, context),\n [_A]: _GRIEQ,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetReservedInstancesExchangeQuoteCommand\");\nvar se_GetRouteServerAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetRouteServerAssociationsRequest(input, context),\n [_A]: _GRSA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRouteServerAssociationsCommand\");\nvar se_GetRouteServerPropagationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetRouteServerPropagationsRequest(input, context),\n [_A]: _GRSP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRouteServerPropagationsCommand\");\nvar se_GetRouteServerRoutingDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetRouteServerRoutingDatabaseRequest(input, context),\n [_A]: _GRSRD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRouteServerRoutingDatabaseCommand\");\nvar se_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSecurityGroupsForVpcRequest(input, context),\n [_A]: _GSGFV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSecurityGroupsForVpcCommand\");\nvar se_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSerialConsoleAccessStatusRequest(input, context),\n [_A]: _GSCAS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSerialConsoleAccessStatusCommand\");\nvar se_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSnapshotBlockPublicAccessStateRequest(input, context),\n [_A]: _GSBPAS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSnapshotBlockPublicAccessStateCommand\");\nvar se_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSpotPlacementScoresRequest(input, context),\n [_A]: _GSPS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSpotPlacementScoresCommand\");\nvar se_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSubnetCidrReservationsRequest(input, context),\n [_A]: _GSCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSubnetCidrReservationsCommand\");\nvar se_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayAttachmentPropagationsRequest(input, context),\n [_A]: _GTGAP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayAttachmentPropagationsCommand\");\nvar se_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayMulticastDomainAssociationsRequest(input, context),\n [_A]: _GTGMDA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayMulticastDomainAssociationsCommand\");\nvar se_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayPolicyTableAssociationsRequest(input, context),\n [_A]: _GTGPTA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayPolicyTableAssociationsCommand\");\nvar se_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayPolicyTableEntriesRequest(input, context),\n [_A]: _GTGPTE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayPolicyTableEntriesCommand\");\nvar se_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayPrefixListReferencesRequest(input, context),\n [_A]: _GTGPLR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayPrefixListReferencesCommand\");\nvar se_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayRouteTableAssociationsRequest(input, context),\n [_A]: _GTGRTA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayRouteTableAssociationsCommand\");\nvar se_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetTransitGatewayRouteTablePropagationsRequest(input, context),\n [_A]: _GTGRTP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetTransitGatewayRouteTablePropagationsCommand\");\nvar se_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVerifiedAccessEndpointPolicyRequest(input, context),\n [_A]: _GVAEP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVerifiedAccessEndpointPolicyCommand\");\nvar se_GetVerifiedAccessEndpointTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVerifiedAccessEndpointTargetsRequest(input, context),\n [_A]: _GVAET,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVerifiedAccessEndpointTargetsCommand\");\nvar se_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVerifiedAccessGroupPolicyRequest(input, context),\n [_A]: _GVAGP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVerifiedAccessGroupPolicyCommand\");\nvar se_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVpnConnectionDeviceSampleConfigurationRequest(input, context),\n [_A]: _GVCDSC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVpnConnectionDeviceSampleConfigurationCommand\");\nvar se_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVpnConnectionDeviceTypesRequest(input, context),\n [_A]: _GVCDT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVpnConnectionDeviceTypesCommand\");\nvar se_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetVpnTunnelReplacementStatusRequest(input, context),\n [_A]: _GVTRS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetVpnTunnelReplacementStatusCommand\");\nvar se_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportClientVpnClientCertificateRevocationListRequest(input, context),\n [_A]: _ICVCCRL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportClientVpnClientCertificateRevocationListCommand\");\nvar se_ImportImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportImageRequest(input, context),\n [_A]: _II,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportImageCommand\");\nvar se_ImportInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportInstanceRequest(input, context),\n [_A]: _IIm,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportInstanceCommand\");\nvar se_ImportKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportKeyPairRequest(input, context),\n [_A]: _IKP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportKeyPairCommand\");\nvar se_ImportSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportSnapshotRequest(input, context),\n [_A]: _IS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportSnapshotCommand\");\nvar se_ImportVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ImportVolumeRequest(input, context),\n [_A]: _IV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ImportVolumeCommand\");\nvar se_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ListImagesInRecycleBinRequest(input, context),\n [_A]: _LIIRB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListImagesInRecycleBinCommand\");\nvar se_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ListSnapshotsInRecycleBinRequest(input, context),\n [_A]: _LSIRB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSnapshotsInRecycleBinCommand\");\nvar se_LockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_LockSnapshotRequest(input, context),\n [_A]: _LS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_LockSnapshotCommand\");\nvar se_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyAddressAttributeRequest(input, context),\n [_A]: _MAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyAddressAttributeCommand\");\nvar se_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyAvailabilityZoneGroupRequest(input, context),\n [_A]: _MAZG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyAvailabilityZoneGroupCommand\");\nvar se_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyCapacityReservationRequest(input, context),\n [_A]: _MCR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyCapacityReservationCommand\");\nvar se_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyCapacityReservationFleetRequest(input, context),\n [_A]: _MCRF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyCapacityReservationFleetCommand\");\nvar se_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyClientVpnEndpointRequest(input, context),\n [_A]: _MCVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyClientVpnEndpointCommand\");\nvar se_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyDefaultCreditSpecificationRequest(input, context),\n [_A]: _MDCS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyDefaultCreditSpecificationCommand\");\nvar se_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyEbsDefaultKmsKeyIdRequest(input, context),\n [_A]: _MEDKKI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyEbsDefaultKmsKeyIdCommand\");\nvar se_ModifyFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyFleetRequest(input, context),\n [_A]: _MF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyFleetCommand\");\nvar se_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyFpgaImageAttributeRequest(input, context),\n [_A]: _MFIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyFpgaImageAttributeCommand\");\nvar se_ModifyHostsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyHostsRequest(input, context),\n [_A]: _MH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyHostsCommand\");\nvar se_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIdentityIdFormatRequest(input, context),\n [_A]: _MIIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIdentityIdFormatCommand\");\nvar se_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIdFormatRequest(input, context),\n [_A]: _MIF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIdFormatCommand\");\nvar se_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyImageAttributeRequest(input, context),\n [_A]: _MIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyImageAttributeCommand\");\nvar se_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceAttributeRequest(input, context),\n [_A]: _MIAo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceAttributeCommand\");\nvar se_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceCapacityReservationAttributesRequest(input, context),\n [_A]: _MICRA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceCapacityReservationAttributesCommand\");\nvar se_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceCpuOptionsRequest(input, context),\n [_A]: _MICO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceCpuOptionsCommand\");\nvar se_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceCreditSpecificationRequest(input, context),\n [_A]: _MICS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceCreditSpecificationCommand\");\nvar se_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceEventStartTimeRequest(input, context),\n [_A]: _MIEST,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceEventStartTimeCommand\");\nvar se_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceEventWindowRequest(input, context),\n [_A]: _MIEW,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceEventWindowCommand\");\nvar se_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceMaintenanceOptionsRequest(input, context),\n [_A]: _MIMO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceMaintenanceOptionsCommand\");\nvar se_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceMetadataDefaultsRequest(input, context),\n [_A]: _MIMD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceMetadataDefaultsCommand\");\nvar se_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceMetadataOptionsRequest(input, context),\n [_A]: _MIMOo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceMetadataOptionsCommand\");\nvar se_ModifyInstanceNetworkPerformanceOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstanceNetworkPerformanceRequest(input, context),\n [_A]: _MINPO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstanceNetworkPerformanceOptionsCommand\");\nvar se_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyInstancePlacementRequest(input, context),\n [_A]: _MIP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyInstancePlacementCommand\");\nvar se_ModifyIpamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIpamRequest(input, context),\n [_A]: _MI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIpamCommand\");\nvar se_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIpamPoolRequest(input, context),\n [_A]: _MIPo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIpamPoolCommand\");\nvar se_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIpamResourceCidrRequest(input, context),\n [_A]: _MIRC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIpamResourceCidrCommand\");\nvar se_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIpamResourceDiscoveryRequest(input, context),\n [_A]: _MIRD,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIpamResourceDiscoveryCommand\");\nvar se_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyIpamScopeRequest(input, context),\n [_A]: _MIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyIpamScopeCommand\");\nvar se_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyLaunchTemplateRequest(input, context),\n [_A]: _MLT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyLaunchTemplateCommand\");\nvar se_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyLocalGatewayRouteRequest(input, context),\n [_A]: _MLGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyLocalGatewayRouteCommand\");\nvar se_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyManagedPrefixListRequest(input, context),\n [_A]: _MMPL,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyManagedPrefixListCommand\");\nvar se_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyNetworkInterfaceAttributeRequest(input, context),\n [_A]: _MNIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyNetworkInterfaceAttributeCommand\");\nvar se_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyPrivateDnsNameOptionsRequest(input, context),\n [_A]: _MPDNO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyPrivateDnsNameOptionsCommand\");\nvar se_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyReservedInstancesRequest(input, context),\n [_A]: _MRI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyReservedInstancesCommand\");\nvar se_ModifyRouteServerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyRouteServerRequest(input, context),\n [_A]: _MRS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyRouteServerCommand\");\nvar se_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifySecurityGroupRulesRequest(input, context),\n [_A]: _MSGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifySecurityGroupRulesCommand\");\nvar se_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifySnapshotAttributeRequest(input, context),\n [_A]: _MSA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifySnapshotAttributeCommand\");\nvar se_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifySnapshotTierRequest(input, context),\n [_A]: _MST,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifySnapshotTierCommand\");\nvar se_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifySpotFleetRequestRequest(input, context),\n [_A]: _MSFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifySpotFleetRequestCommand\");\nvar se_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifySubnetAttributeRequest(input, context),\n [_A]: _MSAo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifySubnetAttributeCommand\");\nvar se_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTrafficMirrorFilterNetworkServicesRequest(input, context),\n [_A]: _MTMFNS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTrafficMirrorFilterNetworkServicesCommand\");\nvar se_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTrafficMirrorFilterRuleRequest(input, context),\n [_A]: _MTMFR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTrafficMirrorFilterRuleCommand\");\nvar se_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTrafficMirrorSessionRequest(input, context),\n [_A]: _MTMS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTrafficMirrorSessionCommand\");\nvar se_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTransitGatewayRequest(input, context),\n [_A]: _MTG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTransitGatewayCommand\");\nvar se_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTransitGatewayPrefixListReferenceRequest(input, context),\n [_A]: _MTGPLR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTransitGatewayPrefixListReferenceCommand\");\nvar se_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyTransitGatewayVpcAttachmentRequest(input, context),\n [_A]: _MTGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyTransitGatewayVpcAttachmentCommand\");\nvar se_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessEndpointRequest(input, context),\n [_A]: _MVAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessEndpointCommand\");\nvar se_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessEndpointPolicyRequest(input, context),\n [_A]: _MVAEP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessEndpointPolicyCommand\");\nvar se_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessGroupRequest(input, context),\n [_A]: _MVAG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessGroupCommand\");\nvar se_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessGroupPolicyRequest(input, context),\n [_A]: _MVAGP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessGroupPolicyCommand\");\nvar se_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessInstanceRequest(input, context),\n [_A]: _MVAI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessInstanceCommand\");\nvar se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input, context),\n [_A]: _MVAILC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand\");\nvar se_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVerifiedAccessTrustProviderRequest(input, context),\n [_A]: _MVATP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVerifiedAccessTrustProviderCommand\");\nvar se_ModifyVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVolumeRequest(input, context),\n [_A]: _MV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVolumeCommand\");\nvar se_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVolumeAttributeRequest(input, context),\n [_A]: _MVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVolumeAttributeCommand\");\nvar se_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcAttributeRequest(input, context),\n [_A]: _MVAo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcAttributeCommand\");\nvar se_ModifyVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcBlockPublicAccessExclusionRequest(input, context),\n [_A]: _MVBPAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcBlockPublicAccessExclusionCommand\");\nvar se_ModifyVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcBlockPublicAccessOptionsRequest(input, context),\n [_A]: _MVBPAO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcBlockPublicAccessOptionsCommand\");\nvar se_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcEndpointRequest(input, context),\n [_A]: _MVE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcEndpointCommand\");\nvar se_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcEndpointConnectionNotificationRequest(input, context),\n [_A]: _MVECN,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcEndpointConnectionNotificationCommand\");\nvar se_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcEndpointServiceConfigurationRequest(input, context),\n [_A]: _MVESC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcEndpointServiceConfigurationCommand\");\nvar se_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcEndpointServicePayerResponsibilityRequest(input, context),\n [_A]: _MVESPR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcEndpointServicePayerResponsibilityCommand\");\nvar se_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcEndpointServicePermissionsRequest(input, context),\n [_A]: _MVESP,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcEndpointServicePermissionsCommand\");\nvar se_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcPeeringConnectionOptionsRequest(input, context),\n [_A]: _MVPCO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcPeeringConnectionOptionsCommand\");\nvar se_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpcTenancyRequest(input, context),\n [_A]: _MVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpcTenancyCommand\");\nvar se_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpnConnectionRequest(input, context),\n [_A]: _MVC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpnConnectionCommand\");\nvar se_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpnConnectionOptionsRequest(input, context),\n [_A]: _MVCO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpnConnectionOptionsCommand\");\nvar se_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpnTunnelCertificateRequest(input, context),\n [_A]: _MVTC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpnTunnelCertificateCommand\");\nvar se_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ModifyVpnTunnelOptionsRequest(input, context),\n [_A]: _MVTO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyVpnTunnelOptionsCommand\");\nvar se_MonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_MonitorInstancesRequest(input, context),\n [_A]: _MIo,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_MonitorInstancesCommand\");\nvar se_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_MoveAddressToVpcRequest(input, context),\n [_A]: _MATV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_MoveAddressToVpcCommand\");\nvar se_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_MoveByoipCidrToIpamRequest(input, context),\n [_A]: _MBCTI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_MoveByoipCidrToIpamCommand\");\nvar se_MoveCapacityReservationInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_MoveCapacityReservationInstancesRequest(input, context),\n [_A]: _MCRI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_MoveCapacityReservationInstancesCommand\");\nvar se_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ProvisionByoipCidrRequest(input, context),\n [_A]: _PBC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ProvisionByoipCidrCommand\");\nvar se_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ProvisionIpamByoasnRequest(input, context),\n [_A]: _PIB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ProvisionIpamByoasnCommand\");\nvar se_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ProvisionIpamPoolCidrRequest(input, context),\n [_A]: _PIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ProvisionIpamPoolCidrCommand\");\nvar se_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ProvisionPublicIpv4PoolCidrRequest(input, context),\n [_A]: _PPIPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ProvisionPublicIpv4PoolCidrCommand\");\nvar se_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_PurchaseCapacityBlockRequest(input, context),\n [_A]: _PCB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PurchaseCapacityBlockCommand\");\nvar se_PurchaseCapacityBlockExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_PurchaseCapacityBlockExtensionRequest(input, context),\n [_A]: _PCBE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PurchaseCapacityBlockExtensionCommand\");\nvar se_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_PurchaseHostReservationRequest(input, context),\n [_A]: _PHR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PurchaseHostReservationCommand\");\nvar se_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_PurchaseReservedInstancesOfferingRequest(input, context),\n [_A]: _PRIO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PurchaseReservedInstancesOfferingCommand\");\nvar se_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_PurchaseScheduledInstancesRequest(input, context),\n [_A]: _PSI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PurchaseScheduledInstancesCommand\");\nvar se_RebootInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RebootInstancesRequest(input, context),\n [_A]: _RI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RebootInstancesCommand\");\nvar se_RegisterImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RegisterImageRequest(input, context),\n [_A]: _RIe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterImageCommand\");\nvar se_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RegisterInstanceEventNotificationAttributesRequest(input, context),\n [_A]: _RIENA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterInstanceEventNotificationAttributesCommand\");\nvar se_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RegisterTransitGatewayMulticastGroupMembersRequest(input, context),\n [_A]: _RTGMGM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterTransitGatewayMulticastGroupMembersCommand\");\nvar se_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RegisterTransitGatewayMulticastGroupSourcesRequest(input, context),\n [_A]: _RTGMGS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterTransitGatewayMulticastGroupSourcesCommand\");\nvar se_RejectCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectCapacityReservationBillingOwnershipRequest(input, context),\n [_A]: _RCRBO,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectCapacityReservationBillingOwnershipCommand\");\nvar se_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectTransitGatewayMulticastDomainAssociationsRequest(input, context),\n [_A]: _RTGMDA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectTransitGatewayMulticastDomainAssociationsCommand\");\nvar se_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectTransitGatewayPeeringAttachmentRequest(input, context),\n [_A]: _RTGPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectTransitGatewayPeeringAttachmentCommand\");\nvar se_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectTransitGatewayVpcAttachmentRequest(input, context),\n [_A]: _RTGVA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectTransitGatewayVpcAttachmentCommand\");\nvar se_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectVpcEndpointConnectionsRequest(input, context),\n [_A]: _RVEC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectVpcEndpointConnectionsCommand\");\nvar se_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RejectVpcPeeringConnectionRequest(input, context),\n [_A]: _RVPC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RejectVpcPeeringConnectionCommand\");\nvar se_ReleaseAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReleaseAddressRequest(input, context),\n [_A]: _RA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReleaseAddressCommand\");\nvar se_ReleaseHostsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReleaseHostsRequest(input, context),\n [_A]: _RH,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReleaseHostsCommand\");\nvar se_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReleaseIpamPoolAllocationRequest(input, context),\n [_A]: _RIPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReleaseIpamPoolAllocationCommand\");\nvar se_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceIamInstanceProfileAssociationRequest(input, context),\n [_A]: _RIIPA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceIamInstanceProfileAssociationCommand\");\nvar se_ReplaceImageCriteriaInAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceImageCriteriaInAllowedImagesSettingsRequest(input, context),\n [_A]: _RICIAIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceImageCriteriaInAllowedImagesSettingsCommand\");\nvar se_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceNetworkAclAssociationRequest(input, context),\n [_A]: _RNAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceNetworkAclAssociationCommand\");\nvar se_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceNetworkAclEntryRequest(input, context),\n [_A]: _RNAE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceNetworkAclEntryCommand\");\nvar se_ReplaceRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceRouteRequest(input, context),\n [_A]: _RR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceRouteCommand\");\nvar se_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceRouteTableAssociationRequest(input, context),\n [_A]: _RRTA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceRouteTableAssociationCommand\");\nvar se_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceTransitGatewayRouteRequest(input, context),\n [_A]: _RTGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceTransitGatewayRouteCommand\");\nvar se_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReplaceVpnTunnelRequest(input, context),\n [_A]: _RVT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplaceVpnTunnelCommand\");\nvar se_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ReportInstanceStatusRequest(input, context),\n [_A]: _RIS,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReportInstanceStatusCommand\");\nvar se_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RequestSpotFleetRequest(input, context),\n [_A]: _RSF,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RequestSpotFleetCommand\");\nvar se_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RequestSpotInstancesRequest(input, context),\n [_A]: _RSI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RequestSpotInstancesCommand\");\nvar se_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetAddressAttributeRequest(input, context),\n [_A]: _RAA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetAddressAttributeCommand\");\nvar se_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetEbsDefaultKmsKeyIdRequest(input, context),\n [_A]: _REDKKI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetEbsDefaultKmsKeyIdCommand\");\nvar se_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetFpgaImageAttributeRequest(input, context),\n [_A]: _RFIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetFpgaImageAttributeCommand\");\nvar se_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetImageAttributeRequest(input, context),\n [_A]: _RIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetImageAttributeCommand\");\nvar se_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetInstanceAttributeRequest(input, context),\n [_A]: _RIAe,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetInstanceAttributeCommand\");\nvar se_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetNetworkInterfaceAttributeRequest(input, context),\n [_A]: _RNIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetNetworkInterfaceAttributeCommand\");\nvar se_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_ResetSnapshotAttributeRequest(input, context),\n [_A]: _RSA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetSnapshotAttributeCommand\");\nvar se_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RestoreAddressToClassicRequest(input, context),\n [_A]: _RATC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreAddressToClassicCommand\");\nvar se_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RestoreImageFromRecycleBinRequest(input, context),\n [_A]: _RIFRB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreImageFromRecycleBinCommand\");\nvar se_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RestoreManagedPrefixListVersionRequest(input, context),\n [_A]: _RMPLV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreManagedPrefixListVersionCommand\");\nvar se_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RestoreSnapshotFromRecycleBinRequest(input, context),\n [_A]: _RSFRB,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreSnapshotFromRecycleBinCommand\");\nvar se_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RestoreSnapshotTierRequest(input, context),\n [_A]: _RST,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreSnapshotTierCommand\");\nvar se_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RevokeClientVpnIngressRequest(input, context),\n [_A]: _RCVI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RevokeClientVpnIngressCommand\");\nvar se_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RevokeSecurityGroupEgressRequest(input, context),\n [_A]: _RSGE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RevokeSecurityGroupEgressCommand\");\nvar se_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RevokeSecurityGroupIngressRequest(input, context),\n [_A]: _RSGI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RevokeSecurityGroupIngressCommand\");\nvar se_RunInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RunInstancesRequest(input, context),\n [_A]: _RIu,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RunInstancesCommand\");\nvar se_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_RunScheduledInstancesRequest(input, context),\n [_A]: _RSIu,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RunScheduledInstancesCommand\");\nvar se_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_SearchLocalGatewayRoutesRequest(input, context),\n [_A]: _SLGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SearchLocalGatewayRoutesCommand\");\nvar se_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_SearchTransitGatewayMulticastGroupsRequest(input, context),\n [_A]: _STGMG,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SearchTransitGatewayMulticastGroupsCommand\");\nvar se_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_SearchTransitGatewayRoutesRequest(input, context),\n [_A]: _STGR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SearchTransitGatewayRoutesCommand\");\nvar se_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_SendDiagnosticInterruptRequest(input, context),\n [_A]: _SDI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SendDiagnosticInterruptCommand\");\nvar se_StartDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StartDeclarativePoliciesReportRequest(input, context),\n [_A]: _SDPR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartDeclarativePoliciesReportCommand\");\nvar se_StartInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StartInstancesRequest(input, context),\n [_A]: _SI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartInstancesCommand\");\nvar se_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StartNetworkInsightsAccessScopeAnalysisRequest(input, context),\n [_A]: _SNIASA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartNetworkInsightsAccessScopeAnalysisCommand\");\nvar se_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StartNetworkInsightsAnalysisRequest(input, context),\n [_A]: _SNIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartNetworkInsightsAnalysisCommand\");\nvar se_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StartVpcEndpointServicePrivateDnsVerificationRequest(input, context),\n [_A]: _SVESPDV,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartVpcEndpointServicePrivateDnsVerificationCommand\");\nvar se_StopInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_StopInstancesRequest(input, context),\n [_A]: _SIt,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopInstancesCommand\");\nvar se_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_TerminateClientVpnConnectionsRequest(input, context),\n [_A]: _TCVC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TerminateClientVpnConnectionsCommand\");\nvar se_TerminateInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_TerminateInstancesRequest(input, context),\n [_A]: _TI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TerminateInstancesCommand\");\nvar se_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UnassignIpv6AddressesRequest(input, context),\n [_A]: _UIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnassignIpv6AddressesCommand\");\nvar se_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UnassignPrivateIpAddressesRequest(input, context),\n [_A]: _UPIA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnassignPrivateIpAddressesCommand\");\nvar se_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UnassignPrivateNatGatewayAddressRequest(input, context),\n [_A]: _UPNGA,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnassignPrivateNatGatewayAddressCommand\");\nvar se_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UnlockSnapshotRequest(input, context),\n [_A]: _US,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnlockSnapshotCommand\");\nvar se_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UnmonitorInstancesRequest(input, context),\n [_A]: _UI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnmonitorInstancesCommand\");\nvar se_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UpdateSecurityGroupRuleDescriptionsEgressRequest(input, context),\n [_A]: _USGRDE,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateSecurityGroupRuleDescriptionsEgressCommand\");\nvar se_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_UpdateSecurityGroupRuleDescriptionsIngressRequest(input, context),\n [_A]: _USGRDI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateSecurityGroupRuleDescriptionsIngressCommand\");\nvar se_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_WithdrawByoipCidrRequest(input, context),\n [_A]: _WBC,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_WithdrawByoipCidrCommand\");\nvar de_AcceptAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptAddressTransferResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptAddressTransferCommand\");\nvar de_AcceptCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptCapacityReservationBillingOwnershipResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptCapacityReservationBillingOwnershipCommand\");\nvar de_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptReservedInstancesExchangeQuoteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptReservedInstancesExchangeQuoteCommand\");\nvar de_AcceptTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptTransitGatewayMulticastDomainAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptTransitGatewayMulticastDomainAssociationsCommand\");\nvar de_AcceptTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptTransitGatewayPeeringAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptTransitGatewayPeeringAttachmentCommand\");\nvar de_AcceptTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptTransitGatewayVpcAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptTransitGatewayVpcAttachmentCommand\");\nvar de_AcceptVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptVpcEndpointConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptVpcEndpointConnectionsCommand\");\nvar de_AcceptVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AcceptVpcPeeringConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AcceptVpcPeeringConnectionCommand\");\nvar de_AdvertiseByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AdvertiseByoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AdvertiseByoipCidrCommand\");\nvar de_AllocateAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AllocateAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AllocateAddressCommand\");\nvar de_AllocateHostsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AllocateHostsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AllocateHostsCommand\");\nvar de_AllocateIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AllocateIpamPoolCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AllocateIpamPoolCidrCommand\");\nvar de_ApplySecurityGroupsToClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ApplySecurityGroupsToClientVpnTargetNetworkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ApplySecurityGroupsToClientVpnTargetNetworkCommand\");\nvar de_AssignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssignIpv6AddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssignIpv6AddressesCommand\");\nvar de_AssignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssignPrivateIpAddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssignPrivateIpAddressesCommand\");\nvar de_AssignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssignPrivateNatGatewayAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssignPrivateNatGatewayAddressCommand\");\nvar de_AssociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateAddressCommand\");\nvar de_AssociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateCapacityReservationBillingOwnerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateCapacityReservationBillingOwnerCommand\");\nvar de_AssociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateClientVpnTargetNetworkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateClientVpnTargetNetworkCommand\");\nvar de_AssociateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_AssociateDhcpOptionsCommand\");\nvar de_AssociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateEnclaveCertificateIamRoleResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateEnclaveCertificateIamRoleCommand\");\nvar de_AssociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateIamInstanceProfileResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateIamInstanceProfileCommand\");\nvar de_AssociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateInstanceEventWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateInstanceEventWindowCommand\");\nvar de_AssociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateIpamByoasnResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateIpamByoasnCommand\");\nvar de_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateIpamResourceDiscoveryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateIpamResourceDiscoveryCommand\");\nvar de_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateNatGatewayAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateNatGatewayAddressCommand\");\nvar de_AssociateRouteServerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateRouteServerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateRouteServerCommand\");\nvar de_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateRouteTableCommand\");\nvar de_AssociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateSecurityGroupVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateSecurityGroupVpcCommand\");\nvar de_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateSubnetCidrBlockResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateSubnetCidrBlockCommand\");\nvar de_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateTransitGatewayMulticastDomainResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateTransitGatewayMulticastDomainCommand\");\nvar de_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateTransitGatewayPolicyTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateTransitGatewayPolicyTableCommand\");\nvar de_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateTransitGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateTransitGatewayRouteTableCommand\");\nvar de_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateTrunkInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateTrunkInterfaceCommand\");\nvar de_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssociateVpcCidrBlockResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateVpcCidrBlockCommand\");\nvar de_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AttachClassicLinkVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AttachClassicLinkVpcCommand\");\nvar de_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_AttachInternetGatewayCommand\");\nvar de_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AttachNetworkInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AttachNetworkInterfaceCommand\");\nvar de_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AttachVerifiedAccessTrustProviderResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AttachVerifiedAccessTrustProviderCommand\");\nvar de_AttachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_VolumeAttachment(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AttachVolumeCommand\");\nvar de_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AttachVpnGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AttachVpnGatewayCommand\");\nvar de_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AuthorizeClientVpnIngressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AuthorizeClientVpnIngressCommand\");\nvar de_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AuthorizeSecurityGroupEgressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AuthorizeSecurityGroupEgressCommand\");\nvar de_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AuthorizeSecurityGroupIngressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AuthorizeSecurityGroupIngressCommand\");\nvar de_BundleInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_BundleInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BundleInstanceCommand\");\nvar de_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelBundleTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelBundleTaskCommand\");\nvar de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelCapacityReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelCapacityReservationCommand\");\nvar de_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelCapacityReservationFleetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelCapacityReservationFleetsCommand\");\nvar de_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CancelConversionTaskCommand\");\nvar de_CancelDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelDeclarativePoliciesReportResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelDeclarativePoliciesReportCommand\");\nvar de_CancelExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CancelExportTaskCommand\");\nvar de_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelImageLaunchPermissionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelImageLaunchPermissionCommand\");\nvar de_CancelImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelImportTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelImportTaskCommand\");\nvar de_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelReservedInstancesListingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelReservedInstancesListingCommand\");\nvar de_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelSpotFleetRequestsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelSpotFleetRequestsCommand\");\nvar de_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CancelSpotInstanceRequestsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelSpotInstanceRequestsCommand\");\nvar de_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ConfirmProductInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ConfirmProductInstanceCommand\");\nvar de_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CopyFpgaImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CopyFpgaImageCommand\");\nvar de_CopyImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CopyImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CopyImageCommand\");\nvar de_CopySnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CopySnapshotResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CopySnapshotCommand\");\nvar de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCapacityReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCapacityReservationCommand\");\nvar de_CreateCapacityReservationBySplittingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCapacityReservationBySplittingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCapacityReservationBySplittingCommand\");\nvar de_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCapacityReservationFleetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCapacityReservationFleetCommand\");\nvar de_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCarrierGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCarrierGatewayCommand\");\nvar de_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateClientVpnEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateClientVpnEndpointCommand\");\nvar de_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateClientVpnRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateClientVpnRouteCommand\");\nvar de_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCoipCidrCommand\");\nvar de_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCoipPoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCoipPoolCommand\");\nvar de_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateCustomerGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateCustomerGatewayCommand\");\nvar de_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateDefaultSubnetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateDefaultSubnetCommand\");\nvar de_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateDefaultVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateDefaultVpcCommand\");\nvar de_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateDhcpOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateDhcpOptionsCommand\");\nvar de_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateEgressOnlyInternetGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateEgressOnlyInternetGatewayCommand\");\nvar de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateFleetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateFleetCommand\");\nvar de_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateFlowLogsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateFlowLogsCommand\");\nvar de_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateFpgaImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateFpgaImageCommand\");\nvar de_CreateImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateImageCommand\");\nvar de_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateInstanceConnectEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateInstanceConnectEndpointCommand\");\nvar de_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateInstanceEventWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateInstanceEventWindowCommand\");\nvar de_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateInstanceExportTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateInstanceExportTaskCommand\");\nvar de_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateInternetGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateInternetGatewayCommand\");\nvar de_CreateIpamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateIpamResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIpamCommand\");\nvar de_CreateIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateIpamExternalResourceVerificationTokenResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIpamExternalResourceVerificationTokenCommand\");\nvar de_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateIpamPoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIpamPoolCommand\");\nvar de_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateIpamResourceDiscoveryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIpamResourceDiscoveryCommand\");\nvar de_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateIpamScopeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateIpamScopeCommand\");\nvar de_CreateKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_KeyPair(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateKeyPairCommand\");\nvar de_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLaunchTemplateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLaunchTemplateCommand\");\nvar de_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLaunchTemplateVersionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLaunchTemplateVersionCommand\");\nvar de_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayRouteCommand\");\nvar de_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayRouteTableCommand\");\nvar de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\nvar de_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayRouteTableVpcAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayRouteTableVpcAssociationCommand\");\nvar de_CreateLocalGatewayVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayVirtualInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayVirtualInterfaceCommand\");\nvar de_CreateLocalGatewayVirtualInterfaceGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateLocalGatewayVirtualInterfaceGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateLocalGatewayVirtualInterfaceGroupCommand\");\nvar de_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateManagedPrefixListResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateManagedPrefixListCommand\");\nvar de_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNatGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNatGatewayCommand\");\nvar de_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNetworkAclResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNetworkAclCommand\");\nvar de_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CreateNetworkAclEntryCommand\");\nvar de_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNetworkInsightsAccessScopeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNetworkInsightsAccessScopeCommand\");\nvar de_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNetworkInsightsPathResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNetworkInsightsPathCommand\");\nvar de_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNetworkInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNetworkInterfaceCommand\");\nvar de_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateNetworkInterfacePermissionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateNetworkInterfacePermissionCommand\");\nvar de_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreatePlacementGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreatePlacementGroupCommand\");\nvar de_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreatePublicIpv4PoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreatePublicIpv4PoolCommand\");\nvar de_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateReplaceRootVolumeTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateReplaceRootVolumeTaskCommand\");\nvar de_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateReservedInstancesListingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateReservedInstancesListingCommand\");\nvar de_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRestoreImageTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRestoreImageTaskCommand\");\nvar de_CreateRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRouteCommand\");\nvar de_CreateRouteServerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRouteServerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRouteServerCommand\");\nvar de_CreateRouteServerEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRouteServerEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRouteServerEndpointCommand\");\nvar de_CreateRouteServerPeerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRouteServerPeerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRouteServerPeerCommand\");\nvar de_CreateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRouteTableCommand\");\nvar de_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateSecurityGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSecurityGroupCommand\");\nvar de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_Snapshot(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSnapshotCommand\");\nvar de_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateSnapshotsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSnapshotsCommand\");\nvar de_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateSpotDatafeedSubscriptionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSpotDatafeedSubscriptionCommand\");\nvar de_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateStoreImageTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateStoreImageTaskCommand\");\nvar de_CreateSubnetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateSubnetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSubnetCommand\");\nvar de_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateSubnetCidrReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSubnetCidrReservationCommand\");\nvar de_CreateTagsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CreateTagsCommand\");\nvar de_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTrafficMirrorFilterResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTrafficMirrorFilterCommand\");\nvar de_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTrafficMirrorFilterRuleResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTrafficMirrorFilterRuleCommand\");\nvar de_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTrafficMirrorSessionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTrafficMirrorSessionCommand\");\nvar de_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTrafficMirrorTargetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTrafficMirrorTargetCommand\");\nvar de_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayCommand\");\nvar de_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayConnectResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayConnectCommand\");\nvar de_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayConnectPeerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayConnectPeerCommand\");\nvar de_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayMulticastDomainResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayMulticastDomainCommand\");\nvar de_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayPeeringAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayPeeringAttachmentCommand\");\nvar de_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayPolicyTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayPolicyTableCommand\");\nvar de_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayPrefixListReferenceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayPrefixListReferenceCommand\");\nvar de_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayRouteCommand\");\nvar de_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayRouteTableCommand\");\nvar de_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayRouteTableAnnouncementResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayRouteTableAnnouncementCommand\");\nvar de_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateTransitGatewayVpcAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateTransitGatewayVpcAttachmentCommand\");\nvar de_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVerifiedAccessEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVerifiedAccessEndpointCommand\");\nvar de_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVerifiedAccessGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVerifiedAccessGroupCommand\");\nvar de_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVerifiedAccessInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVerifiedAccessInstanceCommand\");\nvar de_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVerifiedAccessTrustProviderResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVerifiedAccessTrustProviderCommand\");\nvar de_CreateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_Volume(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVolumeCommand\");\nvar de_CreateVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcCommand\");\nvar de_CreateVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcBlockPublicAccessExclusionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcBlockPublicAccessExclusionCommand\");\nvar de_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcEndpointCommand\");\nvar de_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcEndpointConnectionNotificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcEndpointConnectionNotificationCommand\");\nvar de_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcEndpointServiceConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcEndpointServiceConfigurationCommand\");\nvar de_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpcPeeringConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpcPeeringConnectionCommand\");\nvar de_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpnConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpnConnectionCommand\");\nvar de_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_CreateVpnConnectionRouteCommand\");\nvar de_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_CreateVpnGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateVpnGatewayCommand\");\nvar de_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteCarrierGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteCarrierGatewayCommand\");\nvar de_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteClientVpnEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteClientVpnEndpointCommand\");\nvar de_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteClientVpnRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteClientVpnRouteCommand\");\nvar de_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteCoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteCoipCidrCommand\");\nvar de_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteCoipPoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteCoipPoolCommand\");\nvar de_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteCustomerGatewayCommand\");\nvar de_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteDhcpOptionsCommand\");\nvar de_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteEgressOnlyInternetGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteEgressOnlyInternetGatewayCommand\");\nvar de_DeleteFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteFleetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteFleetsCommand\");\nvar de_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteFlowLogsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteFlowLogsCommand\");\nvar de_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteFpgaImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteFpgaImageCommand\");\nvar de_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteInstanceConnectEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteInstanceConnectEndpointCommand\");\nvar de_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteInstanceEventWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteInstanceEventWindowCommand\");\nvar de_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteInternetGatewayCommand\");\nvar de_DeleteIpamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteIpamResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIpamCommand\");\nvar de_DeleteIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteIpamExternalResourceVerificationTokenResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIpamExternalResourceVerificationTokenCommand\");\nvar de_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteIpamPoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIpamPoolCommand\");\nvar de_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteIpamResourceDiscoveryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIpamResourceDiscoveryCommand\");\nvar de_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteIpamScopeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteIpamScopeCommand\");\nvar de_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteKeyPairResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteKeyPairCommand\");\nvar de_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLaunchTemplateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLaunchTemplateCommand\");\nvar de_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLaunchTemplateVersionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLaunchTemplateVersionsCommand\");\nvar de_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayRouteCommand\");\nvar de_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayRouteTableCommand\");\nvar de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\nvar de_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayRouteTableVpcAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayRouteTableVpcAssociationCommand\");\nvar de_DeleteLocalGatewayVirtualInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayVirtualInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayVirtualInterfaceCommand\");\nvar de_DeleteLocalGatewayVirtualInterfaceGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLocalGatewayVirtualInterfaceGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLocalGatewayVirtualInterfaceGroupCommand\");\nvar de_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteManagedPrefixListResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteManagedPrefixListCommand\");\nvar de_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNatGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNatGatewayCommand\");\nvar de_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteNetworkAclCommand\");\nvar de_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteNetworkAclEntryCommand\");\nvar de_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNetworkInsightsAccessScopeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNetworkInsightsAccessScopeCommand\");\nvar de_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNetworkInsightsAccessScopeAnalysisResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNetworkInsightsAccessScopeAnalysisCommand\");\nvar de_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNetworkInsightsAnalysisResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNetworkInsightsAnalysisCommand\");\nvar de_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNetworkInsightsPathResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNetworkInsightsPathCommand\");\nvar de_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteNetworkInterfaceCommand\");\nvar de_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteNetworkInterfacePermissionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteNetworkInterfacePermissionCommand\");\nvar de_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeletePlacementGroupCommand\");\nvar de_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeletePublicIpv4PoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeletePublicIpv4PoolCommand\");\nvar de_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteQueuedReservedInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteQueuedReservedInstancesCommand\");\nvar de_DeleteRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteRouteCommand\");\nvar de_DeleteRouteServerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteRouteServerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRouteServerCommand\");\nvar de_DeleteRouteServerEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteRouteServerEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRouteServerEndpointCommand\");\nvar de_DeleteRouteServerPeerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteRouteServerPeerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRouteServerPeerCommand\");\nvar de_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteRouteTableCommand\");\nvar de_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteSecurityGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteSecurityGroupCommand\");\nvar de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteSnapshotCommand\");\nvar de_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteSpotDatafeedSubscriptionCommand\");\nvar de_DeleteSubnetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteSubnetCommand\");\nvar de_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteSubnetCidrReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteSubnetCidrReservationCommand\");\nvar de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteTagsCommand\");\nvar de_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTrafficMirrorFilterResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTrafficMirrorFilterCommand\");\nvar de_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTrafficMirrorFilterRuleResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTrafficMirrorFilterRuleCommand\");\nvar de_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTrafficMirrorSessionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTrafficMirrorSessionCommand\");\nvar de_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTrafficMirrorTargetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTrafficMirrorTargetCommand\");\nvar de_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayCommand\");\nvar de_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayConnectResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayConnectCommand\");\nvar de_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayConnectPeerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayConnectPeerCommand\");\nvar de_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayMulticastDomainResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayMulticastDomainCommand\");\nvar de_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayPeeringAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayPeeringAttachmentCommand\");\nvar de_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayPolicyTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayPolicyTableCommand\");\nvar de_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayPrefixListReferenceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayPrefixListReferenceCommand\");\nvar de_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayRouteCommand\");\nvar de_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayRouteTableCommand\");\nvar de_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayRouteTableAnnouncementResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayRouteTableAnnouncementCommand\");\nvar de_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteTransitGatewayVpcAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteTransitGatewayVpcAttachmentCommand\");\nvar de_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVerifiedAccessEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVerifiedAccessEndpointCommand\");\nvar de_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVerifiedAccessGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVerifiedAccessGroupCommand\");\nvar de_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVerifiedAccessInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVerifiedAccessInstanceCommand\");\nvar de_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVerifiedAccessTrustProviderResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVerifiedAccessTrustProviderCommand\");\nvar de_DeleteVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteVolumeCommand\");\nvar de_DeleteVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteVpcCommand\");\nvar de_DeleteVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVpcBlockPublicAccessExclusionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVpcBlockPublicAccessExclusionCommand\");\nvar de_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVpcEndpointConnectionNotificationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVpcEndpointConnectionNotificationsCommand\");\nvar de_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVpcEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVpcEndpointsCommand\");\nvar de_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVpcEndpointServiceConfigurationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVpcEndpointServiceConfigurationsCommand\");\nvar de_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeleteVpcPeeringConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteVpcPeeringConnectionCommand\");\nvar de_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteVpnConnectionCommand\");\nvar de_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteVpnConnectionRouteCommand\");\nvar de_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DeleteVpnGatewayCommand\");\nvar de_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeprovisionByoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeprovisionByoipCidrCommand\");\nvar de_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeprovisionIpamByoasnResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeprovisionIpamByoasnCommand\");\nvar de_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeprovisionIpamPoolCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeprovisionIpamPoolCidrCommand\");\nvar de_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeprovisionPublicIpv4PoolCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeprovisionPublicIpv4PoolCidrCommand\");\nvar de_DeregisterImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeregisterImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterImageCommand\");\nvar de_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeregisterInstanceEventNotificationAttributesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterInstanceEventNotificationAttributesCommand\");\nvar de_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeregisterTransitGatewayMulticastGroupMembersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterTransitGatewayMulticastGroupMembersCommand\");\nvar de_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DeregisterTransitGatewayMulticastGroupSourcesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterTransitGatewayMulticastGroupSourcesCommand\");\nvar de_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAccountAttributesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAccountAttributesCommand\");\nvar de_DescribeAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAddressesCommand\");\nvar de_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAddressesAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAddressesAttributeCommand\");\nvar de_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAddressTransfersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAddressTransfersCommand\");\nvar de_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAggregateIdFormatResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAggregateIdFormatCommand\");\nvar de_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAvailabilityZonesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAvailabilityZonesCommand\");\nvar de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand\");\nvar de_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeBundleTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeBundleTasksCommand\");\nvar de_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeByoipCidrsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeByoipCidrsCommand\");\nvar de_DescribeCapacityBlockExtensionHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityBlockExtensionHistoryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityBlockExtensionHistoryCommand\");\nvar de_DescribeCapacityBlockExtensionOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityBlockExtensionOfferingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityBlockExtensionOfferingsCommand\");\nvar de_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityBlockOfferingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityBlockOfferingsCommand\");\nvar de_DescribeCapacityReservationBillingRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityReservationBillingRequestsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityReservationBillingRequestsCommand\");\nvar de_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityReservationFleetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityReservationFleetsCommand\");\nvar de_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCapacityReservationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCapacityReservationsCommand\");\nvar de_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCarrierGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCarrierGatewaysCommand\");\nvar de_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClassicLinkInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClassicLinkInstancesCommand\");\nvar de_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClientVpnAuthorizationRulesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClientVpnAuthorizationRulesCommand\");\nvar de_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClientVpnConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClientVpnConnectionsCommand\");\nvar de_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClientVpnEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClientVpnEndpointsCommand\");\nvar de_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClientVpnRoutesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClientVpnRoutesCommand\");\nvar de_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeClientVpnTargetNetworksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeClientVpnTargetNetworksCommand\");\nvar de_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCoipPoolsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCoipPoolsCommand\");\nvar de_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeConversionTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeConversionTasksCommand\");\nvar de_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeCustomerGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeCustomerGatewaysCommand\");\nvar de_DescribeDeclarativePoliciesReportsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeDeclarativePoliciesReportsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDeclarativePoliciesReportsCommand\");\nvar de_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeDhcpOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDhcpOptionsCommand\");\nvar de_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeEgressOnlyInternetGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeEgressOnlyInternetGatewaysCommand\");\nvar de_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeElasticGpusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeElasticGpusCommand\");\nvar de_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeExportImageTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeExportImageTasksCommand\");\nvar de_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeExportTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeExportTasksCommand\");\nvar de_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFastLaunchImagesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFastLaunchImagesCommand\");\nvar de_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFastSnapshotRestoresResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFastSnapshotRestoresCommand\");\nvar de_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFleetHistoryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFleetHistoryCommand\");\nvar de_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFleetInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFleetInstancesCommand\");\nvar de_DescribeFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFleetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFleetsCommand\");\nvar de_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFlowLogsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFlowLogsCommand\");\nvar de_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFpgaImageAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFpgaImageAttributeCommand\");\nvar de_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeFpgaImagesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeFpgaImagesCommand\");\nvar de_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeHostReservationOfferingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeHostReservationOfferingsCommand\");\nvar de_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeHostReservationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeHostReservationsCommand\");\nvar de_DescribeHostsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeHostsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeHostsCommand\");\nvar de_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIamInstanceProfileAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIamInstanceProfileAssociationsCommand\");\nvar de_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIdentityIdFormatResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIdentityIdFormatCommand\");\nvar de_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIdFormatResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIdFormatCommand\");\nvar de_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImageAttribute(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImageAttributeCommand\");\nvar de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeImagesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImagesCommand\");\nvar de_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeImportImageTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImportImageTasksCommand\");\nvar de_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeImportSnapshotTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImportSnapshotTasksCommand\");\nvar de_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_InstanceAttribute(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceAttributeCommand\");\nvar de_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceConnectEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceConnectEndpointsCommand\");\nvar de_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceCreditSpecificationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceCreditSpecificationsCommand\");\nvar de_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceEventNotificationAttributesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceEventNotificationAttributesCommand\");\nvar de_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceEventWindowsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceEventWindowsCommand\");\nvar de_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceImageMetadataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceImageMetadataCommand\");\nvar de_DescribeInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstancesCommand\");\nvar de_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceStatusCommand\");\nvar de_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceTopologyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceTopologyCommand\");\nvar de_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceTypeOfferingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceTypeOfferingsCommand\");\nvar de_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceTypesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceTypesCommand\");\nvar de_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInternetGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInternetGatewaysCommand\");\nvar de_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamByoasnResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamByoasnCommand\");\nvar de_DescribeIpamExternalResourceVerificationTokensCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamExternalResourceVerificationTokensResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamExternalResourceVerificationTokensCommand\");\nvar de_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamPoolsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamPoolsCommand\");\nvar de_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamResourceDiscoveriesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamResourceDiscoveriesCommand\");\nvar de_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamResourceDiscoveryAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamResourceDiscoveryAssociationsCommand\");\nvar de_DescribeIpamsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamsCommand\");\nvar de_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpamScopesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpamScopesCommand\");\nvar de_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeIpv6PoolsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeIpv6PoolsCommand\");\nvar de_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeKeyPairsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeKeyPairsCommand\");\nvar de_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLaunchTemplatesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLaunchTemplatesCommand\");\nvar de_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLaunchTemplateVersionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLaunchTemplateVersionsCommand\");\nvar de_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewayRouteTablesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewayRouteTablesCommand\");\nvar de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand\");\nvar de_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewayRouteTableVpcAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewayRouteTableVpcAssociationsCommand\");\nvar de_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewaysCommand\");\nvar de_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewayVirtualInterfaceGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewayVirtualInterfaceGroupsCommand\");\nvar de_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLocalGatewayVirtualInterfacesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLocalGatewayVirtualInterfacesCommand\");\nvar de_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeLockedSnapshotsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeLockedSnapshotsCommand\");\nvar de_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMacHostsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMacHostsCommand\");\nvar de_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeManagedPrefixListsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeManagedPrefixListsCommand\");\nvar de_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMovingAddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMovingAddressesCommand\");\nvar de_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNatGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNatGatewaysCommand\");\nvar de_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkAclsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkAclsCommand\");\nvar de_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInsightsAccessScopeAnalysesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInsightsAccessScopeAnalysesCommand\");\nvar de_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInsightsAccessScopesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInsightsAccessScopesCommand\");\nvar de_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInsightsAnalysesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInsightsAnalysesCommand\");\nvar de_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInsightsPathsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInsightsPathsCommand\");\nvar de_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInterfaceAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInterfaceAttributeCommand\");\nvar de_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInterfacePermissionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInterfacePermissionsCommand\");\nvar de_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeNetworkInterfacesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeNetworkInterfacesCommand\");\nvar de_DescribeOutpostLagsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeOutpostLagsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeOutpostLagsCommand\");\nvar de_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribePlacementGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePlacementGroupsCommand\");\nvar de_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribePrefixListsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePrefixListsCommand\");\nvar de_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribePrincipalIdFormatResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePrincipalIdFormatCommand\");\nvar de_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribePublicIpv4PoolsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePublicIpv4PoolsCommand\");\nvar de_DescribeRegionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRegionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRegionsCommand\");\nvar de_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeReplaceRootVolumeTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeReplaceRootVolumeTasksCommand\");\nvar de_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeReservedInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeReservedInstancesCommand\");\nvar de_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeReservedInstancesListingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeReservedInstancesListingsCommand\");\nvar de_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeReservedInstancesModificationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeReservedInstancesModificationsCommand\");\nvar de_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeReservedInstancesOfferingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeReservedInstancesOfferingsCommand\");\nvar de_DescribeRouteServerEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRouteServerEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRouteServerEndpointsCommand\");\nvar de_DescribeRouteServerPeersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRouteServerPeersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRouteServerPeersCommand\");\nvar de_DescribeRouteServersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRouteServersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRouteServersCommand\");\nvar de_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRouteTablesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRouteTablesCommand\");\nvar de_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeScheduledInstanceAvailabilityResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeScheduledInstanceAvailabilityCommand\");\nvar de_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeScheduledInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeScheduledInstancesCommand\");\nvar de_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSecurityGroupReferencesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSecurityGroupReferencesCommand\");\nvar de_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSecurityGroupRulesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSecurityGroupRulesCommand\");\nvar de_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSecurityGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSecurityGroupsCommand\");\nvar de_DescribeSecurityGroupVpcAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSecurityGroupVpcAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSecurityGroupVpcAssociationsCommand\");\nvar de_DescribeServiceLinkVirtualInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeServiceLinkVirtualInterfacesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeServiceLinkVirtualInterfacesCommand\");\nvar de_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSnapshotAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSnapshotAttributeCommand\");\nvar de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSnapshotsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSnapshotsCommand\");\nvar de_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSnapshotTierStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSnapshotTierStatusCommand\");\nvar de_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotDatafeedSubscriptionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotDatafeedSubscriptionCommand\");\nvar de_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotFleetInstancesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotFleetInstancesCommand\");\nvar de_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotFleetRequestHistoryResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotFleetRequestHistoryCommand\");\nvar de_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotFleetRequestsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotFleetRequestsCommand\");\nvar de_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotInstanceRequestsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotInstanceRequestsCommand\");\nvar de_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSpotPriceHistoryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSpotPriceHistoryCommand\");\nvar de_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeStaleSecurityGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeStaleSecurityGroupsCommand\");\nvar de_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeStoreImageTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeStoreImageTasksCommand\");\nvar de_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSubnetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSubnetsCommand\");\nvar de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTagsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTagsCommand\");\nvar de_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTrafficMirrorFilterRulesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTrafficMirrorFilterRulesCommand\");\nvar de_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTrafficMirrorFiltersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTrafficMirrorFiltersCommand\");\nvar de_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTrafficMirrorSessionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTrafficMirrorSessionsCommand\");\nvar de_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTrafficMirrorTargetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTrafficMirrorTargetsCommand\");\nvar de_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayAttachmentsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayAttachmentsCommand\");\nvar de_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayConnectPeersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayConnectPeersCommand\");\nvar de_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayConnectsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayConnectsCommand\");\nvar de_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayMulticastDomainsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayMulticastDomainsCommand\");\nvar de_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayPeeringAttachmentsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayPeeringAttachmentsCommand\");\nvar de_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayPolicyTablesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayPolicyTablesCommand\");\nvar de_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayRouteTableAnnouncementsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayRouteTableAnnouncementsCommand\");\nvar de_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayRouteTablesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayRouteTablesCommand\");\nvar de_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewaysCommand\");\nvar de_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTransitGatewayVpcAttachmentsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTransitGatewayVpcAttachmentsCommand\");\nvar de_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeTrunkInterfaceAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeTrunkInterfaceAssociationsCommand\");\nvar de_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVerifiedAccessEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVerifiedAccessEndpointsCommand\");\nvar de_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVerifiedAccessGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVerifiedAccessGroupsCommand\");\nvar de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand\");\nvar de_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVerifiedAccessInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVerifiedAccessInstancesCommand\");\nvar de_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVerifiedAccessTrustProvidersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVerifiedAccessTrustProvidersCommand\");\nvar de_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVolumeAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVolumeAttributeCommand\");\nvar de_DescribeVolumesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVolumesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVolumesCommand\");\nvar de_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVolumesModificationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVolumesModificationsCommand\");\nvar de_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVolumeStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVolumeStatusCommand\");\nvar de_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcAttributeCommand\");\nvar de_DescribeVpcBlockPublicAccessExclusionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcBlockPublicAccessExclusionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcBlockPublicAccessExclusionsCommand\");\nvar de_DescribeVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcBlockPublicAccessOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcBlockPublicAccessOptionsCommand\");\nvar de_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcClassicLinkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcClassicLinkCommand\");\nvar de_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcClassicLinkDnsSupportResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcClassicLinkDnsSupportCommand\");\nvar de_DescribeVpcEndpointAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointAssociationsCommand\");\nvar de_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointConnectionNotificationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointConnectionNotificationsCommand\");\nvar de_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointConnectionsCommand\");\nvar de_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointsCommand\");\nvar de_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointServiceConfigurationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointServiceConfigurationsCommand\");\nvar de_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointServicePermissionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointServicePermissionsCommand\");\nvar de_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcEndpointServicesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcEndpointServicesCommand\");\nvar de_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcPeeringConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcPeeringConnectionsCommand\");\nvar de_DescribeVpcsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpcsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpcsCommand\");\nvar de_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpnConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpnConnectionsCommand\");\nvar de_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DescribeVpnGatewaysResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeVpnGatewaysCommand\");\nvar de_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DetachClassicLinkVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DetachClassicLinkVpcCommand\");\nvar de_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DetachInternetGatewayCommand\");\nvar de_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DetachNetworkInterfaceCommand\");\nvar de_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DetachVerifiedAccessTrustProviderResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DetachVerifiedAccessTrustProviderCommand\");\nvar de_DetachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_VolumeAttachment(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DetachVolumeCommand\");\nvar de_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DetachVpnGatewayCommand\");\nvar de_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableAddressTransferResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableAddressTransferCommand\");\nvar de_DisableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableAllowedImagesSettingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableAllowedImagesSettingsCommand\");\nvar de_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableAwsNetworkPerformanceMetricSubscriptionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableAwsNetworkPerformanceMetricSubscriptionCommand\");\nvar de_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableEbsEncryptionByDefaultResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableEbsEncryptionByDefaultCommand\");\nvar de_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableFastLaunchResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableFastLaunchCommand\");\nvar de_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableFastSnapshotRestoresResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableFastSnapshotRestoresCommand\");\nvar de_DisableImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableImageCommand\");\nvar de_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableImageBlockPublicAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableImageBlockPublicAccessCommand\");\nvar de_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableImageDeprecationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableImageDeprecationCommand\");\nvar de_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableImageDeregistrationProtectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableImageDeregistrationProtectionCommand\");\nvar de_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableIpamOrganizationAdminAccountResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableIpamOrganizationAdminAccountCommand\");\nvar de_DisableRouteServerPropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableRouteServerPropagationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableRouteServerPropagationCommand\");\nvar de_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableSerialConsoleAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableSerialConsoleAccessCommand\");\nvar de_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableSnapshotBlockPublicAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableSnapshotBlockPublicAccessCommand\");\nvar de_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableTransitGatewayRouteTablePropagationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableTransitGatewayRouteTablePropagationCommand\");\nvar de_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DisableVgwRoutePropagationCommand\");\nvar de_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableVpcClassicLinkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableVpcClassicLinkCommand\");\nvar de_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisableVpcClassicLinkDnsSupportResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisableVpcClassicLinkDnsSupportCommand\");\nvar de_DisassociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DisassociateAddressCommand\");\nvar de_DisassociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateCapacityReservationBillingOwnerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateCapacityReservationBillingOwnerCommand\");\nvar de_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateClientVpnTargetNetworkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateClientVpnTargetNetworkCommand\");\nvar de_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateEnclaveCertificateIamRoleResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateEnclaveCertificateIamRoleCommand\");\nvar de_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateIamInstanceProfileResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateIamInstanceProfileCommand\");\nvar de_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateInstanceEventWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateInstanceEventWindowCommand\");\nvar de_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateIpamByoasnResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateIpamByoasnCommand\");\nvar de_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateIpamResourceDiscoveryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateIpamResourceDiscoveryCommand\");\nvar de_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateNatGatewayAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateNatGatewayAddressCommand\");\nvar de_DisassociateRouteServerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateRouteServerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateRouteServerCommand\");\nvar de_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_DisassociateRouteTableCommand\");\nvar de_DisassociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateSecurityGroupVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateSecurityGroupVpcCommand\");\nvar de_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateSubnetCidrBlockResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateSubnetCidrBlockCommand\");\nvar de_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateTransitGatewayMulticastDomainResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateTransitGatewayMulticastDomainCommand\");\nvar de_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateTransitGatewayPolicyTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateTransitGatewayPolicyTableCommand\");\nvar de_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateTransitGatewayRouteTableResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateTransitGatewayRouteTableCommand\");\nvar de_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateTrunkInterfaceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateTrunkInterfaceCommand\");\nvar de_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DisassociateVpcCidrBlockResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateVpcCidrBlockCommand\");\nvar de_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableAddressTransferResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableAddressTransferCommand\");\nvar de_EnableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableAllowedImagesSettingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableAllowedImagesSettingsCommand\");\nvar de_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableAwsNetworkPerformanceMetricSubscriptionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableAwsNetworkPerformanceMetricSubscriptionCommand\");\nvar de_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableEbsEncryptionByDefaultResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableEbsEncryptionByDefaultCommand\");\nvar de_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableFastLaunchResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableFastLaunchCommand\");\nvar de_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableFastSnapshotRestoresResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableFastSnapshotRestoresCommand\");\nvar de_EnableImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableImageCommand\");\nvar de_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableImageBlockPublicAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableImageBlockPublicAccessCommand\");\nvar de_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableImageDeprecationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableImageDeprecationCommand\");\nvar de_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableImageDeregistrationProtectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableImageDeregistrationProtectionCommand\");\nvar de_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableIpamOrganizationAdminAccountResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableIpamOrganizationAdminAccountCommand\");\nvar de_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableReachabilityAnalyzerOrganizationSharingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableReachabilityAnalyzerOrganizationSharingCommand\");\nvar de_EnableRouteServerPropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableRouteServerPropagationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableRouteServerPropagationCommand\");\nvar de_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableSerialConsoleAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableSerialConsoleAccessCommand\");\nvar de_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableSnapshotBlockPublicAccessResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableSnapshotBlockPublicAccessCommand\");\nvar de_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableTransitGatewayRouteTablePropagationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableTransitGatewayRouteTablePropagationCommand\");\nvar de_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_EnableVgwRoutePropagationCommand\");\nvar de_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_EnableVolumeIOCommand\");\nvar de_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableVpcClassicLinkResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableVpcClassicLinkCommand\");\nvar de_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_EnableVpcClassicLinkDnsSupportResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_EnableVpcClassicLinkDnsSupportCommand\");\nvar de_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ExportClientVpnClientCertificateRevocationListResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ExportClientVpnClientCertificateRevocationListCommand\");\nvar de_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ExportClientVpnClientConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ExportClientVpnClientConfigurationCommand\");\nvar de_ExportImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ExportImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ExportImageCommand\");\nvar de_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ExportTransitGatewayRoutesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ExportTransitGatewayRoutesCommand\");\nvar de_ExportVerifiedAccessInstanceClientConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ExportVerifiedAccessInstanceClientConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ExportVerifiedAccessInstanceClientConfigurationCommand\");\nvar de_GetAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetAllowedImagesSettingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAllowedImagesSettingsCommand\");\nvar de_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetAssociatedEnclaveCertificateIamRolesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAssociatedEnclaveCertificateIamRolesCommand\");\nvar de_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetAssociatedIpv6PoolCidrsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAssociatedIpv6PoolCidrsCommand\");\nvar de_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetAwsNetworkPerformanceDataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAwsNetworkPerformanceDataCommand\");\nvar de_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetCapacityReservationUsageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCapacityReservationUsageCommand\");\nvar de_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetCoipPoolUsageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCoipPoolUsageCommand\");\nvar de_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetConsoleOutputResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetConsoleOutputCommand\");\nvar de_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetConsoleScreenshotResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetConsoleScreenshotCommand\");\nvar de_GetDeclarativePoliciesReportSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetDeclarativePoliciesReportSummaryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeclarativePoliciesReportSummaryCommand\");\nvar de_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetDefaultCreditSpecificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDefaultCreditSpecificationCommand\");\nvar de_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetEbsDefaultKmsKeyIdResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetEbsDefaultKmsKeyIdCommand\");\nvar de_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetEbsEncryptionByDefaultResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetEbsEncryptionByDefaultCommand\");\nvar de_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetFlowLogsIntegrationTemplateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetFlowLogsIntegrationTemplateCommand\");\nvar de_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetGroupsForCapacityReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetGroupsForCapacityReservationCommand\");\nvar de_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetHostReservationPurchasePreviewResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetHostReservationPurchasePreviewCommand\");\nvar de_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetImageBlockPublicAccessStateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetImageBlockPublicAccessStateCommand\");\nvar de_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetInstanceMetadataDefaultsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInstanceMetadataDefaultsCommand\");\nvar de_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetInstanceTpmEkPubResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInstanceTpmEkPubCommand\");\nvar de_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetInstanceTypesFromInstanceRequirementsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInstanceTypesFromInstanceRequirementsCommand\");\nvar de_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetInstanceUefiDataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInstanceUefiDataCommand\");\nvar de_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamAddressHistoryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamAddressHistoryCommand\");\nvar de_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamDiscoveredAccountsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamDiscoveredAccountsCommand\");\nvar de_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamDiscoveredPublicAddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamDiscoveredPublicAddressesCommand\");\nvar de_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamDiscoveredResourceCidrsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamDiscoveredResourceCidrsCommand\");\nvar de_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamPoolAllocationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamPoolAllocationsCommand\");\nvar de_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamPoolCidrsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamPoolCidrsCommand\");\nvar de_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetIpamResourceCidrsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetIpamResourceCidrsCommand\");\nvar de_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetLaunchTemplateDataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLaunchTemplateDataCommand\");\nvar de_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetManagedPrefixListAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetManagedPrefixListAssociationsCommand\");\nvar de_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetManagedPrefixListEntriesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetManagedPrefixListEntriesCommand\");\nvar de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetNetworkInsightsAccessScopeAnalysisFindingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand\");\nvar de_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetNetworkInsightsAccessScopeContentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetNetworkInsightsAccessScopeContentCommand\");\nvar de_GetPasswordDataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetPasswordDataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetPasswordDataCommand\");\nvar de_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetReservedInstancesExchangeQuoteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetReservedInstancesExchangeQuoteCommand\");\nvar de_GetRouteServerAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetRouteServerAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRouteServerAssociationsCommand\");\nvar de_GetRouteServerPropagationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetRouteServerPropagationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRouteServerPropagationsCommand\");\nvar de_GetRouteServerRoutingDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetRouteServerRoutingDatabaseResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRouteServerRoutingDatabaseCommand\");\nvar de_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSecurityGroupsForVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSecurityGroupsForVpcCommand\");\nvar de_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSerialConsoleAccessStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSerialConsoleAccessStatusCommand\");\nvar de_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSnapshotBlockPublicAccessStateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSnapshotBlockPublicAccessStateCommand\");\nvar de_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSpotPlacementScoresResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSpotPlacementScoresCommand\");\nvar de_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSubnetCidrReservationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSubnetCidrReservationsCommand\");\nvar de_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayAttachmentPropagationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayAttachmentPropagationsCommand\");\nvar de_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayMulticastDomainAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayMulticastDomainAssociationsCommand\");\nvar de_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayPolicyTableAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayPolicyTableAssociationsCommand\");\nvar de_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayPolicyTableEntriesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayPolicyTableEntriesCommand\");\nvar de_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayPrefixListReferencesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayPrefixListReferencesCommand\");\nvar de_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayRouteTableAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayRouteTableAssociationsCommand\");\nvar de_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetTransitGatewayRouteTablePropagationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetTransitGatewayRouteTablePropagationsCommand\");\nvar de_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVerifiedAccessEndpointPolicyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVerifiedAccessEndpointPolicyCommand\");\nvar de_GetVerifiedAccessEndpointTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVerifiedAccessEndpointTargetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVerifiedAccessEndpointTargetsCommand\");\nvar de_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVerifiedAccessGroupPolicyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVerifiedAccessGroupPolicyCommand\");\nvar de_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVpnConnectionDeviceSampleConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVpnConnectionDeviceSampleConfigurationCommand\");\nvar de_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVpnConnectionDeviceTypesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVpnConnectionDeviceTypesCommand\");\nvar de_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetVpnTunnelReplacementStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetVpnTunnelReplacementStatusCommand\");\nvar de_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportClientVpnClientCertificateRevocationListResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportClientVpnClientCertificateRevocationListCommand\");\nvar de_ImportImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportImageCommand\");\nvar de_ImportInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportInstanceCommand\");\nvar de_ImportKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportKeyPairResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportKeyPairCommand\");\nvar de_ImportSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportSnapshotResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportSnapshotCommand\");\nvar de_ImportVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ImportVolumeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ImportVolumeCommand\");\nvar de_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ListImagesInRecycleBinResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListImagesInRecycleBinCommand\");\nvar de_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ListSnapshotsInRecycleBinResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSnapshotsInRecycleBinCommand\");\nvar de_LockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_LockSnapshotResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_LockSnapshotCommand\");\nvar de_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyAddressAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyAddressAttributeCommand\");\nvar de_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyAvailabilityZoneGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyAvailabilityZoneGroupCommand\");\nvar de_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyCapacityReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyCapacityReservationCommand\");\nvar de_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyCapacityReservationFleetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyCapacityReservationFleetCommand\");\nvar de_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyClientVpnEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyClientVpnEndpointCommand\");\nvar de_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyDefaultCreditSpecificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyDefaultCreditSpecificationCommand\");\nvar de_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyEbsDefaultKmsKeyIdResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyEbsDefaultKmsKeyIdCommand\");\nvar de_ModifyFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyFleetResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyFleetCommand\");\nvar de_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyFpgaImageAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyFpgaImageAttributeCommand\");\nvar de_ModifyHostsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyHostsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyHostsCommand\");\nvar de_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyIdentityIdFormatCommand\");\nvar de_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyIdFormatCommand\");\nvar de_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyImageAttributeCommand\");\nvar de_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyInstanceAttributeCommand\");\nvar de_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceCapacityReservationAttributesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceCapacityReservationAttributesCommand\");\nvar de_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceCpuOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceCpuOptionsCommand\");\nvar de_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceCreditSpecificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceCreditSpecificationCommand\");\nvar de_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceEventStartTimeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceEventStartTimeCommand\");\nvar de_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceEventWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceEventWindowCommand\");\nvar de_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceMaintenanceOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceMaintenanceOptionsCommand\");\nvar de_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceMetadataDefaultsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceMetadataDefaultsCommand\");\nvar de_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceMetadataOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceMetadataOptionsCommand\");\nvar de_ModifyInstanceNetworkPerformanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstanceNetworkPerformanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstanceNetworkPerformanceOptionsCommand\");\nvar de_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyInstancePlacementResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyInstancePlacementCommand\");\nvar de_ModifyIpamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyIpamResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyIpamCommand\");\nvar de_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyIpamPoolResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyIpamPoolCommand\");\nvar de_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyIpamResourceCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyIpamResourceCidrCommand\");\nvar de_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyIpamResourceDiscoveryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyIpamResourceDiscoveryCommand\");\nvar de_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyIpamScopeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyIpamScopeCommand\");\nvar de_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyLaunchTemplateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyLaunchTemplateCommand\");\nvar de_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyLocalGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyLocalGatewayRouteCommand\");\nvar de_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyManagedPrefixListResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyManagedPrefixListCommand\");\nvar de_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyNetworkInterfaceAttributeCommand\");\nvar de_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyPrivateDnsNameOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyPrivateDnsNameOptionsCommand\");\nvar de_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyReservedInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyReservedInstancesCommand\");\nvar de_ModifyRouteServerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyRouteServerResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyRouteServerCommand\");\nvar de_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifySecurityGroupRulesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifySecurityGroupRulesCommand\");\nvar de_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifySnapshotAttributeCommand\");\nvar de_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifySnapshotTierResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifySnapshotTierCommand\");\nvar de_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifySpotFleetRequestResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifySpotFleetRequestCommand\");\nvar de_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifySubnetAttributeCommand\");\nvar de_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTrafficMirrorFilterNetworkServicesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTrafficMirrorFilterNetworkServicesCommand\");\nvar de_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTrafficMirrorFilterRuleResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTrafficMirrorFilterRuleCommand\");\nvar de_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTrafficMirrorSessionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTrafficMirrorSessionCommand\");\nvar de_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTransitGatewayResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTransitGatewayCommand\");\nvar de_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTransitGatewayPrefixListReferenceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTransitGatewayPrefixListReferenceCommand\");\nvar de_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyTransitGatewayVpcAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyTransitGatewayVpcAttachmentCommand\");\nvar de_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessEndpointCommand\");\nvar de_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessEndpointPolicyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessEndpointPolicyCommand\");\nvar de_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessGroupCommand\");\nvar de_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessGroupPolicyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessGroupPolicyCommand\");\nvar de_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessInstanceResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessInstanceCommand\");\nvar de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessInstanceLoggingConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand\");\nvar de_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVerifiedAccessTrustProviderResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVerifiedAccessTrustProviderCommand\");\nvar de_ModifyVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVolumeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVolumeCommand\");\nvar de_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyVolumeAttributeCommand\");\nvar de_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ModifyVpcAttributeCommand\");\nvar de_ModifyVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcBlockPublicAccessExclusionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcBlockPublicAccessExclusionCommand\");\nvar de_ModifyVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcBlockPublicAccessOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcBlockPublicAccessOptionsCommand\");\nvar de_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcEndpointResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcEndpointCommand\");\nvar de_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcEndpointConnectionNotificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcEndpointConnectionNotificationCommand\");\nvar de_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcEndpointServiceConfigurationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcEndpointServiceConfigurationCommand\");\nvar de_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcEndpointServicePayerResponsibilityResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcEndpointServicePayerResponsibilityCommand\");\nvar de_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcEndpointServicePermissionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcEndpointServicePermissionsCommand\");\nvar de_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcPeeringConnectionOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcPeeringConnectionOptionsCommand\");\nvar de_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpcTenancyResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpcTenancyCommand\");\nvar de_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpnConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpnConnectionCommand\");\nvar de_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpnConnectionOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpnConnectionOptionsCommand\");\nvar de_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpnTunnelCertificateResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpnTunnelCertificateCommand\");\nvar de_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ModifyVpnTunnelOptionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyVpnTunnelOptionsCommand\");\nvar de_MonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_MonitorInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_MonitorInstancesCommand\");\nvar de_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_MoveAddressToVpcResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_MoveAddressToVpcCommand\");\nvar de_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_MoveByoipCidrToIpamResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_MoveByoipCidrToIpamCommand\");\nvar de_MoveCapacityReservationInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_MoveCapacityReservationInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_MoveCapacityReservationInstancesCommand\");\nvar de_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ProvisionByoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ProvisionByoipCidrCommand\");\nvar de_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ProvisionIpamByoasnResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ProvisionIpamByoasnCommand\");\nvar de_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ProvisionIpamPoolCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ProvisionIpamPoolCidrCommand\");\nvar de_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ProvisionPublicIpv4PoolCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ProvisionPublicIpv4PoolCidrCommand\");\nvar de_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_PurchaseCapacityBlockResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PurchaseCapacityBlockCommand\");\nvar de_PurchaseCapacityBlockExtensionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_PurchaseCapacityBlockExtensionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PurchaseCapacityBlockExtensionCommand\");\nvar de_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_PurchaseHostReservationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PurchaseHostReservationCommand\");\nvar de_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_PurchaseReservedInstancesOfferingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PurchaseReservedInstancesOfferingCommand\");\nvar de_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_PurchaseScheduledInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PurchaseScheduledInstancesCommand\");\nvar de_RebootInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_RebootInstancesCommand\");\nvar de_RegisterImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RegisterImageResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterImageCommand\");\nvar de_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RegisterInstanceEventNotificationAttributesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterInstanceEventNotificationAttributesCommand\");\nvar de_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RegisterTransitGatewayMulticastGroupMembersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterTransitGatewayMulticastGroupMembersCommand\");\nvar de_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RegisterTransitGatewayMulticastGroupSourcesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterTransitGatewayMulticastGroupSourcesCommand\");\nvar de_RejectCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectCapacityReservationBillingOwnershipResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectCapacityReservationBillingOwnershipCommand\");\nvar de_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectTransitGatewayMulticastDomainAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectTransitGatewayMulticastDomainAssociationsCommand\");\nvar de_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectTransitGatewayPeeringAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectTransitGatewayPeeringAttachmentCommand\");\nvar de_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectTransitGatewayVpcAttachmentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectTransitGatewayVpcAttachmentCommand\");\nvar de_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectVpcEndpointConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectVpcEndpointConnectionsCommand\");\nvar de_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RejectVpcPeeringConnectionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RejectVpcPeeringConnectionCommand\");\nvar de_ReleaseAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ReleaseAddressCommand\");\nvar de_ReleaseHostsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReleaseHostsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReleaseHostsCommand\");\nvar de_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReleaseIpamPoolAllocationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReleaseIpamPoolAllocationCommand\");\nvar de_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceIamInstanceProfileAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceIamInstanceProfileAssociationCommand\");\nvar de_ReplaceImageCriteriaInAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceImageCriteriaInAllowedImagesSettingsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceImageCriteriaInAllowedImagesSettingsCommand\");\nvar de_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceNetworkAclAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceNetworkAclAssociationCommand\");\nvar de_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ReplaceNetworkAclEntryCommand\");\nvar de_ReplaceRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ReplaceRouteCommand\");\nvar de_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceRouteTableAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceRouteTableAssociationCommand\");\nvar de_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceTransitGatewayRouteResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceTransitGatewayRouteCommand\");\nvar de_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ReplaceVpnTunnelResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplaceVpnTunnelCommand\");\nvar de_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ReportInstanceStatusCommand\");\nvar de_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RequestSpotFleetResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RequestSpotFleetCommand\");\nvar de_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RequestSpotInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RequestSpotInstancesCommand\");\nvar de_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ResetAddressAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ResetAddressAttributeCommand\");\nvar de_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ResetEbsDefaultKmsKeyIdResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ResetEbsDefaultKmsKeyIdCommand\");\nvar de_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_ResetFpgaImageAttributeResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ResetFpgaImageAttributeCommand\");\nvar de_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ResetImageAttributeCommand\");\nvar de_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ResetInstanceAttributeCommand\");\nvar de_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ResetNetworkInterfaceAttributeCommand\");\nvar de_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_ResetSnapshotAttributeCommand\");\nvar de_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RestoreAddressToClassicResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreAddressToClassicCommand\");\nvar de_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RestoreImageFromRecycleBinResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreImageFromRecycleBinCommand\");\nvar de_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RestoreManagedPrefixListVersionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreManagedPrefixListVersionCommand\");\nvar de_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RestoreSnapshotFromRecycleBinResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreSnapshotFromRecycleBinCommand\");\nvar de_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RestoreSnapshotTierResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreSnapshotTierCommand\");\nvar de_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RevokeClientVpnIngressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RevokeClientVpnIngressCommand\");\nvar de_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RevokeSecurityGroupEgressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RevokeSecurityGroupEgressCommand\");\nvar de_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RevokeSecurityGroupIngressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RevokeSecurityGroupIngressCommand\");\nvar de_RunInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_Reservation(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RunInstancesCommand\");\nvar de_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_RunScheduledInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RunScheduledInstancesCommand\");\nvar de_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_SearchLocalGatewayRoutesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SearchLocalGatewayRoutesCommand\");\nvar de_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_SearchTransitGatewayMulticastGroupsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SearchTransitGatewayMulticastGroupsCommand\");\nvar de_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_SearchTransitGatewayRoutesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SearchTransitGatewayRoutesCommand\");\nvar de_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_SendDiagnosticInterruptCommand\");\nvar de_StartDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StartDeclarativePoliciesReportResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartDeclarativePoliciesReportCommand\");\nvar de_StartInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StartInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartInstancesCommand\");\nvar de_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StartNetworkInsightsAccessScopeAnalysisResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartNetworkInsightsAccessScopeAnalysisCommand\");\nvar de_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StartNetworkInsightsAnalysisResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartNetworkInsightsAnalysisCommand\");\nvar de_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StartVpcEndpointServicePrivateDnsVerificationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartVpcEndpointServicePrivateDnsVerificationCommand\");\nvar de_StopInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_StopInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopInstancesCommand\");\nvar de_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_TerminateClientVpnConnectionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TerminateClientVpnConnectionsCommand\");\nvar de_TerminateInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_TerminateInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TerminateInstancesCommand\");\nvar de_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UnassignIpv6AddressesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UnassignIpv6AddressesCommand\");\nvar de_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UnassignPrivateIpAddressesCommand\");\nvar de_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UnassignPrivateNatGatewayAddressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UnassignPrivateNatGatewayAddressCommand\");\nvar de_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UnlockSnapshotResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UnlockSnapshotCommand\");\nvar de_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UnmonitorInstancesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UnmonitorInstancesCommand\");\nvar de_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UpdateSecurityGroupRuleDescriptionsEgressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateSecurityGroupRuleDescriptionsEgressCommand\");\nvar de_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_UpdateSecurityGroupRuleDescriptionsIngressResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateSecurityGroupRuleDescriptionsIngressCommand\");\nvar de_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_WithdrawByoipCidrResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_WithdrawByoipCidrCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadEc2ErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Errors.Error,\n errorCode\n });\n}, \"de_CommandError\");\nvar se_AcceleratorCount = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_AcceleratorCount\");\nvar se_AcceleratorCountRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_AcceleratorCountRequest\");\nvar se_AcceleratorManufacturerSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AcceleratorManufacturerSet\");\nvar se_AcceleratorNameSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AcceleratorNameSet\");\nvar se_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_AcceleratorTotalMemoryMiB\");\nvar se_AcceleratorTotalMemoryMiBRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_AcceleratorTotalMemoryMiBRequest\");\nvar se_AcceleratorTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AcceleratorTypeSet\");\nvar se_AcceptAddressTransferRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ad] != null) {\n entries[_Ad] = input[_Ad];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AcceptAddressTransferRequest\");\nvar se_AcceptCapacityReservationBillingOwnershipRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n return entries;\n}, \"se_AcceptCapacityReservationBillingOwnershipRequest\");\nvar se_AcceptReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RII] != null) {\n const memberEntries = se_ReservedInstanceIdSet(input[_RII], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TC] != null) {\n const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetConfiguration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AcceptReservedInstancesExchangeQuoteRequest\");\nvar se_AcceptTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_ValueStringList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AcceptTransitGatewayMulticastDomainAssociationsRequest\");\nvar se_AcceptTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AcceptTransitGatewayPeeringAttachmentRequest\");\nvar se_AcceptTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AcceptTransitGatewayVpcAttachmentRequest\");\nvar se_AcceptVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_VEI] != null) {\n const memberEntries = se_VpcEndpointIdList(input[_VEI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AcceptVpcEndpointConnectionsRequest\");\nvar se_AcceptVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n return entries;\n}, \"se_AcceptVpcPeeringConnectionRequest\");\nvar se_AccessScopePathListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_AccessScopePathRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_AccessScopePathListRequest\");\nvar se_AccessScopePathRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_S] != null) {\n const memberEntries = se_PathStatementRequest(input[_S], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Source.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_D] != null) {\n const memberEntries = se_PathStatementRequest(input[_D], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Destination.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TR] != null) {\n const memberEntries = se_ThroughResourcesStatementRequestList(input[_TR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ThroughResource.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AccessScopePathRequest\");\nvar se_AccountAttributeNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`AttributeName.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AccountAttributeNameStringList\");\nvar se_AddIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RN] != null) {\n entries[_RN] = input[_RN];\n }\n return entries;\n}, \"se_AddIpamOperatingRegion\");\nvar se_AddIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_AddIpamOperatingRegion(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_AddIpamOperatingRegionSet\");\nvar se_AddIpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_OEP] != null) {\n entries[_OEP] = input[_OEP];\n }\n return entries;\n}, \"se_AddIpamOrganizationalUnitExclusion\");\nvar se_AddIpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_AddIpamOrganizationalUnitExclusion(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_AddIpamOrganizationalUnitExclusionSet\");\nvar se_AddPrefixListEntries = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_AddPrefixListEntry(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_AddPrefixListEntries\");\nvar se_AddPrefixListEntry = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n return entries;\n}, \"se_AddPrefixListEntry\");\nvar se_AdvertiseByoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_As] != null) {\n entries[_As] = input[_As];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n return entries;\n}, \"se_AdvertiseByoipCidrRequest\");\nvar se_AllocateAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Do] != null) {\n entries[_Do] = input[_Do];\n }\n if (input[_Ad] != null) {\n entries[_Ad] = input[_Ad];\n }\n if (input[_PIP] != null) {\n entries[_PIP] = input[_PIP];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n if (input[_COIP] != null) {\n entries[_COIP] = input[_COIP];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AllocateAddressRequest\");\nvar se_AllocateHostsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_HR] != null) {\n entries[_HR] = input[_HR];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_HM] != null) {\n entries[_HM] = input[_HM];\n }\n if (input[_AI] != null) {\n const memberEntries = se_AssetIdList(input[_AI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n if (input[_AP] != null) {\n entries[_AP] = input[_AP];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_Q] != null) {\n entries[_Q] = input[_Q];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n return entries;\n}, \"se_AllocateHostsRequest\");\nvar se_AllocateIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_NL] != null) {\n entries[_NL] = input[_NL];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_PNC] != null) {\n entries[_PNC] = input[_PNC];\n }\n if (input[_AC] != null) {\n const memberEntries = se_IpamPoolAllocationAllowedCidrs(input[_AC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllowedCidr.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DC] != null) {\n const memberEntries = se_IpamPoolAllocationDisallowedCidrs(input[_DC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DisallowedCidr.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AllocateIpamPoolCidrRequest\");\nvar se_AllocationIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`AllocationId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AllocationIdList\");\nvar se_AllocationIds = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AllocationIds\");\nvar se_AllowedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AllowedInstanceTypeSet\");\nvar se_ApplySecurityGroupsToClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ApplySecurityGroupsToClientVpnTargetNetworkRequest\");\nvar se_ArchitectureTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ArchitectureTypeSet\");\nvar se_ArnList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ArnList\");\nvar se_AsnAuthorizationContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Me] != null) {\n entries[_Me] = input[_Me];\n }\n if (input[_Si] != null) {\n entries[_Si] = input[_Si];\n }\n return entries;\n}, \"se_AsnAuthorizationContext\");\nvar se_AssetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AssetIdList\");\nvar se_AssignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPC] != null) {\n entries[_IPC] = input[_IPC];\n }\n if (input[_IP] != null) {\n const memberEntries = se_IpPrefixList(input[_IP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_IA] != null) {\n const memberEntries = se_Ipv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Addresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n return entries;\n}, \"se_AssignIpv6AddressesRequest\");\nvar se_AssignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPp] != null) {\n const memberEntries = se_IpPrefixList(input[_IPp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv4Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPCp] != null) {\n entries[_IPCp] = input[_IPCp];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n if (input[_AR] != null) {\n entries[_AR] = input[_AR];\n }\n return entries;\n}, \"se_AssignPrivateIpAddressesRequest\");\nvar se_AssignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_IpList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIAC] != null) {\n entries[_PIAC] = input[_PIAC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssignPrivateNatGatewayAddressRequest\");\nvar se_AssociateAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_ARl] != null) {\n entries[_ARl] = input[_ARl];\n }\n return entries;\n}, \"se_AssociateAddressRequest\");\nvar se_AssociateCapacityReservationBillingOwnerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_URBOI] != null) {\n entries[_URBOI] = input[_URBOI];\n }\n return entries;\n}, \"se_AssociateCapacityReservationBillingOwnerRequest\");\nvar se_AssociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateClientVpnTargetNetworkRequest\");\nvar se_AssociateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DOI] != null) {\n entries[_DOI] = input[_DOI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateDhcpOptionsRequest\");\nvar se_AssociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n if (input[_RAo] != null) {\n entries[_RAo] = input[_RAo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateEnclaveCertificateIamRoleRequest\");\nvar se_AssociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIP] != null) {\n const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n return entries;\n}, \"se_AssociateIamInstanceProfileRequest\");\nvar se_AssociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IEWI] != null) {\n entries[_IEWI] = input[_IEWI];\n }\n if (input[_AT] != null) {\n const memberEntries = se_InstanceEventWindowAssociationRequest(input[_AT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationTarget.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssociateInstanceEventWindowRequest\");\nvar se_AssociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_As] != null) {\n entries[_As] = input[_As];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n return entries;\n}, \"se_AssociateIpamByoasnRequest\");\nvar se_AssociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_AssociateIpamResourceDiscoveryRequest\");\nvar se_AssociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n if (input[_AIll] != null) {\n const memberEntries = se_AllocationIdList(input[_AIll], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllocationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIA] != null) {\n const memberEntries = se_IpList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateNatGatewayAddressRequest\");\nvar se_AssociateRouteServerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateRouteServerRequest\");\nvar se_AssociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GI] != null) {\n entries[_GI] = input[_GI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n return entries;\n}, \"se_AssociateRouteTableRequest\");\nvar se_AssociateSecurityGroupVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateSecurityGroupVpcRequest\");\nvar se_AssociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIPI] != null) {\n entries[_IIPI] = input[_IIPI];\n }\n if (input[_INL] != null) {\n entries[_INL] = input[_INL];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n return entries;\n}, \"se_AssociateSubnetCidrBlockRequest\");\nvar se_AssociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateTransitGatewayMulticastDomainRequest\");\nvar se_AssociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTI] != null) {\n entries[_TGPTI] = input[_TGPTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateTransitGatewayPolicyTableRequest\");\nvar se_AssociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateTransitGatewayRouteTableRequest\");\nvar se_AssociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BII] != null) {\n entries[_BII] = input[_BII];\n }\n if (input[_TII] != null) {\n entries[_TII] = input[_TII];\n }\n if (input[_VIl] != null) {\n entries[_VIl] = input[_VIl];\n }\n if (input[_GK] != null) {\n entries[_GK] = input[_GK];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AssociateTrunkInterfaceRequest\");\nvar se_AssociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CB] != null) {\n entries[_CB] = input[_CB];\n }\n if (input[_ICBNBG] != null) {\n entries[_ICBNBG] = input[_ICBNBG];\n }\n if (input[_IPpv] != null) {\n entries[_IPpv] = input[_IPpv];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n if (input[_IIPIp] != null) {\n entries[_IIPIp] = input[_IIPIp];\n }\n if (input[_INLp] != null) {\n entries[_INLp] = input[_INLp];\n }\n if (input[_IIPI] != null) {\n entries[_IIPI] = input[_IIPI];\n }\n if (input[_INL] != null) {\n entries[_INL] = input[_INL];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_APICB] != null) {\n entries[_APICB] = input[_APICB];\n }\n return entries;\n}, \"se_AssociateVpcCidrBlockRequest\");\nvar se_AssociationIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`AssociationId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AssociationIdList\");\nvar se_AthenaIntegration = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IRSDA] != null) {\n entries[_IRSDA] = input[_IRSDA];\n }\n if (input[_PLF] != null) {\n entries[_PLF] = input[_PLF];\n }\n if (input[_PSD] != null) {\n entries[_PSD] = (0, import_smithy_client.serializeDateTime)(input[_PSD]);\n }\n if (input[_PED] != null) {\n entries[_PED] = (0, import_smithy_client.serializeDateTime)(input[_PED]);\n }\n return entries;\n}, \"se_AthenaIntegration\");\nvar se_AthenaIntegrationsSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_AthenaIntegration(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_AthenaIntegrationsSet\");\nvar se_AttachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_G] != null) {\n const memberEntries = se_GroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AttachClassicLinkVpcRequest\");\nvar se_AttachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IGI] != null) {\n entries[_IGI] = input[_IGI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_AttachInternetGatewayRequest\");\nvar se_AttachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NCI] != null) {\n entries[_NCI] = input[_NCI];\n }\n if (input[_ESS] != null) {\n const memberEntries = se_EnaSrdSpecification(input[_ESS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EQC] != null) {\n entries[_EQC] = input[_EQC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_DIev] != null) {\n entries[_DIev] = input[_DIev];\n }\n return entries;\n}, \"se_AttachNetworkInterfaceRequest\");\nvar se_AttachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_VATPI] != null) {\n entries[_VATPI] = input[_VATPI];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AttachVerifiedAccessTrustProviderRequest\");\nvar se_AttachVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Dev] != null) {\n entries[_Dev] = input[_Dev];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AttachVolumeRequest\");\nvar se_AttachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_VGI] != null) {\n entries[_VGI] = input[_VGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AttachVpnGatewayRequest\");\nvar se_AttributeBooleanValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_AttributeBooleanValue\");\nvar se_AttributeValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_AttributeValue\");\nvar se_AuthorizeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_TNC] != null) {\n entries[_TNC] = input[_TNC];\n }\n if (input[_AGI] != null) {\n entries[_AGI] = input[_AGI];\n }\n if (input[_AAG] != null) {\n entries[_AAG] = input[_AAG];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AuthorizeClientVpnIngressRequest\");\nvar se_AuthorizeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_SSGN] != null) {\n entries[_SSGN] = input[_SSGN];\n }\n if (input[_SSGOI] != null) {\n entries[_SSGOI] = input[_SSGOI];\n }\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_CIi] != null) {\n entries[_CIi] = input[_CIi];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AuthorizeSecurityGroupEgressRequest\");\nvar se_AuthorizeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CIi] != null) {\n entries[_CIi] = input[_CIi];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_SSGN] != null) {\n entries[_SSGN] = input[_SSGN];\n }\n if (input[_SSGOI] != null) {\n entries[_SSGOI] = input[_SSGOI];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_AuthorizeSecurityGroupIngressRequest\");\nvar se_AvailabilityZoneStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`AvailabilityZone.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_AvailabilityZoneStringList\");\nvar se_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_BaselineEbsBandwidthMbps\");\nvar se_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_BaselineEbsBandwidthMbpsRequest\");\nvar se_BaselinePerformanceFactors = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Cp] != null) {\n const memberEntries = se_CpuPerformanceFactor(input[_Cp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Cpu.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_BaselinePerformanceFactors\");\nvar se_BaselinePerformanceFactorsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Cp] != null) {\n const memberEntries = se_CpuPerformanceFactorRequest(input[_Cp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Cpu.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_BaselinePerformanceFactorsRequest\");\nvar se_BillingProductList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_BillingProductList\");\nvar se_BlobAttributeValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = context.base64Encoder(input[_Va]);\n }\n return entries;\n}, \"se_BlobAttributeValue\");\nvar se_BlockDeviceMapping = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_E] != null) {\n const memberEntries = se_EbsBlockDevice(input[_E], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ebs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ND] != null) {\n entries[_ND] = input[_ND];\n }\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_VN] != null) {\n entries[_VN] = input[_VN];\n }\n return entries;\n}, \"se_BlockDeviceMapping\");\nvar se_BlockDeviceMappingList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_BlockDeviceMapping(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_BlockDeviceMappingList\");\nvar se_BlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_BlockDeviceMapping(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`BlockDeviceMapping.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_BlockDeviceMappingRequestList\");\nvar se_BundleIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`BundleId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_BundleIdStringList\");\nvar se_BundleInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_St] != null) {\n const memberEntries = se_Storage(input[_St], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Storage.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_BundleInstanceRequest\");\nvar se_CancelBundleTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BIu] != null) {\n entries[_BIu] = input[_BIu];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CancelBundleTaskRequest\");\nvar se_CancelCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CRFI] != null) {\n const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CancelCapacityReservationFleetsRequest\");\nvar se_CancelCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CancelCapacityReservationRequest\");\nvar se_CancelConversionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTI] != null) {\n entries[_CTI] = input[_CTI];\n }\n if (input[_RM] != null) {\n entries[_RM] = input[_RM];\n }\n return entries;\n}, \"se_CancelConversionRequest\");\nvar se_CancelDeclarativePoliciesReportRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RIep] != null) {\n entries[_RIep] = input[_RIep];\n }\n return entries;\n}, \"se_CancelDeclarativePoliciesReportRequest\");\nvar se_CancelExportTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ETI] != null) {\n entries[_ETI] = input[_ETI];\n }\n return entries;\n}, \"se_CancelExportTaskRequest\");\nvar se_CancelImageLaunchPermissionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CancelImageLaunchPermissionRequest\");\nvar se_CancelImportTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRa] != null) {\n entries[_CRa] = input[_CRa];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ITI] != null) {\n entries[_ITI] = input[_ITI];\n }\n return entries;\n}, \"se_CancelImportTaskRequest\");\nvar se_CancelReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RILI] != null) {\n entries[_RILI] = input[_RILI];\n }\n return entries;\n}, \"se_CancelReservedInstancesListingRequest\");\nvar se_CancelSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFRI] != null) {\n const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotFleetRequestId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TI] != null) {\n entries[_TI] = input[_TI];\n }\n return entries;\n}, \"se_CancelSpotFleetRequestsRequest\");\nvar se_CancelSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIRI] != null) {\n const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CancelSpotInstanceRequestsRequest\");\nvar se_CapacityReservationFleetIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CapacityReservationFleetIdSet\");\nvar se_CapacityReservationIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CapacityReservationIdSet\");\nvar se_CapacityReservationOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_USs] != null) {\n entries[_USs] = input[_USs];\n }\n return entries;\n}, \"se_CapacityReservationOptionsRequest\");\nvar se_CapacityReservationSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRP] != null) {\n entries[_CRP] = input[_CRP];\n }\n if (input[_CRTa] != null) {\n const memberEntries = se_CapacityReservationTarget(input[_CRTa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationTarget.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CapacityReservationSpecification\");\nvar se_CapacityReservationTarget = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_CRRGA] != null) {\n entries[_CRRGA] = input[_CRRGA];\n }\n return entries;\n}, \"se_CapacityReservationTarget\");\nvar se_CarrierGatewayIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CarrierGatewayIdSet\");\nvar se_CertificateAuthenticationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRCCA] != null) {\n entries[_CRCCA] = input[_CRCCA];\n }\n return entries;\n}, \"se_CertificateAuthenticationRequest\");\nvar se_CidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Me] != null) {\n entries[_Me] = input[_Me];\n }\n if (input[_Si] != null) {\n entries[_Si] = input[_Si];\n }\n return entries;\n}, \"se_CidrAuthorizationContext\");\nvar se_ClassicLoadBalancer = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n return entries;\n}, \"se_ClassicLoadBalancer\");\nvar se_ClassicLoadBalancers = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ClassicLoadBalancer(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ClassicLoadBalancers\");\nvar se_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CLB] != null) {\n const memberEntries = se_ClassicLoadBalancers(input[_CLB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClassicLoadBalancers.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ClassicLoadBalancersConfig\");\nvar se_ClientConnectOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_LFA] != null) {\n entries[_LFA] = input[_LFA];\n }\n return entries;\n}, \"se_ClientConnectOptions\");\nvar se_ClientData = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Co] != null) {\n entries[_Co] = input[_Co];\n }\n if (input[_UE] != null) {\n entries[_UE] = (0, import_smithy_client.serializeDateTime)(input[_UE]);\n }\n if (input[_USp] != null) {\n entries[_USp] = (0, import_smithy_client.serializeFloat)(input[_USp]);\n }\n if (input[_USpl] != null) {\n entries[_USpl] = (0, import_smithy_client.serializeDateTime)(input[_USpl]);\n }\n return entries;\n}, \"se_ClientData\");\nvar se_ClientLoginBannerOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_BT] != null) {\n entries[_BT] = input[_BT];\n }\n return entries;\n}, \"se_ClientLoginBannerOptions\");\nvar se_ClientRouteEnforcementOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Enf] != null) {\n entries[_Enf] = input[_Enf];\n }\n return entries;\n}, \"se_ClientRouteEnforcementOptions\");\nvar se_ClientVpnAuthenticationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_AD] != null) {\n const memberEntries = se_DirectoryServiceAuthenticationRequest(input[_AD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ActiveDirectory.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MA] != null) {\n const memberEntries = se_CertificateAuthenticationRequest(input[_MA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MutualAuthentication.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_FA] != null) {\n const memberEntries = se_FederatedAuthenticationRequest(input[_FA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FederatedAuthentication.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ClientVpnAuthenticationRequest\");\nvar se_ClientVpnAuthenticationRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ClientVpnAuthenticationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ClientVpnAuthenticationRequestList\");\nvar se_ClientVpnEndpointIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ClientVpnEndpointIdList\");\nvar se_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ClientVpnSecurityGroupIdSet\");\nvar se_CloudWatchLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LE] != null) {\n entries[_LE] = input[_LE];\n }\n if (input[_LGA] != null) {\n entries[_LGA] = input[_LGA];\n }\n if (input[_LOF] != null) {\n entries[_LOF] = input[_LOF];\n }\n return entries;\n}, \"se_CloudWatchLogOptionsSpecification\");\nvar se_CoipPoolIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CoipPoolIdSet\");\nvar se_ConfirmProductInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_PC] != null) {\n entries[_PC] = input[_PC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ConfirmProductInstanceRequest\");\nvar se_ConnectionLogOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_CLG] != null) {\n entries[_CLG] = input[_CLG];\n }\n if (input[_CLS] != null) {\n entries[_CLS] = input[_CLS];\n }\n return entries;\n}, \"se_ConnectionLogOptions\");\nvar se_ConnectionNotificationIdsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ConnectionNotificationIdsList\");\nvar se_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TET] != null) {\n entries[_TET] = input[_TET];\n }\n if (input[_UST] != null) {\n entries[_UST] = input[_UST];\n }\n if (input[_UT] != null) {\n entries[_UT] = input[_UT];\n }\n return entries;\n}, \"se_ConnectionTrackingSpecificationRequest\");\nvar se_ConversionIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ConversionIdStringList\");\nvar se_CopyFpgaImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFII] != null) {\n entries[_SFII] = input[_SFII];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_SR] != null) {\n entries[_SR] = input[_SR];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CopyFpgaImageRequest\");\nvar se_CopyImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_SII] != null) {\n entries[_SII] = input[_SII];\n }\n if (input[_SR] != null) {\n entries[_SR] = input[_SR];\n }\n if (input[_DOA] != null) {\n entries[_DOA] = input[_DOA];\n }\n if (input[_CITo] != null) {\n entries[_CITo] = input[_CITo];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SCCDM] != null) {\n entries[_SCCDM] = input[_SCCDM];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CopyImageRequest\");\nvar se_CopySnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DOA] != null) {\n entries[_DOA] = input[_DOA];\n }\n if (input[_DRes] != null) {\n entries[_DRes] = input[_DRes];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_PU] != null) {\n entries[_PU] = input[_PU];\n }\n if (input[_SR] != null) {\n entries[_SR] = input[_SR];\n }\n if (input[_SSI] != null) {\n entries[_SSI] = input[_SSI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CDM] != null) {\n entries[_CDM] = input[_CDM];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CopySnapshotRequest\");\nvar se_CpuManufacturerSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CpuManufacturerSet\");\nvar se_CpuOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CC] != null) {\n entries[_CC] = input[_CC];\n }\n if (input[_TPC] != null) {\n entries[_TPC] = input[_TPC];\n }\n if (input[_ASS] != null) {\n entries[_ASS] = input[_ASS];\n }\n return entries;\n}, \"se_CpuOptionsRequest\");\nvar se_CpuPerformanceFactor = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_R] != null) {\n const memberEntries = se_PerformanceFactorReferenceSet(input[_R], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReferenceSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CpuPerformanceFactor\");\nvar se_CpuPerformanceFactorRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_R] != null) {\n const memberEntries = se_PerformanceFactorReferenceSetRequest(input[_R], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Reference.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CpuPerformanceFactorRequest\");\nvar se_CreateCapacityReservationBySplittingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_SCRI] != null) {\n entries[_SCRI] = input[_SCRI];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateCapacityReservationBySplittingRequest\");\nvar se_CreateCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AS] != null) {\n entries[_AS] = input[_AS];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_ITS] != null) {\n const memberEntries = se_ReservationFleetInstanceSpecificationList(input[_ITS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTypeSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n if (input[_TTC] != null) {\n entries[_TTC] = input[_TTC];\n }\n if (input[_ED] != null) {\n entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);\n }\n if (input[_IMC] != null) {\n entries[_IMC] = input[_IMC];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateCapacityReservationFleetRequest\");\nvar se_CreateCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_IPn] != null) {\n entries[_IPn] = input[_IPn];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_ES] != null) {\n entries[_ES] = input[_ES];\n }\n if (input[_ED] != null) {\n entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);\n }\n if (input[_EDT] != null) {\n entries[_EDT] = input[_EDT];\n }\n if (input[_IMC] != null) {\n entries[_IMC] = input[_IMC];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_PGA] != null) {\n entries[_PGA] = input[_PGA];\n }\n if (input[_SD] != null) {\n entries[_SD] = (0, import_smithy_client.serializeDateTime)(input[_SD]);\n }\n if (input[_CD] != null) {\n entries[_CD] = input[_CD];\n }\n if (input[_DP] != null) {\n entries[_DP] = input[_DP];\n }\n return entries;\n}, \"se_CreateCapacityReservationRequest\");\nvar se_CreateCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateCarrierGatewayRequest\");\nvar se_CreateClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CCB] != null) {\n entries[_CCB] = input[_CCB];\n }\n if (input[_SCA] != null) {\n entries[_SCA] = input[_SCA];\n }\n if (input[_AO] != null) {\n const memberEntries = se_ClientVpnAuthenticationRequestList(input[_AO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Authentication.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CLO] != null) {\n const memberEntries = se_ConnectionLogOptions(input[_CLO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionLogOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DSn] != null) {\n const memberEntries = se_ValueStringList(input[_DSn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DnsServers.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TPr] != null) {\n entries[_TPr] = input[_TPr];\n }\n if (input[_VP] != null) {\n entries[_VP] = input[_VP];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_ST] != null) {\n entries[_ST] = input[_ST];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGI] != null) {\n const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_SSP] != null) {\n entries[_SSP] = input[_SSP];\n }\n if (input[_CCO] != null) {\n const memberEntries = se_ClientConnectOptions(input[_CCO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientConnectOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_STH] != null) {\n entries[_STH] = input[_STH];\n }\n if (input[_CLBO] != null) {\n const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientLoginBannerOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CREO] != null) {\n const memberEntries = se_ClientRouteEnforcementOptions(input[_CREO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientRouteEnforcementOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DOST] != null) {\n entries[_DOST] = input[_DOST];\n }\n return entries;\n}, \"se_CreateClientVpnEndpointRequest\");\nvar se_CreateClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_TVSI] != null) {\n entries[_TVSI] = input[_TVSI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateClientVpnRouteRequest\");\nvar se_CreateCoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_CPIo] != null) {\n entries[_CPIo] = input[_CPIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateCoipCidrRequest\");\nvar se_CreateCoipPoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateCoipPoolRequest\");\nvar se_CreateCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BA] != null) {\n entries[_BA] = input[_BA];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_IAp] != null) {\n entries[_IAp] = input[_IAp];\n }\n if (input[_BAE] != null) {\n entries[_BAE] = input[_BAE];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateCustomerGatewayRequest\");\nvar se_CreateDefaultSubnetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IN] != null) {\n entries[_IN] = input[_IN];\n }\n return entries;\n}, \"se_CreateDefaultSubnetRequest\");\nvar se_CreateDefaultVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateDefaultVpcRequest\");\nvar se_CreateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCh] != null) {\n const memberEntries = se_NewDhcpConfigurationList(input[_DCh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DhcpConfiguration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateDhcpOptionsRequest\");\nvar se_CreateEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateEgressOnlyInternetGatewayRequest\");\nvar se_CreateFleetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_SO] != null) {\n const memberEntries = se_SpotOptionsRequest(input[_SO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ODO] != null) {\n const memberEntries = se_OnDemandOptionsRequest(input[_ODO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OnDemandOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ECTP] != null) {\n entries[_ECTP] = input[_ECTP];\n }\n if (input[_LTC] != null) {\n const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TCS] != null) {\n const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetCapacitySpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TIWE] != null) {\n entries[_TIWE] = input[_TIWE];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_VF] != null) {\n entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);\n }\n if (input[_VU] != null) {\n entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);\n }\n if (input[_RUI] != null) {\n entries[_RUI] = input[_RUI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Con] != null) {\n entries[_Con] = input[_Con];\n }\n return entries;\n}, \"se_CreateFleetRequest\");\nvar se_CreateFlowLogsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DLPA] != null) {\n entries[_DLPA] = input[_DLPA];\n }\n if (input[_DCAR] != null) {\n entries[_DCAR] = input[_DCAR];\n }\n if (input[_LGN] != null) {\n entries[_LGN] = input[_LGN];\n }\n if (input[_RIes] != null) {\n const memberEntries = se_FlowLogResourceIds(input[_RIes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_TT] != null) {\n entries[_TT] = input[_TT];\n }\n if (input[_LDT] != null) {\n entries[_LDT] = input[_LDT];\n }\n if (input[_LD] != null) {\n entries[_LD] = input[_LD];\n }\n if (input[_LF] != null) {\n entries[_LF] = input[_LF];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MAI] != null) {\n entries[_MAI] = input[_MAI];\n }\n if (input[_DO] != null) {\n const memberEntries = se_DestinationOptionsRequest(input[_DO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateFlowLogsRequest\");\nvar se_CreateFpgaImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ISL] != null) {\n const memberEntries = se_StorageLocation(input[_ISL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InputStorageLocation.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LSL] != null) {\n const memberEntries = se_StorageLocation(input[_LSL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LogsStorageLocation.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateFpgaImageRequest\");\nvar se_CreateImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_NR] != null) {\n entries[_NR] = input[_NR];\n }\n if (input[_BDM] != null) {\n const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateImageRequest\");\nvar se_CreateInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_SecurityGroupIdStringListRequest(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PCI] != null) {\n entries[_PCI] = input[_PCI];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateInstanceConnectEndpointRequest\");\nvar se_CreateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_TRi] != null) {\n const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TimeRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CE] != null) {\n entries[_CE] = input[_CE];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateInstanceEventWindowRequest\");\nvar se_CreateInstanceExportTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_TE] != null) {\n entries[_TE] = input[_TE];\n }\n if (input[_ETST] != null) {\n const memberEntries = se_ExportToS3TaskSpecification(input[_ETST], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExportToS3.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateInstanceExportTaskRequest\");\nvar se_CreateInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateInternetGatewayRequest\");\nvar se_CreateIpamExternalResourceVerificationTokenRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateIpamExternalResourceVerificationTokenRequest\");\nvar se_CreateIpamPoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ISI] != null) {\n entries[_ISI] = input[_ISI];\n }\n if (input[_L] != null) {\n entries[_L] = input[_L];\n }\n if (input[_SIPI] != null) {\n entries[_SIPI] = input[_SIPI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_AF] != null) {\n entries[_AF] = input[_AF];\n }\n if (input[_AIu] != null) {\n entries[_AIu] = input[_AIu];\n }\n if (input[_PA] != null) {\n entries[_PA] = input[_PA];\n }\n if (input[_AMNL] != null) {\n entries[_AMNL] = input[_AMNL];\n }\n if (input[_AMNLl] != null) {\n entries[_AMNLl] = input[_AMNLl];\n }\n if (input[_ADNL] != null) {\n entries[_ADNL] = input[_ADNL];\n }\n if (input[_ARTl] != null) {\n const memberEntries = se_RequestIpamResourceTagList(input[_ARTl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllocationResourceTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_ASw] != null) {\n entries[_ASw] = input[_ASw];\n }\n if (input[_PIS] != null) {\n entries[_PIS] = input[_PIS];\n }\n if (input[_SRo] != null) {\n const memberEntries = se_IpamPoolSourceResourceRequest(input[_SRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceResource.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateIpamPoolRequest\");\nvar se_CreateIpamRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_OR] != null) {\n const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_Ti] != null) {\n entries[_Ti] = input[_Ti];\n }\n if (input[_EPG] != null) {\n entries[_EPG] = input[_EPG];\n }\n if (input[_MAe] != null) {\n entries[_MAe] = input[_MAe];\n }\n return entries;\n}, \"se_CreateIpamRequest\");\nvar se_CreateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_OR] != null) {\n const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateIpamResourceDiscoveryRequest\");\nvar se_CreateIpamScopeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateIpamScopeRequest\");\nvar se_CreateKeyPairRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_KT] != null) {\n entries[_KT] = input[_KT];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_KF] != null) {\n entries[_KF] = input[_KF];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateKeyPairRequest\");\nvar se_CreateLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_VD] != null) {\n entries[_VD] = input[_VD];\n }\n if (input[_LTD] != null) {\n const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_O] != null) {\n const memberEntries = se_OperatorRequest(input[_O], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Operator.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateLaunchTemplateRequest\");\nvar se_CreateLaunchTemplateVersionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_SV] != null) {\n entries[_SV] = input[_SV];\n }\n if (input[_VD] != null) {\n entries[_VD] = input[_VD];\n }\n if (input[_LTD] != null) {\n const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RAe] != null) {\n entries[_RAe] = input[_RAe];\n }\n return entries;\n}, \"se_CreateLaunchTemplateVersionRequest\");\nvar se_CreateLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_LGVIGI] != null) {\n entries[_LGVIGI] = input[_LGVIGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n return entries;\n}, \"se_CreateLocalGatewayRouteRequest\");\nvar se_CreateLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGI] != null) {\n entries[_LGI] = input[_LGI];\n }\n if (input[_Mo] != null) {\n entries[_Mo] = input[_Mo];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateLocalGatewayRouteTableRequest\");\nvar se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_LGVIGI] != null) {\n entries[_LGVIGI] = input[_LGVIGI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest\");\nvar se_CreateLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateLocalGatewayRouteTableVpcAssociationRequest\");\nvar se_CreateLocalGatewayVirtualInterfaceGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGI] != null) {\n entries[_LGI] = input[_LGI];\n }\n if (input[_LBA] != null) {\n entries[_LBA] = input[_LBA];\n }\n if (input[_LBAE] != null) {\n entries[_LBAE] = input[_LBAE];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateLocalGatewayVirtualInterfaceGroupRequest\");\nvar se_CreateLocalGatewayVirtualInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGVIGI] != null) {\n entries[_LGVIGI] = input[_LGVIGI];\n }\n if (input[_OLI] != null) {\n entries[_OLI] = input[_OLI];\n }\n if (input[_Vl] != null) {\n entries[_Vl] = input[_Vl];\n }\n if (input[_LA] != null) {\n entries[_LA] = input[_LA];\n }\n if (input[_PAe] != null) {\n entries[_PAe] = input[_PAe];\n }\n if (input[_PBA] != null) {\n entries[_PBA] = input[_PBA];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PBAE] != null) {\n entries[_PBAE] = input[_PBAE];\n }\n return entries;\n}, \"se_CreateLocalGatewayVirtualInterfaceRequest\");\nvar se_CreateManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLN] != null) {\n entries[_PLN] = input[_PLN];\n }\n if (input[_Ent] != null) {\n const memberEntries = se_AddPrefixListEntries(input[_Ent], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Entry.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ME] != null) {\n entries[_ME] = input[_ME];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AF] != null) {\n entries[_AF] = input[_AF];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateManagedPrefixListRequest\");\nvar se_CreateNatGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTo] != null) {\n entries[_CTo] = input[_CTo];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_SAI] != null) {\n const memberEntries = se_AllocationIdList(input[_SAI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecondaryAllocationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIA] != null) {\n const memberEntries = se_IpList(input[_SPIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecondaryPrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n return entries;\n}, \"se_CreateNatGatewayRequest\");\nvar se_CreateNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NAI] != null) {\n entries[_NAI] = input[_NAI];\n }\n if (input[_RNu] != null) {\n entries[_RNu] = input[_RNu];\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_RAu] != null) {\n entries[_RAu] = input[_RAu];\n }\n if (input[_Eg] != null) {\n entries[_Eg] = input[_Eg];\n }\n if (input[_CB] != null) {\n entries[_CB] = input[_CB];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n if (input[_ITC] != null) {\n const memberEntries = se_IcmpTypeCode(input[_ITC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Icmp.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PR] != null) {\n const memberEntries = se_PortRange(input[_PR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateNetworkAclEntryRequest\");\nvar se_CreateNetworkAclRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_CreateNetworkAclRequest\");\nvar se_CreateNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MP] != null) {\n const memberEntries = se_AccessScopePathListRequest(input[_MP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MatchPath.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EP] != null) {\n const memberEntries = se_AccessScopePathListRequest(input[_EP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExcludePath.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateNetworkInsightsAccessScopeRequest\");\nvar se_CreateNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIo] != null) {\n entries[_SIo] = input[_SIo];\n }\n if (input[_DIest] != null) {\n entries[_DIest] = input[_DIest];\n }\n if (input[_S] != null) {\n entries[_S] = input[_S];\n }\n if (input[_D] != null) {\n entries[_D] = input[_D];\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DPe] != null) {\n entries[_DPe] = input[_DPe];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_FAS] != null) {\n const memberEntries = se_PathRequestFilter(input[_FAS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FilterAtSource.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_FAD] != null) {\n const memberEntries = se_PathRequestFilter(input[_FAD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FilterAtDestination.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateNetworkInsightsPathRequest\");\nvar se_CreateNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_AAI] != null) {\n entries[_AAI] = input[_AAI];\n }\n if (input[_ASw] != null) {\n entries[_ASw] = input[_ASw];\n }\n if (input[_Pe] != null) {\n entries[_Pe] = input[_Pe];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateNetworkInterfacePermissionRequest\");\nvar se_CreateNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPp] != null) {\n const memberEntries = se_Ipv4PrefixList(input[_IPp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv4Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPCp] != null) {\n entries[_IPCp] = input[_IPCp];\n }\n if (input[_IP] != null) {\n const memberEntries = se_Ipv6PrefixList(input[_IP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPC] != null) {\n entries[_IPC] = input[_IPC];\n }\n if (input[_ITn] != null) {\n entries[_ITn] = input[_ITn];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_EPI] != null) {\n entries[_EPI] = input[_EPI];\n }\n if (input[_CTS] != null) {\n const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionTrackingSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_O] != null) {\n const memberEntries = se_OperatorRequest(input[_O], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Operator.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_G] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIA] != null) {\n const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n if (input[_IA] != null) {\n const memberEntries = se_InstanceIpv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Addresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateNetworkInterfaceRequest\");\nvar se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PCa] != null) {\n entries[_PCa] = input[_PCa];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SL] != null) {\n entries[_SL] = input[_SL];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_Str] != null) {\n entries[_Str] = input[_Str];\n }\n return entries;\n}, \"se_CreatePlacementGroupRequest\");\nvar se_CreatePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n return entries;\n}, \"se_CreatePublicIpv4PoolRequest\");\nvar se_CreateReplaceRootVolumeTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRRV] != null) {\n entries[_DRRV] = input[_DRRV];\n }\n if (input[_VIR] != null) {\n entries[_VIR] = input[_VIR];\n }\n return entries;\n}, \"se_CreateReplaceRootVolumeTaskRequest\");\nvar se_CreateReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RIIe] != null) {\n entries[_RIIe] = input[_RIIe];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_PS] != null) {\n const memberEntries = se_PriceScheduleSpecificationList(input[_PS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PriceSchedules.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateReservedInstancesListingRequest\");\nvar se_CreateRestoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_B] != null) {\n entries[_B] = input[_B];\n }\n if (input[_OK] != null) {\n entries[_OK] = input[_OK];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateRestoreImageTaskRequest\");\nvar se_CreateRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n if (input[_VEIp] != null) {\n entries[_VEIp] = input[_VEIp];\n }\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_LGI] != null) {\n entries[_LGI] = input[_LGI];\n }\n if (input[_CGI] != null) {\n entries[_CGI] = input[_CGI];\n }\n if (input[_CNAo] != null) {\n entries[_CNAo] = input[_CNAo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_GI] != null) {\n entries[_GI] = input[_GI];\n }\n if (input[_DICB] != null) {\n entries[_DICB] = input[_DICB];\n }\n if (input[_EOIGI] != null) {\n entries[_EOIGI] = input[_EOIGI];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n return entries;\n}, \"se_CreateRouteRequest\");\nvar se_CreateRouteServerEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateRouteServerEndpointRequest\");\nvar se_CreateRouteServerPeerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSEI] != null) {\n entries[_RSEI] = input[_RSEI];\n }\n if (input[_PAe] != null) {\n entries[_PAe] = input[_PAe];\n }\n if (input[_BO] != null) {\n const memberEntries = se_RouteServerBgpOptionsRequest(input[_BO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BgpOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateRouteServerPeerRequest\");\nvar se_CreateRouteServerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ASA] != null) {\n entries[_ASA] = input[_ASA];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PRe] != null) {\n entries[_PRe] = input[_PRe];\n }\n if (input[_PRD] != null) {\n entries[_PRD] = input[_PRD];\n }\n if (input[_SNE] != null) {\n entries[_SNE] = input[_SNE];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateRouteServerRequest\");\nvar se_CreateRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_CreateRouteTableRequest\");\nvar se_CreateSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_GD] = input[_De];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateSecurityGroupRequest\");\nvar se_CreateSnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Lo] != null) {\n entries[_Lo] = input[_Lo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateSnapshotRequest\");\nvar se_CreateSnapshotsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_ISn] != null) {\n const memberEntries = se_InstanceSpecification(input[_ISn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTFS] != null) {\n entries[_CTFS] = input[_CTFS];\n }\n if (input[_Lo] != null) {\n entries[_Lo] = input[_Lo];\n }\n return entries;\n}, \"se_CreateSnapshotsRequest\");\nvar se_CreateSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_B] != null) {\n entries[_B] = input[_B];\n }\n if (input[_Pr] != null) {\n entries[_Pr] = input[_Pr];\n }\n return entries;\n}, \"se_CreateSpotDatafeedSubscriptionRequest\");\nvar se_CreateStoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_B] != null) {\n entries[_B] = input[_B];\n }\n if (input[_SOT] != null) {\n const memberEntries = se_S3ObjectTagList(input[_SOT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `S3ObjectTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateStoreImageTaskRequest\");\nvar se_CreateSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_RTe] != null) {\n entries[_RTe] = input[_RTe];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateSubnetCidrReservationRequest\");\nvar se_CreateSubnetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n if (input[_CB] != null) {\n entries[_CB] = input[_CB];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_IN] != null) {\n entries[_IN] = input[_IN];\n }\n if (input[_IIPIp] != null) {\n entries[_IIPIp] = input[_IIPIp];\n }\n if (input[_INLp] != null) {\n entries[_INLp] = input[_INLp];\n }\n if (input[_IIPI] != null) {\n entries[_IIPI] = input[_IIPI];\n }\n if (input[_INL] != null) {\n entries[_INL] = input[_INL];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateSubnetRequest\");\nvar se_CreateTagsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Re] != null) {\n const memberEntries = se_ResourceIdList(input[_Re], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ta] != null) {\n const memberEntries = se_TagList(input[_Ta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateTagsRequest\");\nvar se_CreateTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateTrafficMirrorFilterRequest\");\nvar se_CreateTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_TD] != null) {\n entries[_TD] = input[_TD];\n }\n if (input[_RNu] != null) {\n entries[_RNu] = input[_RNu];\n }\n if (input[_RAu] != null) {\n entries[_RAu] = input[_RAu];\n }\n if (input[_DPR] != null) {\n const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationPortRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SPR] != null) {\n const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourcePortRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_SCB] != null) {\n entries[_SCB] = input[_SCB];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateTrafficMirrorFilterRuleRequest\");\nvar se_CreateTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_TMTI] != null) {\n entries[_TMTI] = input[_TMTI];\n }\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_PL] != null) {\n entries[_PL] = input[_PL];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_VNI] != null) {\n entries[_VNI] = input[_VNI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateTrafficMirrorSessionRequest\");\nvar se_CreateTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_NLBA] != null) {\n entries[_NLBA] = input[_NLBA];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_GLBEI] != null) {\n entries[_GLBEI] = input[_GLBEI];\n }\n return entries;\n}, \"se_CreateTrafficMirrorTargetRequest\");\nvar se_CreateTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_TGA] != null) {\n entries[_TGA] = input[_TGA];\n }\n if (input[_PAe] != null) {\n entries[_PAe] = input[_PAe];\n }\n if (input[_BO] != null) {\n const memberEntries = se_TransitGatewayConnectRequestBgpOptions(input[_BO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BgpOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ICBn] != null) {\n const memberEntries = se_InsideCidrBlocksStringList(input[_ICBn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InsideCidrBlocks.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayConnectPeerRequest\");\nvar se_CreateTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TTGAI] != null) {\n entries[_TTGAI] = input[_TTGAI];\n }\n if (input[_Op] != null) {\n const memberEntries = se_CreateTransitGatewayConnectRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayConnectRequest\");\nvar se_CreateTransitGatewayConnectRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n return entries;\n}, \"se_CreateTransitGatewayConnectRequestOptions\");\nvar se_CreateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_Op] != null) {\n const memberEntries = se_CreateTransitGatewayMulticastDomainRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayMulticastDomainRequest\");\nvar se_CreateTransitGatewayMulticastDomainRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ISg] != null) {\n entries[_ISg] = input[_ISg];\n }\n if (input[_SSS] != null) {\n entries[_SSS] = input[_SSS];\n }\n if (input[_AASA] != null) {\n entries[_AASA] = input[_AASA];\n }\n return entries;\n}, \"se_CreateTransitGatewayMulticastDomainRequestOptions\");\nvar se_CreateTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_PTGI] != null) {\n entries[_PTGI] = input[_PTGI];\n }\n if (input[_PAI] != null) {\n entries[_PAI] = input[_PAI];\n }\n if (input[_PRee] != null) {\n entries[_PRee] = input[_PRee];\n }\n if (input[_Op] != null) {\n const memberEntries = se_CreateTransitGatewayPeeringAttachmentRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayPeeringAttachmentRequest\");\nvar se_CreateTransitGatewayPeeringAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRy] != null) {\n entries[_DRy] = input[_DRy];\n }\n return entries;\n}, \"se_CreateTransitGatewayPeeringAttachmentRequestOptions\");\nvar se_CreateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayPolicyTableRequest\");\nvar se_CreateTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_Bl] != null) {\n entries[_Bl] = input[_Bl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayPrefixListReferenceRequest\");\nvar se_CreateTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Op] != null) {\n const memberEntries = se_TransitGatewayRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayRequest\");\nvar se_CreateTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_Bl] != null) {\n entries[_Bl] = input[_Bl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayRouteRequest\");\nvar se_CreateTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_PAIe] != null) {\n entries[_PAIe] = input[_PAIe];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayRouteTableAnnouncementRequest\");\nvar se_CreateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayRouteTableRequest\");\nvar se_CreateTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Op] != null) {\n const memberEntries = se_CreateTransitGatewayVpcAttachmentRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateTransitGatewayVpcAttachmentRequest\");\nvar se_CreateTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DSns] != null) {\n entries[_DSns] = input[_DSns];\n }\n if (input[_SGRS] != null) {\n entries[_SGRS] = input[_SGRS];\n }\n if (input[_ISp] != null) {\n entries[_ISp] = input[_ISp];\n }\n if (input[_AMS] != null) {\n entries[_AMS] = input[_AMS];\n }\n return entries;\n}, \"se_CreateTransitGatewayVpcAttachmentRequestOptions\");\nvar se_CreateVerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_PRo] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointCidrOptions\");\nvar se_CreateVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_PRo] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointEniOptions\");\nvar se_CreateVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_LBAo] != null) {\n entries[_LBAo] = input[_LBAo];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PRo] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointLoadBalancerOptions\");\nvar se_CreateVerifiedAccessEndpointPortRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointPortRange\");\nvar se_CreateVerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_CreateVerifiedAccessEndpointPortRange(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointPortRangeList\");\nvar se_CreateVerifiedAccessEndpointRdsOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_RDIA] != null) {\n entries[_RDIA] = input[_RDIA];\n }\n if (input[_RDCA] != null) {\n entries[_RDCA] = input[_RDCA];\n }\n if (input[_RDPA] != null) {\n entries[_RDPA] = input[_RDPA];\n }\n if (input[_RE] != null) {\n entries[_RE] = input[_RE];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointRdsOptions\");\nvar se_CreateVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_ET] != null) {\n entries[_ET] = input[_ET];\n }\n if (input[_ATt] != null) {\n entries[_ATt] = input[_ATt];\n }\n if (input[_DCA] != null) {\n entries[_DCA] = input[_DCA];\n }\n if (input[_ADp] != null) {\n entries[_ADp] = input[_ADp];\n }\n if (input[_EDP] != null) {\n entries[_EDP] = input[_EDP];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_SecurityGroupIdList(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LBO] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LoadBalancerOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NIO] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointEniOptions(input[_NIO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RO] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointRdsOptions(input[_RO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RdsOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CO] != null) {\n const memberEntries = se_CreateVerifiedAccessEndpointCidrOptions(input[_CO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CidrOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointRequest\");\nvar se_CreateVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CreateVerifiedAccessEndpointSubnetIdList\");\nvar se_CreateVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessGroupRequest\");\nvar se_CreateVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FIPSE] != null) {\n entries[_FIPSE] = input[_FIPSE];\n }\n if (input[_CECSD] != null) {\n entries[_CECSD] = input[_CECSD];\n }\n return entries;\n}, \"se_CreateVerifiedAccessInstanceRequest\");\nvar se_CreateVerifiedAccessNativeApplicationOidcOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PSKE] != null) {\n entries[_PSKE] = input[_PSKE];\n }\n if (input[_I] != null) {\n entries[_I] = input[_I];\n }\n if (input[_AE] != null) {\n entries[_AE] = input[_AE];\n }\n if (input[_TEo] != null) {\n entries[_TEo] = input[_TEo];\n }\n if (input[_UIE] != null) {\n entries[_UIE] = input[_UIE];\n }\n if (input[_CIl] != null) {\n entries[_CIl] = input[_CIl];\n }\n if (input[_CSl] != null) {\n entries[_CSl] = input[_CSl];\n }\n if (input[_Sc] != null) {\n entries[_Sc] = input[_Sc];\n }\n return entries;\n}, \"se_CreateVerifiedAccessNativeApplicationOidcOptions\");\nvar se_CreateVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TIe] != null) {\n entries[_TIe] = input[_TIe];\n }\n if (input[_PSKU] != null) {\n entries[_PSKU] = input[_PSKU];\n }\n return entries;\n}, \"se_CreateVerifiedAccessTrustProviderDeviceOptions\");\nvar se_CreateVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_I] != null) {\n entries[_I] = input[_I];\n }\n if (input[_AE] != null) {\n entries[_AE] = input[_AE];\n }\n if (input[_TEo] != null) {\n entries[_TEo] = input[_TEo];\n }\n if (input[_UIE] != null) {\n entries[_UIE] = input[_UIE];\n }\n if (input[_CIl] != null) {\n entries[_CIl] = input[_CIl];\n }\n if (input[_CSl] != null) {\n entries[_CSl] = input[_CSl];\n }\n if (input[_Sc] != null) {\n entries[_Sc] = input[_Sc];\n }\n return entries;\n}, \"se_CreateVerifiedAccessTrustProviderOidcOptions\");\nvar se_CreateVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TPT] != null) {\n entries[_TPT] = input[_TPT];\n }\n if (input[_UTPT] != null) {\n entries[_UTPT] = input[_UTPT];\n }\n if (input[_DTPT] != null) {\n entries[_DTPT] = input[_DTPT];\n }\n if (input[_OO] != null) {\n const memberEntries = se_CreateVerifiedAccessTrustProviderOidcOptions(input[_OO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OidcOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DOe] != null) {\n const memberEntries = se_CreateVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DeviceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PRN] != null) {\n entries[_PRN] = input[_PRN];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NAOO] != null) {\n const memberEntries = se_CreateVerifiedAccessNativeApplicationOidcOptions(input[_NAOO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NativeApplicationOidcOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVerifiedAccessTrustProviderRequest\");\nvar se_CreateVolumePermission = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_UIs] != null) {\n entries[_UIs] = input[_UIs];\n }\n if (input[_Gr] != null) {\n entries[_Gr] = input[_Gr];\n }\n return entries;\n}, \"se_CreateVolumePermission\");\nvar se_CreateVolumePermissionList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_CreateVolumePermission(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_CreateVolumePermissionList\");\nvar se_CreateVolumePermissionModifications = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Add] != null) {\n const memberEntries = se_CreateVolumePermissionList(input[_Add], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Add.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Rem] != null) {\n const memberEntries = se_CreateVolumePermissionList(input[_Rem], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Remove.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVolumePermissionModifications\");\nvar se_CreateVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_Siz] != null) {\n entries[_Siz] = input[_Siz];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MAE] != null) {\n entries[_MAE] = input[_MAE];\n }\n if (input[_Th] != null) {\n entries[_Th] = input[_Th];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_VIR] != null) {\n entries[_VIR] = input[_VIR];\n }\n if (input[_O] != null) {\n const memberEntries = se_OperatorRequest(input[_O], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Operator.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateVolumeRequest\");\nvar se_CreateVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_IGEM] != null) {\n entries[_IGEM] = input[_IGEM];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVpcBlockPublicAccessExclusionRequest\");\nvar se_CreateVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_VEIp] != null) {\n entries[_VEIp] = input[_VEIp];\n }\n if (input[_CNAon] != null) {\n entries[_CNAon] = input[_CNAon];\n }\n if (input[_CEo] != null) {\n const memberEntries = se_ValueStringList(input[_CEo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionEvents.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_CreateVpcEndpointConnectionNotificationRequest\");\nvar se_CreateVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VET] != null) {\n entries[_VET] = input[_VET];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_SNe] != null) {\n entries[_SNe] = input[_SNe];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_RTIo] != null) {\n const memberEntries = se_VpcEndpointRouteTableIdList(input[_RTIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RouteTableId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIu] != null) {\n const memberEntries = se_VpcEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGI] != null) {\n const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAT] != null) {\n entries[_IAT] = input[_IAT];\n }\n if (input[_DOn] != null) {\n const memberEntries = se_DnsOptionsSpecification(input[_DOn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DnsOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_PDE] != null) {\n entries[_PDE] = input[_PDE];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SC] != null) {\n const memberEntries = se_SubnetConfigurationsList(input[_SC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetConfiguration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SNA] != null) {\n entries[_SNA] = input[_SNA];\n }\n if (input[_RCA] != null) {\n entries[_RCA] = input[_RCA];\n }\n if (input[_SRe] != null) {\n entries[_SRe] = input[_SRe];\n }\n return entries;\n}, \"se_CreateVpcEndpointRequest\");\nvar se_CreateVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ARc] != null) {\n entries[_ARc] = input[_ARc];\n }\n if (input[_PDN] != null) {\n entries[_PDN] = input[_PDN];\n }\n if (input[_NLBAe] != null) {\n const memberEntries = se_ValueStringList(input[_NLBAe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_GLBA] != null) {\n const memberEntries = se_ValueStringList(input[_GLBA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GatewayLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIAT] != null) {\n const memberEntries = se_ValueStringList(input[_SIAT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SupportedIpAddressType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SRu] != null) {\n const memberEntries = se_ValueStringList(input[_SRu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SupportedRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVpcEndpointServiceConfigurationRequest\");\nvar se_CreateVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PRee] != null) {\n entries[_PRee] = input[_PRee];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_PVI] != null) {\n entries[_PVI] = input[_PVI];\n }\n if (input[_POI] != null) {\n entries[_POI] = input[_POI];\n }\n return entries;\n}, \"se_CreateVpcPeeringConnectionRequest\");\nvar se_CreateVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CB] != null) {\n entries[_CB] = input[_CB];\n }\n if (input[_IPpv] != null) {\n entries[_IPpv] = input[_IPpv];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n if (input[_IIPIp] != null) {\n entries[_IIPIp] = input[_IIPIp];\n }\n if (input[_INLp] != null) {\n entries[_INLp] = input[_INLp];\n }\n if (input[_IIPI] != null) {\n entries[_IIPI] = input[_IIPI];\n }\n if (input[_INL] != null) {\n entries[_INL] = input[_INL];\n }\n if (input[_ICBNBG] != null) {\n entries[_ICBNBG] = input[_ICBNBG];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ITns] != null) {\n entries[_ITns] = input[_ITns];\n }\n if (input[_APICB] != null) {\n entries[_APICB] = input[_APICB];\n }\n return entries;\n}, \"se_CreateVpcRequest\");\nvar se_CreateVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CGIu] != null) {\n entries[_CGIu] = input[_CGIu];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_VGI] != null) {\n entries[_VGI] = input[_VGI];\n }\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Op] != null) {\n const memberEntries = se_VpnConnectionOptionsSpecification(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_CreateVpnConnectionRequest\");\nvar se_CreateVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n return entries;\n}, \"se_CreateVpnConnectionRouteRequest\");\nvar se_CreateVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ASA] != null) {\n entries[_ASA] = input[_ASA];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_CreateVpnGatewayRequest\");\nvar se_CreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CCp] != null) {\n entries[_CCp] = input[_CCp];\n }\n return entries;\n}, \"se_CreditSpecificationRequest\");\nvar se_CustomerGatewayIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`CustomerGatewayId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_CustomerGatewayIdStringList\");\nvar se_DataQueries = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_DataQuery(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_DataQueries\");\nvar se_DataQuery = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Id] != null) {\n entries[_Id] = input[_Id];\n }\n if (input[_S] != null) {\n entries[_S] = input[_S];\n }\n if (input[_D] != null) {\n entries[_D] = input[_D];\n }\n if (input[_Met] != null) {\n entries[_Met] = input[_Met];\n }\n if (input[_Sta] != null) {\n entries[_Sta] = input[_Sta];\n }\n if (input[_Per] != null) {\n entries[_Per] = input[_Per];\n }\n return entries;\n}, \"se_DataQuery\");\nvar se_DedicatedHostIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_DedicatedHostIdList\");\nvar se_DeleteCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CGI] != null) {\n entries[_CGI] = input[_CGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteCarrierGatewayRequest\");\nvar se_DeleteClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteClientVpnEndpointRequest\");\nvar se_DeleteClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_TVSI] != null) {\n entries[_TVSI] = input[_TVSI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteClientVpnRouteRequest\");\nvar se_DeleteCoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_CPIo] != null) {\n entries[_CPIo] = input[_CPIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteCoipCidrRequest\");\nvar se_DeleteCoipPoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CPIo] != null) {\n entries[_CPIo] = input[_CPIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteCoipPoolRequest\");\nvar se_DeleteCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CGIu] != null) {\n entries[_CGIu] = input[_CGIu];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteCustomerGatewayRequest\");\nvar se_DeleteDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DOI] != null) {\n entries[_DOI] = input[_DOI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteDhcpOptionsRequest\");\nvar se_DeleteEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_EOIGI] != null) {\n entries[_EOIGI] = input[_EOIGI];\n }\n return entries;\n}, \"se_DeleteEgressOnlyInternetGatewayRequest\");\nvar se_DeleteFleetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FI] != null) {\n const memberEntries = se_FleetIdSet(input[_FI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FleetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TI] != null) {\n entries[_TI] = input[_TI];\n }\n return entries;\n}, \"se_DeleteFleetsRequest\");\nvar se_DeleteFlowLogsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FLI] != null) {\n const memberEntries = se_FlowLogIdList(input[_FLI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FlowLogId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteFlowLogsRequest\");\nvar se_DeleteFpgaImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FII] != null) {\n entries[_FII] = input[_FII];\n }\n return entries;\n}, \"se_DeleteFpgaImageRequest\");\nvar se_DeleteInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ICEI] != null) {\n entries[_ICEI] = input[_ICEI];\n }\n return entries;\n}, \"se_DeleteInstanceConnectEndpointRequest\");\nvar se_DeleteInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FD] != null) {\n entries[_FD] = input[_FD];\n }\n if (input[_IEWI] != null) {\n entries[_IEWI] = input[_IEWI];\n }\n return entries;\n}, \"se_DeleteInstanceEventWindowRequest\");\nvar se_DeleteInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IGI] != null) {\n entries[_IGI] = input[_IGI];\n }\n return entries;\n}, \"se_DeleteInternetGatewayRequest\");\nvar se_DeleteIpamExternalResourceVerificationTokenRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IERVTI] != null) {\n entries[_IERVTI] = input[_IERVTI];\n }\n return entries;\n}, \"se_DeleteIpamExternalResourceVerificationTokenRequest\");\nvar se_DeleteIpamPoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_Ca] != null) {\n entries[_Ca] = input[_Ca];\n }\n return entries;\n}, \"se_DeleteIpamPoolRequest\");\nvar se_DeleteIpamRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_Ca] != null) {\n entries[_Ca] = input[_Ca];\n }\n return entries;\n}, \"se_DeleteIpamRequest\");\nvar se_DeleteIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n return entries;\n}, \"se_DeleteIpamResourceDiscoveryRequest\");\nvar se_DeleteIpamScopeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ISI] != null) {\n entries[_ISI] = input[_ISI];\n }\n return entries;\n}, \"se_DeleteIpamScopeRequest\");\nvar se_DeleteKeyPairRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_KPI] != null) {\n entries[_KPI] = input[_KPI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteKeyPairRequest\");\nvar se_DeleteLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n return entries;\n}, \"se_DeleteLaunchTemplateRequest\");\nvar se_DeleteLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_Ve] != null) {\n const memberEntries = se_VersionStringList(input[_Ve], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteLaunchTemplateVersionsRequest\");\nvar se_DeleteLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n return entries;\n}, \"se_DeleteLocalGatewayRouteRequest\");\nvar se_DeleteLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteLocalGatewayRouteTableRequest\");\nvar se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTVIGAI] != null) {\n entries[_LGRTVIGAI] = input[_LGRTVIGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest\");\nvar se_DeleteLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTVAI] != null) {\n entries[_LGRTVAI] = input[_LGRTVAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteLocalGatewayRouteTableVpcAssociationRequest\");\nvar se_DeleteLocalGatewayVirtualInterfaceGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGVIGI] != null) {\n entries[_LGVIGI] = input[_LGVIGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteLocalGatewayVirtualInterfaceGroupRequest\");\nvar se_DeleteLocalGatewayVirtualInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGVII] != null) {\n entries[_LGVII] = input[_LGVII];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteLocalGatewayVirtualInterfaceRequest\");\nvar se_DeleteManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n return entries;\n}, \"se_DeleteManagedPrefixListRequest\");\nvar se_DeleteNatGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n return entries;\n}, \"se_DeleteNatGatewayRequest\");\nvar se_DeleteNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NAI] != null) {\n entries[_NAI] = input[_NAI];\n }\n if (input[_RNu] != null) {\n entries[_RNu] = input[_RNu];\n }\n if (input[_Eg] != null) {\n entries[_Eg] = input[_Eg];\n }\n return entries;\n}, \"se_DeleteNetworkAclEntryRequest\");\nvar se_DeleteNetworkAclRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NAI] != null) {\n entries[_NAI] = input[_NAI];\n }\n return entries;\n}, \"se_DeleteNetworkAclRequest\");\nvar se_DeleteNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASAI] != null) {\n entries[_NIASAI] = input[_NIASAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteNetworkInsightsAccessScopeAnalysisRequest\");\nvar se_DeleteNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NIASI] != null) {\n entries[_NIASI] = input[_NIASI];\n }\n return entries;\n}, \"se_DeleteNetworkInsightsAccessScopeRequest\");\nvar se_DeleteNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NIAI] != null) {\n entries[_NIAI] = input[_NIAI];\n }\n return entries;\n}, \"se_DeleteNetworkInsightsAnalysisRequest\");\nvar se_DeleteNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NIPI] != null) {\n entries[_NIPI] = input[_NIPI];\n }\n return entries;\n}, \"se_DeleteNetworkInsightsPathRequest\");\nvar se_DeleteNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIPIe] != null) {\n entries[_NIPIe] = input[_NIPIe];\n }\n if (input[_F] != null) {\n entries[_F] = input[_F];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteNetworkInterfacePermissionRequest\");\nvar se_DeleteNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n return entries;\n}, \"se_DeleteNetworkInterfaceRequest\");\nvar se_DeletePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n return entries;\n}, \"se_DeletePlacementGroupRequest\");\nvar se_DeletePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PIo] != null) {\n entries[_PIo] = input[_PIo];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n return entries;\n}, \"se_DeletePublicIpv4PoolRequest\");\nvar se_DeleteQueuedReservedInstancesIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_DeleteQueuedReservedInstancesIdList\");\nvar se_DeleteQueuedReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RIIes] != null) {\n const memberEntries = se_DeleteQueuedReservedInstancesIdList(input[_RIIes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteQueuedReservedInstancesRequest\");\nvar se_DeleteRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_DICB] != null) {\n entries[_DICB] = input[_DICB];\n }\n return entries;\n}, \"se_DeleteRouteRequest\");\nvar se_DeleteRouteServerEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSEI] != null) {\n entries[_RSEI] = input[_RSEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteRouteServerEndpointRequest\");\nvar se_DeleteRouteServerPeerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSPI] != null) {\n entries[_RSPI] = input[_RSPI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteRouteServerPeerRequest\");\nvar se_DeleteRouteServerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteRouteServerRequest\");\nvar se_DeleteRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n return entries;\n}, \"se_DeleteRouteTableRequest\");\nvar se_DeleteSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteSecurityGroupRequest\");\nvar se_DeleteSnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteSnapshotRequest\");\nvar se_DeleteSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteSpotDatafeedSubscriptionRequest\");\nvar se_DeleteSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SCRIu] != null) {\n entries[_SCRIu] = input[_SCRIu];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteSubnetCidrReservationRequest\");\nvar se_DeleteSubnetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteSubnetRequest\");\nvar se_DeleteTagsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Re] != null) {\n const memberEntries = se_ResourceIdList(input[_Re], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ta] != null) {\n const memberEntries = se_TagList(input[_Ta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteTagsRequest\");\nvar se_DeleteTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTrafficMirrorFilterRequest\");\nvar se_DeleteTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFRI] != null) {\n entries[_TMFRI] = input[_TMFRI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTrafficMirrorFilterRuleRequest\");\nvar se_DeleteTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMSI] != null) {\n entries[_TMSI] = input[_TMSI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTrafficMirrorSessionRequest\");\nvar se_DeleteTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMTI] != null) {\n entries[_TMTI] = input[_TMTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTrafficMirrorTargetRequest\");\nvar se_DeleteTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGCPI] != null) {\n entries[_TGCPI] = input[_TGCPI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayConnectPeerRequest\");\nvar se_DeleteTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayConnectRequest\");\nvar se_DeleteTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayMulticastDomainRequest\");\nvar se_DeleteTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayPeeringAttachmentRequest\");\nvar se_DeleteTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTI] != null) {\n entries[_TGPTI] = input[_TGPTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayPolicyTableRequest\");\nvar se_DeleteTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayPrefixListReferenceRequest\");\nvar se_DeleteTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayRequest\");\nvar se_DeleteTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayRouteRequest\");\nvar se_DeleteTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTAI] != null) {\n entries[_TGRTAI] = input[_TGRTAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayRouteTableAnnouncementRequest\");\nvar se_DeleteTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayRouteTableRequest\");\nvar se_DeleteTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteTransitGatewayVpcAttachmentRequest\");\nvar se_DeleteVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEI] != null) {\n entries[_VAEI] = input[_VAEI];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVerifiedAccessEndpointRequest\");\nvar se_DeleteVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVerifiedAccessGroupRequest\");\nvar se_DeleteVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_DeleteVerifiedAccessInstanceRequest\");\nvar se_DeleteVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VATPI] != null) {\n entries[_VATPI] = input[_VATPI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_DeleteVerifiedAccessTrustProviderRequest\");\nvar se_DeleteVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVolumeRequest\");\nvar se_DeleteVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_EIxc] != null) {\n entries[_EIxc] = input[_EIxc];\n }\n return entries;\n}, \"se_DeleteVpcBlockPublicAccessExclusionRequest\");\nvar se_DeleteVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CNIo] != null) {\n const memberEntries = se_ConnectionNotificationIdsList(input[_CNIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionNotificationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteVpcEndpointConnectionNotificationsRequest\");\nvar se_DeleteVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIer] != null) {\n const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ServiceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteVpcEndpointServiceConfigurationsRequest\");\nvar se_DeleteVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VEI] != null) {\n const memberEntries = se_VpcEndpointIdList(input[_VEI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeleteVpcEndpointsRequest\");\nvar se_DeleteVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n return entries;\n}, \"se_DeleteVpcPeeringConnectionRequest\");\nvar se_DeleteVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVpcRequest\");\nvar se_DeleteVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVpnConnectionRequest\");\nvar se_DeleteVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n return entries;\n}, \"se_DeleteVpnConnectionRouteRequest\");\nvar se_DeleteVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VGI] != null) {\n entries[_VGI] = input[_VGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeleteVpnGatewayRequest\");\nvar se_DeprovisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeprovisionByoipCidrRequest\");\nvar se_DeprovisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_As] != null) {\n entries[_As] = input[_As];\n }\n return entries;\n}, \"se_DeprovisionIpamByoasnRequest\");\nvar se_DeprovisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n return entries;\n}, \"se_DeprovisionIpamPoolCidrRequest\");\nvar se_DeprovisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PIo] != null) {\n entries[_PIo] = input[_PIo];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n return entries;\n}, \"se_DeprovisionPublicIpv4PoolCidrRequest\");\nvar se_DeregisterImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeregisterImageRequest\");\nvar se_DeregisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ITA] != null) {\n const memberEntries = se_DeregisterInstanceTagAttributeRequest(input[_ITA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTagAttribute.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeregisterInstanceEventNotificationAttributesRequest\");\nvar se_DeregisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IATOI] != null) {\n entries[_IATOI] = input[_IATOI];\n }\n if (input[_ITK] != null) {\n const memberEntries = se_InstanceTagKeySet(input[_ITK], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTagKey.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DeregisterInstanceTagAttributeRequest\");\nvar se_DeregisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_GIA] != null) {\n entries[_GIA] = input[_GIA];\n }\n if (input[_NIIe] != null) {\n const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeregisterTransitGatewayMulticastGroupMembersRequest\");\nvar se_DeregisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_GIA] != null) {\n entries[_GIA] = input[_GIA];\n }\n if (input[_NIIe] != null) {\n const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DeregisterTransitGatewayMulticastGroupSourcesRequest\");\nvar se_DescribeAccountAttributesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AN] != null) {\n const memberEntries = se_AccountAttributeNameStringList(input[_AN], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AttributeName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeAccountAttributesRequest\");\nvar se_DescribeAddressesAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIll] != null) {\n const memberEntries = se_AllocationIds(input[_AIll], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllocationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeAddressesAttributeRequest\");\nvar se_DescribeAddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIu] != null) {\n const memberEntries = se_PublicIpStringList(input[_PIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PublicIp.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AIll] != null) {\n const memberEntries = se_AllocationIdList(input[_AIll], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllocationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeAddressesRequest\");\nvar se_DescribeAddressTransfersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIll] != null) {\n const memberEntries = se_AllocationIdList(input[_AIll], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllocationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeAddressTransfersRequest\");\nvar se_DescribeAggregateIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeAggregateIdFormatRequest\");\nvar se_DescribeAvailabilityZonesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ZN] != null) {\n const memberEntries = se_ZoneNameStringList(input[_ZN], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ZoneName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ZI] != null) {\n const memberEntries = se_ZoneIdStringList(input[_ZI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ZoneId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AAZ] != null) {\n entries[_AAZ] = input[_AAZ];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeAvailabilityZonesRequest\");\nvar se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest\");\nvar se_DescribeBundleTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BIun] != null) {\n const memberEntries = se_BundleIdStringList(input[_BIun], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BundleId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeBundleTasksRequest\");\nvar se_DescribeByoipCidrsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeByoipCidrsRequest\");\nvar se_DescribeCapacityBlockExtensionHistoryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRIa] != null) {\n const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCapacityBlockExtensionHistoryRequest\");\nvar se_DescribeCapacityBlockExtensionOfferingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CBEDH] != null) {\n entries[_CBEDH] = input[_CBEDH];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeCapacityBlockExtensionOfferingsRequest\");\nvar se_DescribeCapacityBlockOfferingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_SDR] != null) {\n entries[_SDR] = (0, import_smithy_client.serializeDateTime)(input[_SDR]);\n }\n if (input[_EDR] != null) {\n entries[_EDR] = (0, import_smithy_client.serializeDateTime)(input[_EDR]);\n }\n if (input[_CDH] != null) {\n entries[_CDH] = input[_CDH];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeCapacityBlockOfferingsRequest\");\nvar se_DescribeCapacityReservationBillingRequestsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRIa] != null) {\n const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ro] != null) {\n entries[_Ro] = input[_Ro];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCapacityReservationBillingRequestsRequest\");\nvar se_DescribeCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRFI] != null) {\n const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCapacityReservationFleetsRequest\");\nvar se_DescribeCapacityReservationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRIa] != null) {\n const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCapacityReservationsRequest\");\nvar se_DescribeCarrierGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CGIa] != null) {\n const memberEntries = se_CarrierGatewayIdSet(input[_CGIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CarrierGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCarrierGatewaysRequest\");\nvar se_DescribeClassicLinkInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeClassicLinkInstancesRequest\");\nvar se_DescribeClientVpnAuthorizationRulesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeClientVpnAuthorizationRulesRequest\");\nvar se_DescribeClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeClientVpnConnectionsRequest\");\nvar se_DescribeClientVpnEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEIl] != null) {\n const memberEntries = se_ClientVpnEndpointIdList(input[_CVEIl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientVpnEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeClientVpnEndpointsRequest\");\nvar se_DescribeClientVpnRoutesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeClientVpnRoutesRequest\");\nvar se_DescribeClientVpnTargetNetworksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_AIs] != null) {\n const memberEntries = se_ValueStringList(input[_AIs], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeClientVpnTargetNetworksRequest\");\nvar se_DescribeCoipPoolsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIoo] != null) {\n const memberEntries = se_CoipPoolIdSet(input[_PIoo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PoolId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCoipPoolsRequest\");\nvar se_DescribeConversionTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTIo] != null) {\n const memberEntries = se_ConversionIdStringList(input[_CTIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConversionTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeConversionTasksRequest\");\nvar se_DescribeCustomerGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CGIus] != null) {\n const memberEntries = se_CustomerGatewayIdStringList(input[_CGIus], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CustomerGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeCustomerGatewaysRequest\");\nvar se_DescribeDeclarativePoliciesReportsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_RIepo] != null) {\n const memberEntries = se_ValueStringList(input[_RIepo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReportId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeDeclarativePoliciesReportsRequest\");\nvar se_DescribeDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DOIh] != null) {\n const memberEntries = se_DhcpOptionsIdStringList(input[_DOIh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DhcpOptionsId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeDhcpOptionsRequest\");\nvar se_DescribeEgressOnlyInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_EOIGIg] != null) {\n const memberEntries = se_EgressOnlyInternetGatewayIdList(input[_EOIGIg], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EgressOnlyInternetGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeEgressOnlyInternetGatewaysRequest\");\nvar se_DescribeElasticGpusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_EGI] != null) {\n const memberEntries = se_ElasticGpuIdSet(input[_EGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ElasticGpuId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeElasticGpusRequest\");\nvar se_DescribeExportImageTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EITI] != null) {\n const memberEntries = se_ExportImageTaskIdList(input[_EITI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExportImageTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeExportImageTasksRequest\");\nvar se_DescribeExportTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ETIx] != null) {\n const memberEntries = se_ExportTaskIdStringList(input[_ETIx], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExportTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeExportTasksRequest\");\nvar se_DescribeFastLaunchImagesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IImag] != null) {\n const memberEntries = se_FastLaunchImageIdList(input[_IImag], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeFastLaunchImagesRequest\");\nvar se_DescribeFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeFastSnapshotRestoresRequest\");\nvar se_DescribeFleetHistoryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ETv] != null) {\n entries[_ETv] = input[_ETv];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_FIl] != null) {\n entries[_FIl] = input[_FIl];\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n return entries;\n}, \"se_DescribeFleetHistoryRequest\");\nvar se_DescribeFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_FIl] != null) {\n entries[_FIl] = input[_FIl];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeFleetInstancesRequest\");\nvar se_DescribeFleetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_FI] != null) {\n const memberEntries = se_FleetIdSet(input[_FI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FleetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeFleetsRequest\");\nvar se_DescribeFlowLogsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fil] != null) {\n const memberEntries = se_FilterList(input[_Fil], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_FLI] != null) {\n const memberEntries = se_FlowLogIdList(input[_FLI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FlowLogId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeFlowLogsRequest\");\nvar se_DescribeFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FII] != null) {\n entries[_FII] = input[_FII];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n return entries;\n}, \"se_DescribeFpgaImageAttributeRequest\");\nvar se_DescribeFpgaImagesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FIIp] != null) {\n const memberEntries = se_FpgaImageIdList(input[_FIIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FpgaImageId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ow] != null) {\n const memberEntries = se_OwnerStringList(input[_Ow], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Owner.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeFpgaImagesRequest\");\nvar se_DescribeHostReservationOfferingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fil] != null) {\n const memberEntries = se_FilterList(input[_Fil], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MD] != null) {\n entries[_MD] = input[_MD];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_MDi] != null) {\n entries[_MDi] = input[_MDi];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_OI] != null) {\n entries[_OI] = input[_OI];\n }\n return entries;\n}, \"se_DescribeHostReservationOfferingsRequest\");\nvar se_DescribeHostReservationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fil] != null) {\n const memberEntries = se_FilterList(input[_Fil], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_HRIS] != null) {\n const memberEntries = se_HostReservationIdSet(input[_HRIS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostReservationIdSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeHostReservationsRequest\");\nvar se_DescribeHostsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HI] != null) {\n const memberEntries = se_RequestHostIdList(input[_HI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fil] != null) {\n const memberEntries = se_FilterList(input[_Fil], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeHostsRequest\");\nvar se_DescribeIamInstanceProfileAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIs] != null) {\n const memberEntries = se_AssociationIdList(input[_AIs], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeIamInstanceProfileAssociationsRequest\");\nvar se_DescribeIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Res] != null) {\n entries[_Res] = input[_Res];\n }\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n return entries;\n}, \"se_DescribeIdentityIdFormatRequest\");\nvar se_DescribeIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Res] != null) {\n entries[_Res] = input[_Res];\n }\n return entries;\n}, \"se_DescribeIdFormatRequest\");\nvar se_DescribeImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeImageAttributeRequest\");\nvar se_DescribeImagesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_EU] != null) {\n const memberEntries = se_ExecutableByStringList(input[_EU], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExecutableBy.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IImag] != null) {\n const memberEntries = se_ImageIdStringList(input[_IImag], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ow] != null) {\n const memberEntries = se_OwnerStringList(input[_Ow], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Owner.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ID] != null) {\n entries[_ID] = input[_ID];\n }\n if (input[_IDn] != null) {\n entries[_IDn] = input[_IDn];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeImagesRequest\");\nvar se_DescribeImportImageTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filters.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITIm] != null) {\n const memberEntries = se_ImportTaskIdList(input[_ITIm], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImportTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeImportImageTasksRequest\");\nvar se_DescribeImportSnapshotTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filters.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITIm] != null) {\n const memberEntries = se_ImportSnapshotTaskIdList(input[_ITIm], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImportTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeImportSnapshotTasksRequest\");\nvar se_DescribeInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n return entries;\n}, \"se_DescribeInstanceAttributeRequest\");\nvar se_DescribeInstanceConnectEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ICEIn] != null) {\n const memberEntries = se_ValueStringList(input[_ICEIn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceConnectEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeInstanceConnectEndpointsRequest\");\nvar se_DescribeInstanceCreditSpecificationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeInstanceCreditSpecificationsRequest\");\nvar se_DescribeInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeInstanceEventNotificationAttributesRequest\");\nvar se_DescribeInstanceEventWindowsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IEWIn] != null) {\n const memberEntries = se_InstanceEventWindowIdSet(input[_IEWIn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceEventWindowId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeInstanceEventWindowsRequest\");\nvar se_DescribeInstanceImageMetadataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeInstanceImageMetadataRequest\");\nvar se_DescribeInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeInstancesRequest\");\nvar se_DescribeInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAI] != null) {\n entries[_IAI] = input[_IAI];\n }\n return entries;\n}, \"se_DescribeInstanceStatusRequest\");\nvar se_DescribeInstanceTopologyGroupNameSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_DescribeInstanceTopologyGroupNameSet\");\nvar se_DescribeInstanceTopologyInstanceIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_DescribeInstanceTopologyInstanceIdSet\");\nvar se_DescribeInstanceTopologyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_IIns] != null) {\n const memberEntries = se_DescribeInstanceTopologyInstanceIdSet(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_GNr] != null) {\n const memberEntries = se_DescribeInstanceTopologyGroupNameSet(input[_GNr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeInstanceTopologyRequest\");\nvar se_DescribeInstanceTypeOfferingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LT] != null) {\n entries[_LT] = input[_LT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeInstanceTypeOfferingsRequest\");\nvar se_DescribeInstanceTypesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ITnst] != null) {\n const memberEntries = se_RequestInstanceTypeList(input[_ITnst], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeInstanceTypesRequest\");\nvar se_DescribeInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IGIn] != null) {\n const memberEntries = se_InternetGatewayIdList(input[_IGIn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InternetGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeInternetGatewaysRequest\");\nvar se_DescribeIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeIpamByoasnRequest\");\nvar se_DescribeIpamExternalResourceVerificationTokensRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_IERVTIp] != null) {\n const memberEntries = se_ValueStringList(input[_IERVTIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamExternalResourceVerificationTokenId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamExternalResourceVerificationTokensRequest\");\nvar se_DescribeIpamPoolsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_IPIp] != null) {\n const memberEntries = se_ValueStringList(input[_IPIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamPoolId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamPoolsRequest\");\nvar se_DescribeIpamResourceDiscoveriesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDIp] != null) {\n const memberEntries = se_ValueStringList(input[_IRDIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamResourceDiscoveryId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamResourceDiscoveriesRequest\");\nvar se_DescribeIpamResourceDiscoveryAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDAI] != null) {\n const memberEntries = se_ValueStringList(input[_IRDAI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamResourceDiscoveryAssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamResourceDiscoveryAssociationsRequest\");\nvar se_DescribeIpamScopesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_ISIp] != null) {\n const memberEntries = se_ValueStringList(input[_ISIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamScopeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamScopesRequest\");\nvar se_DescribeIpamsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_IIpa] != null) {\n const memberEntries = se_ValueStringList(input[_IIpa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpamId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpamsRequest\");\nvar se_DescribeIpv6PoolsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIoo] != null) {\n const memberEntries = se_Ipv6PoolIdList(input[_PIoo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PoolId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeIpv6PoolsRequest\");\nvar se_DescribeKeyPairsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_KNe] != null) {\n const memberEntries = se_KeyNameStringList(input[_KNe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `KeyName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_KPIe] != null) {\n const memberEntries = se_KeyPairIdStringList(input[_KPIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `KeyPairId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPK] != null) {\n entries[_IPK] = input[_IPK];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeKeyPairsRequest\");\nvar se_DescribeLaunchTemplatesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LTIa] != null) {\n const memberEntries = se_LaunchTemplateIdStringList(input[_LTIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LTNa] != null) {\n const memberEntries = se_LaunchTemplateNameStringList(input[_LTNa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeLaunchTemplatesRequest\");\nvar se_DescribeLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_Ve] != null) {\n const memberEntries = se_VersionStringList(input[_Ve], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MVi] != null) {\n entries[_MVi] = input[_MVi];\n }\n if (input[_MVa] != null) {\n entries[_MVa] = input[_MVa];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RAe] != null) {\n entries[_RAe] = input[_RAe];\n }\n return entries;\n}, \"se_DescribeLaunchTemplateVersionsRequest\");\nvar se_DescribeLocalGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTIo] != null) {\n const memberEntries = se_LocalGatewayRouteTableIdSet(input[_LGRTIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayRouteTableId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewayRouteTablesRequest\");\nvar se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTVIGAIo] != null) {\n const memberEntries = se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet(input[_LGRTVIGAIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayRouteTableVirtualInterfaceGroupAssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest\");\nvar se_DescribeLocalGatewayRouteTableVpcAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTVAIo] != null) {\n const memberEntries = se_LocalGatewayRouteTableVpcAssociationIdSet(input[_LGRTVAIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayRouteTableVpcAssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewayRouteTableVpcAssociationsRequest\");\nvar se_DescribeLocalGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGIo] != null) {\n const memberEntries = se_LocalGatewayIdSet(input[_LGIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewaysRequest\");\nvar se_DescribeLocalGatewayVirtualInterfaceGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGVIGIo] != null) {\n const memberEntries = se_LocalGatewayVirtualInterfaceGroupIdSet(input[_LGVIGIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayVirtualInterfaceGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewayVirtualInterfaceGroupsRequest\");\nvar se_DescribeLocalGatewayVirtualInterfacesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGVIIo] != null) {\n const memberEntries = se_LocalGatewayVirtualInterfaceIdSet(input[_LGVIIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalGatewayVirtualInterfaceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLocalGatewayVirtualInterfacesRequest\");\nvar se_DescribeLockedSnapshotsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_SIna] != null) {\n const memberEntries = se_SnapshotIdStringList(input[_SIna], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SnapshotId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeLockedSnapshotsRequest\");\nvar se_DescribeMacHostsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_HI] != null) {\n const memberEntries = se_RequestHostIdList(input[_HI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeMacHostsRequest\");\nvar se_DescribeManagedPrefixListsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_PLIr] != null) {\n const memberEntries = se_ValueStringList(input[_PLIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrefixListId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeManagedPrefixListsRequest\");\nvar se_DescribeMovingAddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PIu] != null) {\n const memberEntries = se_ValueStringList(input[_PIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PublicIp.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeMovingAddressesRequest\");\nvar se_DescribeNatGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fil] != null) {\n const memberEntries = se_FilterList(input[_Fil], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NGIa] != null) {\n const memberEntries = se_NatGatewayIdStringList(input[_NGIa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NatGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeNatGatewaysRequest\");\nvar se_DescribeNetworkAclsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NAIe] != null) {\n const memberEntries = se_NetworkAclIdStringList(input[_NAIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkAclId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeNetworkAclsRequest\");\nvar se_DescribeNetworkInsightsAccessScopeAnalysesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASAIe] != null) {\n const memberEntries = se_NetworkInsightsAccessScopeAnalysisIdList(input[_NIASAIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInsightsAccessScopeAnalysisId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NIASI] != null) {\n entries[_NIASI] = input[_NIASI];\n }\n if (input[_ASTB] != null) {\n entries[_ASTB] = (0, import_smithy_client.serializeDateTime)(input[_ASTB]);\n }\n if (input[_ASTE] != null) {\n entries[_ASTE] = (0, import_smithy_client.serializeDateTime)(input[_ASTE]);\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeNetworkInsightsAccessScopeAnalysesRequest\");\nvar se_DescribeNetworkInsightsAccessScopesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASIe] != null) {\n const memberEntries = se_NetworkInsightsAccessScopeIdList(input[_NIASIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInsightsAccessScopeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeNetworkInsightsAccessScopesRequest\");\nvar se_DescribeNetworkInsightsAnalysesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIAIe] != null) {\n const memberEntries = se_NetworkInsightsAnalysisIdList(input[_NIAIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInsightsAnalysisId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NIPI] != null) {\n entries[_NIPI] = input[_NIPI];\n }\n if (input[_AST] != null) {\n entries[_AST] = (0, import_smithy_client.serializeDateTime)(input[_AST]);\n }\n if (input[_AET] != null) {\n entries[_AET] = (0, import_smithy_client.serializeDateTime)(input[_AET]);\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeNetworkInsightsAnalysesRequest\");\nvar se_DescribeNetworkInsightsPathsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIPIet] != null) {\n const memberEntries = se_NetworkInsightsPathIdList(input[_NIPIet], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInsightsPathId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeNetworkInsightsPathsRequest\");\nvar se_DescribeNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n return entries;\n}, \"se_DescribeNetworkInterfaceAttributeRequest\");\nvar se_DescribeNetworkInterfacePermissionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIPIetw] != null) {\n const memberEntries = se_NetworkInterfacePermissionIdList(input[_NIPIetw], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfacePermissionId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeNetworkInterfacePermissionsRequest\");\nvar se_DescribeNetworkInterfacesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NIIe] != null) {\n const memberEntries = se_NetworkInterfaceIdList(input[_NIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeNetworkInterfacesRequest\");\nvar se_DescribeOutpostLagsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_OLIu] != null) {\n const memberEntries = se_OutpostLagIdSet(input[_OLIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OutpostLagId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeOutpostLagsRequest\");\nvar se_DescribePlacementGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIro] != null) {\n const memberEntries = se_PlacementGroupIdStringList(input[_GIro], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GNr] != null) {\n const memberEntries = se_PlacementGroupStringList(input[_GNr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribePlacementGroupsRequest\");\nvar se_DescribePrefixListsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_PLIr] != null) {\n const memberEntries = se_PrefixListResourceIdStringList(input[_PLIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrefixListId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribePrefixListsRequest\");\nvar se_DescribePrincipalIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Re] != null) {\n const memberEntries = se_ResourceList(input[_Re], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Resource.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribePrincipalIdFormatRequest\");\nvar se_DescribePublicIpv4PoolsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIoo] != null) {\n const memberEntries = se_PublicIpv4PoolIdStringList(input[_PIoo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PoolId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribePublicIpv4PoolsRequest\");\nvar se_DescribeRegionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RNe] != null) {\n const memberEntries = se_RegionNameStringList(input[_RNe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RegionName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ARll] != null) {\n entries[_ARll] = input[_ARll];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeRegionsRequest\");\nvar se_DescribeReplaceRootVolumeTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RRVTI] != null) {\n const memberEntries = se_ReplaceRootVolumeTaskIds(input[_RRVTI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReplaceRootVolumeTaskId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeReplaceRootVolumeTasksRequest\");\nvar se_DescribeReservedInstancesListingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RIIe] != null) {\n entries[_RIIe] = input[_RIIe];\n }\n if (input[_RILI] != null) {\n entries[_RILI] = input[_RILI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeReservedInstancesListingsRequest\");\nvar se_DescribeReservedInstancesModificationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RIMI] != null) {\n const memberEntries = se_ReservedInstancesModificationIdStringList(input[_RIMI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesModificationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeReservedInstancesModificationsRequest\");\nvar se_DescribeReservedInstancesOfferingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_IM] != null) {\n entries[_IM] = input[_IM];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_MD] != null) {\n entries[_MD] = input[_MD];\n }\n if (input[_MIC] != null) {\n entries[_MIC] = input[_MIC];\n }\n if (input[_MDi] != null) {\n entries[_MDi] = input[_MDi];\n }\n if (input[_OC] != null) {\n entries[_OC] = input[_OC];\n }\n if (input[_PDr] != null) {\n entries[_PDr] = input[_PDr];\n }\n if (input[_RIOI] != null) {\n const memberEntries = se_ReservedInstancesOfferingIdStringList(input[_RIOI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesOfferingId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITns] != null) {\n entries[_ITns] = input[_ITns];\n }\n if (input[_OT] != null) {\n entries[_OT] = input[_OT];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeReservedInstancesOfferingsRequest\");\nvar se_DescribeReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_OC] != null) {\n entries[_OC] = input[_OC];\n }\n if (input[_RIIes] != null) {\n const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_OT] != null) {\n entries[_OT] = input[_OT];\n }\n return entries;\n}, \"se_DescribeReservedInstancesRequest\");\nvar se_DescribeRouteServerEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSEIo] != null) {\n const memberEntries = se_RouteServerEndpointIdsList(input[_RSEIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RouteServerEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeRouteServerEndpointsRequest\");\nvar se_DescribeRouteServerPeersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSPIo] != null) {\n const memberEntries = se_RouteServerPeerIdsList(input[_RSPIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RouteServerPeerId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeRouteServerPeersRequest\");\nvar se_DescribeRouteServersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIou] != null) {\n const memberEntries = se_RouteServerIdsList(input[_RSIou], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RouteServerId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeRouteServersRequest\");\nvar se_DescribeRouteTablesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RTIo] != null) {\n const memberEntries = se_RouteTableIdStringList(input[_RTIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RouteTableId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeRouteTablesRequest\");\nvar se_DescribeScheduledInstanceAvailabilityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_FSSTR] != null) {\n const memberEntries = se_SlotDateTimeRangeRequest(input[_FSSTR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FirstSlotStartTimeRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_MSDIH] != null) {\n entries[_MSDIH] = input[_MSDIH];\n }\n if (input[_MSDIHi] != null) {\n entries[_MSDIHi] = input[_MSDIHi];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Rec] != null) {\n const memberEntries = se_ScheduledInstanceRecurrenceRequest(input[_Rec], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Recurrence.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeScheduledInstanceAvailabilityRequest\");\nvar se_DescribeScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_SIIc] != null) {\n const memberEntries = se_ScheduledInstanceIdRequestSet(input[_SIIc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ScheduledInstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SSTR] != null) {\n const memberEntries = se_SlotStartTimeRangeRequest(input[_SSTR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SlotStartTimeRange.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeScheduledInstancesRequest\");\nvar se_DescribeSecurityGroupReferencesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GIr] != null) {\n const memberEntries = se_GroupIds(input[_GIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeSecurityGroupReferencesRequest\");\nvar se_DescribeSecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGRI] != null) {\n const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeSecurityGroupRulesRequest\");\nvar se_DescribeSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIro] != null) {\n const memberEntries = se_GroupIdStringList(input[_GIro], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_GNr] != null) {\n const memberEntries = se_GroupNameStringList(input[_GNr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeSecurityGroupsRequest\");\nvar se_DescribeSecurityGroupVpcAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeSecurityGroupVpcAssociationsRequest\");\nvar se_DescribeServiceLinkVirtualInterfacesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SLVII] != null) {\n const memberEntries = se_ServiceLinkVirtualInterfaceIdSet(input[_SLVII], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ServiceLinkVirtualInterfaceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeServiceLinkVirtualInterfacesRequest\");\nvar se_DescribeSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeSnapshotAttributeRequest\");\nvar se_DescribeSnapshotsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_OIw] != null) {\n const memberEntries = se_OwnerStringList(input[_OIw], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Owner.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RBUI] != null) {\n const memberEntries = se_RestorableByStringList(input[_RBUI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RestorableBy.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIna] != null) {\n const memberEntries = se_SnapshotIdStringList(input[_SIna], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SnapshotId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeSnapshotsRequest\");\nvar se_DescribeSnapshotTierStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeSnapshotTierStatusRequest\");\nvar se_DescribeSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeSpotDatafeedSubscriptionRequest\");\nvar se_DescribeSpotFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFRIp] != null) {\n entries[_SFRIp] = input[_SFRIp];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeSpotFleetInstancesRequest\");\nvar se_DescribeSpotFleetRequestHistoryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFRIp] != null) {\n entries[_SFRIp] = input[_SFRIp];\n }\n if (input[_ETv] != null) {\n entries[_ETv] = input[_ETv];\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeSpotFleetRequestHistoryRequest\");\nvar se_DescribeSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFRI] != null) {\n const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotFleetRequestId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeSpotFleetRequestsRequest\");\nvar se_DescribeSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIRI] != null) {\n const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeSpotInstanceRequestsRequest\");\nvar se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n if (input[_ETn] != null) {\n entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);\n }\n if (input[_ITnst] != null) {\n const memberEntries = se_InstanceTypeList(input[_ITnst], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PDro] != null) {\n const memberEntries = se_ProductDescriptionList(input[_PDro], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProductDescription.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeSpotPriceHistoryRequest\");\nvar se_DescribeStaleSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_DescribeStaleSecurityGroupsRequest\");\nvar se_DescribeStoreImageTasksRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IImag] != null) {\n const memberEntries = se_ImageIdList(input[_IImag], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeStoreImageTasksRequest\");\nvar se_DescribeSubnetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIu] != null) {\n const memberEntries = se_SubnetIdStringList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeSubnetsRequest\");\nvar se_DescribeTagsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeTagsRequest\");\nvar se_DescribeTrafficMirrorFilterRulesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFRIr] != null) {\n const memberEntries = se_TrafficMirrorFilterRuleIdList(input[_TMFRIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TrafficMirrorFilterRuleId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeTrafficMirrorFilterRulesRequest\");\nvar se_DescribeTrafficMirrorFiltersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFIr] != null) {\n const memberEntries = se_TrafficMirrorFilterIdList(input[_TMFIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TrafficMirrorFilterId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeTrafficMirrorFiltersRequest\");\nvar se_DescribeTrafficMirrorSessionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMSIr] != null) {\n const memberEntries = se_TrafficMirrorSessionIdList(input[_TMSIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TrafficMirrorSessionId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeTrafficMirrorSessionsRequest\");\nvar se_DescribeTrafficMirrorTargetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMTIr] != null) {\n const memberEntries = se_TrafficMirrorTargetIdList(input[_TMTIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TrafficMirrorTargetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeTrafficMirrorTargetsRequest\");\nvar se_DescribeTransitGatewayAttachmentsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAIr] != null) {\n const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayAttachmentsRequest\");\nvar se_DescribeTransitGatewayConnectPeersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGCPIr] != null) {\n const memberEntries = se_TransitGatewayConnectPeerIdStringList(input[_TGCPIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayConnectPeerIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayConnectPeersRequest\");\nvar se_DescribeTransitGatewayConnectsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAIr] != null) {\n const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayConnectsRequest\");\nvar se_DescribeTransitGatewayMulticastDomainsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDIr] != null) {\n const memberEntries = se_TransitGatewayMulticastDomainIdStringList(input[_TGMDIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayMulticastDomainIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayMulticastDomainsRequest\");\nvar se_DescribeTransitGatewayPeeringAttachmentsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAIr] != null) {\n const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayPeeringAttachmentsRequest\");\nvar se_DescribeTransitGatewayPolicyTablesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTIr] != null) {\n const memberEntries = se_TransitGatewayPolicyTableIdStringList(input[_TGPTIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayPolicyTableIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayPolicyTablesRequest\");\nvar se_DescribeTransitGatewayRouteTableAnnouncementsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTAIr] != null) {\n const memberEntries = se_TransitGatewayRouteTableAnnouncementIdStringList(input[_TGRTAIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayRouteTableAnnouncementIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayRouteTableAnnouncementsRequest\");\nvar se_DescribeTransitGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTIr] != null) {\n const memberEntries = se_TransitGatewayRouteTableIdStringList(input[_TGRTIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayRouteTablesRequest\");\nvar se_DescribeTransitGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGIr] != null) {\n const memberEntries = se_TransitGatewayIdStringList(input[_TGIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewaysRequest\");\nvar se_DescribeTransitGatewayVpcAttachmentsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAIr] != null) {\n const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeTransitGatewayVpcAttachmentsRequest\");\nvar se_DescribeTrunkInterfaceAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIs] != null) {\n const memberEntries = se_TrunkInterfaceAssociationIdList(input[_AIs], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeTrunkInterfaceAssociationsRequest\");\nvar se_DescribeVerifiedAccessEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEIe] != null) {\n const memberEntries = se_VerifiedAccessEndpointIdList(input[_VAEIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VerifiedAccessEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVerifiedAccessEndpointsRequest\");\nvar se_DescribeVerifiedAccessGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGIe] != null) {\n const memberEntries = se_VerifiedAccessGroupIdList(input[_VAGIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VerifiedAccessGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVerifiedAccessGroupsRequest\");\nvar se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAIIe] != null) {\n const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest\");\nvar se_DescribeVerifiedAccessInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAIIe] != null) {\n const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVerifiedAccessInstancesRequest\");\nvar se_DescribeVerifiedAccessTrustProvidersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VATPIe] != null) {\n const memberEntries = se_VerifiedAccessTrustProviderIdList(input[_VATPIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VerifiedAccessTrustProviderId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVerifiedAccessTrustProvidersRequest\");\nvar se_DescribeVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVolumeAttributeRequest\");\nvar se_DescribeVolumesModificationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VIol] != null) {\n const memberEntries = se_VolumeIdStringList(input[_VIol], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VolumeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeVolumesModificationsRequest\");\nvar se_DescribeVolumesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VIol] != null) {\n const memberEntries = se_VolumeIdStringList(input[_VIol], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VolumeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeVolumesRequest\");\nvar se_DescribeVolumeStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_VIol] != null) {\n const memberEntries = se_VolumeIdStringList(input[_VIol], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VolumeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeVolumeStatusRequest\");\nvar se_DescribeVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVpcAttributeRequest\");\nvar se_DescribeVpcBlockPublicAccessExclusionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EIxcl] != null) {\n const memberEntries = se_VpcBlockPublicAccessExclusionIdList(input[_EIxcl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExclusionId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_DescribeVpcBlockPublicAccessExclusionsRequest\");\nvar se_DescribeVpcBlockPublicAccessOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVpcBlockPublicAccessOptionsRequest\");\nvar se_DescribeVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VIp] != null) {\n const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcClassicLinkDnsSupportRequest\");\nvar se_DescribeVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VIp] != null) {\n const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeVpcClassicLinkRequest\");\nvar se_DescribeVpcEndpointAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VEI] != null) {\n const memberEntries = se_VpcEndpointIdList(input[_VEI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointAssociationsRequest\");\nvar se_DescribeVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CNIon] != null) {\n entries[_CNIon] = input[_CNIon];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointConnectionNotificationsRequest\");\nvar se_DescribeVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointConnectionsRequest\");\nvar se_DescribeVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIer] != null) {\n const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ServiceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointServiceConfigurationsRequest\");\nvar se_DescribeVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointServicePermissionsRequest\");\nvar se_DescribeVpcEndpointServicesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SNer] != null) {\n const memberEntries = se_ValueStringList(input[_SNer], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ServiceName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_SRer] != null) {\n const memberEntries = se_ValueStringList(input[_SRer], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ServiceRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeVpcEndpointServicesRequest\");\nvar se_DescribeVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VEI] != null) {\n const memberEntries = se_VpcEndpointIdList(input[_VEI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_DescribeVpcEndpointsRequest\");\nvar se_DescribeVpcPeeringConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VPCIp] != null) {\n const memberEntries = se_VpcPeeringConnectionIdList(input[_VPCIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcPeeringConnectionId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DescribeVpcPeeringConnectionsRequest\");\nvar se_DescribeVpcsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VIp] != null) {\n const memberEntries = se_VpcIdStringList(input[_VIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVpcsRequest\");\nvar se_DescribeVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VCIp] != null) {\n const memberEntries = se_VpnConnectionIdStringList(input[_VCIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpnConnectionId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVpnConnectionsRequest\");\nvar se_DescribeVpnGatewaysRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VGIp] != null) {\n const memberEntries = se_VpnGatewayIdStringList(input[_VGIp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpnGatewayId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DescribeVpnGatewaysRequest\");\nvar se_DestinationOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_FF] != null) {\n entries[_FF] = input[_FF];\n }\n if (input[_HCP] != null) {\n entries[_HCP] = input[_HCP];\n }\n if (input[_PHP] != null) {\n entries[_PHP] = input[_PHP];\n }\n return entries;\n}, \"se_DestinationOptionsRequest\");\nvar se_DetachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_DetachClassicLinkVpcRequest\");\nvar se_DetachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IGI] != null) {\n entries[_IGI] = input[_IGI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_DetachInternetGatewayRequest\");\nvar se_DetachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AIt] != null) {\n entries[_AIt] = input[_AIt];\n }\n if (input[_F] != null) {\n entries[_F] = input[_F];\n }\n return entries;\n}, \"se_DetachNetworkInterfaceRequest\");\nvar se_DetachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_VATPI] != null) {\n entries[_VATPI] = input[_VATPI];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DetachVerifiedAccessTrustProviderRequest\");\nvar se_DetachVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Dev] != null) {\n entries[_Dev] = input[_Dev];\n }\n if (input[_F] != null) {\n entries[_F] = input[_F];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DetachVolumeRequest\");\nvar se_DetachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_VGI] != null) {\n entries[_VGI] = input[_VGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DetachVpnGatewayRequest\");\nvar se_DhcpOptionsIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`DhcpOptionsId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_DhcpOptionsIdStringList\");\nvar se_DirectoryServiceAuthenticationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DIir] != null) {\n entries[_DIir] = input[_DIir];\n }\n return entries;\n}, \"se_DirectoryServiceAuthenticationRequest\");\nvar se_DisableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableAddressTransferRequest\");\nvar se_DisableAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableAllowedImagesSettingsRequest\");\nvar se_DisableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_S] != null) {\n entries[_S] = input[_S];\n }\n if (input[_D] != null) {\n entries[_D] = input[_D];\n }\n if (input[_Met] != null) {\n entries[_Met] = input[_Met];\n }\n if (input[_Sta] != null) {\n entries[_Sta] = input[_Sta];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableAwsNetworkPerformanceMetricSubscriptionRequest\");\nvar se_DisableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableEbsEncryptionByDefaultRequest\");\nvar se_DisableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_F] != null) {\n entries[_F] = input[_F];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableFastLaunchRequest\");\nvar se_DisableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZv] != null) {\n const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AvailabilityZone.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SSIo] != null) {\n const memberEntries = se_SnapshotIdStringList(input[_SSIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceSnapshotId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableFastSnapshotRestoresRequest\");\nvar se_DisableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableImageBlockPublicAccessRequest\");\nvar se_DisableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableImageDeprecationRequest\");\nvar se_DisableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableImageDeregistrationProtectionRequest\");\nvar se_DisableImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableImageRequest\");\nvar se_DisableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_DAAI] != null) {\n entries[_DAAI] = input[_DAAI];\n }\n return entries;\n}, \"se_DisableIpamOrganizationAdminAccountRequest\");\nvar se_DisableRouteServerPropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableRouteServerPropagationRequest\");\nvar se_DisableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableSerialConsoleAccessRequest\");\nvar se_DisableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableSnapshotBlockPublicAccessRequest\");\nvar se_DisableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TGRTAI] != null) {\n entries[_TGRTAI] = input[_TGRTAI];\n }\n return entries;\n}, \"se_DisableTransitGatewayRouteTablePropagationRequest\");\nvar se_DisableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GI] != null) {\n entries[_GI] = input[_GI];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisableVgwRoutePropagationRequest\");\nvar se_DisableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_DisableVpcClassicLinkDnsSupportRequest\");\nvar se_DisableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_DisableVpcClassicLinkRequest\");\nvar se_DisassociateAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateAddressRequest\");\nvar se_DisassociateCapacityReservationBillingOwnerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_URBOI] != null) {\n entries[_URBOI] = input[_URBOI];\n }\n return entries;\n}, \"se_DisassociateCapacityReservationBillingOwnerRequest\");\nvar se_DisassociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateClientVpnTargetNetworkRequest\");\nvar se_DisassociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n if (input[_RAo] != null) {\n entries[_RAo] = input[_RAo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateEnclaveCertificateIamRoleRequest\");\nvar se_DisassociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n return entries;\n}, \"se_DisassociateIamInstanceProfileRequest\");\nvar se_DisassociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IEWI] != null) {\n entries[_IEWI] = input[_IEWI];\n }\n if (input[_AT] != null) {\n const memberEntries = se_InstanceEventWindowDisassociationRequest(input[_AT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationTarget.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DisassociateInstanceEventWindowRequest\");\nvar se_DisassociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_As] != null) {\n entries[_As] = input[_As];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n return entries;\n}, \"se_DisassociateIpamByoasnRequest\");\nvar se_DisassociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDAIp] != null) {\n entries[_IRDAIp] = input[_IRDAIp];\n }\n return entries;\n}, \"se_DisassociateIpamResourceDiscoveryRequest\");\nvar se_DisassociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n if (input[_AIs] != null) {\n const memberEntries = se_EipAssociationIdList(input[_AIs], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssociationId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MDDS] != null) {\n entries[_MDDS] = input[_MDDS];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateNatGatewayAddressRequest\");\nvar se_DisassociateRouteServerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateRouteServerRequest\");\nvar se_DisassociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n return entries;\n}, \"se_DisassociateRouteTableRequest\");\nvar se_DisassociateSecurityGroupVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateSecurityGroupVpcRequest\");\nvar se_DisassociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n return entries;\n}, \"se_DisassociateSubnetCidrBlockRequest\");\nvar se_DisassociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateTransitGatewayMulticastDomainRequest\");\nvar se_DisassociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTI] != null) {\n entries[_TGPTI] = input[_TGPTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateTransitGatewayPolicyTableRequest\");\nvar se_DisassociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateTransitGatewayRouteTableRequest\");\nvar se_DisassociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_DisassociateTrunkInterfaceRequest\");\nvar se_DisassociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n return entries;\n}, \"se_DisassociateVpcCidrBlockRequest\");\nvar se_DiskImage = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Im] != null) {\n const memberEntries = se_DiskImageDetail(input[_Im], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Image.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Vo] != null) {\n const memberEntries = se_VolumeDetail(input[_Vo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Volume.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_DiskImage\");\nvar se_DiskImageDetail = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fo] != null) {\n entries[_Fo] = input[_Fo];\n }\n if (input[_By] != null) {\n entries[_By] = input[_By];\n }\n if (input[_IMU] != null) {\n entries[_IMU] = input[_IMU];\n }\n return entries;\n}, \"se_DiskImageDetail\");\nvar se_DiskImageList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_DiskImage(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_DiskImageList\");\nvar se_DnsOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRIT] != null) {\n entries[_DRIT] = input[_DRIT];\n }\n if (input[_PDOFIRE] != null) {\n entries[_PDOFIRE] = input[_PDOFIRE];\n }\n return entries;\n}, \"se_DnsOptionsSpecification\");\nvar se_DnsServersOptionsModifyStructure = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CDSu] != null) {\n const memberEntries = se_ValueStringList(input[_CDSu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CustomDnsServers.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_DnsServersOptionsModifyStructure\");\nvar se_EbsBlockDevice = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_VS] != null) {\n entries[_VS] = input[_VS];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_Th] != null) {\n entries[_Th] = input[_Th];\n }\n if (input[_OA] != null) {\n entries[_OA] = input[_OA];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_VIR] != null) {\n entries[_VIR] = input[_VIR];\n }\n return entries;\n}, \"se_EbsBlockDevice\");\nvar se_EbsInstanceBlockDeviceSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n return entries;\n}, \"se_EbsInstanceBlockDeviceSpecification\");\nvar se_EgressOnlyInternetGatewayIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_EgressOnlyInternetGatewayIdList\");\nvar se_EipAssociationIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_EipAssociationIdList\");\nvar se_ElasticGpuIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ElasticGpuIdSet\");\nvar se_ElasticGpuSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n return entries;\n}, \"se_ElasticGpuSpecification\");\nvar se_ElasticGpuSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ElasticGpuSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`ElasticGpuSpecification.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ElasticGpuSpecificationList\");\nvar se_ElasticGpuSpecifications = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ElasticGpuSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ElasticGpuSpecifications\");\nvar se_ElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_Cou] != null) {\n entries[_Cou] = input[_Cou];\n }\n return entries;\n}, \"se_ElasticInferenceAccelerator\");\nvar se_ElasticInferenceAccelerators = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ElasticInferenceAccelerator(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ElasticInferenceAccelerators\");\nvar se_EnableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_TAI] != null) {\n entries[_TAI] = input[_TAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableAddressTransferRequest\");\nvar se_EnableAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AISS] != null) {\n entries[_AISS] = input[_AISS];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableAllowedImagesSettingsRequest\");\nvar se_EnableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_S] != null) {\n entries[_S] = input[_S];\n }\n if (input[_D] != null) {\n entries[_D] = input[_D];\n }\n if (input[_Met] != null) {\n entries[_Met] = input[_Met];\n }\n if (input[_Sta] != null) {\n entries[_Sta] = input[_Sta];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableAwsNetworkPerformanceMetricSubscriptionRequest\");\nvar se_EnableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableEbsEncryptionByDefaultRequest\");\nvar se_EnableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_SCn] != null) {\n const memberEntries = se_FastLaunchSnapshotConfigurationRequest(input[_SCn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SnapshotConfiguration.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LTa] != null) {\n const memberEntries = se_FastLaunchLaunchTemplateSpecificationRequest(input[_LTa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplate.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MPL] != null) {\n entries[_MPL] = input[_MPL];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableFastLaunchRequest\");\nvar se_EnableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZv] != null) {\n const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AvailabilityZone.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SSIo] != null) {\n const memberEntries = se_SnapshotIdStringList(input[_SSIo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceSnapshotId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableFastSnapshotRestoresRequest\");\nvar se_EnableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IBPAS] != null) {\n entries[_IBPAS] = input[_IBPAS];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableImageBlockPublicAccessRequest\");\nvar se_EnableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DAe] != null) {\n entries[_DAe] = (0, import_smithy_client.serializeDateTime)(input[_DAe]);\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableImageDeprecationRequest\");\nvar se_EnableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_WC] != null) {\n entries[_WC] = input[_WC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableImageDeregistrationProtectionRequest\");\nvar se_EnableImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableImageRequest\");\nvar se_EnableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_DAAI] != null) {\n entries[_DAAI] = input[_DAAI];\n }\n return entries;\n}, \"se_EnableIpamOrganizationAdminAccountRequest\");\nvar se_EnableReachabilityAnalyzerOrganizationSharingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableReachabilityAnalyzerOrganizationSharingRequest\");\nvar se_EnableRouteServerPropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableRouteServerPropagationRequest\");\nvar se_EnableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableSerialConsoleAccessRequest\");\nvar se_EnableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Stat] != null) {\n entries[_Stat] = input[_Stat];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableSnapshotBlockPublicAccessRequest\");\nvar se_EnableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TGRTAI] != null) {\n entries[_TGRTAI] = input[_TGRTAI];\n }\n return entries;\n}, \"se_EnableTransitGatewayRouteTablePropagationRequest\");\nvar se_EnableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GI] != null) {\n entries[_GI] = input[_GI];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_EnableVgwRoutePropagationRequest\");\nvar se_EnableVolumeIORequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n return entries;\n}, \"se_EnableVolumeIORequest\");\nvar se_EnableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_EnableVpcClassicLinkDnsSupportRequest\");\nvar se_EnableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n return entries;\n}, \"se_EnableVpcClassicLinkRequest\");\nvar se_EnaSrdSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ESE] != null) {\n entries[_ESE] = input[_ESE];\n }\n if (input[_ESUS] != null) {\n const memberEntries = se_EnaSrdUdpSpecification(input[_ESUS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdUdpSpecification.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_EnaSrdSpecification\");\nvar se_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ESE] != null) {\n entries[_ESE] = input[_ESE];\n }\n if (input[_ESUS] != null) {\n const memberEntries = se_EnaSrdUdpSpecificationRequest(input[_ESUS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdUdpSpecification.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_EnaSrdSpecificationRequest\");\nvar se_EnaSrdUdpSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ESUE] != null) {\n entries[_ESUE] = input[_ESUE];\n }\n return entries;\n}, \"se_EnaSrdUdpSpecification\");\nvar se_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ESUE] != null) {\n entries[_ESUE] = input[_ESUE];\n }\n return entries;\n}, \"se_EnaSrdUdpSpecificationRequest\");\nvar se_EnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_EnclaveOptionsRequest\");\nvar se_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ExcludedInstanceTypeSet\");\nvar se_ExecutableByStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ExecutableBy.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ExecutableByStringList\");\nvar se_ExportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ExportClientVpnClientCertificateRevocationListRequest\");\nvar se_ExportClientVpnClientConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ExportClientVpnClientConfigurationRequest\");\nvar se_ExportImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DIFi] != null) {\n entries[_DIFi] = input[_DIFi];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_SEL] != null) {\n const memberEntries = se_ExportTaskS3LocationRequest(input[_SEL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `S3ExportLocation.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RNo] != null) {\n entries[_RNo] = input[_RNo];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ExportImageRequest\");\nvar se_ExportImageTaskIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ExportImageTaskId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ExportImageTaskIdList\");\nvar se_ExportTaskIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ExportTaskId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ExportTaskIdStringList\");\nvar se_ExportTaskS3LocationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SB] != null) {\n entries[_SB] = input[_SB];\n }\n if (input[_SP] != null) {\n entries[_SP] = input[_SP];\n }\n return entries;\n}, \"se_ExportTaskS3LocationRequest\");\nvar se_ExportToS3TaskSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DIFi] != null) {\n entries[_DIFi] = input[_DIFi];\n }\n if (input[_CFo] != null) {\n entries[_CFo] = input[_CFo];\n }\n if (input[_SB] != null) {\n entries[_SB] = input[_SB];\n }\n if (input[_SP] != null) {\n entries[_SP] = input[_SP];\n }\n return entries;\n}, \"se_ExportToS3TaskSpecification\");\nvar se_ExportTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SB] != null) {\n entries[_SB] = input[_SB];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ExportTransitGatewayRoutesRequest\");\nvar se_ExportVerifiedAccessInstanceClientConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ExportVerifiedAccessInstanceClientConfigurationRequest\");\nvar se_FastLaunchImageIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ImageId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_FastLaunchImageIdList\");\nvar se_FastLaunchLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_V] != null) {\n entries[_V] = input[_V];\n }\n return entries;\n}, \"se_FastLaunchLaunchTemplateSpecificationRequest\");\nvar se_FastLaunchSnapshotConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TRC] != null) {\n entries[_TRC] = input[_TRC];\n }\n return entries;\n}, \"se_FastLaunchSnapshotConfigurationRequest\");\nvar se_FederatedAuthenticationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SAMLPA] != null) {\n entries[_SAMLPA] = input[_SAMLPA];\n }\n if (input[_SSSAMLPA] != null) {\n entries[_SSSAMLPA] = input[_SSSAMLPA];\n }\n return entries;\n}, \"se_FederatedAuthenticationRequest\");\nvar se_Filter = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_Val] != null) {\n const memberEntries = se_ValueStringList(input[_Val], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Value.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_Filter\");\nvar se_FilterList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Filter(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Filter.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_FilterList\");\nvar se_FleetBlockDeviceMappingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_VN] != null) {\n entries[_VN] = input[_VN];\n }\n if (input[_E] != null) {\n const memberEntries = se_FleetEbsBlockDeviceRequest(input[_E], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ebs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ND] != null) {\n entries[_ND] = input[_ND];\n }\n return entries;\n}, \"se_FleetBlockDeviceMappingRequest\");\nvar se_FleetBlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_FleetBlockDeviceMappingRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`BlockDeviceMapping.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_FleetBlockDeviceMappingRequestList\");\nvar se_FleetEbsBlockDeviceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_Th] != null) {\n entries[_Th] = input[_Th];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_VS] != null) {\n entries[_VS] = input[_VS];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n return entries;\n}, \"se_FleetEbsBlockDeviceRequest\");\nvar se_FleetIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_FleetIdSet\");\nvar se_FleetLaunchTemplateConfigListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_FleetLaunchTemplateConfigRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_FleetLaunchTemplateConfigListRequest\");\nvar se_FleetLaunchTemplateConfigRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTS] != null) {\n const memberEntries = se_FleetLaunchTemplateSpecificationRequest(input[_LTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Ov] != null) {\n const memberEntries = se_FleetLaunchTemplateOverridesListRequest(input[_Ov], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Overrides.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_FleetLaunchTemplateConfigRequest\");\nvar se_FleetLaunchTemplateOverridesListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_FleetLaunchTemplateOverridesRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_FleetLaunchTemplateOverridesListRequest\");\nvar se_FleetLaunchTemplateOverridesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_MPa] != null) {\n entries[_MPa] = input[_MPa];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_WCe] != null) {\n entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);\n }\n if (input[_Pri] != null) {\n entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]);\n }\n if (input[_Pl] != null) {\n const memberEntries = se_Placement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_BDM] != null) {\n const memberEntries = se_FleetBlockDeviceMappingRequestList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n return entries;\n}, \"se_FleetLaunchTemplateOverridesRequest\");\nvar se_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_V] != null) {\n entries[_V] = input[_V];\n }\n return entries;\n}, \"se_FleetLaunchTemplateSpecification\");\nvar se_FleetLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_V] != null) {\n entries[_V] = input[_V];\n }\n return entries;\n}, \"se_FleetLaunchTemplateSpecificationRequest\");\nvar se_FleetSpotCapacityRebalanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RS] != null) {\n entries[_RS] = input[_RS];\n }\n if (input[_TDe] != null) {\n entries[_TDe] = input[_TDe];\n }\n return entries;\n}, \"se_FleetSpotCapacityRebalanceRequest\");\nvar se_FleetSpotMaintenanceStrategiesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRap] != null) {\n const memberEntries = se_FleetSpotCapacityRebalanceRequest(input[_CRap], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityRebalance.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_FleetSpotMaintenanceStrategiesRequest\");\nvar se_FlowLogIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_FlowLogIdList\");\nvar se_FlowLogResourceIds = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_FlowLogResourceIds\");\nvar se_FpgaImageIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_FpgaImageIdList\");\nvar se_GetAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetAllowedImagesSettingsRequest\");\nvar se_GetAssociatedEnclaveCertificateIamRolesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetAssociatedEnclaveCertificateIamRolesRequest\");\nvar se_GetAssociatedIpv6PoolCidrsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIo] != null) {\n entries[_PIo] = input[_PIo];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetAssociatedIpv6PoolCidrsRequest\");\nvar se_GetAwsNetworkPerformanceDataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DQ] != null) {\n const memberEntries = se_DataQueries(input[_DQ], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DataQuery.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n if (input[_ETn] != null) {\n entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetAwsNetworkPerformanceDataRequest\");\nvar se_GetCapacityReservationUsageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetCapacityReservationUsageRequest\");\nvar se_GetCoipPoolUsageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PIo] != null) {\n entries[_PIo] = input[_PIo];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetCoipPoolUsageRequest\");\nvar se_GetConsoleOutputRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_La] != null) {\n entries[_La] = input[_La];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetConsoleOutputRequest\");\nvar se_GetConsoleScreenshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_WU] != null) {\n entries[_WU] = input[_WU];\n }\n return entries;\n}, \"se_GetConsoleScreenshotRequest\");\nvar se_GetDeclarativePoliciesReportSummaryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RIep] != null) {\n entries[_RIep] = input[_RIep];\n }\n return entries;\n}, \"se_GetDeclarativePoliciesReportSummaryRequest\");\nvar se_GetDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n return entries;\n}, \"se_GetDefaultCreditSpecificationRequest\");\nvar se_GetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetEbsDefaultKmsKeyIdRequest\");\nvar se_GetEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetEbsEncryptionByDefaultRequest\");\nvar se_GetFlowLogsIntegrationTemplateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FLIl] != null) {\n entries[_FLIl] = input[_FLIl];\n }\n if (input[_CDSDA] != null) {\n entries[_CDSDA] = input[_CDSDA];\n }\n if (input[_ISnt] != null) {\n const memberEntries = se_IntegrateServices(input[_ISnt], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IntegrateService.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_GetFlowLogsIntegrationTemplateRequest\");\nvar se_GetGroupsForCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetGroupsForCapacityReservationRequest\");\nvar se_GetHostReservationPurchasePreviewRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HIS] != null) {\n const memberEntries = se_RequestHostIdSet(input[_HIS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostIdSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_OI] != null) {\n entries[_OI] = input[_OI];\n }\n return entries;\n}, \"se_GetHostReservationPurchasePreviewRequest\");\nvar se_GetImageBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetImageBlockPublicAccessStateRequest\");\nvar se_GetInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetInstanceMetadataDefaultsRequest\");\nvar se_GetInstanceTpmEkPubRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_KT] != null) {\n entries[_KT] = input[_KT];\n }\n if (input[_KF] != null) {\n entries[_KF] = input[_KF];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetInstanceTpmEkPubRequest\");\nvar se_GetInstanceTypesFromInstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ATr] != null) {\n const memberEntries = se_ArchitectureTypeSet(input[_ATr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ArchitectureType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VTi] != null) {\n const memberEntries = se_VirtualizationTypeSet(input[_VTi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VirtualizationType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetInstanceTypesFromInstanceRequirementsRequest\");\nvar se_GetInstanceUefiDataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetInstanceUefiDataRequest\");\nvar se_GetIpamAddressHistoryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_ISI] != null) {\n entries[_ISI] = input[_ISI];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n if (input[_ETn] != null) {\n entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetIpamAddressHistoryRequest\");\nvar se_GetIpamDiscoveredAccountsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n if (input[_DRi] != null) {\n entries[_DRi] = input[_DRi];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_GetIpamDiscoveredAccountsRequest\");\nvar se_GetIpamDiscoveredPublicAddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n if (input[_ARd] != null) {\n entries[_ARd] = input[_ARd];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_GetIpamDiscoveredPublicAddressesRequest\");\nvar se_GetIpamDiscoveredResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n if (input[_RRe] != null) {\n entries[_RRe] = input[_RRe];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_GetIpamDiscoveredResourceCidrsRequest\");\nvar se_GetIpamPoolAllocationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_IPAI] != null) {\n entries[_IPAI] = input[_IPAI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetIpamPoolAllocationsRequest\");\nvar se_GetIpamPoolCidrsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetIpamPoolCidrsRequest\");\nvar se_GetIpamResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_ISI] != null) {\n entries[_ISI] = input[_ISI];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_RIeso] != null) {\n entries[_RIeso] = input[_RIeso];\n }\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_RTes] != null) {\n const memberEntries = se_RequestIpamResourceTag(input[_RTes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceTag.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ROe] != null) {\n entries[_ROe] = input[_ROe];\n }\n return entries;\n}, \"se_GetIpamResourceCidrsRequest\");\nvar se_GetLaunchTemplateDataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n return entries;\n}, \"se_GetLaunchTemplateDataRequest\");\nvar se_GetManagedPrefixListAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetManagedPrefixListAssociationsRequest\");\nvar se_GetManagedPrefixListEntriesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_TV] != null) {\n entries[_TV] = input[_TV];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetManagedPrefixListEntriesRequest\");\nvar se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASAI] != null) {\n entries[_NIASAI] = input[_NIASAI];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest\");\nvar se_GetNetworkInsightsAccessScopeContentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASI] != null) {\n entries[_NIASI] = input[_NIASI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetNetworkInsightsAccessScopeContentRequest\");\nvar se_GetPasswordDataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetPasswordDataRequest\");\nvar se_GetReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RII] != null) {\n const memberEntries = se_ReservedInstanceIdSet(input[_RII], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TC] != null) {\n const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetConfiguration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_GetReservedInstancesExchangeQuoteRequest\");\nvar se_GetRouteServerAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetRouteServerAssociationsRequest\");\nvar se_GetRouteServerPropagationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetRouteServerPropagationsRequest\");\nvar se_GetRouteServerRoutingDatabaseRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_GetRouteServerRoutingDatabaseRequest\");\nvar se_GetSecurityGroupsForVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetSecurityGroupsForVpcRequest\");\nvar se_GetSerialConsoleAccessStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetSerialConsoleAccessStatusRequest\");\nvar se_GetSnapshotBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetSnapshotBlockPublicAccessStateRequest\");\nvar se_GetSpotPlacementScoresRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ITnst] != null) {\n const memberEntries = se_InstanceTypes(input[_ITnst], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TCa] != null) {\n entries[_TCa] = input[_TCa];\n }\n if (input[_TCUT] != null) {\n entries[_TCUT] = input[_TCUT];\n }\n if (input[_SAZ] != null) {\n entries[_SAZ] = input[_SAZ];\n }\n if (input[_RNe] != null) {\n const memberEntries = se_RegionNames(input[_RNe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RegionName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IRWM] != null) {\n const memberEntries = se_InstanceRequirementsWithMetadataRequest(input[_IRWM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirementsWithMetadata.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n return entries;\n}, \"se_GetSpotPlacementScoresRequest\");\nvar se_GetSubnetCidrReservationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n return entries;\n}, \"se_GetSubnetCidrReservationsRequest\");\nvar se_GetTransitGatewayAttachmentPropagationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayAttachmentPropagationsRequest\");\nvar se_GetTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayMulticastDomainAssociationsRequest\");\nvar se_GetTransitGatewayPolicyTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTI] != null) {\n entries[_TGPTI] = input[_TGPTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayPolicyTableAssociationsRequest\");\nvar se_GetTransitGatewayPolicyTableEntriesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGPTI] != null) {\n entries[_TGPTI] = input[_TGPTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayPolicyTableEntriesRequest\");\nvar se_GetTransitGatewayPrefixListReferencesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayPrefixListReferencesRequest\");\nvar se_GetTransitGatewayRouteTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayRouteTableAssociationsRequest\");\nvar se_GetTransitGatewayRouteTablePropagationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetTransitGatewayRouteTablePropagationsRequest\");\nvar se_GetVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEI] != null) {\n entries[_VAEI] = input[_VAEI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVerifiedAccessEndpointPolicyRequest\");\nvar se_GetVerifiedAccessEndpointTargetsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEI] != null) {\n entries[_VAEI] = input[_VAEI];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVerifiedAccessEndpointTargetsRequest\");\nvar se_GetVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVerifiedAccessGroupPolicyRequest\");\nvar se_GetVpnConnectionDeviceSampleConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_VCDTI] != null) {\n entries[_VCDTI] = input[_VCDTI];\n }\n if (input[_IKEV] != null) {\n entries[_IKEV] = input[_IKEV];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVpnConnectionDeviceSampleConfigurationRequest\");\nvar se_GetVpnConnectionDeviceTypesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVpnConnectionDeviceTypesRequest\");\nvar se_GetVpnTunnelReplacementStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_VTOIA] != null) {\n entries[_VTOIA] = input[_VTOIA];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_GetVpnTunnelReplacementStatusRequest\");\nvar se_GroupIdentifier = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n return entries;\n}, \"se_GroupIdentifier\");\nvar se_GroupIdentifierList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_GroupIdentifier(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_GroupIdentifierList\");\nvar se_GroupIds = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_GroupIds\");\nvar se_GroupIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`GroupId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_GroupIdStringList\");\nvar se_GroupNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`GroupName.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_GroupNameStringList\");\nvar se_HibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Conf] != null) {\n entries[_Conf] = input[_Conf];\n }\n return entries;\n}, \"se_HibernationOptionsRequest\");\nvar se_HostReservationIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_HostReservationIdSet\");\nvar se_IamInstanceProfileSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ar] != null) {\n entries[_Ar] = input[_Ar];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n return entries;\n}, \"se_IamInstanceProfileSpecification\");\nvar se_IcmpTypeCode = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Cod] != null) {\n entries[_Cod] = input[_Cod];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n return entries;\n}, \"se_IcmpTypeCode\");\nvar se_IKEVersionsRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_IKEVersionsRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_IKEVersionsRequestList\");\nvar se_IKEVersionsRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_IKEVersionsRequestListValue\");\nvar se_ImageCriterionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPm] != null) {\n const memberEntries = se_ImageProviderRequestList(input[_IPm], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageProvider.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ImageCriterionRequest\");\nvar se_ImageCriterionRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ImageCriterionRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`ImageCriterion.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ImageCriterionRequestList\");\nvar se_ImageDiskContainer = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_Fo] != null) {\n entries[_Fo] = input[_Fo];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_U] != null) {\n entries[_U] = input[_U];\n }\n if (input[_UB] != null) {\n const memberEntries = se_UserBucket(input[_UB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserBucket.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ImageDiskContainer\");\nvar se_ImageDiskContainerList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ImageDiskContainer(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ImageDiskContainerList\");\nvar se_ImageIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ImageIdList\");\nvar se_ImageIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ImageId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ImageIdStringList\");\nvar se_ImageProviderRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ImageProviderRequestList\");\nvar se_ImportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_CRL] != null) {\n entries[_CRL] = input[_CRL];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ImportClientVpnClientCertificateRevocationListRequest\");\nvar se_ImportImageLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LCA] != null) {\n entries[_LCA] = input[_LCA];\n }\n return entries;\n}, \"se_ImportImageLicenseConfigurationRequest\");\nvar se_ImportImageLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ImportImageLicenseConfigurationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ImportImageLicenseSpecificationListRequest\");\nvar se_ImportImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Arc] != null) {\n entries[_Arc] = input[_Arc];\n }\n if (input[_CDl] != null) {\n const memberEntries = se_ClientData(input[_CDl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DCi] != null) {\n const memberEntries = se_ImageDiskContainerList(input[_DCi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DiskContainer.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_H] != null) {\n entries[_H] = input[_H];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_LTi] != null) {\n entries[_LTi] = input[_LTi];\n }\n if (input[_Pla] != null) {\n entries[_Pla] = input[_Pla];\n }\n if (input[_RNo] != null) {\n entries[_RNo] = input[_RNo];\n }\n if (input[_LSi] != null) {\n const memberEntries = se_ImportImageLicenseSpecificationListRequest(input[_LSi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LicenseSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_UO] != null) {\n entries[_UO] = input[_UO];\n }\n if (input[_BM] != null) {\n entries[_BM] = input[_BM];\n }\n return entries;\n}, \"se_ImportImageRequest\");\nvar se_ImportInstanceLaunchSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Arc] != null) {\n entries[_Arc] = input[_Arc];\n }\n if (input[_GNr] != null) {\n const memberEntries = se_SecurityGroupStringList(input[_GNr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_GIro] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_GIro], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AId] != null) {\n entries[_AId] = input[_AId];\n }\n if (input[_UD] != null) {\n const memberEntries = se_UserData(input[_UD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_Pl] != null) {\n const memberEntries = se_Placement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Mon] != null) {\n entries[_Mon] = input[_Mon];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_IISB] != null) {\n entries[_IISB] = input[_IISB];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n return entries;\n}, \"se_ImportInstanceLaunchSpecification\");\nvar se_ImportInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_LSa] != null) {\n const memberEntries = se_ImportInstanceLaunchSpecification(input[_LSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DIis] != null) {\n const memberEntries = se_DiskImageList(input[_DIis], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DiskImage.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Pla] != null) {\n entries[_Pla] = input[_Pla];\n }\n return entries;\n}, \"se_ImportInstanceRequest\");\nvar se_ImportKeyPairRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_PKM] != null) {\n entries[_PKM] = context.base64Encoder(input[_PKM]);\n }\n return entries;\n}, \"se_ImportKeyPairRequest\");\nvar se_ImportSnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CDl] != null) {\n const memberEntries = se_ClientData(input[_CDl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DCis] != null) {\n const memberEntries = se_SnapshotDiskContainer(input[_DCis], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DiskContainer.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_RNo] != null) {\n entries[_RNo] = input[_RNo];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ImportSnapshotRequest\");\nvar se_ImportSnapshotTaskIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ImportTaskId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ImportSnapshotTaskIdList\");\nvar se_ImportTaskIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ImportTaskId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ImportTaskIdList\");\nvar se_ImportVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_Im] != null) {\n const memberEntries = se_DiskImageDetail(input[_Im], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Image.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Vo] != null) {\n const memberEntries = se_VolumeDetail(input[_Vo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Volume.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ImportVolumeRequest\");\nvar se_InsideCidrBlocksStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InsideCidrBlocksStringList\");\nvar se_InstanceBlockDeviceMappingSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_E] != null) {\n const memberEntries = se_EbsInstanceBlockDeviceSpecification(input[_E], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ebs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_VN] != null) {\n entries[_VN] = input[_VN];\n }\n if (input[_ND] != null) {\n entries[_ND] = input[_ND];\n }\n return entries;\n}, \"se_InstanceBlockDeviceMappingSpecification\");\nvar se_InstanceBlockDeviceMappingSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceBlockDeviceMappingSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceBlockDeviceMappingSpecificationList\");\nvar se_InstanceCreditSpecificationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceCreditSpecificationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceCreditSpecificationListRequest\");\nvar se_InstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_CCp] != null) {\n entries[_CCp] = input[_CCp];\n }\n return entries;\n}, \"se_InstanceCreditSpecificationRequest\");\nvar se_InstanceEventWindowAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITnsta] != null) {\n const memberEntries = se_TagList(input[_ITnsta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DHI] != null) {\n const memberEntries = se_DedicatedHostIdList(input[_DHI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DedicatedHostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceEventWindowAssociationRequest\");\nvar se_InstanceEventWindowDisassociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITnsta] != null) {\n const memberEntries = se_TagList(input[_ITnsta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DHI] != null) {\n const memberEntries = se_DedicatedHostIdList(input[_DHI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DedicatedHostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceEventWindowDisassociationRequest\");\nvar se_InstanceEventWindowIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`InstanceEventWindowId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceEventWindowIdSet\");\nvar se_InstanceEventWindowTimeRangeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SWD] != null) {\n entries[_SWD] = input[_SWD];\n }\n if (input[_SH] != null) {\n entries[_SH] = input[_SH];\n }\n if (input[_EWD] != null) {\n entries[_EWD] = input[_EWD];\n }\n if (input[_EH] != null) {\n entries[_EH] = input[_EH];\n }\n return entries;\n}, \"se_InstanceEventWindowTimeRangeRequest\");\nvar se_InstanceEventWindowTimeRangeRequestSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceEventWindowTimeRangeRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceEventWindowTimeRangeRequestSet\");\nvar se_InstanceGenerationSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceGenerationSet\");\nvar se_InstanceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceIdList\");\nvar se_InstanceIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`InstanceId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceIdStringList\");\nvar se_InstanceIpv6Address = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IApv] != null) {\n entries[_IApv] = input[_IApv];\n }\n if (input[_IPIs] != null) {\n entries[_IPIs] = input[_IPIs];\n }\n return entries;\n}, \"se_InstanceIpv6Address\");\nvar se_InstanceIpv6AddressList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceIpv6Address(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceIpv6AddressList\");\nvar se_InstanceIpv6AddressListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceIpv6AddressRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`InstanceIpv6Address.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceIpv6AddressListRequest\");\nvar se_InstanceIpv6AddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IApv] != null) {\n entries[_IApv] = input[_IApv];\n }\n return entries;\n}, \"se_InstanceIpv6AddressRequest\");\nvar se_InstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ARu] != null) {\n entries[_ARu] = input[_ARu];\n }\n return entries;\n}, \"se_InstanceMaintenanceOptionsRequest\");\nvar se_InstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MT] != null) {\n entries[_MT] = input[_MT];\n }\n if (input[_SO] != null) {\n const memberEntries = se_SpotMarketOptions(input[_SO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceMarketOptionsRequest\");\nvar se_InstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HT] != null) {\n entries[_HT] = input[_HT];\n }\n if (input[_HPRHL] != null) {\n entries[_HPRHL] = input[_HPRHL];\n }\n if (input[_HE] != null) {\n entries[_HE] = input[_HE];\n }\n if (input[_HPI] != null) {\n entries[_HPI] = input[_HPI];\n }\n if (input[_IMT] != null) {\n entries[_IMT] = input[_IMT];\n }\n return entries;\n}, \"se_InstanceMetadataOptionsRequest\");\nvar se_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_APIAs] != null) {\n entries[_APIAs] = input[_APIAs];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DIev] != null) {\n entries[_DIev] = input[_DIev];\n }\n if (input[_G] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n if (input[_IA] != null) {\n const memberEntries = se_InstanceIpv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Addresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_ACIA] != null) {\n entries[_ACIA] = input[_ACIA];\n }\n if (input[_ITn] != null) {\n entries[_ITn] = input[_ITn];\n }\n if (input[_NCI] != null) {\n entries[_NCI] = input[_NCI];\n }\n if (input[_IPp] != null) {\n const memberEntries = se_Ipv4PrefixList(input[_IPp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv4Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPCp] != null) {\n entries[_IPCp] = input[_IPCp];\n }\n if (input[_IP] != null) {\n const memberEntries = se_Ipv6PrefixList(input[_IP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPC] != null) {\n entries[_IPC] = input[_IPC];\n }\n if (input[_PIr] != null) {\n entries[_PIr] = input[_PIr];\n }\n if (input[_ESS] != null) {\n const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTS] != null) {\n const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionTrackingSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EQC] != null) {\n entries[_EQC] = input[_EQC];\n }\n return entries;\n}, \"se_InstanceNetworkInterfaceSpecification\");\nvar se_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_InstanceNetworkInterfaceSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_InstanceNetworkInterfaceSpecificationList\");\nvar se_InstanceNetworkPerformanceOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BW] != null) {\n entries[_BW] = input[_BW];\n }\n return entries;\n}, \"se_InstanceNetworkPerformanceOptionsRequest\");\nvar se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCC] != null) {\n const memberEntries = se_VCpuCountRange(input[_VCC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VCpuCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MMB] != null) {\n const memberEntries = se_MemoryMiB(input[_MMB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MemoryMiB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CM] != null) {\n const memberEntries = se_CpuManufacturerSet(input[_CM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CpuManufacturerSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MGBPVC] != null) {\n const memberEntries = se_MemoryGiBPerVCpu(input[_MGBPVC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MemoryGiBPerVCpu.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EIT] != null) {\n const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExcludedInstanceTypeSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IG] != null) {\n const memberEntries = se_InstanceGenerationSet(input[_IG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceGenerationSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SMPPOLP] != null) {\n entries[_SMPPOLP] = input[_SMPPOLP];\n }\n if (input[_ODMPPOLP] != null) {\n entries[_ODMPPOLP] = input[_ODMPPOLP];\n }\n if (input[_BMa] != null) {\n entries[_BMa] = input[_BMa];\n }\n if (input[_BP] != null) {\n entries[_BP] = input[_BP];\n }\n if (input[_RHS] != null) {\n entries[_RHS] = input[_RHS];\n }\n if (input[_NIC] != null) {\n const memberEntries = se_NetworkInterfaceCount(input[_NIC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LSo] != null) {\n entries[_LSo] = input[_LSo];\n }\n if (input[_LST] != null) {\n const memberEntries = se_LocalStorageTypeSet(input[_LST], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalStorageTypeSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TLSGB] != null) {\n const memberEntries = se_TotalLocalStorageGB(input[_TLSGB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TotalLocalStorageGB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_BEBM] != null) {\n const memberEntries = se_BaselineEbsBandwidthMbps(input[_BEBM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BaselineEbsBandwidthMbps.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ATc] != null) {\n const memberEntries = se_AcceleratorTypeSet(input[_ATc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorTypeSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ACc] != null) {\n const memberEntries = se_AcceleratorCount(input[_ACc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_AM] != null) {\n const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorManufacturerSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ANc] != null) {\n const memberEntries = se_AcceleratorNameSet(input[_ANc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorNameSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ATMMB] != null) {\n const memberEntries = se_AcceleratorTotalMemoryMiB(input[_ATMMB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorTotalMemoryMiB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NBGe] != null) {\n const memberEntries = se_NetworkBandwidthGbps(input[_NBGe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkBandwidthGbps.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_AIT] != null) {\n const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllowedInstanceTypeSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MSPAPOOODP] != null) {\n entries[_MSPAPOOODP] = input[_MSPAPOOODP];\n }\n if (input[_BPF] != null) {\n const memberEntries = se_BaselinePerformanceFactors(input[_BPF], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BaselinePerformanceFactors.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceRequirements\");\nvar se_InstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCC] != null) {\n const memberEntries = se_VCpuCountRangeRequest(input[_VCC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VCpuCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MMB] != null) {\n const memberEntries = se_MemoryMiBRequest(input[_MMB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MemoryMiB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CM] != null) {\n const memberEntries = se_CpuManufacturerSet(input[_CM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CpuManufacturer.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MGBPVC] != null) {\n const memberEntries = se_MemoryGiBPerVCpuRequest(input[_MGBPVC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MemoryGiBPerVCpu.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EIT] != null) {\n const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExcludedInstanceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IG] != null) {\n const memberEntries = se_InstanceGenerationSet(input[_IG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceGeneration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SMPPOLP] != null) {\n entries[_SMPPOLP] = input[_SMPPOLP];\n }\n if (input[_ODMPPOLP] != null) {\n entries[_ODMPPOLP] = input[_ODMPPOLP];\n }\n if (input[_BMa] != null) {\n entries[_BMa] = input[_BMa];\n }\n if (input[_BP] != null) {\n entries[_BP] = input[_BP];\n }\n if (input[_RHS] != null) {\n entries[_RHS] = input[_RHS];\n }\n if (input[_NIC] != null) {\n const memberEntries = se_NetworkInterfaceCountRequest(input[_NIC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LSo] != null) {\n entries[_LSo] = input[_LSo];\n }\n if (input[_LST] != null) {\n const memberEntries = se_LocalStorageTypeSet(input[_LST], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LocalStorageType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TLSGB] != null) {\n const memberEntries = se_TotalLocalStorageGBRequest(input[_TLSGB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TotalLocalStorageGB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_BEBM] != null) {\n const memberEntries = se_BaselineEbsBandwidthMbpsRequest(input[_BEBM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BaselineEbsBandwidthMbps.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ATc] != null) {\n const memberEntries = se_AcceleratorTypeSet(input[_ATc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ACc] != null) {\n const memberEntries = se_AcceleratorCountRequest(input[_ACc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorCount.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_AM] != null) {\n const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorManufacturer.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ANc] != null) {\n const memberEntries = se_AcceleratorNameSet(input[_ANc], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorName.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ATMMB] != null) {\n const memberEntries = se_AcceleratorTotalMemoryMiBRequest(input[_ATMMB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AcceleratorTotalMemoryMiB.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NBGe] != null) {\n const memberEntries = se_NetworkBandwidthGbpsRequest(input[_NBGe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkBandwidthGbps.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_AIT] != null) {\n const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AllowedInstanceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MSPAPOOODP] != null) {\n entries[_MSPAPOOODP] = input[_MSPAPOOODP];\n }\n if (input[_BPF] != null) {\n const memberEntries = se_BaselinePerformanceFactorsRequest(input[_BPF], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BaselinePerformanceFactors.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceRequirementsRequest\");\nvar se_InstanceRequirementsWithMetadataRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ATr] != null) {\n const memberEntries = se_ArchitectureTypeSet(input[_ATr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ArchitectureType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VTi] != null) {\n const memberEntries = se_VirtualizationTypeSet(input[_VTi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VirtualizationType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceRequirementsWithMetadataRequest\");\nvar se_InstanceSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_EBV] != null) {\n entries[_EBV] = input[_EBV];\n }\n if (input[_EDVI] != null) {\n const memberEntries = se_VolumeIdStringList(input[_EDVI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ExcludeDataVolumeId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_InstanceSpecification\");\nvar se_InstanceTagKeySet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceTagKeySet\");\nvar se_InstanceTypeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceTypeList\");\nvar se_InstanceTypes = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InstanceTypes\");\nvar se_IntegrateServices = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIth] != null) {\n const memberEntries = se_AthenaIntegrationsSet(input[_AIth], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AthenaIntegration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_IntegrateServices\");\nvar se_InternetGatewayIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_InternetGatewayIdList\");\nvar se_IpamCidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Me] != null) {\n entries[_Me] = input[_Me];\n }\n if (input[_Si] != null) {\n entries[_Si] = input[_Si];\n }\n return entries;\n}, \"se_IpamCidrAuthorizationContext\");\nvar se_IpamPoolAllocationAllowedCidrs = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_IpamPoolAllocationAllowedCidrs\");\nvar se_IpamPoolAllocationDisallowedCidrs = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_IpamPoolAllocationDisallowedCidrs\");\nvar se_IpamPoolSourceResourceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RIeso] != null) {\n entries[_RIeso] = input[_RIeso];\n }\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_RRe] != null) {\n entries[_RRe] = input[_RRe];\n }\n if (input[_ROe] != null) {\n entries[_ROe] = input[_ROe];\n }\n return entries;\n}, \"se_IpamPoolSourceResourceRequest\");\nvar se_IpList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_IpList\");\nvar se_IpPermission = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_UIGP] != null) {\n const memberEntries = se_UserIdGroupPairList(input[_UIGP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Groups.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IRp] != null) {\n const memberEntries = se_IpRangeList(input[_IRp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpRanges.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IRpv] != null) {\n const memberEntries = se_Ipv6RangeList(input[_IRpv], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Ranges.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PLIr] != null) {\n const memberEntries = se_PrefixListIdList(input[_PLIr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrefixListIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_IpPermission\");\nvar se_IpPermissionList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_IpPermission(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_IpPermissionList\");\nvar se_IpPrefixList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_IpPrefixList\");\nvar se_IpRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CIi] != null) {\n entries[_CIi] = input[_CIi];\n }\n return entries;\n}, \"se_IpRange\");\nvar se_IpRangeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_IpRange(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_IpRangeList\");\nvar se_Ipv4PrefixList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Ipv4PrefixSpecificationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Ipv4PrefixList\");\nvar se_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPpvr] != null) {\n entries[_IPpvr] = input[_IPpvr];\n }\n return entries;\n}, \"se_Ipv4PrefixSpecificationRequest\");\nvar se_Ipv6AddressList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_Ipv6AddressList\");\nvar se_Ipv6PoolIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_Ipv6PoolIdList\");\nvar se_Ipv6PrefixList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Ipv6PrefixSpecificationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Ipv6PrefixList\");\nvar se_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPpvre] != null) {\n entries[_IPpvre] = input[_IPpvre];\n }\n return entries;\n}, \"se_Ipv6PrefixSpecificationRequest\");\nvar se_Ipv6Range = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CIid] != null) {\n entries[_CIid] = input[_CIid];\n }\n return entries;\n}, \"se_Ipv6Range\");\nvar se_Ipv6RangeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Ipv6Range(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Ipv6RangeList\");\nvar se_KeyNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`KeyName.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_KeyNameStringList\");\nvar se_KeyPairIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`KeyPairId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_KeyPairIdStringList\");\nvar se_LaunchPermission = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_OAr] != null) {\n entries[_OAr] = input[_OAr];\n }\n if (input[_OUA] != null) {\n entries[_OUA] = input[_OUA];\n }\n if (input[_UIs] != null) {\n entries[_UIs] = input[_UIs];\n }\n if (input[_Gr] != null) {\n entries[_Gr] = input[_Gr];\n }\n return entries;\n}, \"se_LaunchPermission\");\nvar se_LaunchPermissionList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchPermission(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchPermissionList\");\nvar se_LaunchPermissionModifications = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Add] != null) {\n const memberEntries = se_LaunchPermissionList(input[_Add], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Add.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Rem] != null) {\n const memberEntries = se_LaunchPermissionList(input[_Rem], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Remove.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchPermissionModifications\");\nvar se_LaunchSpecsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_SpotFleetLaunchSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchSpecsList\");\nvar se_LaunchTemplateBlockDeviceMappingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_VN] != null) {\n entries[_VN] = input[_VN];\n }\n if (input[_E] != null) {\n const memberEntries = se_LaunchTemplateEbsBlockDeviceRequest(input[_E], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ebs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ND] != null) {\n entries[_ND] = input[_ND];\n }\n return entries;\n}, \"se_LaunchTemplateBlockDeviceMappingRequest\");\nvar se_LaunchTemplateBlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateBlockDeviceMappingRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`BlockDeviceMapping.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateBlockDeviceMappingRequestList\");\nvar se_LaunchTemplateCapacityReservationSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRP] != null) {\n entries[_CRP] = input[_CRP];\n }\n if (input[_CRTa] != null) {\n const memberEntries = se_CapacityReservationTarget(input[_CRTa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationTarget.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchTemplateCapacityReservationSpecificationRequest\");\nvar se_LaunchTemplateConfig = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTS] != null) {\n const memberEntries = se_FleetLaunchTemplateSpecification(input[_LTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Ov] != null) {\n const memberEntries = se_LaunchTemplateOverridesList(input[_Ov], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Overrides.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchTemplateConfig\");\nvar se_LaunchTemplateConfigList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateConfig(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateConfigList\");\nvar se_LaunchTemplateCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CC] != null) {\n entries[_CC] = input[_CC];\n }\n if (input[_TPC] != null) {\n entries[_TPC] = input[_TPC];\n }\n if (input[_ASS] != null) {\n entries[_ASS] = input[_ASS];\n }\n return entries;\n}, \"se_LaunchTemplateCpuOptionsRequest\");\nvar se_LaunchTemplateEbsBlockDeviceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_VS] != null) {\n entries[_VS] = input[_VS];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n if (input[_Th] != null) {\n entries[_Th] = input[_Th];\n }\n if (input[_VIR] != null) {\n entries[_VIR] = input[_VIR];\n }\n return entries;\n}, \"se_LaunchTemplateEbsBlockDeviceRequest\");\nvar se_LaunchTemplateElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_Cou] != null) {\n entries[_Cou] = input[_Cou];\n }\n return entries;\n}, \"se_LaunchTemplateElasticInferenceAccelerator\");\nvar se_LaunchTemplateElasticInferenceAcceleratorList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateElasticInferenceAccelerator(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateElasticInferenceAcceleratorList\");\nvar se_LaunchTemplateEnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_LaunchTemplateEnclaveOptionsRequest\");\nvar se_LaunchTemplateHibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Conf] != null) {\n entries[_Conf] = input[_Conf];\n }\n return entries;\n}, \"se_LaunchTemplateHibernationOptionsRequest\");\nvar se_LaunchTemplateIamInstanceProfileSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ar] != null) {\n entries[_Ar] = input[_Ar];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n return entries;\n}, \"se_LaunchTemplateIamInstanceProfileSpecificationRequest\");\nvar se_LaunchTemplateIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateIdStringList\");\nvar se_LaunchTemplateInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ARu] != null) {\n entries[_ARu] = input[_ARu];\n }\n return entries;\n}, \"se_LaunchTemplateInstanceMaintenanceOptionsRequest\");\nvar se_LaunchTemplateInstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MT] != null) {\n entries[_MT] = input[_MT];\n }\n if (input[_SO] != null) {\n const memberEntries = se_LaunchTemplateSpotMarketOptionsRequest(input[_SO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchTemplateInstanceMarketOptionsRequest\");\nvar se_LaunchTemplateInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HT] != null) {\n entries[_HT] = input[_HT];\n }\n if (input[_HPRHL] != null) {\n entries[_HPRHL] = input[_HPRHL];\n }\n if (input[_HE] != null) {\n entries[_HE] = input[_HE];\n }\n if (input[_HPI] != null) {\n entries[_HPI] = input[_HPI];\n }\n if (input[_IMT] != null) {\n entries[_IMT] = input[_IMT];\n }\n return entries;\n}, \"se_LaunchTemplateInstanceMetadataOptionsRequest\");\nvar se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ACIA] != null) {\n entries[_ACIA] = input[_ACIA];\n }\n if (input[_APIAs] != null) {\n entries[_APIAs] = input[_APIAs];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DIev] != null) {\n entries[_DIev] = input[_DIev];\n }\n if (input[_G] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ITn] != null) {\n entries[_ITn] = input[_ITn];\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n if (input[_IA] != null) {\n const memberEntries = se_InstanceIpv6AddressListRequest(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Addresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_NCI] != null) {\n entries[_NCI] = input[_NCI];\n }\n if (input[_IPp] != null) {\n const memberEntries = se_Ipv4PrefixList(input[_IPp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv4Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPCp] != null) {\n entries[_IPCp] = input[_IPCp];\n }\n if (input[_IP] != null) {\n const memberEntries = se_Ipv6PrefixList(input[_IP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPC] != null) {\n entries[_IPC] = input[_IPC];\n }\n if (input[_PIr] != null) {\n entries[_PIr] = input[_PIr];\n }\n if (input[_ESS] != null) {\n const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTS] != null) {\n const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionTrackingSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EQC] != null) {\n entries[_EQC] = input[_EQC];\n }\n return entries;\n}, \"se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest\");\nvar se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`InstanceNetworkInterfaceSpecification.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList\");\nvar se_LaunchTemplateLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LCA] != null) {\n entries[_LCA] = input[_LCA];\n }\n return entries;\n}, \"se_LaunchTemplateLicenseConfigurationRequest\");\nvar se_LaunchTemplateLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateLicenseConfigurationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateLicenseSpecificationListRequest\");\nvar se_LaunchTemplateNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateNameStringList\");\nvar se_LaunchTemplateNetworkPerformanceOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BW] != null) {\n entries[_BW] = input[_BW];\n }\n return entries;\n}, \"se_LaunchTemplateNetworkPerformanceOptionsRequest\");\nvar se_LaunchTemplateOverrides = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_SPp] != null) {\n entries[_SPp] = input[_SPp];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_WCe] != null) {\n entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);\n }\n if (input[_Pri] != null) {\n entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]);\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirements(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchTemplateOverrides\");\nvar se_LaunchTemplateOverridesList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateOverrides(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateOverridesList\");\nvar se_LaunchTemplatePlacementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_Af] != null) {\n entries[_Af] = input[_Af];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_HIo] != null) {\n entries[_HIo] = input[_HIo];\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n if (input[_SDp] != null) {\n entries[_SDp] = input[_SDp];\n }\n if (input[_HRGA] != null) {\n entries[_HRGA] = input[_HRGA];\n }\n if (input[_PN] != null) {\n entries[_PN] = input[_PN];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n return entries;\n}, \"se_LaunchTemplatePlacementRequest\");\nvar se_LaunchTemplatePrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HTo] != null) {\n entries[_HTo] = input[_HTo];\n }\n if (input[_ERNDAR] != null) {\n entries[_ERNDAR] = input[_ERNDAR];\n }\n if (input[_ERNDAAAAR] != null) {\n entries[_ERNDAAAAR] = input[_ERNDAAAAR];\n }\n return entries;\n}, \"se_LaunchTemplatePrivateDnsNameOptionsRequest\");\nvar se_LaunchTemplatesMonitoringRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_LaunchTemplatesMonitoringRequest\");\nvar se_LaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_V] != null) {\n entries[_V] = input[_V];\n }\n return entries;\n}, \"se_LaunchTemplateSpecification\");\nvar se_LaunchTemplateSpotMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MPa] != null) {\n entries[_MPa] = input[_MPa];\n }\n if (input[_SIT] != null) {\n entries[_SIT] = input[_SIT];\n }\n if (input[_BDMl] != null) {\n entries[_BDMl] = input[_BDMl];\n }\n if (input[_VU] != null) {\n entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);\n }\n if (input[_IIB] != null) {\n entries[_IIB] = input[_IIB];\n }\n return entries;\n}, \"se_LaunchTemplateSpotMarketOptionsRequest\");\nvar se_LaunchTemplateTagSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_Ta] != null) {\n const memberEntries = se_TagList(input[_Ta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LaunchTemplateTagSpecificationRequest\");\nvar se_LaunchTemplateTagSpecificationRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LaunchTemplateTagSpecificationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`LaunchTemplateTagSpecificationRequest.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LaunchTemplateTagSpecificationRequestList\");\nvar se_LicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LCA] != null) {\n entries[_LCA] = input[_LCA];\n }\n return entries;\n}, \"se_LicenseConfigurationRequest\");\nvar se_LicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LicenseConfigurationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LicenseSpecificationListRequest\");\nvar se_ListImagesInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IImag] != null) {\n const memberEntries = se_ImageIdStringList(input[_IImag], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ListImagesInRecycleBinRequest\");\nvar se_ListSnapshotsInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_SIna] != null) {\n const memberEntries = se_SnapshotIdStringList(input[_SIna], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SnapshotId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ListSnapshotsInRecycleBinRequest\");\nvar se_LoadBalancersConfig = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CLBC] != null) {\n const memberEntries = se_ClassicLoadBalancersConfig(input[_CLBC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClassicLoadBalancersConfig.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TGC] != null) {\n const memberEntries = se_TargetGroupsConfig(input[_TGC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetGroupsConfig.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LoadBalancersConfig\");\nvar se_LoadPermissionListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_LoadPermissionRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_LoadPermissionListRequest\");\nvar se_LoadPermissionModifications = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Add] != null) {\n const memberEntries = se_LoadPermissionListRequest(input[_Add], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Add.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Rem] != null) {\n const memberEntries = se_LoadPermissionListRequest(input[_Rem], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Remove.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_LoadPermissionModifications\");\nvar se_LoadPermissionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Gr] != null) {\n entries[_Gr] = input[_Gr];\n }\n if (input[_UIs] != null) {\n entries[_UIs] = input[_UIs];\n }\n return entries;\n}, \"se_LoadPermissionRequest\");\nvar se_LocalGatewayIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayIdSet\");\nvar se_LocalGatewayRouteTableIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayRouteTableIdSet\");\nvar se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet\");\nvar se_LocalGatewayRouteTableVpcAssociationIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayRouteTableVpcAssociationIdSet\");\nvar se_LocalGatewayVirtualInterfaceGroupIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayVirtualInterfaceGroupIdSet\");\nvar se_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalGatewayVirtualInterfaceIdSet\");\nvar se_LocalStorageTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_LocalStorageTypeSet\");\nvar se_LockSnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LM] != null) {\n entries[_LM] = input[_LM];\n }\n if (input[_COP] != null) {\n entries[_COP] = input[_COP];\n }\n if (input[_LDo] != null) {\n entries[_LDo] = input[_LDo];\n }\n if (input[_EDx] != null) {\n entries[_EDx] = (0, import_smithy_client.serializeDateTime)(input[_EDx]);\n }\n return entries;\n}, \"se_LockSnapshotRequest\");\nvar se_MemoryGiBPerVCpu = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_MemoryGiBPerVCpu\");\nvar se_MemoryGiBPerVCpuRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_MemoryGiBPerVCpuRequest\");\nvar se_MemoryMiB = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_MemoryMiB\");\nvar se_MemoryMiBRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_MemoryMiBRequest\");\nvar se_ModifyAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_DNo] != null) {\n entries[_DNo] = input[_DNo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyAddressAttributeRequest\");\nvar se_ModifyAvailabilityZoneGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_OIS] != null) {\n entries[_OIS] = input[_OIS];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyAvailabilityZoneGroupRequest\");\nvar se_ModifyCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRFIa] != null) {\n entries[_CRFIa] = input[_CRFIa];\n }\n if (input[_TTC] != null) {\n entries[_TTC] = input[_TTC];\n }\n if (input[_ED] != null) {\n entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RED] != null) {\n entries[_RED] = input[_RED];\n }\n return entries;\n}, \"se_ModifyCapacityReservationFleetRequest\");\nvar se_ModifyCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_ED] != null) {\n entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);\n }\n if (input[_EDT] != null) {\n entries[_EDT] = input[_EDT];\n }\n if (input[_Ac] != null) {\n entries[_Ac] = input[_Ac];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AId] != null) {\n entries[_AId] = input[_AId];\n }\n if (input[_IMC] != null) {\n entries[_IMC] = input[_IMC];\n }\n return entries;\n}, \"se_ModifyCapacityReservationRequest\");\nvar se_ModifyClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_SCA] != null) {\n entries[_SCA] = input[_SCA];\n }\n if (input[_CLO] != null) {\n const memberEntries = se_ConnectionLogOptions(input[_CLO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionLogOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DSn] != null) {\n const memberEntries = se_DnsServersOptionsModifyStructure(input[_DSn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DnsServers.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_VP] != null) {\n entries[_VP] = input[_VP];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_ST] != null) {\n entries[_ST] = input[_ST];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_SSP] != null) {\n entries[_SSP] = input[_SSP];\n }\n if (input[_CCO] != null) {\n const memberEntries = se_ClientConnectOptions(input[_CCO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientConnectOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_STH] != null) {\n entries[_STH] = input[_STH];\n }\n if (input[_CLBO] != null) {\n const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientLoginBannerOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CREO] != null) {\n const memberEntries = se_ClientRouteEnforcementOptions(input[_CREO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ClientRouteEnforcementOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DOST] != null) {\n entries[_DOST] = input[_DOST];\n }\n return entries;\n}, \"se_ModifyClientVpnEndpointRequest\");\nvar se_ModifyDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n if (input[_CCp] != null) {\n entries[_CCp] = input[_CCp];\n }\n return entries;\n}, \"se_ModifyDefaultCreditSpecificationRequest\");\nvar se_ModifyEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_KKI] != null) {\n entries[_KKI] = input[_KKI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyEbsDefaultKmsKeyIdRequest\");\nvar se_ModifyFleetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ECTP] != null) {\n entries[_ECTP] = input[_ECTP];\n }\n if (input[_LTC] != null) {\n const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_FIl] != null) {\n entries[_FIl] = input[_FIl];\n }\n if (input[_TCS] != null) {\n const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetCapacitySpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Con] != null) {\n entries[_Con] = input[_Con];\n }\n return entries;\n}, \"se_ModifyFleetRequest\");\nvar se_ModifyFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FII] != null) {\n entries[_FII] = input[_FII];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_OTp] != null) {\n entries[_OTp] = input[_OTp];\n }\n if (input[_UIse] != null) {\n const memberEntries = se_UserIdStringList(input[_UIse], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_UG] != null) {\n const memberEntries = se_UserGroupStringList(input[_UG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PCr] != null) {\n const memberEntries = se_ProductCodeStringList(input[_PCr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProductCode.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LP] != null) {\n const memberEntries = se_LoadPermissionModifications(input[_LP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LoadPermission.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n return entries;\n}, \"se_ModifyFpgaImageAttributeRequest\");\nvar se_ModifyHostsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HR] != null) {\n entries[_HR] = input[_HR];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n if (input[_HM] != null) {\n entries[_HM] = input[_HM];\n }\n if (input[_HI] != null) {\n const memberEntries = se_RequestHostIdList(input[_HI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AP] != null) {\n entries[_AP] = input[_AP];\n }\n return entries;\n}, \"se_ModifyHostsRequest\");\nvar se_ModifyIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Res] != null) {\n entries[_Res] = input[_Res];\n }\n if (input[_ULI] != null) {\n entries[_ULI] = input[_ULI];\n }\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n return entries;\n}, \"se_ModifyIdentityIdFormatRequest\");\nvar se_ModifyIdFormatRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Res] != null) {\n entries[_Res] = input[_Res];\n }\n if (input[_ULI] != null) {\n entries[_ULI] = input[_ULI];\n }\n return entries;\n}, \"se_ModifyIdFormatRequest\");\nvar se_ModifyImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_De] != null) {\n const memberEntries = se_AttributeValue(input[_De], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Description.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_LPa] != null) {\n const memberEntries = se_LaunchPermissionModifications(input[_LPa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchPermission.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_OTp] != null) {\n entries[_OTp] = input[_OTp];\n }\n if (input[_PCr] != null) {\n const memberEntries = se_ProductCodeStringList(input[_PCr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProductCode.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_UG] != null) {\n const memberEntries = se_UserGroupStringList(input[_UG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_UIse] != null) {\n const memberEntries = se_UserIdStringList(input[_UIse], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n if (input[_OArg] != null) {\n const memberEntries = se_OrganizationArnStringList(input[_OArg], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OrganizationArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_OUAr] != null) {\n const memberEntries = se_OrganizationalUnitArnStringList(input[_OUAr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OrganizationalUnitArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ISm] != null) {\n const memberEntries = se_AttributeValue(input[_ISm], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImdsSupport.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyImageAttributeRequest\");\nvar se_ModifyInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SDC] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_SDC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceDestCheck.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DAS] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_DAS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DisableApiStop.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n if (input[_BDM] != null) {\n const memberEntries = se_InstanceBlockDeviceMappingSpecificationList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DATis] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_DATis], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DisableApiTermination.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IT] != null) {\n const memberEntries = se_AttributeValue(input[_IT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceType.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_K] != null) {\n const memberEntries = se_AttributeValue(input[_K], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Kernel.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Ra] != null) {\n const memberEntries = se_AttributeValue(input[_Ra], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ramdisk.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_UD] != null) {\n const memberEntries = se_BlobAttributeValue(input[_UD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserData.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IISB] != null) {\n const memberEntries = se_AttributeValue(input[_IISB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceInitiatedShutdownBehavior.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_G] != null) {\n const memberEntries = se_GroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EO] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_EO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EbsOptimized.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SNS] != null) {\n const memberEntries = se_AttributeValue(input[_SNS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SriovNetSupport.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ESn] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_ESn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSupport.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyInstanceAttributeRequest\");\nvar se_ModifyInstanceCapacityReservationAttributesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_CRSa] != null) {\n const memberEntries = se_CapacityReservationSpecification(input[_CRSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyInstanceCapacityReservationAttributesRequest\");\nvar se_ModifyInstanceCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_CC] != null) {\n entries[_CC] = input[_CC];\n }\n if (input[_TPC] != null) {\n entries[_TPC] = input[_TPC];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyInstanceCpuOptionsRequest\");\nvar se_ModifyInstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_ICS] != null) {\n const memberEntries = se_InstanceCreditSpecificationListRequest(input[_ICS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceCreditSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyInstanceCreditSpecificationRequest\");\nvar se_ModifyInstanceEventStartTimeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_IEI] != null) {\n entries[_IEI] = input[_IEI];\n }\n if (input[_NB] != null) {\n entries[_NB] = (0, import_smithy_client.serializeDateTime)(input[_NB]);\n }\n return entries;\n}, \"se_ModifyInstanceEventStartTimeRequest\");\nvar se_ModifyInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_IEWI] != null) {\n entries[_IEWI] = input[_IEWI];\n }\n if (input[_TRi] != null) {\n const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TimeRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CE] != null) {\n entries[_CE] = input[_CE];\n }\n return entries;\n}, \"se_ModifyInstanceEventWindowRequest\");\nvar se_ModifyInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_ARu] != null) {\n entries[_ARu] = input[_ARu];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyInstanceMaintenanceOptionsRequest\");\nvar se_ModifyInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HT] != null) {\n entries[_HT] = input[_HT];\n }\n if (input[_HPRHL] != null) {\n entries[_HPRHL] = input[_HPRHL];\n }\n if (input[_HE] != null) {\n entries[_HE] = input[_HE];\n }\n if (input[_IMT] != null) {\n entries[_IMT] = input[_IMT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyInstanceMetadataDefaultsRequest\");\nvar se_ModifyInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_HT] != null) {\n entries[_HT] = input[_HT];\n }\n if (input[_HPRHL] != null) {\n entries[_HPRHL] = input[_HPRHL];\n }\n if (input[_HE] != null) {\n entries[_HE] = input[_HE];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_HPI] != null) {\n entries[_HPI] = input[_HPI];\n }\n if (input[_IMT] != null) {\n entries[_IMT] = input[_IMT];\n }\n return entries;\n}, \"se_ModifyInstanceMetadataOptionsRequest\");\nvar se_ModifyInstanceNetworkPerformanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_BW] != null) {\n entries[_BW] = input[_BW];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyInstanceNetworkPerformanceRequest\");\nvar se_ModifyInstancePlacementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_PN] != null) {\n entries[_PN] = input[_PN];\n }\n if (input[_HRGA] != null) {\n entries[_HRGA] = input[_HRGA];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n if (input[_Af] != null) {\n entries[_Af] = input[_Af];\n }\n if (input[_HIo] != null) {\n entries[_HIo] = input[_HIo];\n }\n return entries;\n}, \"se_ModifyInstancePlacementRequest\");\nvar se_ModifyIpamPoolRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_AIu] != null) {\n entries[_AIu] = input[_AIu];\n }\n if (input[_AMNL] != null) {\n entries[_AMNL] = input[_AMNL];\n }\n if (input[_AMNLl] != null) {\n entries[_AMNLl] = input[_AMNLl];\n }\n if (input[_ADNL] != null) {\n entries[_ADNL] = input[_ADNL];\n }\n if (input[_CADNL] != null) {\n entries[_CADNL] = input[_CADNL];\n }\n if (input[_AART] != null) {\n const memberEntries = se_RequestIpamResourceTagList(input[_AART], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddAllocationResourceTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RART] != null) {\n const memberEntries = se_RequestIpamResourceTagList(input[_RART], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveAllocationResourceTag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyIpamPoolRequest\");\nvar se_ModifyIpamRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_AOR] != null) {\n const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddOperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ROR] != null) {\n const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Ti] != null) {\n entries[_Ti] = input[_Ti];\n }\n if (input[_EPG] != null) {\n entries[_EPG] = input[_EPG];\n }\n if (input[_MAe] != null) {\n entries[_MAe] = input[_MAe];\n }\n return entries;\n}, \"se_ModifyIpamRequest\");\nvar se_ModifyIpamResourceCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RIeso] != null) {\n entries[_RIeso] = input[_RIeso];\n }\n if (input[_RC] != null) {\n entries[_RC] = input[_RC];\n }\n if (input[_RRe] != null) {\n entries[_RRe] = input[_RRe];\n }\n if (input[_CISI] != null) {\n entries[_CISI] = input[_CISI];\n }\n if (input[_DISI] != null) {\n entries[_DISI] = input[_DISI];\n }\n if (input[_Moni] != null) {\n entries[_Moni] = input[_Moni];\n }\n return entries;\n}, \"se_ModifyIpamResourceCidrRequest\");\nvar se_ModifyIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IRDI] != null) {\n entries[_IRDI] = input[_IRDI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_AOR] != null) {\n const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddOperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ROR] != null) {\n const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AOUE] != null) {\n const memberEntries = se_AddIpamOrganizationalUnitExclusionSet(input[_AOUE], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddOrganizationalUnitExclusion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ROUE] != null) {\n const memberEntries = se_RemoveIpamOrganizationalUnitExclusionSet(input[_ROUE], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveOrganizationalUnitExclusion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyIpamResourceDiscoveryRequest\");\nvar se_ModifyIpamScopeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ISI] != null) {\n entries[_ISI] = input[_ISI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n return entries;\n}, \"se_ModifyIpamScopeRequest\");\nvar se_ModifyLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_LTI] != null) {\n entries[_LTI] = input[_LTI];\n }\n if (input[_LTN] != null) {\n entries[_LTN] = input[_LTN];\n }\n if (input[_DVef] != null) {\n entries[_SDV] = input[_DVef];\n }\n return entries;\n}, \"se_ModifyLaunchTemplateRequest\");\nvar se_ModifyLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_LGVIGI] != null) {\n entries[_LGVIGI] = input[_LGVIGI];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n return entries;\n}, \"se_ModifyLocalGatewayRouteRequest\");\nvar se_ModifyManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_CVu] != null) {\n entries[_CVu] = input[_CVu];\n }\n if (input[_PLN] != null) {\n entries[_PLN] = input[_PLN];\n }\n if (input[_AEd] != null) {\n const memberEntries = se_AddPrefixListEntries(input[_AEd], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddEntry.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_REe] != null) {\n const memberEntries = se_RemovePrefixListEntries(input[_REe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveEntry.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ME] != null) {\n entries[_ME] = input[_ME];\n }\n return entries;\n}, \"se_ModifyManagedPrefixListRequest\");\nvar se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ESS] != null) {\n const memberEntries = se_EnaSrdSpecification(input[_ESS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnaSrdSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EPI] != null) {\n entries[_EPI] = input[_EPI];\n }\n if (input[_CTS] != null) {\n const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionTrackingSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_APIAs] != null) {\n entries[_APIAs] = input[_APIAs];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_De] != null) {\n const memberEntries = se_AttributeValue(input[_De], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Description.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SDC] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_SDC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceDestCheck.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_G] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Att] != null) {\n const memberEntries = se_NetworkInterfaceAttachmentChanges(input[_Att], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Attachment.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyNetworkInterfaceAttributeRequest\");\nvar se_ModifyPrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_PDHT] != null) {\n entries[_PDHT] = input[_PDHT];\n }\n if (input[_ERNDAR] != null) {\n entries[_ERNDAR] = input[_ERNDAR];\n }\n if (input[_ERNDAAAAR] != null) {\n entries[_ERNDAAAAR] = input[_ERNDAAAAR];\n }\n return entries;\n}, \"se_ModifyPrivateDnsNameOptionsRequest\");\nvar se_ModifyReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RIIes] != null) {\n const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_TC] != null) {\n const memberEntries = se_ReservedInstancesConfigurationList(input[_TC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReservedInstancesConfigurationSetItemType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyReservedInstancesRequest\");\nvar se_ModifyRouteServerRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSIo] != null) {\n entries[_RSIo] = input[_RSIo];\n }\n if (input[_PRe] != null) {\n entries[_PRe] = input[_PRe];\n }\n if (input[_PRD] != null) {\n entries[_PRD] = input[_PRD];\n }\n if (input[_SNE] != null) {\n entries[_SNE] = input[_SNE];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyRouteServerRequest\");\nvar se_ModifySecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_SGR] != null) {\n const memberEntries = se_SecurityGroupRuleUpdateList(input[_SGR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRule.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifySecurityGroupRulesRequest\");\nvar se_ModifySnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_CVP] != null) {\n const memberEntries = se_CreateVolumePermissionModifications(input[_CVP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CreateVolumePermission.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_GNr] != null) {\n const memberEntries = se_GroupNameStringList(input[_GNr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_OTp] != null) {\n entries[_OTp] = input[_OTp];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_UIse] != null) {\n const memberEntries = se_UserIdStringList(input[_UIse], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifySnapshotAttributeRequest\");\nvar se_ModifySnapshotTierRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_STto] != null) {\n entries[_STto] = input[_STto];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifySnapshotTierRequest\");\nvar se_ModifySpotFleetRequestRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LTC] != null) {\n const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ODTC] != null) {\n entries[_ODTC] = input[_ODTC];\n }\n if (input[_Con] != null) {\n entries[_Con] = input[_Con];\n }\n if (input[_SFRIp] != null) {\n entries[_SFRIp] = input[_SFRIp];\n }\n if (input[_TCa] != null) {\n entries[_TCa] = input[_TCa];\n }\n if (input[_ECTP] != null) {\n entries[_ECTP] = input[_ECTP];\n }\n return entries;\n}, \"se_ModifySpotFleetRequestRequest\");\nvar se_ModifySubnetAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIAOC] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_AIAOC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AssignIpv6AddressOnCreation.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MPIOL] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_MPIOL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MapPublicIpOnLaunch.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_MCOIOL] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_MCOIOL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MapCustomerOwnedIpOnLaunch.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_COIP] != null) {\n entries[_COIP] = input[_COIP];\n }\n if (input[_EDn] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_EDn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableDns64.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PDHTOL] != null) {\n entries[_PDHTOL] = input[_PDHTOL];\n }\n if (input[_ERNDAROL] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_ERNDAROL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableResourceNameDnsARecordOnLaunch.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ERNDAAAAROL] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_ERNDAAAAROL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableResourceNameDnsAAAARecordOnLaunch.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ELADI] != null) {\n entries[_ELADI] = input[_ELADI];\n }\n if (input[_DLADI] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_DLADI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DisableLniAtDeviceIndex.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifySubnetAttributeRequest\");\nvar se_ModifyTrafficMirrorFilterNetworkServicesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_ANS] != null) {\n const memberEntries = se_TrafficMirrorNetworkServiceList(input[_ANS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddNetworkService.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RNS] != null) {\n const memberEntries = se_TrafficMirrorNetworkServiceList(input[_RNS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveNetworkService.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTrafficMirrorFilterNetworkServicesRequest\");\nvar se_ModifyTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMFRI] != null) {\n entries[_TMFRI] = input[_TMFRI];\n }\n if (input[_TD] != null) {\n entries[_TD] = input[_TD];\n }\n if (input[_RNu] != null) {\n entries[_RNu] = input[_RNu];\n }\n if (input[_RAu] != null) {\n entries[_RAu] = input[_RAu];\n }\n if (input[_DPR] != null) {\n const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationPortRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SPR] != null) {\n const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourcePortRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_SCB] != null) {\n entries[_SCB] = input[_SCB];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_RF] != null) {\n const memberEntries = se_TrafficMirrorFilterRuleFieldList(input[_RF], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveField.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTrafficMirrorFilterRuleRequest\");\nvar se_ModifyTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TMSI] != null) {\n entries[_TMSI] = input[_TMSI];\n }\n if (input[_TMTI] != null) {\n entries[_TMTI] = input[_TMTI];\n }\n if (input[_TMFI] != null) {\n entries[_TMFI] = input[_TMFI];\n }\n if (input[_PL] != null) {\n entries[_PL] = input[_PL];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_VNI] != null) {\n entries[_VNI] = input[_VNI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_RF] != null) {\n const memberEntries = se_TrafficMirrorSessionFieldList(input[_RF], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveField.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTrafficMirrorSessionRequest\");\nvar se_ModifyTransitGatewayOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ATGCB] != null) {\n const memberEntries = se_TransitGatewayCidrBlockStringList(input[_ATGCB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddTransitGatewayCidrBlocks.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RTGCB] != null) {\n const memberEntries = se_TransitGatewayCidrBlockStringList(input[_RTGCB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveTransitGatewayCidrBlocks.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VES] != null) {\n entries[_VES] = input[_VES];\n }\n if (input[_DSns] != null) {\n entries[_DSns] = input[_DSns];\n }\n if (input[_SGRS] != null) {\n entries[_SGRS] = input[_SGRS];\n }\n if (input[_AASAu] != null) {\n entries[_AASAu] = input[_AASAu];\n }\n if (input[_DRTA] != null) {\n entries[_DRTA] = input[_DRTA];\n }\n if (input[_ADRTI] != null) {\n entries[_ADRTI] = input[_ADRTI];\n }\n if (input[_DRTP] != null) {\n entries[_DRTP] = input[_DRTP];\n }\n if (input[_PDRTI] != null) {\n entries[_PDRTI] = input[_PDRTI];\n }\n if (input[_ASA] != null) {\n entries[_ASA] = input[_ASA];\n }\n return entries;\n}, \"se_ModifyTransitGatewayOptions\");\nvar se_ModifyTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_Bl] != null) {\n entries[_Bl] = input[_Bl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTransitGatewayPrefixListReferenceRequest\");\nvar se_ModifyTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Op] != null) {\n const memberEntries = se_ModifyTransitGatewayOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTransitGatewayRequest\");\nvar se_ModifyTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_ASI] != null) {\n const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddSubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RSIe] != null) {\n const memberEntries = se_TransitGatewaySubnetIdList(input[_RSIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveSubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Op] != null) {\n const memberEntries = se_ModifyTransitGatewayVpcAttachmentRequestOptions(input[_Op], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Options.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyTransitGatewayVpcAttachmentRequest\");\nvar se_ModifyTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DSns] != null) {\n entries[_DSns] = input[_DSns];\n }\n if (input[_SGRS] != null) {\n entries[_SGRS] = input[_SGRS];\n }\n if (input[_ISp] != null) {\n entries[_ISp] = input[_ISp];\n }\n if (input[_AMS] != null) {\n entries[_AMS] = input[_AMS];\n }\n return entries;\n}, \"se_ModifyTransitGatewayVpcAttachmentRequestOptions\");\nvar se_ModifyVerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PRo] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointCidrOptions\");\nvar se_ModifyVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_PRo] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointEniOptions\");\nvar se_ModifyVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIu] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_PRo] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointLoadBalancerOptions\");\nvar se_ModifyVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEI] != null) {\n entries[_VAEI] = input[_VAEI];\n }\n if (input[_PE] != null) {\n entries[_PE] = input[_PE];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointPolicyRequest\");\nvar se_ModifyVerifiedAccessEndpointPortRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointPortRange\");\nvar se_ModifyVerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ModifyVerifiedAccessEndpointPortRange(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointPortRangeList\");\nvar se_ModifyVerifiedAccessEndpointRdsOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIu] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Po] != null) {\n entries[_Po] = input[_Po];\n }\n if (input[_RE] != null) {\n entries[_RE] = input[_RE];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointRdsOptions\");\nvar se_ModifyVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAEI] != null) {\n entries[_VAEI] = input[_VAEI];\n }\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_LBO] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LoadBalancerOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NIO] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointEniOptions(input[_NIO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RO] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointRdsOptions(input[_RO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RdsOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CO] != null) {\n const memberEntries = se_ModifyVerifiedAccessEndpointCidrOptions(input[_CO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CidrOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointRequest\");\nvar se_ModifyVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ModifyVerifiedAccessEndpointSubnetIdList\");\nvar se_ModifyVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_PE] != null) {\n entries[_PE] = input[_PE];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessGroupPolicyRequest\");\nvar se_ModifyVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAGI] != null) {\n entries[_VAGI] = input[_VAGI];\n }\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessGroupRequest\");\nvar se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_AL] != null) {\n const memberEntries = se_VerifiedAccessLogOptions(input[_AL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AccessLogs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest\");\nvar se_ModifyVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VAII] != null) {\n entries[_VAII] = input[_VAII];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_CECSD] != null) {\n entries[_CECSD] = input[_CECSD];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessInstanceRequest\");\nvar se_ModifyVerifiedAccessNativeApplicationOidcOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PSKE] != null) {\n entries[_PSKE] = input[_PSKE];\n }\n if (input[_I] != null) {\n entries[_I] = input[_I];\n }\n if (input[_AE] != null) {\n entries[_AE] = input[_AE];\n }\n if (input[_TEo] != null) {\n entries[_TEo] = input[_TEo];\n }\n if (input[_UIE] != null) {\n entries[_UIE] = input[_UIE];\n }\n if (input[_CIl] != null) {\n entries[_CIl] = input[_CIl];\n }\n if (input[_CSl] != null) {\n entries[_CSl] = input[_CSl];\n }\n if (input[_Sc] != null) {\n entries[_Sc] = input[_Sc];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessNativeApplicationOidcOptions\");\nvar se_ModifyVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PSKU] != null) {\n entries[_PSKU] = input[_PSKU];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessTrustProviderDeviceOptions\");\nvar se_ModifyVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_I] != null) {\n entries[_I] = input[_I];\n }\n if (input[_AE] != null) {\n entries[_AE] = input[_AE];\n }\n if (input[_TEo] != null) {\n entries[_TEo] = input[_TEo];\n }\n if (input[_UIE] != null) {\n entries[_UIE] = input[_UIE];\n }\n if (input[_CIl] != null) {\n entries[_CIl] = input[_CIl];\n }\n if (input[_CSl] != null) {\n entries[_CSl] = input[_CSl];\n }\n if (input[_Sc] != null) {\n entries[_Sc] = input[_Sc];\n }\n return entries;\n}, \"se_ModifyVerifiedAccessTrustProviderOidcOptions\");\nvar se_ModifyVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VATPI] != null) {\n entries[_VATPI] = input[_VATPI];\n }\n if (input[_OO] != null) {\n const memberEntries = se_ModifyVerifiedAccessTrustProviderOidcOptions(input[_OO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OidcOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DOe] != null) {\n const memberEntries = se_ModifyVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DeviceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_SS] != null) {\n const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SseSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NAOO] != null) {\n const memberEntries = se_ModifyVerifiedAccessNativeApplicationOidcOptions(input[_NAOO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NativeApplicationOidcOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVerifiedAccessTrustProviderRequest\");\nvar se_ModifyVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AEIO] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_AEIO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AutoEnableIO.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVolumeAttributeRequest\");\nvar se_ModifyVolumeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VIo] != null) {\n entries[_VIo] = input[_VIo];\n }\n if (input[_Siz] != null) {\n entries[_Siz] = input[_Siz];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_Th] != null) {\n entries[_Th] = input[_Th];\n }\n if (input[_MAE] != null) {\n entries[_MAE] = input[_MAE];\n }\n return entries;\n}, \"se_ModifyVolumeRequest\");\nvar se_ModifyVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_EDH] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_EDH], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableDnsHostnames.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EDS] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_EDS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableDnsSupport.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_ENAUM] != null) {\n const memberEntries = se_AttributeBooleanValue(input[_ENAUM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnableNetworkAddressUsageMetrics.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVpcAttributeRequest\");\nvar se_ModifyVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_EIxc] != null) {\n entries[_EIxc] = input[_EIxc];\n }\n if (input[_IGEM] != null) {\n entries[_IGEM] = input[_IGEM];\n }\n return entries;\n}, \"se_ModifyVpcBlockPublicAccessExclusionRequest\");\nvar se_ModifyVpcBlockPublicAccessOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IGBM] != null) {\n entries[_IGBM] = input[_IGBM];\n }\n return entries;\n}, \"se_ModifyVpcBlockPublicAccessOptionsRequest\");\nvar se_ModifyVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CNIon] != null) {\n entries[_CNIon] = input[_CNIon];\n }\n if (input[_CNAon] != null) {\n entries[_CNAon] = input[_CNAon];\n }\n if (input[_CEo] != null) {\n const memberEntries = se_ValueStringList(input[_CEo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ConnectionEvents.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVpcEndpointConnectionNotificationRequest\");\nvar se_ModifyVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VEIp] != null) {\n entries[_VEIp] = input[_VEIp];\n }\n if (input[_RP] != null) {\n entries[_RP] = input[_RP];\n }\n if (input[_PD] != null) {\n entries[_PD] = input[_PD];\n }\n if (input[_ARTI] != null) {\n const memberEntries = se_VpcEndpointRouteTableIdList(input[_ARTI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddRouteTableId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RRTI] != null) {\n const memberEntries = se_VpcEndpointRouteTableIdList(input[_RRTI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveRouteTableId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ASI] != null) {\n const memberEntries = se_VpcEndpointSubnetIdList(input[_ASI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddSubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RSIe] != null) {\n const memberEntries = se_VpcEndpointSubnetIdList(input[_RSIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveSubnetId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ASGId] != null) {\n const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_ASGId], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddSecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RSGIe] != null) {\n const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_RSGIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveSecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAT] != null) {\n entries[_IAT] = input[_IAT];\n }\n if (input[_DOn] != null) {\n const memberEntries = se_DnsOptionsSpecification(input[_DOn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DnsOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PDE] != null) {\n entries[_PDE] = input[_PDE];\n }\n if (input[_SC] != null) {\n const memberEntries = se_SubnetConfigurationsList(input[_SC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetConfiguration.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVpcEndpointRequest\");\nvar se_ModifyVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_PDN] != null) {\n entries[_PDN] = input[_PDN];\n }\n if (input[_RPDN] != null) {\n entries[_RPDN] = input[_RPDN];\n }\n if (input[_ARc] != null) {\n entries[_ARc] = input[_ARc];\n }\n if (input[_ANLBA] != null) {\n const memberEntries = se_ValueStringList(input[_ANLBA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddNetworkLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RNLBA] != null) {\n const memberEntries = se_ValueStringList(input[_RNLBA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveNetworkLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AGLBA] != null) {\n const memberEntries = se_ValueStringList(input[_AGLBA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddGatewayLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RGLBA] != null) {\n const memberEntries = se_ValueStringList(input[_RGLBA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveGatewayLoadBalancerArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ASIAT] != null) {\n const memberEntries = se_ValueStringList(input[_ASIAT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddSupportedIpAddressType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RSIAT] != null) {\n const memberEntries = se_ValueStringList(input[_RSIAT], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveSupportedIpAddressType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ASR] != null) {\n const memberEntries = se_ValueStringList(input[_ASR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddSupportedRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RSR] != null) {\n const memberEntries = se_ValueStringList(input[_RSR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveSupportedRegion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVpcEndpointServiceConfigurationRequest\");\nvar se_ModifyVpcEndpointServicePayerResponsibilityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_PRa] != null) {\n entries[_PRa] = input[_PRa];\n }\n return entries;\n}, \"se_ModifyVpcEndpointServicePayerResponsibilityRequest\");\nvar se_ModifyVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_AAP] != null) {\n const memberEntries = se_ValueStringList(input[_AAP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AddAllowedPrincipals.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RAP] != null) {\n const memberEntries = se_ValueStringList(input[_RAP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RemoveAllowedPrincipals.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ModifyVpcEndpointServicePermissionsRequest\");\nvar se_ModifyVpcPeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_APCO] != null) {\n const memberEntries = se_PeeringConnectionOptionsRequest(input[_APCO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AccepterPeeringConnectionOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RPCO] != null) {\n const memberEntries = se_PeeringConnectionOptionsRequest(input[_RPCO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `RequesterPeeringConnectionOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n return entries;\n}, \"se_ModifyVpcPeeringConnectionOptionsRequest\");\nvar se_ModifyVpcTenancyRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_ITns] != null) {\n entries[_ITns] = input[_ITns];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVpcTenancyRequest\");\nvar se_ModifyVpnConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_LINC] != null) {\n entries[_LINC] = input[_LINC];\n }\n if (input[_RINC] != null) {\n entries[_RINC] = input[_RINC];\n }\n if (input[_LINCo] != null) {\n entries[_LINCo] = input[_LINCo];\n }\n if (input[_RINCe] != null) {\n entries[_RINCe] = input[_RINCe];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVpnConnectionOptionsRequest\");\nvar se_ModifyVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_CGIu] != null) {\n entries[_CGIu] = input[_CGIu];\n }\n if (input[_VGI] != null) {\n entries[_VGI] = input[_VGI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVpnConnectionRequest\");\nvar se_ModifyVpnTunnelCertificateRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_VTOIA] != null) {\n entries[_VTOIA] = input[_VTOIA];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ModifyVpnTunnelCertificateRequest\");\nvar se_ModifyVpnTunnelOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_VTOIA] != null) {\n entries[_VTOIA] = input[_VTOIA];\n }\n if (input[_TO] != null) {\n const memberEntries = se_ModifyVpnTunnelOptionsSpecification(input[_TO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TunnelOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_STR] != null) {\n entries[_STR] = input[_STR];\n }\n return entries;\n}, \"se_ModifyVpnTunnelOptionsRequest\");\nvar se_ModifyVpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TIC] != null) {\n entries[_TIC] = input[_TIC];\n }\n if (input[_TIIC] != null) {\n entries[_TIIC] = input[_TIIC];\n }\n if (input[_PSK] != null) {\n entries[_PSK] = input[_PSK];\n }\n if (input[_PLS] != null) {\n entries[_PLS] = input[_PLS];\n }\n if (input[_PLSh] != null) {\n entries[_PLSh] = input[_PLSh];\n }\n if (input[_RMTS] != null) {\n entries[_RMTS] = input[_RMTS];\n }\n if (input[_RFP] != null) {\n entries[_RFP] = input[_RFP];\n }\n if (input[_RWS] != null) {\n entries[_RWS] = input[_RWS];\n }\n if (input[_DPDTS] != null) {\n entries[_DPDTS] = input[_DPDTS];\n }\n if (input[_DPDTA] != null) {\n entries[_DPDTA] = input[_DPDTA];\n }\n if (input[_PEA] != null) {\n const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PEAh] != null) {\n const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIAh] != null) {\n const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIAha] != null) {\n const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PDHGN] != null) {\n const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PDHGNh] != null) {\n const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IKEVe] != null) {\n const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IKEVersion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SA] != null) {\n entries[_SA] = input[_SA];\n }\n if (input[_LO] != null) {\n const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LogOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ETLC] != null) {\n entries[_ETLC] = input[_ETLC];\n }\n return entries;\n}, \"se_ModifyVpnTunnelOptionsSpecification\");\nvar se_MonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_MonitorInstancesRequest\");\nvar se_MoveAddressToVpcRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n return entries;\n}, \"se_MoveAddressToVpcRequest\");\nvar se_MoveByoipCidrToIpamRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_IPO] != null) {\n entries[_IPO] = input[_IPO];\n }\n return entries;\n}, \"se_MoveByoipCidrToIpamRequest\");\nvar se_MoveCapacityReservationInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_SCRI] != null) {\n entries[_SCRI] = input[_SCRI];\n }\n if (input[_DCRI] != null) {\n entries[_DCRI] = input[_DCRI];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n return entries;\n}, \"se_MoveCapacityReservationInstancesRequest\");\nvar se_NatGatewayIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NatGatewayIdStringList\");\nvar se_NetworkAclIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkAclIdStringList\");\nvar se_NetworkBandwidthGbps = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_NetworkBandwidthGbps\");\nvar se_NetworkBandwidthGbpsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_NetworkBandwidthGbpsRequest\");\nvar se_NetworkInsightsAccessScopeAnalysisIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInsightsAccessScopeAnalysisIdList\");\nvar se_NetworkInsightsAccessScopeIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInsightsAccessScopeIdList\");\nvar se_NetworkInsightsAnalysisIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInsightsAnalysisIdList\");\nvar se_NetworkInsightsPathIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInsightsPathIdList\");\nvar se_NetworkInterfaceAttachmentChanges = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DEQC] != null) {\n entries[_DEQC] = input[_DEQC];\n }\n if (input[_EQC] != null) {\n entries[_EQC] = input[_EQC];\n }\n if (input[_AIt] != null) {\n entries[_AIt] = input[_AIt];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n return entries;\n}, \"se_NetworkInterfaceAttachmentChanges\");\nvar se_NetworkInterfaceCount = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_NetworkInterfaceCount\");\nvar se_NetworkInterfaceCountRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_NetworkInterfaceCountRequest\");\nvar se_NetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInterfaceIdList\");\nvar se_NetworkInterfacePermissionIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_NetworkInterfacePermissionIdList\");\nvar se_NewDhcpConfiguration = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ke] != null) {\n entries[_Ke] = input[_Ke];\n }\n if (input[_Val] != null) {\n const memberEntries = se_ValueStringList(input[_Val], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Value.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_NewDhcpConfiguration\");\nvar se_NewDhcpConfigurationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_NewDhcpConfiguration(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_NewDhcpConfigurationList\");\nvar se_OccurrenceDayRequestSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`OccurenceDay.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_OccurrenceDayRequestSet\");\nvar se_OnDemandOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AS] != null) {\n entries[_AS] = input[_AS];\n }\n if (input[_CRO] != null) {\n const memberEntries = se_CapacityReservationOptionsRequest(input[_CRO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SITi] != null) {\n entries[_SITi] = input[_SITi];\n }\n if (input[_SAZ] != null) {\n entries[_SAZ] = input[_SAZ];\n }\n if (input[_MTC] != null) {\n entries[_MTC] = input[_MTC];\n }\n if (input[_MTP] != null) {\n entries[_MTP] = input[_MTP];\n }\n return entries;\n}, \"se_OnDemandOptionsRequest\");\nvar se_OperatorRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Prin] != null) {\n entries[_Prin] = input[_Prin];\n }\n return entries;\n}, \"se_OperatorRequest\");\nvar se_OrganizationalUnitArnStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`OrganizationalUnitArn.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_OrganizationalUnitArnStringList\");\nvar se_OrganizationArnStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`OrganizationArn.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_OrganizationArnStringList\");\nvar se_OutpostLagIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_OutpostLagIdSet\");\nvar se_OwnerStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Owner.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_OwnerStringList\");\nvar se_PacketHeaderStatementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SAo] != null) {\n const memberEntries = se_ValueStringList(input[_SAo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourceAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DAes] != null) {\n const memberEntries = se_ValueStringList(input[_DAes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPo] != null) {\n const memberEntries = se_ValueStringList(input[_SPo], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourcePort.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DPes] != null) {\n const memberEntries = se_ValueStringList(input[_DPes], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationPort.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPL] != null) {\n const memberEntries = se_ValueStringList(input[_SPL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourcePrefixList.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DPLe] != null) {\n const memberEntries = se_ValueStringList(input[_DPLe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationPrefixList.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Pro] != null) {\n const memberEntries = se_ProtocolList(input[_Pro], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Protocol.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PacketHeaderStatementRequest\");\nvar se_PathRequestFilter = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SAou] != null) {\n entries[_SAou] = input[_SAou];\n }\n if (input[_SPR] != null) {\n const memberEntries = se_RequestFilterPortRange(input[_SPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SourcePortRange.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DAest] != null) {\n entries[_DAest] = input[_DAest];\n }\n if (input[_DPR] != null) {\n const memberEntries = se_RequestFilterPortRange(input[_DPR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `DestinationPortRange.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PathRequestFilter\");\nvar se_PathStatementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PHS] != null) {\n const memberEntries = se_PacketHeaderStatementRequest(input[_PHS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PacketHeaderStatement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RSe] != null) {\n const memberEntries = se_ResourceStatementRequest(input[_RSe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceStatement.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PathStatementRequest\");\nvar se_PeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ADRFRV] != null) {\n entries[_ADRFRV] = input[_ADRFRV];\n }\n if (input[_AEFLCLTRV] != null) {\n entries[_AEFLCLTRV] = input[_AEFLCLTRV];\n }\n if (input[_AEFLVTRCL] != null) {\n entries[_AEFLVTRCL] = input[_AEFLVTRCL];\n }\n return entries;\n}, \"se_PeeringConnectionOptionsRequest\");\nvar se_PerformanceFactorReference = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n return entries;\n}, \"se_PerformanceFactorReference\");\nvar se_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IF] != null) {\n entries[_IF] = input[_IF];\n }\n return entries;\n}, \"se_PerformanceFactorReferenceRequest\");\nvar se_PerformanceFactorReferenceSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PerformanceFactorReference(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PerformanceFactorReferenceSet\");\nvar se_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PerformanceFactorReferenceRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PerformanceFactorReferenceSetRequest\");\nvar se_Phase1DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase1DHGroupNumbersRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase1DHGroupNumbersRequestList\");\nvar se_Phase1DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase1DHGroupNumbersRequestListValue\");\nvar se_Phase1EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase1EncryptionAlgorithmsRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase1EncryptionAlgorithmsRequestList\");\nvar se_Phase1EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase1EncryptionAlgorithmsRequestListValue\");\nvar se_Phase1IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase1IntegrityAlgorithmsRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase1IntegrityAlgorithmsRequestList\");\nvar se_Phase1IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase1IntegrityAlgorithmsRequestListValue\");\nvar se_Phase2DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase2DHGroupNumbersRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase2DHGroupNumbersRequestList\");\nvar se_Phase2DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase2DHGroupNumbersRequestListValue\");\nvar se_Phase2EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase2EncryptionAlgorithmsRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase2EncryptionAlgorithmsRequestList\");\nvar se_Phase2EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase2EncryptionAlgorithmsRequestListValue\");\nvar se_Phase2IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Phase2IntegrityAlgorithmsRequestListValue(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_Phase2IntegrityAlgorithmsRequestList\");\nvar se_Phase2IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Phase2IntegrityAlgorithmsRequestListValue\");\nvar se_Placement = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Af] != null) {\n entries[_Af] = input[_Af];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_PN] != null) {\n entries[_PN] = input[_PN];\n }\n if (input[_HIo] != null) {\n entries[_HIo] = input[_HIo];\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n if (input[_SDp] != null) {\n entries[_SDp] = input[_SDp];\n }\n if (input[_HRGA] != null) {\n entries[_HRGA] = input[_HRGA];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n return entries;\n}, \"se_Placement\");\nvar se_PlacementGroupIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`GroupId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PlacementGroupIdStringList\");\nvar se_PlacementGroupStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PlacementGroupStringList\");\nvar se_PortRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fr] != null) {\n entries[_Fr] = input[_Fr];\n }\n if (input[_To] != null) {\n entries[_To] = input[_To];\n }\n return entries;\n}, \"se_PortRange\");\nvar se_PrefixListId = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n return entries;\n}, \"se_PrefixListId\");\nvar se_PrefixListIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PrefixListId(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PrefixListIdList\");\nvar se_PrefixListResourceIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PrefixListResourceIdStringList\");\nvar se_PriceScheduleSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ter] != null) {\n entries[_Ter] = input[_Ter];\n }\n if (input[_Pric] != null) {\n entries[_Pric] = (0, import_smithy_client.serializeFloat)(input[_Pric]);\n }\n if (input[_CCu] != null) {\n entries[_CCu] = input[_CCu];\n }\n return entries;\n}, \"se_PriceScheduleSpecification\");\nvar se_PriceScheduleSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PriceScheduleSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PriceScheduleSpecificationList\");\nvar se_PrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HTo] != null) {\n entries[_HTo] = input[_HTo];\n }\n if (input[_ERNDAR] != null) {\n entries[_ERNDAR] = input[_ERNDAR];\n }\n if (input[_ERNDAAAAR] != null) {\n entries[_ERNDAAAAR] = input[_ERNDAAAAR];\n }\n return entries;\n}, \"se_PrivateDnsNameOptionsRequest\");\nvar se_PrivateIpAddressConfigSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ScheduledInstancesPrivateIpAddressConfig(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`PrivateIpAddressConfigSet.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PrivateIpAddressConfigSet\");\nvar se_PrivateIpAddressSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Prim] != null) {\n entries[_Prim] = input[_Prim];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n return entries;\n}, \"se_PrivateIpAddressSpecification\");\nvar se_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PrivateIpAddressSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PrivateIpAddressSpecificationList\");\nvar se_PrivateIpAddressStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`PrivateIpAddress.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PrivateIpAddressStringList\");\nvar se_ProductCodeStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ProductCode.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ProductCodeStringList\");\nvar se_ProductDescriptionList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ProductDescriptionList\");\nvar se_ProtocolList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ProtocolList\");\nvar se_ProvisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_CAC] != null) {\n const memberEntries = se_CidrAuthorizationContext(input[_CAC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CidrAuthorizationContext.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PA] != null) {\n entries[_PA] = input[_PA];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PTS] != null) {\n const memberEntries = se_TagSpecificationList(input[_PTS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PoolTagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MRu] != null) {\n entries[_MRu] = input[_MRu];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n return entries;\n}, \"se_ProvisionByoipCidrRequest\");\nvar se_ProvisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIp] != null) {\n entries[_IIp] = input[_IIp];\n }\n if (input[_As] != null) {\n entries[_As] = input[_As];\n }\n if (input[_AAC] != null) {\n const memberEntries = se_AsnAuthorizationContext(input[_AAC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AsnAuthorizationContext.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ProvisionIpamByoasnRequest\");\nvar se_ProvisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_CAC] != null) {\n const memberEntries = se_IpamCidrAuthorizationContext(input[_CAC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CidrAuthorizationContext.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NL] != null) {\n entries[_NL] = input[_NL];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_VM] != null) {\n entries[_VM] = input[_VM];\n }\n if (input[_IERVTI] != null) {\n entries[_IERVTI] = input[_IERVTI];\n }\n return entries;\n}, \"se_ProvisionIpamPoolCidrRequest\");\nvar se_ProvisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_PIo] != null) {\n entries[_PIo] = input[_PIo];\n }\n if (input[_NL] != null) {\n entries[_NL] = input[_NL];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n return entries;\n}, \"se_ProvisionPublicIpv4PoolCidrRequest\");\nvar se_PublicIpStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`PublicIp.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PublicIpStringList\");\nvar se_PublicIpv4PoolIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_PublicIpv4PoolIdStringList\");\nvar se_PurchaseCapacityBlockExtensionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CBEOI] != null) {\n entries[_CBEOI] = input[_CBEOI];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_PurchaseCapacityBlockExtensionRequest\");\nvar se_PurchaseCapacityBlockRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CBOI] != null) {\n entries[_CBOI] = input[_CBOI];\n }\n if (input[_IPn] != null) {\n entries[_IPn] = input[_IPn];\n }\n return entries;\n}, \"se_PurchaseCapacityBlockRequest\");\nvar se_PurchaseHostReservationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_CCu] != null) {\n entries[_CCu] = input[_CCu];\n }\n if (input[_HIS] != null) {\n const memberEntries = se_RequestHostIdSet(input[_HIS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostIdSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LPi] != null) {\n entries[_LPi] = input[_LPi];\n }\n if (input[_OI] != null) {\n entries[_OI] = input[_OI];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PurchaseHostReservationRequest\");\nvar se_PurchaseRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_PT] != null) {\n entries[_PT] = input[_PT];\n }\n return entries;\n}, \"se_PurchaseRequest\");\nvar se_PurchaseRequestSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PurchaseRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`PurchaseRequest.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_PurchaseRequestSet\");\nvar se_PurchaseReservedInstancesOfferingRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_RIOIe] != null) {\n entries[_RIOIe] = input[_RIOIe];\n }\n if (input[_PTu] != null) {\n entries[_PTu] = (0, import_smithy_client.serializeDateTime)(input[_PTu]);\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_LPi] != null) {\n const memberEntries = se_ReservedInstanceLimitPrice(input[_LPi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LimitPrice.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PurchaseReservedInstancesOfferingRequest\");\nvar se_PurchaseScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PRu] != null) {\n const memberEntries = se_PurchaseRequestSet(input[_PRu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PurchaseRequest.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_PurchaseScheduledInstancesRequest\");\nvar se_ReasonCodesList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReasonCodesList\");\nvar se_RebootInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RebootInstancesRequest\");\nvar se_RegionNames = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RegionNames\");\nvar se_RegionNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`RegionName.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RegionNameStringList\");\nvar se_RegisterImageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IL] != null) {\n entries[_IL] = input[_IL];\n }\n if (input[_BPi] != null) {\n const memberEntries = se_BillingProductList(input[_BPi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BillingProduct.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_BM] != null) {\n entries[_BM] = input[_BM];\n }\n if (input[_TSp] != null) {\n entries[_TSp] = input[_TSp];\n }\n if (input[_UDe] != null) {\n entries[_UDe] = input[_UDe];\n }\n if (input[_ISm] != null) {\n entries[_ISm] = input[_ISm];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Arc] != null) {\n entries[_Arc] = input[_Arc];\n }\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_RIa] != null) {\n entries[_RIa] = input[_RIa];\n }\n if (input[_RDN] != null) {\n entries[_RDN] = input[_RDN];\n }\n if (input[_BDM] != null) {\n const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_VTir] != null) {\n entries[_VTir] = input[_VTir];\n }\n if (input[_SNS] != null) {\n entries[_SNS] = input[_SNS];\n }\n if (input[_ESn] != null) {\n entries[_ESn] = input[_ESn];\n }\n return entries;\n}, \"se_RegisterImageRequest\");\nvar se_RegisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_ITA] != null) {\n const memberEntries = se_RegisterInstanceTagAttributeRequest(input[_ITA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTagAttribute.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RegisterInstanceEventNotificationAttributesRequest\");\nvar se_RegisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IATOI] != null) {\n entries[_IATOI] = input[_IATOI];\n }\n if (input[_ITK] != null) {\n const memberEntries = se_InstanceTagKeySet(input[_ITK], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceTagKey.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RegisterInstanceTagAttributeRequest\");\nvar se_RegisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_GIA] != null) {\n entries[_GIA] = input[_GIA];\n }\n if (input[_NIIe] != null) {\n const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RegisterTransitGatewayMulticastGroupMembersRequest\");\nvar se_RegisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_GIA] != null) {\n entries[_GIA] = input[_GIA];\n }\n if (input[_NIIe] != null) {\n const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RegisterTransitGatewayMulticastGroupSourcesRequest\");\nvar se_RejectCapacityReservationBillingOwnershipRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_CRI] != null) {\n entries[_CRI] = input[_CRI];\n }\n return entries;\n}, \"se_RejectCapacityReservationBillingOwnershipRequest\");\nvar se_RejectTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_SIu] != null) {\n const memberEntries = se_ValueStringList(input[_SIu], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SubnetIds.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RejectTransitGatewayMulticastDomainAssociationsRequest\");\nvar se_RejectTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RejectTransitGatewayPeeringAttachmentRequest\");\nvar se_RejectTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RejectTransitGatewayVpcAttachmentRequest\");\nvar se_RejectVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n if (input[_VEI] != null) {\n const memberEntries = se_VpcEndpointIdList(input[_VEI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `VpcEndpointId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RejectVpcEndpointConnectionsRequest\");\nvar se_RejectVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n return entries;\n}, \"se_RejectVpcPeeringConnectionRequest\");\nvar se_ReleaseAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_NBG] != null) {\n entries[_NBG] = input[_NBG];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ReleaseAddressRequest\");\nvar se_ReleaseHostsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_HI] != null) {\n const memberEntries = se_RequestHostIdList(input[_HI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HostId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ReleaseHostsRequest\");\nvar se_ReleaseIpamPoolAllocationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IPI] != null) {\n entries[_IPI] = input[_IPI];\n }\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_IPAI] != null) {\n entries[_IPAI] = input[_IPAI];\n }\n return entries;\n}, \"se_ReleaseIpamPoolAllocationRequest\");\nvar se_RemoveIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RN] != null) {\n entries[_RN] = input[_RN];\n }\n return entries;\n}, \"se_RemoveIpamOperatingRegion\");\nvar se_RemoveIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_RemoveIpamOperatingRegion(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_RemoveIpamOperatingRegionSet\");\nvar se_RemoveIpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_OEP] != null) {\n entries[_OEP] = input[_OEP];\n }\n return entries;\n}, \"se_RemoveIpamOrganizationalUnitExclusion\");\nvar se_RemoveIpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_RemoveIpamOrganizationalUnitExclusion(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_RemoveIpamOrganizationalUnitExclusionSet\");\nvar se_RemovePrefixListEntries = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_RemovePrefixListEntry(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_RemovePrefixListEntries\");\nvar se_RemovePrefixListEntry = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n return entries;\n}, \"se_RemovePrefixListEntry\");\nvar se_ReplaceIamInstanceProfileAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIP] != null) {\n const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n return entries;\n}, \"se_ReplaceIamInstanceProfileAssociationRequest\");\nvar se_ReplaceImageCriteriaInAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ICm] != null) {\n const memberEntries = se_ImageCriterionRequestList(input[_ICm], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ImageCriterion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ReplaceImageCriteriaInAllowedImagesSettingsRequest\");\nvar se_ReplaceNetworkAclAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n if (input[_NAI] != null) {\n entries[_NAI] = input[_NAI];\n }\n return entries;\n}, \"se_ReplaceNetworkAclAssociationRequest\");\nvar se_ReplaceNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NAI] != null) {\n entries[_NAI] = input[_NAI];\n }\n if (input[_RNu] != null) {\n entries[_RNu] = input[_RNu];\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_RAu] != null) {\n entries[_RAu] = input[_RAu];\n }\n if (input[_Eg] != null) {\n entries[_Eg] = input[_Eg];\n }\n if (input[_CB] != null) {\n entries[_CB] = input[_CB];\n }\n if (input[_ICB] != null) {\n entries[_ICB] = input[_ICB];\n }\n if (input[_ITC] != null) {\n const memberEntries = se_IcmpTypeCode(input[_ITC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Icmp.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PR] != null) {\n const memberEntries = se_PortRange(input[_PR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PortRange.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ReplaceNetworkAclEntryRequest\");\nvar se_ReplaceRootVolumeTaskIds = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ReplaceRootVolumeTaskId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReplaceRootVolumeTaskIds\");\nvar se_ReplaceRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DPLI] != null) {\n entries[_DPLI] = input[_DPLI];\n }\n if (input[_VEIp] != null) {\n entries[_VEIp] = input[_VEIp];\n }\n if (input[_LTo] != null) {\n entries[_LTo] = input[_LTo];\n }\n if (input[_TGI] != null) {\n entries[_TGI] = input[_TGI];\n }\n if (input[_LGI] != null) {\n entries[_LGI] = input[_LGI];\n }\n if (input[_CGI] != null) {\n entries[_CGI] = input[_CGI];\n }\n if (input[_CNAo] != null) {\n entries[_CNAo] = input[_CNAo];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_GI] != null) {\n entries[_GI] = input[_GI];\n }\n if (input[_DICB] != null) {\n entries[_DICB] = input[_DICB];\n }\n if (input[_EOIGI] != null) {\n entries[_EOIGI] = input[_EOIGI];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n return entries;\n}, \"se_ReplaceRouteRequest\");\nvar se_ReplaceRouteTableAssociationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_AIss] != null) {\n entries[_AIss] = input[_AIss];\n }\n if (input[_RTI] != null) {\n entries[_RTI] = input[_RTI];\n }\n return entries;\n}, \"se_ReplaceRouteTableAssociationRequest\");\nvar se_ReplaceTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DCB] != null) {\n entries[_DCB] = input[_DCB];\n }\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_TGAI] != null) {\n entries[_TGAI] = input[_TGAI];\n }\n if (input[_Bl] != null) {\n entries[_Bl] = input[_Bl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ReplaceTransitGatewayRouteRequest\");\nvar se_ReplaceVpnTunnelRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_VCI] != null) {\n entries[_VCI] = input[_VCI];\n }\n if (input[_VTOIA] != null) {\n entries[_VTOIA] = input[_VTOIA];\n }\n if (input[_APM] != null) {\n entries[_APM] = input[_APM];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ReplaceVpnTunnelRequest\");\nvar se_ReportInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_In] != null) {\n const memberEntries = se_InstanceIdStringList(input[_In], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Statu] != null) {\n entries[_Statu] = input[_Statu];\n }\n if (input[_STt] != null) {\n entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);\n }\n if (input[_ETn] != null) {\n entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);\n }\n if (input[_RCe] != null) {\n const memberEntries = se_ReasonCodesList(input[_RCe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ReasonCode.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n return entries;\n}, \"se_ReportInstanceStatusRequest\");\nvar se_RequestFilterPortRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n return entries;\n}, \"se_RequestFilterPortRange\");\nvar se_RequestHostIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RequestHostIdList\");\nvar se_RequestHostIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RequestHostIdSet\");\nvar se_RequestInstanceTypeList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RequestInstanceTypeList\");\nvar se_RequestIpamResourceTag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ke] != null) {\n entries[_Ke] = input[_Ke];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_RequestIpamResourceTag\");\nvar se_RequestIpamResourceTagList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_RequestIpamResourceTag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_RequestIpamResourceTagList\");\nvar se_RequestLaunchTemplateData = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_IIP] != null) {\n const memberEntries = se_LaunchTemplateIamInstanceProfileSpecificationRequest(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_BDM] != null) {\n const memberEntries = se_LaunchTemplateBlockDeviceMappingRequestList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NI] != null) {\n const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList(input[_NI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterface.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_Mon] != null) {\n const memberEntries = se_LaunchTemplatesMonitoringRequest(input[_Mon], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Monitoring.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Pl] != null) {\n const memberEntries = se_LaunchTemplatePlacementRequest(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RDI] != null) {\n entries[_RDI] = input[_RDI];\n }\n if (input[_DATis] != null) {\n entries[_DATis] = input[_DATis];\n }\n if (input[_IISB] != null) {\n entries[_IISB] = input[_IISB];\n }\n if (input[_UD] != null) {\n entries[_UD] = input[_UD];\n }\n if (input[_TS] != null) {\n const memberEntries = se_LaunchTemplateTagSpecificationRequestList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EGS] != null) {\n const memberEntries = se_ElasticGpuSpecificationList(input[_EGS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EIA] != null) {\n const memberEntries = se_LaunchTemplateElasticInferenceAcceleratorList(input[_EIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGI] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SG] != null) {\n const memberEntries = se_SecurityGroupStringList(input[_SG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IMO] != null) {\n const memberEntries = se_LaunchTemplateInstanceMarketOptionsRequest(input[_IMO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceMarketOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CSred] != null) {\n const memberEntries = se_CreditSpecificationRequest(input[_CSred], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CreditSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_COp] != null) {\n const memberEntries = se_LaunchTemplateCpuOptionsRequest(input[_COp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CpuOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CRSa] != null) {\n const memberEntries = se_LaunchTemplateCapacityReservationSpecificationRequest(input[_CRSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LSi] != null) {\n const memberEntries = se_LaunchTemplateLicenseSpecificationListRequest(input[_LSi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LicenseSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_HO] != null) {\n const memberEntries = se_LaunchTemplateHibernationOptionsRequest(input[_HO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HibernationOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MO] != null) {\n const memberEntries = se_LaunchTemplateInstanceMetadataOptionsRequest(input[_MO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MetadataOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EOn] != null) {\n const memberEntries = se_LaunchTemplateEnclaveOptionsRequest(input[_EOn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnclaveOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirementsRequest(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PDNO] != null) {\n const memberEntries = se_LaunchTemplatePrivateDnsNameOptionsRequest(input[_PDNO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateDnsNameOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MOa] != null) {\n const memberEntries = se_LaunchTemplateInstanceMaintenanceOptionsRequest(input[_MOa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MaintenanceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DAS] != null) {\n entries[_DAS] = input[_DAS];\n }\n if (input[_O] != null) {\n const memberEntries = se_OperatorRequest(input[_O], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Operator.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NPO] != null) {\n const memberEntries = se_LaunchTemplateNetworkPerformanceOptionsRequest(input[_NPO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkPerformanceOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RequestLaunchTemplateData\");\nvar se_RequestSpotFleetRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SFRC] != null) {\n const memberEntries = se_SpotFleetRequestConfigData(input[_SFRC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotFleetRequestConfig.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RequestSpotFleetRequest\");\nvar se_RequestSpotInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LSa] != null) {\n const memberEntries = se_RequestSpotLaunchSpecification(input[_LSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIB] != null) {\n entries[_IIB] = input[_IIB];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SPp] != null) {\n entries[_SPp] = input[_SPp];\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_VF] != null) {\n entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);\n }\n if (input[_VU] != null) {\n entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);\n }\n if (input[_LG] != null) {\n entries[_LG] = input[_LG];\n }\n if (input[_AZG] != null) {\n entries[_AZG] = input[_AZG];\n }\n if (input[_BDMl] != null) {\n entries[_BDMl] = input[_BDMl];\n }\n return entries;\n}, \"se_RequestSpotInstancesRequest\");\nvar se_RequestSpotLaunchSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SGI] != null) {\n const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupIdList(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SG] != null) {\n const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupList(input[_SG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ATd] != null) {\n entries[_ATd] = input[_ATd];\n }\n if (input[_BDM] != null) {\n const memberEntries = se_BlockDeviceMappingList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_IIP] != null) {\n const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_Mon] != null) {\n const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Monitoring.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NI] != null) {\n const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterface.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Pl] != null) {\n const memberEntries = se_SpotPlacement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RIa] != null) {\n entries[_RIa] = input[_RIa];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_UD] != null) {\n entries[_UD] = input[_UD];\n }\n return entries;\n}, \"se_RequestSpotLaunchSpecification\");\nvar se_RequestSpotLaunchSpecificationSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RequestSpotLaunchSpecificationSecurityGroupIdList\");\nvar se_RequestSpotLaunchSpecificationSecurityGroupList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RequestSpotLaunchSpecificationSecurityGroupList\");\nvar se_ReservationFleetInstanceSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_IPn] != null) {\n entries[_IPn] = input[_IPn];\n }\n if (input[_W] != null) {\n entries[_W] = (0, import_smithy_client.serializeFloat)(input[_W]);\n }\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_Pri] != null) {\n entries[_Pri] = input[_Pri];\n }\n return entries;\n}, \"se_ReservationFleetInstanceSpecification\");\nvar se_ReservationFleetInstanceSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ReservationFleetInstanceSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ReservationFleetInstanceSpecificationList\");\nvar se_ReservedInstanceIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ReservedInstanceId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReservedInstanceIdSet\");\nvar se_ReservedInstanceLimitPrice = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Am] != null) {\n entries[_Am] = (0, import_smithy_client.serializeFloat)(input[_Am]);\n }\n if (input[_CCu] != null) {\n entries[_CCu] = input[_CCu];\n }\n return entries;\n}, \"se_ReservedInstanceLimitPrice\");\nvar se_ReservedInstancesConfiguration = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_Pla] != null) {\n entries[_Pla] = input[_Pla];\n }\n if (input[_Sc] != null) {\n entries[_Sc] = input[_Sc];\n }\n if (input[_AZI] != null) {\n entries[_AZI] = input[_AZI];\n }\n return entries;\n}, \"se_ReservedInstancesConfiguration\");\nvar se_ReservedInstancesConfigurationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ReservedInstancesConfiguration(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ReservedInstancesConfigurationList\");\nvar se_ReservedInstancesIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ReservedInstancesId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReservedInstancesIdStringList\");\nvar se_ReservedInstancesModificationIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ReservedInstancesModificationId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReservedInstancesModificationIdStringList\");\nvar se_ReservedInstancesOfferingIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ReservedInstancesOfferingIdStringList\");\nvar se_ResetAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AIl] != null) {\n entries[_AIl] = input[_AIl];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ResetAddressAttributeRequest\");\nvar se_ResetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ResetEbsDefaultKmsKeyIdRequest\");\nvar se_ResetFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_FII] != null) {\n entries[_FII] = input[_FII];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n return entries;\n}, \"se_ResetFpgaImageAttributeRequest\");\nvar se_ResetImageAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ResetImageAttributeRequest\");\nvar se_ResetInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n return entries;\n}, \"se_ResetInstanceAttributeRequest\");\nvar se_ResetNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_SDC] != null) {\n entries[_SDC] = input[_SDC];\n }\n return entries;\n}, \"se_ResetNetworkInterfaceAttributeRequest\");\nvar se_ResetSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_At] != null) {\n entries[_At] = input[_At];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_ResetSnapshotAttributeRequest\");\nvar se_ResourceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ResourceIdList\");\nvar se_ResourceList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ResourceList\");\nvar se_ResourceStatementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Re] != null) {\n const memberEntries = se_ValueStringList(input[_Re], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Resource.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_RTeso] != null) {\n const memberEntries = se_ValueStringList(input[_RTeso], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceType.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ResourceStatementRequest\");\nvar se_RestorableByStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RestorableByStringList\");\nvar se_RestoreAddressToClassicRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n return entries;\n}, \"se_RestoreAddressToClassicRequest\");\nvar se_RestoreImageFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RestoreImageFromRecycleBinRequest\");\nvar se_RestoreManagedPrefixListVersionRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_PV] != null) {\n entries[_PV] = input[_PV];\n }\n if (input[_CVu] != null) {\n entries[_CVu] = input[_CVu];\n }\n return entries;\n}, \"se_RestoreManagedPrefixListVersionRequest\");\nvar se_RestoreSnapshotFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RestoreSnapshotFromRecycleBinRequest\");\nvar se_RestoreSnapshotTierRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_TRD] != null) {\n entries[_TRD] = input[_TRD];\n }\n if (input[_PRer] != null) {\n entries[_PRer] = input[_PRer];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RestoreSnapshotTierRequest\");\nvar se_RevokeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_TNC] != null) {\n entries[_TNC] = input[_TNC];\n }\n if (input[_AGI] != null) {\n entries[_AGI] = input[_AGI];\n }\n if (input[_RAG] != null) {\n entries[_RAG] = input[_RAG];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RevokeClientVpnIngressRequest\");\nvar se_RevokeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SGRI] != null) {\n const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_SSGN] != null) {\n entries[_SSGN] = input[_SSGN];\n }\n if (input[_SSGOI] != null) {\n entries[_SSGOI] = input[_SSGOI];\n }\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_CIi] != null) {\n entries[_CIi] = input[_CIi];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_RevokeSecurityGroupEgressRequest\");\nvar se_RevokeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CIi] != null) {\n entries[_CIi] = input[_CIi];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_SSGN] != null) {\n entries[_SSGN] = input[_SSGN];\n }\n if (input[_SSGOI] != null) {\n entries[_SSGOI] = input[_SSGOI];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_SGRI] != null) {\n const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_RevokeSecurityGroupIngressRequest\");\nvar se_RouteServerBgpOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAee] != null) {\n entries[_PAee] = input[_PAee];\n }\n if (input[_PLD] != null) {\n entries[_PLD] = input[_PLD];\n }\n return entries;\n}, \"se_RouteServerBgpOptionsRequest\");\nvar se_RouteServerEndpointIdsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RouteServerEndpointIdsList\");\nvar se_RouteServerIdsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RouteServerIdsList\");\nvar se_RouteServerPeerIdsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RouteServerPeerIdsList\");\nvar se_RouteTableIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_RouteTableIdStringList\");\nvar se_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_RunInstancesMonitoringEnabled\");\nvar se_RunInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BDM] != null) {\n const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n if (input[_IA] != null) {\n const memberEntries = se_InstanceIpv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Address.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_MC] != null) {\n entries[_MC] = input[_MC];\n }\n if (input[_MCi] != null) {\n entries[_MCi] = input[_MCi];\n }\n if (input[_Mon] != null) {\n const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Monitoring.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_Pl] != null) {\n const memberEntries = se_Placement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RIa] != null) {\n entries[_RIa] = input[_RIa];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SG] != null) {\n const memberEntries = se_SecurityGroupStringList(input[_SG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroup.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_UD] != null) {\n entries[_UD] = input[_UD];\n }\n if (input[_EGSl] != null) {\n const memberEntries = se_ElasticGpuSpecifications(input[_EGSl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EIA] != null) {\n const memberEntries = se_ElasticInferenceAccelerators(input[_EIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LTa] != null) {\n const memberEntries = se_LaunchTemplateSpecification(input[_LTa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplate.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IMO] != null) {\n const memberEntries = se_InstanceMarketOptionsRequest(input[_IMO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceMarketOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CSred] != null) {\n const memberEntries = se_CreditSpecificationRequest(input[_CSred], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CreditSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_COp] != null) {\n const memberEntries = se_CpuOptionsRequest(input[_COp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CpuOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CRSa] != null) {\n const memberEntries = se_CapacityReservationSpecification(input[_CRSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityReservationSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_HO] != null) {\n const memberEntries = se_HibernationOptionsRequest(input[_HO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `HibernationOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LSi] != null) {\n const memberEntries = se_LicenseSpecificationListRequest(input[_LSi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LicenseSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MO] != null) {\n const memberEntries = se_InstanceMetadataOptionsRequest(input[_MO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MetadataOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EOn] != null) {\n const memberEntries = se_EnclaveOptionsRequest(input[_EOn], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `EnclaveOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_PDNO] != null) {\n const memberEntries = se_PrivateDnsNameOptionsRequest(input[_PDNO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateDnsNameOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_MOa] != null) {\n const memberEntries = se_InstanceMaintenanceOptionsRequest(input[_MOa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MaintenanceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DAS] != null) {\n entries[_DAS] = input[_DAS];\n }\n if (input[_EPI] != null) {\n entries[_EPI] = input[_EPI];\n }\n if (input[_NPO] != null) {\n const memberEntries = se_InstanceNetworkPerformanceOptionsRequest(input[_NPO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkPerformanceOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_O] != null) {\n const memberEntries = se_OperatorRequest(input[_O], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Operator.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_DATis] != null) {\n entries[_DATis] = input[_DATis];\n }\n if (input[_IISB] != null) {\n entries[_IISB] = input[_IISB];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_AId] != null) {\n entries[_AId] = input[_AId];\n }\n if (input[_NI] != null) {\n const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterface.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IIP] != null) {\n const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n return entries;\n}, \"se_RunInstancesRequest\");\nvar se_RunScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_LSa] != null) {\n const memberEntries = se_ScheduledInstancesLaunchSpecification(input[_LSa], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchSpecification.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SIIch] != null) {\n entries[_SIIch] = input[_SIIch];\n }\n return entries;\n}, \"se_RunScheduledInstancesRequest\");\nvar se_S3ObjectTag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ke] != null) {\n entries[_Ke] = input[_Ke];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_S3ObjectTag\");\nvar se_S3ObjectTagList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_S3ObjectTag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_S3ObjectTagList\");\nvar se_S3Storage = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AWSAKI] != null) {\n entries[_AWSAKI] = input[_AWSAKI];\n }\n if (input[_B] != null) {\n entries[_B] = input[_B];\n }\n if (input[_Pr] != null) {\n entries[_Pr] = input[_Pr];\n }\n if (input[_UP] != null) {\n entries[_UP] = context.base64Encoder(input[_UP]);\n }\n if (input[_UPS] != null) {\n entries[_UPS] = input[_UPS];\n }\n return entries;\n}, \"se_S3Storage\");\nvar se_ScheduledInstanceIdRequestSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ScheduledInstanceId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ScheduledInstanceIdRequestSet\");\nvar se_ScheduledInstanceRecurrenceRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Fre] != null) {\n entries[_Fre] = input[_Fre];\n }\n if (input[_Int] != null) {\n entries[_Int] = input[_Int];\n }\n if (input[_OD] != null) {\n const memberEntries = se_OccurrenceDayRequestSet(input[_OD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `OccurrenceDay.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_ORTE] != null) {\n entries[_ORTE] = input[_ORTE];\n }\n if (input[_OU] != null) {\n entries[_OU] = input[_OU];\n }\n return entries;\n}, \"se_ScheduledInstanceRecurrenceRequest\");\nvar se_ScheduledInstancesBlockDeviceMapping = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DN] != null) {\n entries[_DN] = input[_DN];\n }\n if (input[_E] != null) {\n const memberEntries = se_ScheduledInstancesEbs(input[_E], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ebs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ND] != null) {\n entries[_ND] = input[_ND];\n }\n if (input[_VN] != null) {\n entries[_VN] = input[_VN];\n }\n return entries;\n}, \"se_ScheduledInstancesBlockDeviceMapping\");\nvar se_ScheduledInstancesBlockDeviceMappingSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ScheduledInstancesBlockDeviceMapping(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`BlockDeviceMapping.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ScheduledInstancesBlockDeviceMappingSet\");\nvar se_ScheduledInstancesEbs = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_Enc] != null) {\n entries[_Enc] = input[_Enc];\n }\n if (input[_Io] != null) {\n entries[_Io] = input[_Io];\n }\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_VS] != null) {\n entries[_VS] = input[_VS];\n }\n if (input[_VT] != null) {\n entries[_VT] = input[_VT];\n }\n return entries;\n}, \"se_ScheduledInstancesEbs\");\nvar se_ScheduledInstancesIamInstanceProfile = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ar] != null) {\n entries[_Ar] = input[_Ar];\n }\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n return entries;\n}, \"se_ScheduledInstancesIamInstanceProfile\");\nvar se_ScheduledInstancesIpv6Address = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IApv] != null) {\n entries[_IApv] = input[_IApv];\n }\n return entries;\n}, \"se_ScheduledInstancesIpv6Address\");\nvar se_ScheduledInstancesIpv6AddressList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ScheduledInstancesIpv6Address(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Ipv6Address.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ScheduledInstancesIpv6AddressList\");\nvar se_ScheduledInstancesLaunchSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_BDM] != null) {\n const memberEntries = se_ScheduledInstancesBlockDeviceMappingSet(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_IIP] != null) {\n const memberEntries = se_ScheduledInstancesIamInstanceProfile(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_Mon] != null) {\n const memberEntries = se_ScheduledInstancesMonitoring(input[_Mon], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Monitoring.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NI] != null) {\n const memberEntries = se_ScheduledInstancesNetworkInterfaceSet(input[_NI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterface.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Pl] != null) {\n const memberEntries = se_ScheduledInstancesPlacement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RIa] != null) {\n entries[_RIa] = input[_RIa];\n }\n if (input[_SGI] != null) {\n const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_SGI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_UD] != null) {\n entries[_UD] = input[_UD];\n }\n return entries;\n}, \"se_ScheduledInstancesLaunchSpecification\");\nvar se_ScheduledInstancesMonitoring = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_ScheduledInstancesMonitoring\");\nvar se_ScheduledInstancesNetworkInterface = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_APIAs] != null) {\n entries[_APIAs] = input[_APIAs];\n }\n if (input[_DOT] != null) {\n entries[_DOT] = input[_DOT];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_DIev] != null) {\n entries[_DIev] = input[_DIev];\n }\n if (input[_G] != null) {\n const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_G], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Group.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IAC] != null) {\n entries[_IAC] = input[_IAC];\n }\n if (input[_IA] != null) {\n const memberEntries = se_ScheduledInstancesIpv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Address.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n if (input[_PIACr] != null) {\n const memberEntries = se_PrivateIpAddressConfigSet(input[_PIACr], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddressConfig.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPIAC] != null) {\n entries[_SPIAC] = input[_SPIAC];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n return entries;\n}, \"se_ScheduledInstancesNetworkInterface\");\nvar se_ScheduledInstancesNetworkInterfaceSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ScheduledInstancesNetworkInterface(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`NetworkInterface.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ScheduledInstancesNetworkInterfaceSet\");\nvar se_ScheduledInstancesPlacement = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n return entries;\n}, \"se_ScheduledInstancesPlacement\");\nvar se_ScheduledInstancesPrivateIpAddressConfig = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Prim] != null) {\n entries[_Prim] = input[_Prim];\n }\n if (input[_PIAr] != null) {\n entries[_PIAr] = input[_PIAr];\n }\n return entries;\n}, \"se_ScheduledInstancesPrivateIpAddressConfig\");\nvar se_ScheduledInstancesSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SecurityGroupId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ScheduledInstancesSecurityGroupIdSet\");\nvar se_SearchLocalGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_LGRTI] != null) {\n entries[_LGRTI] = input[_LGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_SearchLocalGatewayRoutesRequest\");\nvar se_SearchTransitGatewayMulticastGroupsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGMDI] != null) {\n entries[_TGMDI] = input[_TGMDI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_NT] != null) {\n entries[_NT] = input[_NT];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_SearchTransitGatewayMulticastGroupsRequest\");\nvar se_SearchTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TGRTI] != null) {\n entries[_TGRTI] = input[_TGRTI];\n }\n if (input[_Fi] != null) {\n const memberEntries = se_FilterList(input[_Fi], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Filter.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MR] != null) {\n entries[_MR] = input[_MR];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_SearchTransitGatewayRoutesRequest\");\nvar se_SecurityGroupIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupIdList\");\nvar se_SecurityGroupIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SecurityGroupId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupIdStringList\");\nvar se_SecurityGroupIdStringListRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SecurityGroupId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupIdStringListRequest\");\nvar se_SecurityGroupRuleDescription = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SGRIe] != null) {\n entries[_SGRIe] = input[_SGRIe];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n return entries;\n}, \"se_SecurityGroupRuleDescription\");\nvar se_SecurityGroupRuleDescriptionList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_SecurityGroupRuleDescription(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupRuleDescriptionList\");\nvar se_SecurityGroupRuleIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupRuleIdList\");\nvar se_SecurityGroupRuleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPpr] != null) {\n entries[_IPpr] = input[_IPpr];\n }\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_CIidr] != null) {\n entries[_CIidr] = input[_CIidr];\n }\n if (input[_CIid] != null) {\n entries[_CIid] = input[_CIid];\n }\n if (input[_PLI] != null) {\n entries[_PLI] = input[_PLI];\n }\n if (input[_RGI] != null) {\n entries[_RGI] = input[_RGI];\n }\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n return entries;\n}, \"se_SecurityGroupRuleRequest\");\nvar se_SecurityGroupRuleUpdate = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SGRIe] != null) {\n entries[_SGRIe] = input[_SGRIe];\n }\n if (input[_SGRe] != null) {\n const memberEntries = se_SecurityGroupRuleRequest(input[_SGRe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRule.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SecurityGroupRuleUpdate\");\nvar se_SecurityGroupRuleUpdateList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_SecurityGroupRuleUpdate(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupRuleUpdateList\");\nvar se_SecurityGroupStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SecurityGroup.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SecurityGroupStringList\");\nvar se_SendDiagnosticInterruptRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIn] != null) {\n entries[_IIn] = input[_IIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_SendDiagnosticInterruptRequest\");\nvar se_ServiceLinkVirtualInterfaceIdSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ServiceLinkVirtualInterfaceIdSet\");\nvar se_SlotDateTimeRangeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ETa] != null) {\n entries[_ETa] = (0, import_smithy_client.serializeDateTime)(input[_ETa]);\n }\n if (input[_LTat] != null) {\n entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]);\n }\n return entries;\n}, \"se_SlotDateTimeRangeRequest\");\nvar se_SlotStartTimeRangeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ETa] != null) {\n entries[_ETa] = (0, import_smithy_client.serializeDateTime)(input[_ETa]);\n }\n if (input[_LTat] != null) {\n entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]);\n }\n return entries;\n}, \"se_SlotStartTimeRangeRequest\");\nvar se_SnapshotDiskContainer = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_Fo] != null) {\n entries[_Fo] = input[_Fo];\n }\n if (input[_U] != null) {\n entries[_U] = input[_U];\n }\n if (input[_UB] != null) {\n const memberEntries = se_UserBucket(input[_UB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `UserBucket.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SnapshotDiskContainer\");\nvar se_SnapshotIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SnapshotId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SnapshotIdStringList\");\nvar se_SpotCapacityRebalance = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RS] != null) {\n entries[_RS] = input[_RS];\n }\n if (input[_TDe] != null) {\n entries[_TDe] = input[_TDe];\n }\n return entries;\n}, \"se_SpotCapacityRebalance\");\nvar se_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ATd] != null) {\n entries[_ATd] = input[_ATd];\n }\n if (input[_BDM] != null) {\n const memberEntries = se_BlockDeviceMappingList(input[_BDM], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `BlockDeviceMapping.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_EO] != null) {\n entries[_EO] = input[_EO];\n }\n if (input[_IIP] != null) {\n const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IamInstanceProfile.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIma] != null) {\n entries[_IIma] = input[_IIma];\n }\n if (input[_IT] != null) {\n entries[_IT] = input[_IT];\n }\n if (input[_KI] != null) {\n entries[_KI] = input[_KI];\n }\n if (input[_KN] != null) {\n entries[_KN] = input[_KN];\n }\n if (input[_Mon] != null) {\n const memberEntries = se_SpotFleetMonitoring(input[_Mon], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Monitoring.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_NI] != null) {\n const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `NetworkInterfaceSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Pl] != null) {\n const memberEntries = se_SpotPlacement(input[_Pl], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Placement.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_RIa] != null) {\n entries[_RIa] = input[_RIa];\n }\n if (input[_SPp] != null) {\n entries[_SPp] = input[_SPp];\n }\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_UD] != null) {\n entries[_UD] = input[_UD];\n }\n if (input[_WCe] != null) {\n entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);\n }\n if (input[_TS] != null) {\n const memberEntries = se_SpotFleetTagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecificationSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IR] != null) {\n const memberEntries = se_InstanceRequirements(input[_IR], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceRequirements.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_SG] != null) {\n const memberEntries = se_GroupIdentifierList(input[_SG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `GroupSet.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SpotFleetLaunchSpecification\");\nvar se_SpotFleetMonitoring = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n return entries;\n}, \"se_SpotFleetMonitoring\");\nvar se_SpotFleetRequestConfigData = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AS] != null) {\n entries[_AS] = input[_AS];\n }\n if (input[_ODAS] != null) {\n entries[_ODAS] = input[_ODAS];\n }\n if (input[_SMS] != null) {\n const memberEntries = se_SpotMaintenanceStrategies(input[_SMS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SpotMaintenanceStrategies.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n if (input[_ECTP] != null) {\n entries[_ECTP] = input[_ECTP];\n }\n if (input[_FC] != null) {\n entries[_FC] = (0, import_smithy_client.serializeFloat)(input[_FC]);\n }\n if (input[_ODFC] != null) {\n entries[_ODFC] = (0, import_smithy_client.serializeFloat)(input[_ODFC]);\n }\n if (input[_IFR] != null) {\n entries[_IFR] = input[_IFR];\n }\n if (input[_LSau] != null) {\n const memberEntries = se_LaunchSpecsList(input[_LSau], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchSpecifications.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LTC] != null) {\n const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SPp] != null) {\n entries[_SPp] = input[_SPp];\n }\n if (input[_TCa] != null) {\n entries[_TCa] = input[_TCa];\n }\n if (input[_ODTC] != null) {\n entries[_ODTC] = input[_ODTC];\n }\n if (input[_ODMTP] != null) {\n entries[_ODMTP] = input[_ODMTP];\n }\n if (input[_SMTP] != null) {\n entries[_SMTP] = input[_SMTP];\n }\n if (input[_TIWE] != null) {\n entries[_TIWE] = input[_TIWE];\n }\n if (input[_T] != null) {\n entries[_T] = input[_T];\n }\n if (input[_VF] != null) {\n entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);\n }\n if (input[_VU] != null) {\n entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);\n }\n if (input[_RUI] != null) {\n entries[_RUI] = input[_RUI];\n }\n if (input[_IIB] != null) {\n entries[_IIB] = input[_IIB];\n }\n if (input[_LBC] != null) {\n const memberEntries = se_LoadBalancersConfig(input[_LBC], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LoadBalancersConfig.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IPTUC] != null) {\n entries[_IPTUC] = input[_IPTUC];\n }\n if (input[_Con] != null) {\n entries[_Con] = input[_Con];\n }\n if (input[_TCUT] != null) {\n entries[_TCUT] = input[_TCUT];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SpotFleetRequestConfigData\");\nvar se_SpotFleetRequestIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SpotFleetRequestIdList\");\nvar se_SpotFleetTagSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_Ta] != null) {\n const memberEntries = se_TagList(input[_Ta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SpotFleetTagSpecification\");\nvar se_SpotFleetTagSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_SpotFleetTagSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_SpotFleetTagSpecificationList\");\nvar se_SpotInstanceRequestIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SpotInstanceRequestId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SpotInstanceRequestIdList\");\nvar se_SpotMaintenanceStrategies = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CRap] != null) {\n const memberEntries = se_SpotCapacityRebalance(input[_CRap], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CapacityRebalance.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_SpotMaintenanceStrategies\");\nvar se_SpotMarketOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_MPa] != null) {\n entries[_MPa] = input[_MPa];\n }\n if (input[_SIT] != null) {\n entries[_SIT] = input[_SIT];\n }\n if (input[_BDMl] != null) {\n entries[_BDMl] = input[_BDMl];\n }\n if (input[_VU] != null) {\n entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);\n }\n if (input[_IIB] != null) {\n entries[_IIB] = input[_IIB];\n }\n return entries;\n}, \"se_SpotMarketOptions\");\nvar se_SpotOptionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AS] != null) {\n entries[_AS] = input[_AS];\n }\n if (input[_MS] != null) {\n const memberEntries = se_FleetSpotMaintenanceStrategiesRequest(input[_MS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `MaintenanceStrategies.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_IIB] != null) {\n entries[_IIB] = input[_IIB];\n }\n if (input[_IPTUC] != null) {\n entries[_IPTUC] = input[_IPTUC];\n }\n if (input[_SITi] != null) {\n entries[_SITi] = input[_SITi];\n }\n if (input[_SAZ] != null) {\n entries[_SAZ] = input[_SAZ];\n }\n if (input[_MTC] != null) {\n entries[_MTC] = input[_MTC];\n }\n if (input[_MTP] != null) {\n entries[_MTP] = input[_MTP];\n }\n return entries;\n}, \"se_SpotOptionsRequest\");\nvar se_SpotPlacement = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AZ] != null) {\n entries[_AZ] = input[_AZ];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_Te] != null) {\n entries[_Te] = input[_Te];\n }\n return entries;\n}, \"se_SpotPlacement\");\nvar se_StartDeclarativePoliciesReportRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SB] != null) {\n entries[_SB] = input[_SB];\n }\n if (input[_SP] != null) {\n entries[_SP] = input[_SP];\n }\n if (input[_TIa] != null) {\n entries[_TIa] = input[_TIa];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_StartDeclarativePoliciesReportRequest\");\nvar se_StartInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_AId] != null) {\n entries[_AId] = input[_AId];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_StartInstancesRequest\");\nvar se_StartNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIASI] != null) {\n entries[_NIASI] = input[_NIASI];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_StartNetworkInsightsAccessScopeAnalysisRequest\");\nvar se_StartNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NIPI] != null) {\n entries[_NIPI] = input[_NIPI];\n }\n if (input[_AAd] != null) {\n const memberEntries = se_ValueStringList(input[_AAd], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `AdditionalAccount.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_FIA] != null) {\n const memberEntries = se_ArnList(input[_FIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FilterInArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_FOA] != null) {\n const memberEntries = se_ArnList(input[_FOA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `FilterOutArn.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_TS] != null) {\n const memberEntries = se_TagSpecificationList(input[_TS], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TagSpecification.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_CTl] === void 0) {\n input[_CTl] = (0, import_uuid.v4)();\n }\n if (input[_CTl] != null) {\n entries[_CTl] = input[_CTl];\n }\n return entries;\n}, \"se_StartNetworkInsightsAnalysisRequest\");\nvar se_StartVpcEndpointServicePrivateDnsVerificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_SIe] != null) {\n entries[_SIe] = input[_SIe];\n }\n return entries;\n}, \"se_StartVpcEndpointServicePrivateDnsVerificationRequest\");\nvar se_StopInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_Hi] != null) {\n entries[_Hi] = input[_Hi];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_F] != null) {\n entries[_F] = input[_F];\n }\n return entries;\n}, \"se_StopInstancesRequest\");\nvar se_Storage = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_S_] != null) {\n const memberEntries = se_S3Storage(input[_S_], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `S3.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_Storage\");\nvar se_StorageLocation = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_B] != null) {\n entries[_B] = input[_B];\n }\n if (input[_Ke] != null) {\n entries[_Ke] = input[_Ke];\n }\n return entries;\n}, \"se_StorageLocation\");\nvar se_SubnetConfiguration = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIub] != null) {\n entries[_SIub] = input[_SIub];\n }\n if (input[_Ip] != null) {\n entries[_Ip] = input[_Ip];\n }\n if (input[_Ipv] != null) {\n entries[_Ipv] = input[_Ipv];\n }\n return entries;\n}, \"se_SubnetConfiguration\");\nvar se_SubnetConfigurationsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_SubnetConfiguration(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_SubnetConfigurationsList\");\nvar se_SubnetIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`SubnetId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_SubnetIdStringList\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ke] != null) {\n entries[_Ke] = input[_Ke];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_TagList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_TagList\");\nvar se_TagSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RT] != null) {\n entries[_RT] = input[_RT];\n }\n if (input[_Ta] != null) {\n const memberEntries = se_TagList(input[_Ta], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tag.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_TagSpecification\");\nvar se_TagSpecificationList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_TagSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_TagSpecificationList\");\nvar se_TargetCapacitySpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TTC] != null) {\n entries[_TTC] = input[_TTC];\n }\n if (input[_ODTC] != null) {\n entries[_ODTC] = input[_ODTC];\n }\n if (input[_STC] != null) {\n entries[_STC] = input[_STC];\n }\n if (input[_DTCT] != null) {\n entries[_DTCT] = input[_DTCT];\n }\n if (input[_TCUT] != null) {\n entries[_TCUT] = input[_TCUT];\n }\n return entries;\n}, \"se_TargetCapacitySpecificationRequest\");\nvar se_TargetConfigurationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IC] != null) {\n entries[_IC] = input[_IC];\n }\n if (input[_OI] != null) {\n entries[_OI] = input[_OI];\n }\n return entries;\n}, \"se_TargetConfigurationRequest\");\nvar se_TargetConfigurationRequestSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_TargetConfigurationRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`TargetConfigurationRequest.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_TargetConfigurationRequestSet\");\nvar se_TargetGroup = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Ar] != null) {\n entries[_Ar] = input[_Ar];\n }\n return entries;\n}, \"se_TargetGroup\");\nvar se_TargetGroups = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_TargetGroup(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_TargetGroups\");\nvar se_TargetGroupsConfig = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TG] != null) {\n const memberEntries = se_TargetGroups(input[_TG], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TargetGroups.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_TargetGroupsConfig\");\nvar se_TerminateClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CVEI] != null) {\n entries[_CVEI] = input[_CVEI];\n }\n if (input[_CIo] != null) {\n entries[_CIo] = input[_CIo];\n }\n if (input[_Us] != null) {\n entries[_Us] = input[_Us];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_TerminateClientVpnConnectionsRequest\");\nvar se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_TerminateInstancesRequest\");\nvar se_ThroughResourcesStatementRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RSe] != null) {\n const memberEntries = se_ResourceStatementRequest(input[_RSe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ResourceStatement.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_ThroughResourcesStatementRequest\");\nvar se_ThroughResourcesStatementRequestList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ThroughResourcesStatementRequest(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ThroughResourcesStatementRequestList\");\nvar se_TotalLocalStorageGB = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_TotalLocalStorageGB\");\nvar se_TotalLocalStorageGBRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]);\n }\n if (input[_Ma] != null) {\n entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]);\n }\n return entries;\n}, \"se_TotalLocalStorageGBRequest\");\nvar se_TrafficMirrorFilterIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorFilterIdList\");\nvar se_TrafficMirrorFilterRuleFieldList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorFilterRuleFieldList\");\nvar se_TrafficMirrorFilterRuleIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorFilterRuleIdList\");\nvar se_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorNetworkServiceList\");\nvar se_TrafficMirrorPortRangeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_FP] != null) {\n entries[_FP] = input[_FP];\n }\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n return entries;\n}, \"se_TrafficMirrorPortRangeRequest\");\nvar se_TrafficMirrorSessionFieldList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorSessionFieldList\");\nvar se_TrafficMirrorSessionIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorSessionIdList\");\nvar se_TrafficMirrorTargetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrafficMirrorTargetIdList\");\nvar se_TransitGatewayAttachmentIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayAttachmentIdStringList\");\nvar se_TransitGatewayCidrBlockStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayCidrBlockStringList\");\nvar se_TransitGatewayConnectPeerIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayConnectPeerIdStringList\");\nvar se_TransitGatewayConnectRequestBgpOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAee] != null) {\n entries[_PAee] = input[_PAee];\n }\n return entries;\n}, \"se_TransitGatewayConnectRequestBgpOptions\");\nvar se_TransitGatewayIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayIdStringList\");\nvar se_TransitGatewayMulticastDomainIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayMulticastDomainIdStringList\");\nvar se_TransitGatewayNetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayNetworkInterfaceIdList\");\nvar se_TransitGatewayPolicyTableIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayPolicyTableIdStringList\");\nvar se_TransitGatewayRequestOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_ASA] != null) {\n entries[_ASA] = input[_ASA];\n }\n if (input[_AASAu] != null) {\n entries[_AASAu] = input[_AASAu];\n }\n if (input[_DRTA] != null) {\n entries[_DRTA] = input[_DRTA];\n }\n if (input[_DRTP] != null) {\n entries[_DRTP] = input[_DRTP];\n }\n if (input[_VES] != null) {\n entries[_VES] = input[_VES];\n }\n if (input[_DSns] != null) {\n entries[_DSns] = input[_DSns];\n }\n if (input[_SGRS] != null) {\n entries[_SGRS] = input[_SGRS];\n }\n if (input[_MSu] != null) {\n entries[_MSu] = input[_MSu];\n }\n if (input[_TGCB] != null) {\n const memberEntries = se_TransitGatewayCidrBlockStringList(input[_TGCB], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitGatewayCidrBlocks.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_TransitGatewayRequestOptions\");\nvar se_TransitGatewayRouteTableAnnouncementIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayRouteTableAnnouncementIdStringList\");\nvar se_TransitGatewayRouteTableIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewayRouteTableIdStringList\");\nvar se_TransitGatewaySubnetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TransitGatewaySubnetIdList\");\nvar se_TrunkInterfaceAssociationIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_TrunkInterfaceAssociationIdList\");\nvar se_UnassignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IP] != null) {\n const memberEntries = se_IpPrefixList(input[_IP], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_IA] != null) {\n const memberEntries = se_Ipv6AddressList(input[_IA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv6Addresses.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_UnassignIpv6AddressesRequest\");\nvar se_UnassignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IPp] != null) {\n const memberEntries = se_IpPrefixList(input[_IPp], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Ipv4Prefix.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_NII] != null) {\n entries[_NII] = input[_NII];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_UnassignPrivateIpAddressesRequest\");\nvar se_UnassignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_NGI] != null) {\n entries[_NGI] = input[_NGI];\n }\n if (input[_PIA] != null) {\n const memberEntries = se_IpList(input[_PIA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PrivateIpAddress.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_MDDS] != null) {\n entries[_MDDS] = input[_MDDS];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_UnassignPrivateNatGatewayAddressRequest\");\nvar se_UnlockSnapshotRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SIn] != null) {\n entries[_SIn] = input[_SIn];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_UnlockSnapshotRequest\");\nvar se_UnmonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_IIns] != null) {\n const memberEntries = se_InstanceIdStringList(input[_IIns], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `InstanceId.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_UnmonitorInstancesRequest\");\nvar se_UpdateSecurityGroupRuleDescriptionsEgressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGRD] != null) {\n const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_UpdateSecurityGroupRuleDescriptionsEgressRequest\");\nvar se_UpdateSecurityGroupRuleDescriptionsIngressRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_IPpe] != null) {\n const memberEntries = se_IpPermissionList(input[_IPpe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IpPermissions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SGRD] != null) {\n const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_UpdateSecurityGroupRuleDescriptionsIngressRequest\");\nvar se_UserBucket = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_SB] != null) {\n entries[_SB] = input[_SB];\n }\n if (input[_SK] != null) {\n entries[_SK] = input[_SK];\n }\n return entries;\n}, \"se_UserBucket\");\nvar se_UserData = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Da] != null) {\n entries[_Da] = input[_Da];\n }\n return entries;\n}, \"se_UserData\");\nvar se_UserGroupStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`UserGroup.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_UserGroupStringList\");\nvar se_UserIdGroupPair = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_De] != null) {\n entries[_De] = input[_De];\n }\n if (input[_UIs] != null) {\n entries[_UIs] = input[_UIs];\n }\n if (input[_GN] != null) {\n entries[_GN] = input[_GN];\n }\n if (input[_GIr] != null) {\n entries[_GIr] = input[_GIr];\n }\n if (input[_VI] != null) {\n entries[_VI] = input[_VI];\n }\n if (input[_VPCI] != null) {\n entries[_VPCI] = input[_VPCI];\n }\n if (input[_PSe] != null) {\n entries[_PSe] = input[_PSe];\n }\n return entries;\n}, \"se_UserIdGroupPair\");\nvar se_UserIdGroupPairList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_UserIdGroupPair(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Item.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_UserIdGroupPairList\");\nvar se_UserIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`UserId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_UserIdStringList\");\nvar se_ValueStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ValueStringList\");\nvar se_VCpuCountRange = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_VCpuCountRange\");\nvar se_VCpuCountRangeRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_M] != null) {\n entries[_M] = input[_M];\n }\n if (input[_Ma] != null) {\n entries[_Ma] = input[_Ma];\n }\n return entries;\n}, \"se_VCpuCountRangeRequest\");\nvar se_VerifiedAccessEndpointIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VerifiedAccessEndpointIdList\");\nvar se_VerifiedAccessGroupIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VerifiedAccessGroupIdList\");\nvar se_VerifiedAccessInstanceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VerifiedAccessInstanceIdList\");\nvar se_VerifiedAccessLogCloudWatchLogsDestinationOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_LGo] != null) {\n entries[_LGo] = input[_LGo];\n }\n return entries;\n}, \"se_VerifiedAccessLogCloudWatchLogsDestinationOptions\");\nvar se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_DSel] != null) {\n entries[_DSel] = input[_DSel];\n }\n return entries;\n}, \"se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions\");\nvar se_VerifiedAccessLogOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_S_] != null) {\n const memberEntries = se_VerifiedAccessLogS3DestinationOptions(input[_S_], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `S3.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_CWL] != null) {\n const memberEntries = se_VerifiedAccessLogCloudWatchLogsDestinationOptions(input[_CWL], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CloudWatchLogs.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_KDF] != null) {\n const memberEntries = se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions(input[_KDF], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `KinesisDataFirehose.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_LV] != null) {\n entries[_LV] = input[_LV];\n }\n if (input[_ITCn] != null) {\n entries[_ITCn] = input[_ITCn];\n }\n return entries;\n}, \"se_VerifiedAccessLogOptions\");\nvar se_VerifiedAccessLogS3DestinationOptions = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_En] != null) {\n entries[_En] = input[_En];\n }\n if (input[_BN] != null) {\n entries[_BN] = input[_BN];\n }\n if (input[_Pr] != null) {\n entries[_Pr] = input[_Pr];\n }\n if (input[_BOu] != null) {\n entries[_BOu] = input[_BOu];\n }\n return entries;\n}, \"se_VerifiedAccessLogS3DestinationOptions\");\nvar se_VerifiedAccessSseSpecificationRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CMKE] != null) {\n entries[_CMKE] = input[_CMKE];\n }\n if (input[_KKA] != null) {\n entries[_KKA] = input[_KKA];\n }\n return entries;\n}, \"se_VerifiedAccessSseSpecificationRequest\");\nvar se_VerifiedAccessTrustProviderIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VerifiedAccessTrustProviderIdList\");\nvar se_VersionStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VersionStringList\");\nvar se_VirtualizationTypeSet = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VirtualizationTypeSet\");\nvar se_VolumeDetail = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_Siz] != null) {\n entries[_Siz] = input[_Siz];\n }\n return entries;\n}, \"se_VolumeDetail\");\nvar se_VolumeIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`VolumeId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VolumeIdStringList\");\nvar se_VpcBlockPublicAccessExclusionIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcBlockPublicAccessExclusionIdList\");\nvar se_VpcClassicLinkIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`VpcId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcClassicLinkIdList\");\nvar se_VpcEndpointIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcEndpointIdList\");\nvar se_VpcEndpointRouteTableIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcEndpointRouteTableIdList\");\nvar se_VpcEndpointSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcEndpointSecurityGroupIdList\");\nvar se_VpcEndpointServiceIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcEndpointServiceIdList\");\nvar se_VpcEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcEndpointSubnetIdList\");\nvar se_VpcIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`VpcId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcIdStringList\");\nvar se_VpcPeeringConnectionIdList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`Item.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpcPeeringConnectionIdList\");\nvar se_VpnConnectionIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`VpnConnectionId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpnConnectionIdStringList\");\nvar se_VpnConnectionOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_EA] != null) {\n entries[_EA] = input[_EA];\n }\n if (input[_TIIV] != null) {\n entries[_TIIV] = input[_TIIV];\n }\n if (input[_TO] != null) {\n const memberEntries = se_VpnTunnelOptionsSpecificationsList(input[_TO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TunnelOptions.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_LINC] != null) {\n entries[_LINC] = input[_LINC];\n }\n if (input[_RINC] != null) {\n entries[_RINC] = input[_RINC];\n }\n if (input[_LINCo] != null) {\n entries[_LINCo] = input[_LINCo];\n }\n if (input[_RINCe] != null) {\n entries[_RINCe] = input[_RINCe];\n }\n if (input[_OIAT] != null) {\n entries[_OIAT] = input[_OIAT];\n }\n if (input[_TTGAI] != null) {\n entries[_TTGAI] = input[_TTGAI];\n }\n if (input[_SRO] != null) {\n entries[_SRO] = input[_SRO];\n }\n return entries;\n}, \"se_VpnConnectionOptionsSpecification\");\nvar se_VpnGatewayIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`VpnGatewayId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_VpnGatewayIdStringList\");\nvar se_VpnTunnelLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_CWLO] != null) {\n const memberEntries = se_CloudWatchLogOptionsSpecification(input[_CWLO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `CloudWatchLogOptions.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_VpnTunnelLogOptionsSpecification\");\nvar se_VpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TIC] != null) {\n entries[_TIC] = input[_TIC];\n }\n if (input[_TIIC] != null) {\n entries[_TIIC] = input[_TIIC];\n }\n if (input[_PSK] != null) {\n entries[_PSK] = input[_PSK];\n }\n if (input[_PLS] != null) {\n entries[_PLS] = input[_PLS];\n }\n if (input[_PLSh] != null) {\n entries[_PLSh] = input[_PLSh];\n }\n if (input[_RMTS] != null) {\n entries[_RMTS] = input[_RMTS];\n }\n if (input[_RFP] != null) {\n entries[_RFP] = input[_RFP];\n }\n if (input[_RWS] != null) {\n entries[_RWS] = input[_RWS];\n }\n if (input[_DPDTS] != null) {\n entries[_DPDTS] = input[_DPDTS];\n }\n if (input[_DPDTA] != null) {\n entries[_DPDTA] = input[_DPDTA];\n }\n if (input[_PEA] != null) {\n const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PEAh] != null) {\n const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIAh] != null) {\n const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PIAha] != null) {\n const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PDHGN] != null) {\n const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_PDHGNh] != null) {\n const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_IKEVe] != null) {\n const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `IKEVersion.${key.substring(key.indexOf(\".\") + 1)}`;\n entries[loc] = value;\n });\n }\n if (input[_SA] != null) {\n entries[_SA] = input[_SA];\n }\n if (input[_LO] != null) {\n const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `LogOptions.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_ETLC] != null) {\n entries[_ETLC] = input[_ETLC];\n }\n return entries;\n}, \"se_VpnTunnelOptionsSpecification\");\nvar se_VpnTunnelOptionsSpecificationsList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_VpnTunnelOptionsSpecification(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`Member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_VpnTunnelOptionsSpecificationsList\");\nvar se_WithdrawByoipCidrRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_C] != null) {\n entries[_C] = input[_C];\n }\n if (input[_DRr] != null) {\n entries[_DRr] = input[_DRr];\n }\n return entries;\n}, \"se_WithdrawByoipCidrRequest\");\nvar se_ZoneIdStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ZoneId.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ZoneIdStringList\");\nvar se_ZoneNameStringList = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`ZoneName.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_ZoneNameStringList\");\nvar de_AcceleratorCount = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_AcceleratorCount\");\nvar de_AcceleratorManufacturerSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_AcceleratorManufacturerSet\");\nvar de_AcceleratorNameSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_AcceleratorNameSet\");\nvar de_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_AcceleratorTotalMemoryMiB\");\nvar de_AcceleratorTypeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_AcceleratorTypeSet\");\nvar de_AcceptAddressTransferResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aT] != null) {\n contents[_ATdd] = de_AddressTransfer(output[_aT], context);\n }\n return contents;\n}, \"de_AcceptAddressTransferResult\");\nvar de_AcceptCapacityReservationBillingOwnershipResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_AcceptCapacityReservationBillingOwnershipResult\");\nvar de_AcceptReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eI] != null) {\n contents[_EIxch] = (0, import_smithy_client.expectString)(output[_eI]);\n }\n return contents;\n}, \"de_AcceptReservedInstancesExchangeQuoteResult\");\nvar de_AcceptTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_a] != null) {\n contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context);\n }\n return contents;\n}, \"de_AcceptTransitGatewayMulticastDomainAssociationsResult\");\nvar de_AcceptTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPA] != null) {\n contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context);\n }\n return contents;\n}, \"de_AcceptTransitGatewayPeeringAttachmentResult\");\nvar de_AcceptTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGVA] != null) {\n contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context);\n }\n return contents;\n}, \"de_AcceptTransitGatewayVpcAttachmentResult\");\nvar de_AcceptVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_AcceptVpcEndpointConnectionsResult\");\nvar de_AcceptVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vPC] != null) {\n contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context);\n }\n return contents;\n}, \"de_AcceptVpcPeeringConnectionResult\");\nvar de_AccessScopeAnalysisFinding = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASAI] != null) {\n contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]);\n }\n if (output[_nIASI] != null) {\n contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]);\n }\n if (output[_fI] != null) {\n contents[_FIi] = (0, import_smithy_client.expectString)(output[_fI]);\n }\n if (output.findingComponentSet === \"\") {\n contents[_FCi] = [];\n } else if (output[_fCS] != null && output[_fCS][_i] != null) {\n contents[_FCi] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fCS][_i]), context);\n }\n return contents;\n}, \"de_AccessScopeAnalysisFinding\");\nvar de_AccessScopeAnalysisFindingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AccessScopeAnalysisFinding(entry, context);\n });\n}, \"de_AccessScopeAnalysisFindingList\");\nvar de_AccessScopePath = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_s] != null) {\n contents[_S] = de_PathStatement(output[_s], context);\n }\n if (output[_d] != null) {\n contents[_D] = de_PathStatement(output[_d], context);\n }\n if (output.throughResourceSet === \"\") {\n contents[_TR] = [];\n } else if (output[_tRS] != null && output[_tRS][_i] != null) {\n contents[_TR] = de_ThroughResourcesStatementList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRS][_i]), context);\n }\n return contents;\n}, \"de_AccessScopePath\");\nvar de_AccessScopePathList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AccessScopePath(entry, context);\n });\n}, \"de_AccessScopePathList\");\nvar de_AccountAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aN] != null) {\n contents[_ANt] = (0, import_smithy_client.expectString)(output[_aN]);\n }\n if (output.attributeValueSet === \"\") {\n contents[_AVt] = [];\n } else if (output[_aVS] != null && output[_aVS][_i] != null) {\n contents[_AVt] = de_AccountAttributeValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_aVS][_i]), context);\n }\n return contents;\n}, \"de_AccountAttribute\");\nvar de_AccountAttributeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AccountAttribute(entry, context);\n });\n}, \"de_AccountAttributeList\");\nvar de_AccountAttributeValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aV] != null) {\n contents[_AVtt] = (0, import_smithy_client.expectString)(output[_aV]);\n }\n return contents;\n}, \"de_AccountAttributeValue\");\nvar de_AccountAttributeValueList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AccountAttributeValue(entry, context);\n });\n}, \"de_AccountAttributeValueList\");\nvar de_ActiveInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_sIRI] != null) {\n contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]);\n }\n if (output[_iH] != null) {\n contents[_IH] = (0, import_smithy_client.expectString)(output[_iH]);\n }\n return contents;\n}, \"de_ActiveInstance\");\nvar de_ActiveInstanceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ActiveInstance(entry, context);\n });\n}, \"de_ActiveInstanceSet\");\nvar de_AddedPrincipal = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pT] != null) {\n contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]);\n }\n if (output[_p] != null) {\n contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]);\n }\n if (output[_sPI] != null) {\n contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]);\n }\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n return contents;\n}, \"de_AddedPrincipal\");\nvar de_AddedPrincipalSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AddedPrincipal(entry, context);\n });\n}, \"de_AddedPrincipalSet\");\nvar de_AdditionalDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aDT] != null) {\n contents[_ADT] = (0, import_smithy_client.expectString)(output[_aDT]);\n }\n if (output[_c] != null) {\n contents[_Com] = de_AnalysisComponent(output[_c], context);\n }\n if (output[_vES] != null) {\n contents[_VESp] = de_AnalysisComponent(output[_vES], context);\n }\n if (output.ruleOptionSet === \"\") {\n contents[_ROu] = [];\n } else if (output[_rOS] != null && output[_rOS][_i] != null) {\n contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context);\n }\n if (output.ruleGroupTypePairSet === \"\") {\n contents[_RGTP] = [];\n } else if (output[_rGTPS] != null && output[_rGTPS][_i] != null) {\n contents[_RGTP] = de_RuleGroupTypePairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGTPS][_i]), context);\n }\n if (output.ruleGroupRuleOptionsPairSet === \"\") {\n contents[_RGROP] = [];\n } else if (output[_rGROPS] != null && output[_rGROPS][_i] != null) {\n contents[_RGROP] = de_RuleGroupRuleOptionsPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGROPS][_i]), context);\n }\n if (output[_sN] != null) {\n contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]);\n }\n if (output.loadBalancerSet === \"\") {\n contents[_LB] = [];\n } else if (output[_lBS] != null && output[_lBS][_i] != null) {\n contents[_LB] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBS][_i]), context);\n }\n return contents;\n}, \"de_AdditionalDetail\");\nvar de_AdditionalDetailList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AdditionalDetail(entry, context);\n });\n}, \"de_AdditionalDetailList\");\nvar de_Address = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_do] != null) {\n contents[_Do] = (0, import_smithy_client.expectString)(output[_do]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_nIOI] != null) {\n contents[_NIOI] = (0, import_smithy_client.expectString)(output[_nIOI]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pIP] != null) {\n contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output[_cOI] != null) {\n contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]);\n }\n if (output[_cOIP] != null) {\n contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]);\n }\n if (output[_cI] != null) {\n contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]);\n }\n if (output[_sM] != null) {\n contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n return contents;\n}, \"de_Address\");\nvar de_AddressAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_pR] != null) {\n contents[_PRt] = (0, import_smithy_client.expectString)(output[_pR]);\n }\n if (output[_pRU] != null) {\n contents[_PRU] = de_PtrUpdateStatus(output[_pRU], context);\n }\n return contents;\n}, \"de_AddressAttribute\");\nvar de_AddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Address(entry, context);\n });\n}, \"de_AddressList\");\nvar de_AddressSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AddressAttribute(entry, context);\n });\n}, \"de_AddressSet\");\nvar de_AddressTransfer = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_tAI] != null) {\n contents[_TAI] = (0, import_smithy_client.expectString)(output[_tAI]);\n }\n if (output[_tOET] != null) {\n contents[_TOET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOET]));\n }\n if (output[_tOAT] != null) {\n contents[_TOAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOAT]));\n }\n if (output[_aTS] != null) {\n contents[_ATS] = (0, import_smithy_client.expectString)(output[_aTS]);\n }\n return contents;\n}, \"de_AddressTransfer\");\nvar de_AddressTransferList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AddressTransfer(entry, context);\n });\n}, \"de_AddressTransferList\");\nvar de_AdvertiseByoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bC] != null) {\n contents[_BC] = de_ByoipCidr(output[_bC], context);\n }\n return contents;\n}, \"de_AdvertiseByoipCidrResult\");\nvar de_AllocateAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_pIP] != null) {\n contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output[_do] != null) {\n contents[_Do] = (0, import_smithy_client.expectString)(output[_do]);\n }\n if (output[_cOI] != null) {\n contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]);\n }\n if (output[_cOIP] != null) {\n contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]);\n }\n if (output[_cI] != null) {\n contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n return contents;\n}, \"de_AllocateAddressResult\");\nvar de_AllocateHostsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.hostIdSet === \"\") {\n contents[_HI] = [];\n } else if (output[_hIS] != null && output[_hIS][_i] != null) {\n contents[_HI] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context);\n }\n return contents;\n}, \"de_AllocateHostsResult\");\nvar de_AllocateIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPA] != null) {\n contents[_IPA] = de_IpamPoolAllocation(output[_iPA], context);\n }\n return contents;\n}, \"de_AllocateIpamPoolCidrResult\");\nvar de_AllowedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_AllowedInstanceTypeSet\");\nvar de_AllowedPrincipal = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pT] != null) {\n contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]);\n }\n if (output[_p] != null) {\n contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]);\n }\n if (output[_sPI] != null) {\n contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n return contents;\n}, \"de_AllowedPrincipal\");\nvar de_AllowedPrincipalSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AllowedPrincipal(entry, context);\n });\n}, \"de_AllowedPrincipalSet\");\nvar de_AlternatePathHint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cIo] != null) {\n contents[_CIom] = (0, import_smithy_client.expectString)(output[_cIo]);\n }\n if (output[_cA] != null) {\n contents[_CAo] = (0, import_smithy_client.expectString)(output[_cA]);\n }\n return contents;\n}, \"de_AlternatePathHint\");\nvar de_AlternatePathHintList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AlternatePathHint(entry, context);\n });\n}, \"de_AlternatePathHintList\");\nvar de_AnalysisAclRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_e] != null) {\n contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]);\n }\n if (output[_pRo] != null) {\n contents[_PR] = de_PortRange(output[_pRo], context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_rA] != null) {\n contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]);\n }\n if (output[_rN] != null) {\n contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]);\n }\n return contents;\n}, \"de_AnalysisAclRule\");\nvar de_AnalysisComponent = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_id]);\n }\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_AnalysisComponent\");\nvar de_AnalysisComponentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AnalysisComponent(entry, context);\n });\n}, \"de_AnalysisComponentList\");\nvar de_AnalysisLoadBalancerListener = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lBP] != null) {\n contents[_LBP] = (0, import_smithy_client.strictParseInt32)(output[_lBP]);\n }\n if (output[_iP] != null) {\n contents[_IPns] = (0, import_smithy_client.strictParseInt32)(output[_iP]);\n }\n return contents;\n}, \"de_AnalysisLoadBalancerListener\");\nvar de_AnalysisLoadBalancerTarget = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ad] != null) {\n contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_in] != null) {\n contents[_Ins] = de_AnalysisComponent(output[_in], context);\n }\n if (output[_po] != null) {\n contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]);\n }\n return contents;\n}, \"de_AnalysisLoadBalancerTarget\");\nvar de_AnalysisPacketHeader = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.destinationAddressSet === \"\") {\n contents[_DAes] = [];\n } else if (output[_dAS] != null && output[_dAS][_i] != null) {\n contents[_DAes] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context);\n }\n if (output.destinationPortRangeSet === \"\") {\n contents[_DPRe] = [];\n } else if (output[_dPRS] != null && output[_dPRS][_i] != null) {\n contents[_DPRe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPRS][_i]), context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output.sourceAddressSet === \"\") {\n contents[_SAo] = [];\n } else if (output[_sAS] != null && output[_sAS][_i] != null) {\n contents[_SAo] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context);\n }\n if (output.sourcePortRangeSet === \"\") {\n contents[_SPRo] = [];\n } else if (output[_sPRS] != null && output[_sPRS][_i] != null) {\n contents[_SPRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPRS][_i]), context);\n }\n return contents;\n}, \"de_AnalysisPacketHeader\");\nvar de_AnalysisRouteTableRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dC] != null) {\n contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]);\n }\n if (output[_dPLI] != null) {\n contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]);\n }\n if (output[_eOIGI] != null) {\n contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]);\n }\n if (output[_gI] != null) {\n contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_o] != null) {\n contents[_Or] = (0, import_smithy_client.expectString)(output[_o]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cGI] != null) {\n contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]);\n }\n if (output[_cNA] != null) {\n contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n return contents;\n}, \"de_AnalysisRouteTableRoute\");\nvar de_AnalysisSecurityGroupRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_di] != null) {\n contents[_Di] = (0, import_smithy_client.expectString)(output[_di]);\n }\n if (output[_sGI] != null) {\n contents[_SGIe] = (0, import_smithy_client.expectString)(output[_sGI]);\n }\n if (output[_pRo] != null) {\n contents[_PR] = de_PortRange(output[_pRo], context);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n return contents;\n}, \"de_AnalysisSecurityGroupRule\");\nvar de_ApplySecurityGroupsToClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.securityGroupIds === \"\") {\n contents[_SGI] = [];\n } else if (output[_sGIe] != null && output[_sGIe][_i] != null) {\n contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIe][_i]), context);\n }\n return contents;\n}, \"de_ApplySecurityGroupsToClientVpnTargetNetworkResult\");\nvar de_ArchitectureTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ArchitectureTypeList\");\nvar de_ArnList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ArnList\");\nvar de_AsnAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_as] != null) {\n contents[_As] = (0, import_smithy_client.expectString)(output[_as]);\n }\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_AsnAssociation\");\nvar de_AsnAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AsnAssociation(entry, context);\n });\n}, \"de_AsnAssociationSet\");\nvar de_AsPath = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_AsPath\");\nvar de_AssignedPrivateIpAddress = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n return contents;\n}, \"de_AssignedPrivateIpAddress\");\nvar de_AssignedPrivateIpAddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AssignedPrivateIpAddress(entry, context);\n });\n}, \"de_AssignedPrivateIpAddressList\");\nvar de_AssignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.assignedIpv6Addresses === \"\") {\n contents[_AIAs] = [];\n } else if (output[_aIA] != null && output[_aIA][_i] != null) {\n contents[_AIAs] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIA][_i]), context);\n }\n if (output.assignedIpv6PrefixSet === \"\") {\n contents[_AIP] = [];\n } else if (output[_aIPS] != null && output[_aIPS][_i] != null) {\n contents[_AIP] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPS][_i]), context);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n return contents;\n}, \"de_AssignIpv6AddressesResult\");\nvar de_AssignPrivateIpAddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output.assignedPrivateIpAddressesSet === \"\") {\n contents[_APIAss] = [];\n } else if (output[_aPIAS] != null && output[_aPIAS][_i] != null) {\n contents[_APIAss] = de_AssignedPrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPIAS][_i]), context);\n }\n if (output.assignedIpv4PrefixSet === \"\") {\n contents[_AIPs] = [];\n } else if (output[_aIPSs] != null && output[_aIPSs][_i] != null) {\n contents[_AIPs] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPSs][_i]), context);\n }\n return contents;\n}, \"de_AssignPrivateIpAddressesResult\");\nvar de_AssignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output.natGatewayAddressSet === \"\") {\n contents[_NGA] = [];\n } else if (output[_nGAS] != null && output[_nGAS][_i] != null) {\n contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context);\n }\n return contents;\n}, \"de_AssignPrivateNatGatewayAddressResult\");\nvar de_AssociateAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n return contents;\n}, \"de_AssociateAddressResult\");\nvar de_AssociateCapacityReservationBillingOwnerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_AssociateCapacityReservationBillingOwnerResult\");\nvar de_AssociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_AssociationStatus(output[_sta], context);\n }\n return contents;\n}, \"de_AssociateClientVpnTargetNetworkResult\");\nvar de_AssociatedRole = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aRA] != null) {\n contents[_ARA] = (0, import_smithy_client.expectString)(output[_aRA]);\n }\n if (output[_cSBN] != null) {\n contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]);\n }\n if (output[_cSOK] != null) {\n contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]);\n }\n if (output[_eKKI] != null) {\n contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]);\n }\n return contents;\n}, \"de_AssociatedRole\");\nvar de_AssociatedRolesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociatedRole(entry, context);\n });\n}, \"de_AssociatedRolesList\");\nvar de_AssociatedTargetNetwork = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nI] != null) {\n contents[_NIe] = (0, import_smithy_client.expectString)(output[_nI]);\n }\n if (output[_nT] != null) {\n contents[_NTe] = (0, import_smithy_client.expectString)(output[_nT]);\n }\n return contents;\n}, \"de_AssociatedTargetNetwork\");\nvar de_AssociatedTargetNetworkSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociatedTargetNetwork(entry, context);\n });\n}, \"de_AssociatedTargetNetworkSet\");\nvar de_AssociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cSBN] != null) {\n contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]);\n }\n if (output[_cSOK] != null) {\n contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]);\n }\n if (output[_eKKI] != null) {\n contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]);\n }\n return contents;\n}, \"de_AssociateEnclaveCertificateIamRoleResult\");\nvar de_AssociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIPA] != null) {\n contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context);\n }\n return contents;\n}, \"de_AssociateIamInstanceProfileResult\");\nvar de_AssociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEW] != null) {\n contents[_IEW] = de_InstanceEventWindow(output[_iEW], context);\n }\n return contents;\n}, \"de_AssociateInstanceEventWindowResult\");\nvar de_AssociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aA] != null) {\n contents[_AAsn] = de_AsnAssociation(output[_aA], context);\n }\n return contents;\n}, \"de_AssociateIpamByoasnResult\");\nvar de_AssociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRDA] != null) {\n contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context);\n }\n return contents;\n}, \"de_AssociateIpamResourceDiscoveryResult\");\nvar de_AssociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output.natGatewayAddressSet === \"\") {\n contents[_NGA] = [];\n } else if (output[_nGAS] != null && output[_nGAS][_i] != null) {\n contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context);\n }\n return contents;\n}, \"de_AssociateNatGatewayAddressResult\");\nvar de_AssociateRouteServerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSA] != null) {\n contents[_RSAo] = de_RouteServerAssociation(output[_rSA], context);\n }\n return contents;\n}, \"de_AssociateRouteServerResult\");\nvar de_AssociateRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_aS] != null) {\n contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);\n }\n return contents;\n}, \"de_AssociateRouteTableResult\");\nvar de_AssociateSecurityGroupVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_AssociateSecurityGroupVpcResult\");\nvar de_AssociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCBA] != null) {\n contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n return contents;\n}, \"de_AssociateSubnetCidrBlockResult\");\nvar de_AssociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_a] != null) {\n contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context);\n }\n return contents;\n}, \"de_AssociateTransitGatewayMulticastDomainResult\");\nvar de_AssociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context);\n }\n return contents;\n}, \"de_AssociateTransitGatewayPolicyTableResult\");\nvar de_AssociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context);\n }\n return contents;\n}, \"de_AssociateTransitGatewayRouteTableResult\");\nvar de_AssociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iA] != null) {\n contents[_IAn] = de_TrunkInterfaceAssociation(output[_iA], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_AssociateTrunkInterfaceResult\");\nvar de_AssociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCBA] != null) {\n contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context);\n }\n if (output[_cBA] != null) {\n contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_AssociateVpcCidrBlockResult\");\nvar de_AssociationStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_AssociationStatus\");\nvar de_AttachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_AttachClassicLinkVpcResult\");\nvar de_AttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSE] != null) {\n contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]);\n }\n if (output[_eSUS] != null) {\n contents[_ESUS] = de_AttachmentEnaSrdUdpSpecification(output[_eSUS], context);\n }\n return contents;\n}, \"de_AttachmentEnaSrdSpecification\");\nvar de_AttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSUE] != null) {\n contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]);\n }\n return contents;\n}, \"de_AttachmentEnaSrdUdpSpecification\");\nvar de_AttachNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIt] != null) {\n contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]);\n }\n if (output[_nCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]);\n }\n return contents;\n}, \"de_AttachNetworkInterfaceResult\");\nvar de_AttachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATP] != null) {\n contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context);\n }\n if (output[_vAI] != null) {\n contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context);\n }\n return contents;\n}, \"de_AttachVerifiedAccessTrustProviderResult\");\nvar de_AttachVpnGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_at] != null) {\n contents[_VA] = de_VpcAttachment(output[_at], context);\n }\n return contents;\n}, \"de_AttachVpnGatewayResult\");\nvar de_AttributeBooleanValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.parseBoolean)(output[_v]);\n }\n return contents;\n}, \"de_AttributeBooleanValue\");\nvar de_AttributeSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aN] != null) {\n contents[_ANt] = (0, import_smithy_client.expectString)(output[_aN]);\n }\n if (output[_mFV] != null) {\n contents[_MFV] = (0, import_smithy_client.expectString)(output[_mFV]);\n }\n if (output[_nOMA] != null) {\n contents[_NOMA] = (0, import_smithy_client.strictParseInt32)(output[_nOMA]);\n }\n if (output[_nOUA] != null) {\n contents[_NOUA] = (0, import_smithy_client.strictParseInt32)(output[_nOUA]);\n }\n if (output.regionalSummarySet === \"\") {\n contents[_RSeg] = [];\n } else if (output[_rSS] != null && output[_rSS][_i] != null) {\n contents[_RSeg] = de_RegionalSummaryList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSS][_i]), context);\n }\n return contents;\n}, \"de_AttributeSummary\");\nvar de_AttributeSummaryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AttributeSummary(entry, context);\n });\n}, \"de_AttributeSummaryList\");\nvar de_AttributeValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_AttributeValue\");\nvar de_AuthorizationRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_aAc] != null) {\n contents[_AAc] = (0, import_smithy_client.parseBoolean)(output[_aAc]);\n }\n if (output[_dC] != null) {\n contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context);\n }\n return contents;\n}, \"de_AuthorizationRule\");\nvar de_AuthorizationRuleSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AuthorizationRule(entry, context);\n });\n}, \"de_AuthorizationRuleSet\");\nvar de_AuthorizeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context);\n }\n return contents;\n}, \"de_AuthorizeClientVpnIngressResult\");\nvar de_AuthorizeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output.securityGroupRuleSet === \"\") {\n contents[_SGR] = [];\n } else if (output[_sGRS] != null && output[_sGRS][_i] != null) {\n contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context);\n }\n return contents;\n}, \"de_AuthorizeSecurityGroupEgressResult\");\nvar de_AuthorizeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output.securityGroupRuleSet === \"\") {\n contents[_SGR] = [];\n } else if (output[_sGRS] != null && output[_sGRS][_i] != null) {\n contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context);\n }\n return contents;\n}, \"de_AuthorizeSecurityGroupIngressResult\");\nvar de_AvailabilityZone = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oIS] != null) {\n contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]);\n }\n if (output.messageSet === \"\") {\n contents[_Mes] = [];\n } else if (output[_mS] != null && output[_mS][_i] != null) {\n contents[_Mes] = de_AvailabilityZoneMessageList((0, import_smithy_client.getArrayIfSingleItem)(output[_mS][_i]), context);\n }\n if (output[_rNe] != null) {\n contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]);\n }\n if (output[_zN] != null) {\n contents[_ZNo] = (0, import_smithy_client.expectString)(output[_zN]);\n }\n if (output[_zI] != null) {\n contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output[_zT] != null) {\n contents[_ZT] = (0, import_smithy_client.expectString)(output[_zT]);\n }\n if (output[_pZN] != null) {\n contents[_PZN] = (0, import_smithy_client.expectString)(output[_pZN]);\n }\n if (output[_pZI] != null) {\n contents[_PZI] = (0, import_smithy_client.expectString)(output[_pZI]);\n }\n if (output[_gLN] != null) {\n contents[_GLN] = (0, import_smithy_client.expectString)(output[_gLN]);\n }\n if (output[_zS] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_zS]);\n }\n return contents;\n}, \"de_AvailabilityZone\");\nvar de_AvailabilityZoneList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AvailabilityZone(entry, context);\n });\n}, \"de_AvailabilityZoneList\");\nvar de_AvailabilityZoneMessage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_AvailabilityZoneMessage\");\nvar de_AvailabilityZoneMessageList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AvailabilityZoneMessage(entry, context);\n });\n}, \"de_AvailabilityZoneMessageList\");\nvar de_AvailableCapacity = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.availableInstanceCapacity === \"\") {\n contents[_AIC] = [];\n } else if (output[_aIC] != null && output[_aIC][_i] != null) {\n contents[_AIC] = de_AvailableInstanceCapacityList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIC][_i]), context);\n }\n if (output[_aVC] != null) {\n contents[_AVC] = (0, import_smithy_client.strictParseInt32)(output[_aVC]);\n }\n return contents;\n}, \"de_AvailableCapacity\");\nvar de_AvailableInstanceCapacityList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceCapacity(entry, context);\n });\n}, \"de_AvailableInstanceCapacityList\");\nvar de_BandwidthWeightingTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_BandwidthWeightingTypeList\");\nvar de_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_BaselineEbsBandwidthMbps\");\nvar de_BaselinePerformanceFactors = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cp] != null) {\n contents[_Cp] = de_CpuPerformanceFactor(output[_cp], context);\n }\n return contents;\n}, \"de_BaselinePerformanceFactors\");\nvar de_BlockDeviceMapping = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eb] != null) {\n contents[_E] = de_EbsBlockDevice(output[_eb], context);\n }\n if (output[_nD] != null) {\n contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]);\n }\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output[_vN] != null) {\n contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]);\n }\n return contents;\n}, \"de_BlockDeviceMapping\");\nvar de_BlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_BlockDeviceMapping(entry, context);\n });\n}, \"de_BlockDeviceMappingList\");\nvar de_BlockDeviceMappingResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output[_vN] != null) {\n contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]);\n }\n if (output[_eb] != null) {\n contents[_E] = de_EbsBlockDeviceResponse(output[_eb], context);\n }\n if (output[_nD] != null) {\n contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]);\n }\n return contents;\n}, \"de_BlockDeviceMappingResponse\");\nvar de_BlockDeviceMappingResponseList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_BlockDeviceMappingResponse(entry, context);\n });\n}, \"de_BlockDeviceMappingResponseList\");\nvar de_BlockPublicAccessStates = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iGBM] != null) {\n contents[_IGBM] = (0, import_smithy_client.expectString)(output[_iGBM]);\n }\n return contents;\n}, \"de_BlockPublicAccessStates\");\nvar de_BootModeTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_BootModeTypeList\");\nvar de_BundleInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bIT] != null) {\n contents[_BTu] = de_BundleTask(output[_bIT], context);\n }\n return contents;\n}, \"de_BundleInstanceResult\");\nvar de_BundleTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_bI] != null) {\n contents[_BIu] = (0, import_smithy_client.expectString)(output[_bI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_uT] != null) {\n contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT]));\n }\n if (output[_sto] != null) {\n contents[_St] = de_Storage(output[_sto], context);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_er] != null) {\n contents[_BTE] = de_BundleTaskError(output[_er], context);\n }\n return contents;\n}, \"de_BundleTask\");\nvar de_BundleTaskError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_BundleTaskError\");\nvar de_BundleTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_BundleTask(entry, context);\n });\n}, \"de_BundleTaskList\");\nvar de_Byoasn = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_as] != null) {\n contents[_As] = (0, import_smithy_client.expectString)(output[_as]);\n }\n if (output[_iIp] != null) {\n contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_Byoasn\");\nvar de_ByoasnSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Byoasn(entry, context);\n });\n}, \"de_ByoasnSet\");\nvar de_ByoipCidr = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.asnAssociationSet === \"\") {\n contents[_AAsns] = [];\n } else if (output[_aAS] != null && output[_aAS][_i] != null) {\n contents[_AAsns] = de_AsnAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aAS][_i]), context);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n return contents;\n}, \"de_ByoipCidr\");\nvar de_ByoipCidrSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ByoipCidr(entry, context);\n });\n}, \"de_ByoipCidrSet\");\nvar de_CancelBundleTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bIT] != null) {\n contents[_BTu] = de_BundleTask(output[_bIT], context);\n }\n return contents;\n}, \"de_CancelBundleTaskResult\");\nvar de_CancelCapacityReservationFleetError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_CancelCapacityReservationFleetError\");\nvar de_CancelCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfulFleetCancellationSet === \"\") {\n contents[_SFC] = [];\n } else if (output[_sFCS] != null && output[_sFCS][_i] != null) {\n contents[_SFC] = de_CapacityReservationFleetCancellationStateSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_sFCS][_i]),\n context\n );\n }\n if (output.failedFleetCancellationSet === \"\") {\n contents[_FFC] = [];\n } else if (output[_fFCS] != null && output[_fFCS][_i] != null) {\n contents[_FFC] = de_FailedCapacityReservationFleetCancellationResultSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_fFCS][_i]),\n context\n );\n }\n return contents;\n}, \"de_CancelCapacityReservationFleetsResult\");\nvar de_CancelCapacityReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_CancelCapacityReservationResult\");\nvar de_CancelDeclarativePoliciesReportResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_CancelDeclarativePoliciesReportResult\");\nvar de_CancelImageLaunchPermissionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_CancelImageLaunchPermissionResult\");\nvar de_CancelImportTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iTI] != null) {\n contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]);\n }\n if (output[_pS] != null) {\n contents[_PSr] = (0, import_smithy_client.expectString)(output[_pS]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_CancelImportTaskResult\");\nvar de_CancelledSpotInstanceRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIRI] != null) {\n contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_CancelledSpotInstanceRequest\");\nvar de_CancelledSpotInstanceRequestList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CancelledSpotInstanceRequest(entry, context);\n });\n}, \"de_CancelledSpotInstanceRequestList\");\nvar de_CancelReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.reservedInstancesListingsSet === \"\") {\n contents[_RIL] = [];\n } else if (output[_rILS] != null && output[_rILS][_i] != null) {\n contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context);\n }\n return contents;\n}, \"de_CancelReservedInstancesListingResult\");\nvar de_CancelSpotFleetRequestsError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_CancelSpotFleetRequestsError\");\nvar de_CancelSpotFleetRequestsErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_er] != null) {\n contents[_Er] = de_CancelSpotFleetRequestsError(output[_er], context);\n }\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n return contents;\n}, \"de_CancelSpotFleetRequestsErrorItem\");\nvar de_CancelSpotFleetRequestsErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CancelSpotFleetRequestsErrorItem(entry, context);\n });\n}, \"de_CancelSpotFleetRequestsErrorSet\");\nvar de_CancelSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfulFleetRequestSet === \"\") {\n contents[_SFR] = [];\n } else if (output[_sFRS] != null && output[_sFRS][_i] != null) {\n contents[_SFR] = de_CancelSpotFleetRequestsSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRS][_i]), context);\n }\n if (output.unsuccessfulFleetRequestSet === \"\") {\n contents[_UFR] = [];\n } else if (output[_uFRS] != null && output[_uFRS][_i] != null) {\n contents[_UFR] = de_CancelSpotFleetRequestsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFRS][_i]), context);\n }\n return contents;\n}, \"de_CancelSpotFleetRequestsResponse\");\nvar de_CancelSpotFleetRequestsSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cSFRS] != null) {\n contents[_CSFRS] = (0, import_smithy_client.expectString)(output[_cSFRS]);\n }\n if (output[_pSFRS] != null) {\n contents[_PSFRS] = (0, import_smithy_client.expectString)(output[_pSFRS]);\n }\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n return contents;\n}, \"de_CancelSpotFleetRequestsSuccessItem\");\nvar de_CancelSpotFleetRequestsSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CancelSpotFleetRequestsSuccessItem(entry, context);\n });\n}, \"de_CancelSpotFleetRequestsSuccessSet\");\nvar de_CancelSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.spotInstanceRequestSet === \"\") {\n contents[_CSIRa] = [];\n } else if (output[_sIRS] != null && output[_sIRS][_i] != null) {\n contents[_CSIRa] = de_CancelledSpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context);\n }\n return contents;\n}, \"de_CancelSpotInstanceRequestsResult\");\nvar de_CapacityAllocation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aTl] != null) {\n contents[_ATl] = (0, import_smithy_client.expectString)(output[_aTl]);\n }\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n return contents;\n}, \"de_CapacityAllocation\");\nvar de_CapacityAllocations = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityAllocation(entry, context);\n });\n}, \"de_CapacityAllocations\");\nvar de_CapacityBlockExtension = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_cBEOI] != null) {\n contents[_CBEOI] = (0, import_smithy_client.expectString)(output[_cBEOI]);\n }\n if (output[_cBEDH] != null) {\n contents[_CBEDH] = (0, import_smithy_client.strictParseInt32)(output[_cBEDH]);\n }\n if (output[_cBES] != null) {\n contents[_CBES] = (0, import_smithy_client.expectString)(output[_cBES]);\n }\n if (output[_cBEPD] != null) {\n contents[_CBEPD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEPD]));\n }\n if (output[_cBESD] != null) {\n contents[_CBESD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBESD]));\n }\n if (output[_cBEED] != null) {\n contents[_CBEED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEED]));\n }\n if (output[_uF] != null) {\n contents[_UF] = (0, import_smithy_client.expectString)(output[_uF]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n return contents;\n}, \"de_CapacityBlockExtension\");\nvar de_CapacityBlockExtensionOffering = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cBEOI] != null) {\n contents[_CBEOI] = (0, import_smithy_client.expectString)(output[_cBEOI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_cBESD] != null) {\n contents[_CBESD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBESD]));\n }\n if (output[_cBEED] != null) {\n contents[_CBEED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEED]));\n }\n if (output[_cBEDH] != null) {\n contents[_CBEDH] = (0, import_smithy_client.strictParseInt32)(output[_cBEDH]);\n }\n if (output[_uF] != null) {\n contents[_UF] = (0, import_smithy_client.expectString)(output[_uF]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n return contents;\n}, \"de_CapacityBlockExtensionOffering\");\nvar de_CapacityBlockExtensionOfferingSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityBlockExtensionOffering(entry, context);\n });\n}, \"de_CapacityBlockExtensionOfferingSet\");\nvar de_CapacityBlockExtensionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityBlockExtension(entry, context);\n });\n}, \"de_CapacityBlockExtensionSet\");\nvar de_CapacityBlockOffering = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cBOI] != null) {\n contents[_CBOI] = (0, import_smithy_client.expectString)(output[_cBOI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_cBDH] != null) {\n contents[_CBDH] = (0, import_smithy_client.strictParseInt32)(output[_cBDH]);\n }\n if (output[_uF] != null) {\n contents[_UF] = (0, import_smithy_client.expectString)(output[_uF]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_cBDM] != null) {\n contents[_CBDM] = (0, import_smithy_client.strictParseInt32)(output[_cBDM]);\n }\n return contents;\n}, \"de_CapacityBlockOffering\");\nvar de_CapacityBlockOfferingSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityBlockOffering(entry, context);\n });\n}, \"de_CapacityBlockOfferingSet\");\nvar de_CapacityReservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_cRA] != null) {\n contents[_CRA] = (0, import_smithy_client.expectString)(output[_cRA]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_iPn] != null) {\n contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_tIC] != null) {\n contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]);\n }\n if (output[_aICv] != null) {\n contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_eS] != null) {\n contents[_ES] = (0, import_smithy_client.parseBoolean)(output[_eS]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_eDT] != null) {\n contents[_EDT] = (0, import_smithy_client.expectString)(output[_eDT]);\n }\n if (output[_iMC] != null) {\n contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]);\n }\n if (output[_cD] != null) {\n contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_cRFI] != null) {\n contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]);\n }\n if (output[_pGA] != null) {\n contents[_PGA] = (0, import_smithy_client.expectString)(output[_pGA]);\n }\n if (output.capacityAllocationSet === \"\") {\n contents[_CAa] = [];\n } else if (output[_cAS] != null && output[_cAS][_i] != null) {\n contents[_CAa] = de_CapacityAllocations((0, import_smithy_client.getArrayIfSingleItem)(output[_cAS][_i]), context);\n }\n if (output[_rT] != null) {\n contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]);\n }\n if (output[_uRBOI] != null) {\n contents[_URBOI] = (0, import_smithy_client.expectString)(output[_uRBOI]);\n }\n if (output[_cIom] != null) {\n contents[_CIomm] = de_CapacityReservationCommitmentInfo(output[_cIom], context);\n }\n if (output[_dP] != null) {\n contents[_DP] = (0, import_smithy_client.expectString)(output[_dP]);\n }\n return contents;\n}, \"de_CapacityReservation\");\nvar de_CapacityReservationBillingRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_rB] != null) {\n contents[_RB] = (0, import_smithy_client.expectString)(output[_rB]);\n }\n if (output[_uRBOI] != null) {\n contents[_URBOI] = (0, import_smithy_client.expectString)(output[_uRBOI]);\n }\n if (output[_lUT] != null) {\n contents[_LUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUT]));\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_cRIa] != null) {\n contents[_CRIap] = de_CapacityReservationInfo(output[_cRIa], context);\n }\n return contents;\n}, \"de_CapacityReservationBillingRequest\");\nvar de_CapacityReservationBillingRequestSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityReservationBillingRequest(entry, context);\n });\n}, \"de_CapacityReservationBillingRequestSet\");\nvar de_CapacityReservationCommitmentInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cIC] != null) {\n contents[_CIC] = (0, import_smithy_client.strictParseInt32)(output[_cIC]);\n }\n if (output[_cED] != null) {\n contents[_CED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cED]));\n }\n return contents;\n}, \"de_CapacityReservationCommitmentInfo\");\nvar de_CapacityReservationFleet = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRFI] != null) {\n contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]);\n }\n if (output[_cRFA] != null) {\n contents[_CRFA] = (0, import_smithy_client.expectString)(output[_cRFA]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_tTC] != null) {\n contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]);\n }\n if (output[_tFC] != null) {\n contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_iMC] != null) {\n contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]);\n }\n if (output[_aSl] != null) {\n contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]);\n }\n if (output.instanceTypeSpecificationSet === \"\") {\n contents[_ITS] = [];\n } else if (output[_iTSS] != null && output[_iTSS][_i] != null) {\n contents[_ITS] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTSS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_CapacityReservationFleet\");\nvar de_CapacityReservationFleetCancellationState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cFS] != null) {\n contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]);\n }\n if (output[_pFS] != null) {\n contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]);\n }\n if (output[_cRFI] != null) {\n contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]);\n }\n return contents;\n}, \"de_CapacityReservationFleetCancellationState\");\nvar de_CapacityReservationFleetCancellationStateSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityReservationFleetCancellationState(entry, context);\n });\n}, \"de_CapacityReservationFleetCancellationStateSet\");\nvar de_CapacityReservationFleetSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityReservationFleet(entry, context);\n });\n}, \"de_CapacityReservationFleetSet\");\nvar de_CapacityReservationGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gA] != null) {\n contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_CapacityReservationGroup\");\nvar de_CapacityReservationGroupSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityReservationGroup(entry, context);\n });\n}, \"de_CapacityReservationGroupSet\");\nvar de_CapacityReservationInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n return contents;\n}, \"de_CapacityReservationInfo\");\nvar de_CapacityReservationOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_uS] != null) {\n contents[_USs] = (0, import_smithy_client.expectString)(output[_uS]);\n }\n return contents;\n}, \"de_CapacityReservationOptions\");\nvar de_CapacityReservationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CapacityReservation(entry, context);\n });\n}, \"de_CapacityReservationSet\");\nvar de_CapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRP] != null) {\n contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]);\n }\n if (output[_cRT] != null) {\n contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context);\n }\n return contents;\n}, \"de_CapacityReservationSpecificationResponse\");\nvar de_CapacityReservationTargetResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_cRRGA] != null) {\n contents[_CRRGA] = (0, import_smithy_client.expectString)(output[_cRRGA]);\n }\n return contents;\n}, \"de_CapacityReservationTargetResponse\");\nvar de_CarrierGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cGI] != null) {\n contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_CarrierGateway\");\nvar de_CarrierGatewaySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CarrierGateway(entry, context);\n });\n}, \"de_CarrierGatewaySet\");\nvar de_CertificateAuthentication = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRCC] != null) {\n contents[_CRCC] = (0, import_smithy_client.expectString)(output[_cRCC]);\n }\n return contents;\n}, \"de_CertificateAuthentication\");\nvar de_CidrBlock = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n return contents;\n}, \"de_CidrBlock\");\nvar de_CidrBlockSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CidrBlock(entry, context);\n });\n}, \"de_CidrBlockSet\");\nvar de_ClassicLinkDnsSupport = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cLDS] != null) {\n contents[_CLDS] = (0, import_smithy_client.parseBoolean)(output[_cLDS]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_ClassicLinkDnsSupport\");\nvar de_ClassicLinkDnsSupportList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClassicLinkDnsSupport(entry, context);\n });\n}, \"de_ClassicLinkDnsSupportList\");\nvar de_ClassicLinkInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_ClassicLinkInstance\");\nvar de_ClassicLinkInstanceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClassicLinkInstance(entry, context);\n });\n}, \"de_ClassicLinkInstanceList\");\nvar de_ClassicLoadBalancer = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_ClassicLoadBalancer\");\nvar de_ClassicLoadBalancers = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClassicLoadBalancer(entry, context);\n });\n}, \"de_ClassicLoadBalancers\");\nvar de_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.classicLoadBalancers === \"\") {\n contents[_CLB] = [];\n } else if (output[_cLB] != null && output[_cLB][_i] != null) {\n contents[_CLB] = de_ClassicLoadBalancers((0, import_smithy_client.getArrayIfSingleItem)(output[_cLB][_i]), context);\n }\n return contents;\n}, \"de_ClassicLoadBalancersConfig\");\nvar de_ClientCertificateRevocationListStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientCertificateRevocationListStatus\");\nvar de_ClientConnectResponseOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n if (output[_lFA] != null) {\n contents[_LFA] = (0, import_smithy_client.expectString)(output[_lFA]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnEndpointAttributeStatus(output[_sta], context);\n }\n return contents;\n}, \"de_ClientConnectResponseOptions\");\nvar de_ClientLoginBannerResponseOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n if (output[_bT] != null) {\n contents[_BT] = (0, import_smithy_client.expectString)(output[_bT]);\n }\n return contents;\n}, \"de_ClientLoginBannerResponseOptions\");\nvar de_ClientRouteEnforcementResponseOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_enf] != null) {\n contents[_Enf] = (0, import_smithy_client.parseBoolean)(output[_enf]);\n }\n return contents;\n}, \"de_ClientRouteEnforcementResponseOptions\");\nvar de_ClientVpnAuthentication = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_aD] != null) {\n contents[_AD] = de_DirectoryServiceAuthentication(output[_aD], context);\n }\n if (output[_mA] != null) {\n contents[_MA] = de_CertificateAuthentication(output[_mA], context);\n }\n if (output[_fA] != null) {\n contents[_FA] = de_FederatedAuthentication(output[_fA], context);\n }\n return contents;\n}, \"de_ClientVpnAuthentication\");\nvar de_ClientVpnAuthenticationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClientVpnAuthentication(entry, context);\n });\n}, \"de_ClientVpnAuthenticationList\");\nvar de_ClientVpnAuthorizationRuleStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientVpnAuthorizationRuleStatus\");\nvar de_ClientVpnConnection = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectString)(output[_ti]);\n }\n if (output[_cIon] != null) {\n contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]);\n }\n if (output[_us] != null) {\n contents[_Us] = (0, import_smithy_client.expectString)(output[_us]);\n }\n if (output[_cET] != null) {\n contents[_CETo] = (0, import_smithy_client.expectString)(output[_cET]);\n }\n if (output[_iB] != null) {\n contents[_IB] = (0, import_smithy_client.expectString)(output[_iB]);\n }\n if (output[_eB] != null) {\n contents[_EB] = (0, import_smithy_client.expectString)(output[_eB]);\n }\n if (output[_iPng] != null) {\n contents[_IPng] = (0, import_smithy_client.expectString)(output[_iPng]);\n }\n if (output[_eP] != null) {\n contents[_EPg] = (0, import_smithy_client.expectString)(output[_eP]);\n }\n if (output[_cIl] != null) {\n contents[_CIli] = (0, import_smithy_client.expectString)(output[_cIl]);\n }\n if (output[_cN] != null) {\n contents[_CN] = (0, import_smithy_client.expectString)(output[_cN]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnConnectionStatus(output[_sta], context);\n }\n if (output[_cETo] != null) {\n contents[_CETon] = (0, import_smithy_client.expectString)(output[_cETo]);\n }\n if (output.postureComplianceStatusSet === \"\") {\n contents[_PCS] = [];\n } else if (output[_pCSS] != null && output[_pCSS][_i] != null) {\n contents[_PCS] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCSS][_i]), context);\n }\n return contents;\n}, \"de_ClientVpnConnection\");\nvar de_ClientVpnConnectionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClientVpnConnection(entry, context);\n });\n}, \"de_ClientVpnConnectionSet\");\nvar de_ClientVpnConnectionStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientVpnConnectionStatus\");\nvar de_ClientVpnEndpoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]);\n }\n if (output[_dT] != null) {\n contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]);\n }\n if (output[_dNn] != null) {\n contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]);\n }\n if (output[_cCB] != null) {\n contents[_CCB] = (0, import_smithy_client.expectString)(output[_cCB]);\n }\n if (output.dnsServer === \"\") {\n contents[_DSn] = [];\n } else if (output[_dS] != null && output[_dS][_i] != null) {\n contents[_DSn] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dS][_i]), context);\n }\n if (output[_sTp] != null) {\n contents[_ST] = (0, import_smithy_client.parseBoolean)(output[_sTp]);\n }\n if (output[_vP] != null) {\n contents[_VPp] = (0, import_smithy_client.expectString)(output[_vP]);\n }\n if (output[_tP] != null) {\n contents[_TPr] = (0, import_smithy_client.expectString)(output[_tP]);\n }\n if (output[_vPp] != null) {\n contents[_VP] = (0, import_smithy_client.strictParseInt32)(output[_vPp]);\n }\n if (output.associatedTargetNetwork === \"\") {\n contents[_ATN] = [];\n } else if (output[_aTN] != null && output[_aTN][_i] != null) {\n contents[_ATN] = de_AssociatedTargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTN][_i]), context);\n }\n if (output[_sCA] != null) {\n contents[_SCA] = (0, import_smithy_client.expectString)(output[_sCA]);\n }\n if (output.authenticationOptions === \"\") {\n contents[_AO] = [];\n } else if (output[_aO] != null && output[_aO][_i] != null) {\n contents[_AO] = de_ClientVpnAuthenticationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aO][_i]), context);\n }\n if (output[_cLO] != null) {\n contents[_CLO] = de_ConnectionLogResponseOptions(output[_cLO], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.securityGroupIdSet === \"\") {\n contents[_SGI] = [];\n } else if (output[_sGIS] != null && output[_sGIS][_i] != null) {\n contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sSPU] != null) {\n contents[_SSPU] = (0, import_smithy_client.expectString)(output[_sSPU]);\n }\n if (output[_cCO] != null) {\n contents[_CCO] = de_ClientConnectResponseOptions(output[_cCO], context);\n }\n if (output[_sTH] != null) {\n contents[_STH] = (0, import_smithy_client.strictParseInt32)(output[_sTH]);\n }\n if (output[_cLBO] != null) {\n contents[_CLBO] = de_ClientLoginBannerResponseOptions(output[_cLBO], context);\n }\n if (output[_cREO] != null) {\n contents[_CREO] = de_ClientRouteEnforcementResponseOptions(output[_cREO], context);\n }\n if (output[_dOST] != null) {\n contents[_DOST] = (0, import_smithy_client.parseBoolean)(output[_dOST]);\n }\n return contents;\n}, \"de_ClientVpnEndpoint\");\nvar de_ClientVpnEndpointAttributeStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientVpnEndpointAttributeStatus\");\nvar de_ClientVpnEndpointStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientVpnEndpointStatus\");\nvar de_ClientVpnRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_dC] != null) {\n contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]);\n }\n if (output[_tSa] != null) {\n contents[_TSa] = (0, import_smithy_client.expectString)(output[_tSa]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_o] != null) {\n contents[_Or] = (0, import_smithy_client.expectString)(output[_o]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n return contents;\n}, \"de_ClientVpnRoute\");\nvar de_ClientVpnRouteSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClientVpnRoute(entry, context);\n });\n}, \"de_ClientVpnRouteSet\");\nvar de_ClientVpnRouteStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ClientVpnRouteStatus\");\nvar de_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ClientVpnSecurityGroupIdSet\");\nvar de_CloudWatchLogOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lE] != null) {\n contents[_LE] = (0, import_smithy_client.parseBoolean)(output[_lE]);\n }\n if (output[_lGA] != null) {\n contents[_LGA] = (0, import_smithy_client.expectString)(output[_lGA]);\n }\n if (output[_lOF] != null) {\n contents[_LOF] = (0, import_smithy_client.expectString)(output[_lOF]);\n }\n return contents;\n}, \"de_CloudWatchLogOptions\");\nvar de_CoipAddressUsage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_aAI] != null) {\n contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]);\n }\n if (output[_aSw] != null) {\n contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]);\n }\n if (output[_cIop] != null) {\n contents[_CIop] = (0, import_smithy_client.expectString)(output[_cIop]);\n }\n return contents;\n}, \"de_CoipAddressUsage\");\nvar de_CoipAddressUsageSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CoipAddressUsage(entry, context);\n });\n}, \"de_CoipAddressUsageSet\");\nvar de_CoipCidr = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_cPI] != null) {\n contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n return contents;\n}, \"de_CoipCidr\");\nvar de_CoipPool = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n if (output.poolCidrSet === \"\") {\n contents[_PCo] = [];\n } else if (output[_pCS] != null && output[_pCS][_i] != null) {\n contents[_PCo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCS][_i]), context);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pA] != null) {\n contents[_PAo] = (0, import_smithy_client.expectString)(output[_pA]);\n }\n return contents;\n}, \"de_CoipPool\");\nvar de_CoipPoolSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CoipPool(entry, context);\n });\n}, \"de_CoipPoolSet\");\nvar de_ConfirmProductInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_ConfirmProductInstanceResult\");\nvar de_ConnectionLogResponseOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_En] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_En]);\n }\n if (output[_CLG] != null) {\n contents[_CLG] = (0, import_smithy_client.expectString)(output[_CLG]);\n }\n if (output[_CLS] != null) {\n contents[_CLS] = (0, import_smithy_client.expectString)(output[_CLS]);\n }\n return contents;\n}, \"de_ConnectionLogResponseOptions\");\nvar de_ConnectionNotification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cNI] != null) {\n contents[_CNIon] = (0, import_smithy_client.expectString)(output[_cNI]);\n }\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n if (output[_vEI] != null) {\n contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]);\n }\n if (output[_cNT] != null) {\n contents[_CNT] = (0, import_smithy_client.expectString)(output[_cNT]);\n }\n if (output[_cNAo] != null) {\n contents[_CNAon] = (0, import_smithy_client.expectString)(output[_cNAo]);\n }\n if (output.connectionEvents === \"\") {\n contents[_CEo] = [];\n } else if (output[_cE] != null && output[_cE][_i] != null) {\n contents[_CEo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cE][_i]), context);\n }\n if (output[_cNS] != null) {\n contents[_CNS] = (0, import_smithy_client.expectString)(output[_cNS]);\n }\n if (output[_sR] != null) {\n contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]);\n }\n return contents;\n}, \"de_ConnectionNotification\");\nvar de_ConnectionNotificationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ConnectionNotification(entry, context);\n });\n}, \"de_ConnectionNotificationSet\");\nvar de_ConnectionTrackingConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tET] != null) {\n contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]);\n }\n if (output[_uST] != null) {\n contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]);\n }\n if (output[_uTd] != null) {\n contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]);\n }\n return contents;\n}, \"de_ConnectionTrackingConfiguration\");\nvar de_ConnectionTrackingSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tET] != null) {\n contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]);\n }\n if (output[_uTd] != null) {\n contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]);\n }\n if (output[_uST] != null) {\n contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]);\n }\n return contents;\n}, \"de_ConnectionTrackingSpecification\");\nvar de_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_TET] != null) {\n contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_TET]);\n }\n if (output[_UST] != null) {\n contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_UST]);\n }\n if (output[_UT] != null) {\n contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_UT]);\n }\n return contents;\n}, \"de_ConnectionTrackingSpecificationRequest\");\nvar de_ConnectionTrackingSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tET] != null) {\n contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]);\n }\n if (output[_uST] != null) {\n contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]);\n }\n if (output[_uTd] != null) {\n contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]);\n }\n return contents;\n}, \"de_ConnectionTrackingSpecificationResponse\");\nvar de_ConversionTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cTI] != null) {\n contents[_CTI] = (0, import_smithy_client.expectString)(output[_cTI]);\n }\n if (output[_eT] != null) {\n contents[_ETx] = (0, import_smithy_client.expectString)(output[_eT]);\n }\n if (output[_iIm] != null) {\n contents[_IIm] = de_ImportInstanceTaskDetails(output[_iIm], context);\n }\n if (output[_iV] != null) {\n contents[_IV] = de_ImportVolumeTaskDetails(output[_iV], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ConversionTask\");\nvar de_CopyFpgaImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fII] != null) {\n contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]);\n }\n return contents;\n}, \"de_CopyFpgaImageResult\");\nvar de_CopyImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n return contents;\n}, \"de_CopyImageResult\");\nvar de_CopySnapshotResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n return contents;\n}, \"de_CopySnapshotResult\");\nvar de_CoreCountList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.strictParseInt32)(entry);\n });\n}, \"de_CoreCountList\");\nvar de_CpuManufacturerSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_CpuManufacturerSet\");\nvar de_CpuOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCo] != null) {\n contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]);\n }\n if (output[_tPC] != null) {\n contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]);\n }\n if (output[_aSS] != null) {\n contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]);\n }\n return contents;\n}, \"de_CpuOptions\");\nvar de_CpuPerformanceFactor = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.referenceSet === \"\") {\n contents[_R] = [];\n } else if (output[_rS] != null && output[_rS][_i] != null) {\n contents[_R] = de_PerformanceFactorReferenceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rS][_i]), context);\n }\n return contents;\n}, \"de_CpuPerformanceFactor\");\nvar de_CreateCapacityReservationBySplittingResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCR] != null) {\n contents[_SCR] = de_CapacityReservation(output[_sCR], context);\n }\n if (output[_dCR] != null) {\n contents[_DCRe] = de_CapacityReservation(output[_dCR], context);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n return contents;\n}, \"de_CreateCapacityReservationBySplittingResult\");\nvar de_CreateCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRFI] != null) {\n contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_tTC] != null) {\n contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]);\n }\n if (output[_tFC] != null) {\n contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]);\n }\n if (output[_iMC] != null) {\n contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]);\n }\n if (output[_aSl] != null) {\n contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output.fleetCapacityReservationSet === \"\") {\n contents[_FCR] = [];\n } else if (output[_fCRS] != null && output[_fCRS][_i] != null) {\n contents[_FCR] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fCRS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_CreateCapacityReservationFleetResult\");\nvar de_CreateCapacityReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cR] != null) {\n contents[_CRapa] = de_CapacityReservation(output[_cR], context);\n }\n return contents;\n}, \"de_CreateCapacityReservationResult\");\nvar de_CreateCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cG] != null) {\n contents[_CG] = de_CarrierGateway(output[_cG], context);\n }\n return contents;\n}, \"de_CreateCarrierGatewayResult\");\nvar de_CreateClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context);\n }\n if (output[_dNn] != null) {\n contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]);\n }\n return contents;\n}, \"de_CreateClientVpnEndpointResult\");\nvar de_CreateClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context);\n }\n return contents;\n}, \"de_CreateClientVpnRouteResult\");\nvar de_CreateCoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCoi] != null) {\n contents[_CCo] = de_CoipCidr(output[_cCoi], context);\n }\n return contents;\n}, \"de_CreateCoipCidrResult\");\nvar de_CreateCoipPoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cP] != null) {\n contents[_CP] = de_CoipPool(output[_cP], context);\n }\n return contents;\n}, \"de_CreateCoipPoolResult\");\nvar de_CreateCustomerGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cGu] != null) {\n contents[_CGu] = de_CustomerGateway(output[_cGu], context);\n }\n return contents;\n}, \"de_CreateCustomerGatewayResult\");\nvar de_CreateDefaultSubnetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_su] != null) {\n contents[_Su] = de_Subnet(output[_su], context);\n }\n return contents;\n}, \"de_CreateDefaultSubnetResult\");\nvar de_CreateDefaultVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vp] != null) {\n contents[_Vp] = de_Vpc(output[_vp], context);\n }\n return contents;\n}, \"de_CreateDefaultVpcResult\");\nvar de_CreateDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dO] != null) {\n contents[_DOh] = de_DhcpOptions(output[_dO], context);\n }\n return contents;\n}, \"de_CreateDhcpOptionsResult\");\nvar de_CreateEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_eOIG] != null) {\n contents[_EOIG] = de_EgressOnlyInternetGateway(output[_eOIG], context);\n }\n return contents;\n}, \"de_CreateEgressOnlyInternetGatewayResult\");\nvar de_CreateFleetError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTAO] != null) {\n contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context);\n }\n if (output[_l] != null) {\n contents[_Li] = (0, import_smithy_client.expectString)(output[_l]);\n }\n if (output[_eC] != null) {\n contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]);\n }\n if (output[_eM] != null) {\n contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]);\n }\n return contents;\n}, \"de_CreateFleetError\");\nvar de_CreateFleetErrorsSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CreateFleetError(entry, context);\n });\n}, \"de_CreateFleetErrorsSet\");\nvar de_CreateFleetInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTAO] != null) {\n contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context);\n }\n if (output[_l] != null) {\n contents[_Li] = (0, import_smithy_client.expectString)(output[_l]);\n }\n if (output.instanceIds === \"\") {\n contents[_IIns] = [];\n } else if (output[_iIn] != null && output[_iIn][_i] != null) {\n contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n return contents;\n}, \"de_CreateFleetInstance\");\nvar de_CreateFleetInstancesSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CreateFleetInstance(entry, context);\n });\n}, \"de_CreateFleetInstancesSet\");\nvar de_CreateFleetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n if (output.errorSet === \"\") {\n contents[_Err] = [];\n } else if (output[_eSr] != null && output[_eSr][_i] != null) {\n contents[_Err] = de_CreateFleetErrorsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context);\n }\n if (output.fleetInstanceSet === \"\") {\n contents[_In] = [];\n } else if (output[_fIS] != null && output[_fIS][_i] != null) {\n contents[_In] = de_CreateFleetInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context);\n }\n return contents;\n}, \"de_CreateFleetResult\");\nvar de_CreateFlowLogsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output.flowLogIdSet === \"\") {\n contents[_FLI] = [];\n } else if (output[_fLIS] != null && output[_fLIS][_i] != null) {\n contents[_FLI] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_fLIS][_i]), context);\n }\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_CreateFlowLogsResult\");\nvar de_CreateFpgaImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fII] != null) {\n contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]);\n }\n if (output[_fIGI] != null) {\n contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]);\n }\n return contents;\n}, \"de_CreateFpgaImageResult\");\nvar de_CreateImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n return contents;\n}, \"de_CreateImageResult\");\nvar de_CreateInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCE] != null) {\n contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateInstanceConnectEndpointResult\");\nvar de_CreateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEW] != null) {\n contents[_IEW] = de_InstanceEventWindow(output[_iEW], context);\n }\n return contents;\n}, \"de_CreateInstanceEventWindowResult\");\nvar de_CreateInstanceExportTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eTx] != null) {\n contents[_ETxp] = de_ExportTask(output[_eTx], context);\n }\n return contents;\n}, \"de_CreateInstanceExportTaskResult\");\nvar de_CreateInternetGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iG] != null) {\n contents[_IGn] = de_InternetGateway(output[_iG], context);\n }\n return contents;\n}, \"de_CreateInternetGatewayResult\");\nvar de_CreateIpamExternalResourceVerificationTokenResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iERVT] != null) {\n contents[_IERVT] = de_IpamExternalResourceVerificationToken(output[_iERVT], context);\n }\n return contents;\n}, \"de_CreateIpamExternalResourceVerificationTokenResult\");\nvar de_CreateIpamPoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPp] != null) {\n contents[_IPpa] = de_IpamPool(output[_iPp], context);\n }\n return contents;\n}, \"de_CreateIpamPoolResult\");\nvar de_CreateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRD] != null) {\n contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context);\n }\n return contents;\n}, \"de_CreateIpamResourceDiscoveryResult\");\nvar de_CreateIpamResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ip] != null) {\n contents[_Ipa] = de_Ipam(output[_ip], context);\n }\n return contents;\n}, \"de_CreateIpamResult\");\nvar de_CreateIpamScopeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iS] != null) {\n contents[_ISpa] = de_IpamScope(output[_iS], context);\n }\n return contents;\n}, \"de_CreateIpamScopeResult\");\nvar de_CreateLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lT] != null) {\n contents[_LTa] = de_LaunchTemplate(output[_lT], context);\n }\n if (output[_w] != null) {\n contents[_Wa] = de_ValidationWarning(output[_w], context);\n }\n return contents;\n}, \"de_CreateLaunchTemplateResult\");\nvar de_CreateLaunchTemplateVersionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTV] != null) {\n contents[_LTV] = de_LaunchTemplateVersion(output[_lTV], context);\n }\n if (output[_w] != null) {\n contents[_Wa] = de_ValidationWarning(output[_w], context);\n }\n return contents;\n}, \"de_CreateLaunchTemplateVersionResult\");\nvar de_CreateLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayRouteResult\");\nvar de_CreateLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRT] != null) {\n contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayRouteTableResult\");\nvar de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVIGA] != null) {\n contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult\");\nvar de_CreateLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVA] != null) {\n contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayRouteTableVpcAssociationResult\");\nvar de_CreateLocalGatewayVirtualInterfaceGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVIG] != null) {\n contents[_LGVIG] = de_LocalGatewayVirtualInterfaceGroup(output[_lGVIG], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayVirtualInterfaceGroupResult\");\nvar de_CreateLocalGatewayVirtualInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVI] != null) {\n contents[_LGVI] = de_LocalGatewayVirtualInterface(output[_lGVI], context);\n }\n return contents;\n}, \"de_CreateLocalGatewayVirtualInterfaceResult\");\nvar de_CreateManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pL] != null) {\n contents[_PLr] = de_ManagedPrefixList(output[_pL], context);\n }\n return contents;\n}, \"de_CreateManagedPrefixListResult\");\nvar de_CreateNatGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_nG] != null) {\n contents[_NG] = de_NatGateway(output[_nG], context);\n }\n return contents;\n}, \"de_CreateNatGatewayResult\");\nvar de_CreateNetworkAclResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nA] != null) {\n contents[_NA] = de_NetworkAcl(output[_nA], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateNetworkAclResult\");\nvar de_CreateNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIAS] != null) {\n contents[_NIAS] = de_NetworkInsightsAccessScope(output[_nIAS], context);\n }\n if (output[_nIASC] != null) {\n contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context);\n }\n return contents;\n}, \"de_CreateNetworkInsightsAccessScopeResult\");\nvar de_CreateNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIP] != null) {\n contents[_NIP] = de_NetworkInsightsPath(output[_nIP], context);\n }\n return contents;\n}, \"de_CreateNetworkInsightsPathResult\");\nvar de_CreateNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPnt] != null) {\n contents[_IPnt] = de_NetworkInterfacePermission(output[_iPnt], context);\n }\n return contents;\n}, \"de_CreateNetworkInterfacePermissionResult\");\nvar de_CreateNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIe] != null) {\n contents[_NIet] = de_NetworkInterface(output[_nIe], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateNetworkInterfaceResult\");\nvar de_CreatePlacementGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pG] != null) {\n contents[_PG] = de_PlacementGroup(output[_pG], context);\n }\n return contents;\n}, \"de_CreatePlacementGroupResult\");\nvar de_CreatePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n return contents;\n}, \"de_CreatePublicIpv4PoolResult\");\nvar de_CreateReplaceRootVolumeTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rRVT] != null) {\n contents[_RRVT] = de_ReplaceRootVolumeTask(output[_rRVT], context);\n }\n return contents;\n}, \"de_CreateReplaceRootVolumeTaskResult\");\nvar de_CreateReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.reservedInstancesListingsSet === \"\") {\n contents[_RIL] = [];\n } else if (output[_rILS] != null && output[_rILS][_i] != null) {\n contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context);\n }\n return contents;\n}, \"de_CreateReservedInstancesListingResult\");\nvar de_CreateRestoreImageTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n return contents;\n}, \"de_CreateRestoreImageTaskResult\");\nvar de_CreateRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_CreateRouteResult\");\nvar de_CreateRouteServerEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSE] != null) {\n contents[_RSE] = de_RouteServerEndpoint(output[_rSE], context);\n }\n return contents;\n}, \"de_CreateRouteServerEndpointResult\");\nvar de_CreateRouteServerPeerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSP] != null) {\n contents[_RSP] = de_RouteServerPeer(output[_rSP], context);\n }\n return contents;\n}, \"de_CreateRouteServerPeerResult\");\nvar de_CreateRouteServerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSo] != null) {\n contents[_RSo] = de_RouteServer(output[_rSo], context);\n }\n return contents;\n}, \"de_CreateRouteServerResult\");\nvar de_CreateRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rTo] != null) {\n contents[_RTo] = de_RouteTable(output[_rTo], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateRouteTableResult\");\nvar de_CreateSecurityGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sGA] != null) {\n contents[_SGA] = (0, import_smithy_client.expectString)(output[_sGA]);\n }\n return contents;\n}, \"de_CreateSecurityGroupResult\");\nvar de_CreateSnapshotsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.snapshotSet === \"\") {\n contents[_Sn] = [];\n } else if (output[_sS] != null && output[_sS][_i] != null) {\n contents[_Sn] = de_SnapshotSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context);\n }\n return contents;\n}, \"de_CreateSnapshotsResult\");\nvar de_CreateSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sDS] != null) {\n contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context);\n }\n return contents;\n}, \"de_CreateSpotDatafeedSubscriptionResult\");\nvar de_CreateStoreImageTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oK] != null) {\n contents[_OK] = (0, import_smithy_client.expectString)(output[_oK]);\n }\n return contents;\n}, \"de_CreateStoreImageTaskResult\");\nvar de_CreateSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCRu] != null) {\n contents[_SCRu] = de_SubnetCidrReservation(output[_sCRu], context);\n }\n return contents;\n}, \"de_CreateSubnetCidrReservationResult\");\nvar de_CreateSubnetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_su] != null) {\n contents[_Su] = de_Subnet(output[_su], context);\n }\n return contents;\n}, \"de_CreateSubnetResult\");\nvar de_CreateTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMF] != null) {\n contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateTrafficMirrorFilterResult\");\nvar de_CreateTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFR] != null) {\n contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateTrafficMirrorFilterRuleResult\");\nvar de_CreateTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMS] != null) {\n contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateTrafficMirrorSessionResult\");\nvar de_CreateTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMT] != null) {\n contents[_TMT] = de_TrafficMirrorTarget(output[_tMT], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateTrafficMirrorTargetResult\");\nvar de_CreateTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGCP] != null) {\n contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayConnectPeerResult\");\nvar de_CreateTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGC] != null) {\n contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayConnectResult\");\nvar de_CreateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMD] != null) {\n contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayMulticastDomainResult\");\nvar de_CreateTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPA] != null) {\n contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayPeeringAttachmentResult\");\nvar de_CreateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPT] != null) {\n contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayPolicyTableResult\");\nvar de_CreateTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPLR] != null) {\n contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayPrefixListReferenceResult\");\nvar de_CreateTransitGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tG] != null) {\n contents[_TGr] = de_TransitGateway(output[_tG], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayResult\");\nvar de_CreateTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayRouteResult\");\nvar de_CreateTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTA] != null) {\n contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayRouteTableAnnouncementResult\");\nvar de_CreateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRT] != null) {\n contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayRouteTableResult\");\nvar de_CreateTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGVA] != null) {\n contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context);\n }\n return contents;\n}, \"de_CreateTransitGatewayVpcAttachmentResult\");\nvar de_CreateVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAE] != null) {\n contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context);\n }\n return contents;\n}, \"de_CreateVerifiedAccessEndpointResult\");\nvar de_CreateVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAG] != null) {\n contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context);\n }\n return contents;\n}, \"de_CreateVerifiedAccessGroupResult\");\nvar de_CreateVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAI] != null) {\n contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context);\n }\n return contents;\n}, \"de_CreateVerifiedAccessInstanceResult\");\nvar de_CreateVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATP] != null) {\n contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context);\n }\n return contents;\n}, \"de_CreateVerifiedAccessTrustProviderResult\");\nvar de_CreateVolumePermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_uI] != null) {\n contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]);\n }\n if (output[_g] != null) {\n contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]);\n }\n return contents;\n}, \"de_CreateVolumePermission\");\nvar de_CreateVolumePermissionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CreateVolumePermission(entry, context);\n });\n}, \"de_CreateVolumePermissionList\");\nvar de_CreateVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vBPAE] != null) {\n contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context);\n }\n return contents;\n}, \"de_CreateVpcBlockPublicAccessExclusionResult\");\nvar de_CreateVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cNo] != null) {\n contents[_CNo] = de_ConnectionNotification(output[_cNo], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateVpcEndpointConnectionNotificationResult\");\nvar de_CreateVpcEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vE] != null) {\n contents[_VE] = de_VpcEndpoint(output[_vE], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateVpcEndpointResult\");\nvar de_CreateVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sC] != null) {\n contents[_SCe] = de_ServiceConfiguration(output[_sC], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_CreateVpcEndpointServiceConfigurationResult\");\nvar de_CreateVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vPC] != null) {\n contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context);\n }\n return contents;\n}, \"de_CreateVpcPeeringConnectionResult\");\nvar de_CreateVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vp] != null) {\n contents[_Vp] = de_Vpc(output[_vp], context);\n }\n return contents;\n}, \"de_CreateVpcResult\");\nvar de_CreateVpnConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vC] != null) {\n contents[_VC] = de_VpnConnection(output[_vC], context);\n }\n return contents;\n}, \"de_CreateVpnConnectionResult\");\nvar de_CreateVpnGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vG] != null) {\n contents[_VG] = de_VpnGateway(output[_vG], context);\n }\n return contents;\n}, \"de_CreateVpnGatewayResult\");\nvar de_CreditSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCp] != null) {\n contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]);\n }\n return contents;\n}, \"de_CreditSpecification\");\nvar de_CustomerGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cAe] != null) {\n contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]);\n }\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_bAE] != null) {\n contents[_BAE] = (0, import_smithy_client.expectString)(output[_bAE]);\n }\n if (output[_cGIu] != null) {\n contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_iAp] != null) {\n contents[_IAp] = (0, import_smithy_client.expectString)(output[_iAp]);\n }\n if (output[_bA] != null) {\n contents[_BA] = (0, import_smithy_client.expectString)(output[_bA]);\n }\n return contents;\n}, \"de_CustomerGateway\");\nvar de_CustomerGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CustomerGateway(entry, context);\n });\n}, \"de_CustomerGatewayList\");\nvar de_DataResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_id]);\n }\n if (output[_s] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_s]);\n }\n if (output[_d] != null) {\n contents[_D] = (0, import_smithy_client.expectString)(output[_d]);\n }\n if (output[_met] != null) {\n contents[_Met] = (0, import_smithy_client.expectString)(output[_met]);\n }\n if (output[_stat] != null) {\n contents[_Sta] = (0, import_smithy_client.expectString)(output[_stat]);\n }\n if (output[_pe] != null) {\n contents[_Per] = (0, import_smithy_client.expectString)(output[_pe]);\n }\n if (output.metricPointSet === \"\") {\n contents[_MPe] = [];\n } else if (output[_mPS] != null && output[_mPS][_i] != null) {\n contents[_MPe] = de_MetricPoints((0, import_smithy_client.getArrayIfSingleItem)(output[_mPS][_i]), context);\n }\n return contents;\n}, \"de_DataResponse\");\nvar de_DataResponses = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DataResponse(entry, context);\n });\n}, \"de_DataResponses\");\nvar de_DeclarativePoliciesReport = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rI] != null) {\n contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]);\n }\n if (output[_sB] != null) {\n contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]);\n }\n if (output[_sP] != null) {\n contents[_SP] = (0, import_smithy_client.expectString)(output[_sP]);\n }\n if (output[_tI] != null) {\n contents[_TIa] = (0, import_smithy_client.expectString)(output[_tI]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_eTn] != null) {\n contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn]));\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_DeclarativePoliciesReport\");\nvar de_DeclarativePoliciesReportList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DeclarativePoliciesReport(entry, context);\n });\n}, \"de_DeclarativePoliciesReportList\");\nvar de_DedicatedHostIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_DedicatedHostIdList\");\nvar de_DeleteCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cG] != null) {\n contents[_CG] = de_CarrierGateway(output[_cG], context);\n }\n return contents;\n}, \"de_DeleteCarrierGatewayResult\");\nvar de_DeleteClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context);\n }\n return contents;\n}, \"de_DeleteClientVpnEndpointResult\");\nvar de_DeleteClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context);\n }\n return contents;\n}, \"de_DeleteClientVpnRouteResult\");\nvar de_DeleteCoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCoi] != null) {\n contents[_CCo] = de_CoipCidr(output[_cCoi], context);\n }\n return contents;\n}, \"de_DeleteCoipCidrResult\");\nvar de_DeleteCoipPoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cP] != null) {\n contents[_CP] = de_CoipPool(output[_cP], context);\n }\n return contents;\n}, \"de_DeleteCoipPoolResult\");\nvar de_DeleteEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rC] != null) {\n contents[_RCet] = (0, import_smithy_client.parseBoolean)(output[_rC]);\n }\n return contents;\n}, \"de_DeleteEgressOnlyInternetGatewayResult\");\nvar de_DeleteFleetError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_DeleteFleetError\");\nvar de_DeleteFleetErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_er] != null) {\n contents[_Er] = de_DeleteFleetError(output[_er], context);\n }\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n return contents;\n}, \"de_DeleteFleetErrorItem\");\nvar de_DeleteFleetErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DeleteFleetErrorItem(entry, context);\n });\n}, \"de_DeleteFleetErrorSet\");\nvar de_DeleteFleetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfulFleetDeletionSet === \"\") {\n contents[_SFD] = [];\n } else if (output[_sFDS] != null && output[_sFDS][_i] != null) {\n contents[_SFD] = de_DeleteFleetSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFDS][_i]), context);\n }\n if (output.unsuccessfulFleetDeletionSet === \"\") {\n contents[_UFD] = [];\n } else if (output[_uFDS] != null && output[_uFDS][_i] != null) {\n contents[_UFD] = de_DeleteFleetErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFDS][_i]), context);\n }\n return contents;\n}, \"de_DeleteFleetsResult\");\nvar de_DeleteFleetSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cFS] != null) {\n contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]);\n }\n if (output[_pFS] != null) {\n contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]);\n }\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n return contents;\n}, \"de_DeleteFleetSuccessItem\");\nvar de_DeleteFleetSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DeleteFleetSuccessItem(entry, context);\n });\n}, \"de_DeleteFleetSuccessSet\");\nvar de_DeleteFlowLogsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_DeleteFlowLogsResult\");\nvar de_DeleteFpgaImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DeleteFpgaImageResult\");\nvar de_DeleteInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCE] != null) {\n contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context);\n }\n return contents;\n}, \"de_DeleteInstanceConnectEndpointResult\");\nvar de_DeleteInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEWS] != null) {\n contents[_IEWS] = de_InstanceEventWindowStateChange(output[_iEWS], context);\n }\n return contents;\n}, \"de_DeleteInstanceEventWindowResult\");\nvar de_DeleteIpamExternalResourceVerificationTokenResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iERVT] != null) {\n contents[_IERVT] = de_IpamExternalResourceVerificationToken(output[_iERVT], context);\n }\n return contents;\n}, \"de_DeleteIpamExternalResourceVerificationTokenResult\");\nvar de_DeleteIpamPoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPp] != null) {\n contents[_IPpa] = de_IpamPool(output[_iPp], context);\n }\n return contents;\n}, \"de_DeleteIpamPoolResult\");\nvar de_DeleteIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRD] != null) {\n contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context);\n }\n return contents;\n}, \"de_DeleteIpamResourceDiscoveryResult\");\nvar de_DeleteIpamResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ip] != null) {\n contents[_Ipa] = de_Ipam(output[_ip], context);\n }\n return contents;\n}, \"de_DeleteIpamResult\");\nvar de_DeleteIpamScopeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iS] != null) {\n contents[_ISpa] = de_IpamScope(output[_iS], context);\n }\n return contents;\n}, \"de_DeleteIpamScopeResult\");\nvar de_DeleteKeyPairResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output[_kPI] != null) {\n contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]);\n }\n return contents;\n}, \"de_DeleteKeyPairResult\");\nvar de_DeleteLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lT] != null) {\n contents[_LTa] = de_LaunchTemplate(output[_lT], context);\n }\n return contents;\n}, \"de_DeleteLaunchTemplateResult\");\nvar de_DeleteLaunchTemplateVersionsResponseErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_vNe] != null) {\n contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]);\n }\n if (output[_rE] != null) {\n contents[_REes] = de_ResponseError(output[_rE], context);\n }\n return contents;\n}, \"de_DeleteLaunchTemplateVersionsResponseErrorItem\");\nvar de_DeleteLaunchTemplateVersionsResponseErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DeleteLaunchTemplateVersionsResponseErrorItem(entry, context);\n });\n}, \"de_DeleteLaunchTemplateVersionsResponseErrorSet\");\nvar de_DeleteLaunchTemplateVersionsResponseSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_vNe] != null) {\n contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]);\n }\n return contents;\n}, \"de_DeleteLaunchTemplateVersionsResponseSuccessItem\");\nvar de_DeleteLaunchTemplateVersionsResponseSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DeleteLaunchTemplateVersionsResponseSuccessItem(entry, context);\n });\n}, \"de_DeleteLaunchTemplateVersionsResponseSuccessSet\");\nvar de_DeleteLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfullyDeletedLaunchTemplateVersionSet === \"\") {\n contents[_SDLTV] = [];\n } else if (output[_sDLTVS] != null && output[_sDLTVS][_i] != null) {\n contents[_SDLTV] = de_DeleteLaunchTemplateVersionsResponseSuccessSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_sDLTVS][_i]),\n context\n );\n }\n if (output.unsuccessfullyDeletedLaunchTemplateVersionSet === \"\") {\n contents[_UDLTV] = [];\n } else if (output[_uDLTVS] != null && output[_uDLTVS][_i] != null) {\n contents[_UDLTV] = de_DeleteLaunchTemplateVersionsResponseErrorSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_uDLTVS][_i]),\n context\n );\n }\n return contents;\n}, \"de_DeleteLaunchTemplateVersionsResult\");\nvar de_DeleteLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayRouteResult\");\nvar de_DeleteLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRT] != null) {\n contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayRouteTableResult\");\nvar de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVIGA] != null) {\n contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult\");\nvar de_DeleteLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVA] != null) {\n contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayRouteTableVpcAssociationResult\");\nvar de_DeleteLocalGatewayVirtualInterfaceGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVIG] != null) {\n contents[_LGVIG] = de_LocalGatewayVirtualInterfaceGroup(output[_lGVIG], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayVirtualInterfaceGroupResult\");\nvar de_DeleteLocalGatewayVirtualInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVI] != null) {\n contents[_LGVI] = de_LocalGatewayVirtualInterface(output[_lGVI], context);\n }\n return contents;\n}, \"de_DeleteLocalGatewayVirtualInterfaceResult\");\nvar de_DeleteManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pL] != null) {\n contents[_PLr] = de_ManagedPrefixList(output[_pL], context);\n }\n return contents;\n}, \"de_DeleteManagedPrefixListResult\");\nvar de_DeleteNatGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n return contents;\n}, \"de_DeleteNatGatewayResult\");\nvar de_DeleteNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASAI] != null) {\n contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]);\n }\n return contents;\n}, \"de_DeleteNetworkInsightsAccessScopeAnalysisResult\");\nvar de_DeleteNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASI] != null) {\n contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]);\n }\n return contents;\n}, \"de_DeleteNetworkInsightsAccessScopeResult\");\nvar de_DeleteNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIAI] != null) {\n contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]);\n }\n return contents;\n}, \"de_DeleteNetworkInsightsAnalysisResult\");\nvar de_DeleteNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIPI] != null) {\n contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]);\n }\n return contents;\n}, \"de_DeleteNetworkInsightsPathResult\");\nvar de_DeleteNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DeleteNetworkInterfacePermissionResult\");\nvar de_DeletePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rV] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]);\n }\n return contents;\n}, \"de_DeletePublicIpv4PoolResult\");\nvar de_DeleteQueuedReservedInstancesError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_DeleteQueuedReservedInstancesError\");\nvar de_DeleteQueuedReservedInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfulQueuedPurchaseDeletionSet === \"\") {\n contents[_SQPD] = [];\n } else if (output[_sQPDS] != null && output[_sQPDS][_i] != null) {\n contents[_SQPD] = de_SuccessfulQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sQPDS][_i]), context);\n }\n if (output.failedQueuedPurchaseDeletionSet === \"\") {\n contents[_FQPD] = [];\n } else if (output[_fQPDS] != null && output[_fQPDS][_i] != null) {\n contents[_FQPD] = de_FailedQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fQPDS][_i]), context);\n }\n return contents;\n}, \"de_DeleteQueuedReservedInstancesResult\");\nvar de_DeleteRouteServerEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSE] != null) {\n contents[_RSE] = de_RouteServerEndpoint(output[_rSE], context);\n }\n return contents;\n}, \"de_DeleteRouteServerEndpointResult\");\nvar de_DeleteRouteServerPeerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSP] != null) {\n contents[_RSP] = de_RouteServerPeer(output[_rSP], context);\n }\n return contents;\n}, \"de_DeleteRouteServerPeerResult\");\nvar de_DeleteRouteServerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSo] != null) {\n contents[_RSo] = de_RouteServer(output[_rSo], context);\n }\n return contents;\n}, \"de_DeleteRouteServerResult\");\nvar de_DeleteSecurityGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n return contents;\n}, \"de_DeleteSecurityGroupResult\");\nvar de_DeleteSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dSCR] != null) {\n contents[_DSCRe] = de_SubnetCidrReservation(output[_dSCR], context);\n }\n return contents;\n}, \"de_DeleteSubnetCidrReservationResult\");\nvar de_DeleteTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFI] != null) {\n contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]);\n }\n return contents;\n}, \"de_DeleteTrafficMirrorFilterResult\");\nvar de_DeleteTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFRI] != null) {\n contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]);\n }\n return contents;\n}, \"de_DeleteTrafficMirrorFilterRuleResult\");\nvar de_DeleteTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMSI] != null) {\n contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]);\n }\n return contents;\n}, \"de_DeleteTrafficMirrorSessionResult\");\nvar de_DeleteTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMTI] != null) {\n contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]);\n }\n return contents;\n}, \"de_DeleteTrafficMirrorTargetResult\");\nvar de_DeleteTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGCP] != null) {\n contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayConnectPeerResult\");\nvar de_DeleteTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGC] != null) {\n contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayConnectResult\");\nvar de_DeleteTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMD] != null) {\n contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayMulticastDomainResult\");\nvar de_DeleteTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPA] != null) {\n contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayPeeringAttachmentResult\");\nvar de_DeleteTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPT] != null) {\n contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayPolicyTableResult\");\nvar de_DeleteTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPLR] != null) {\n contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayPrefixListReferenceResult\");\nvar de_DeleteTransitGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tG] != null) {\n contents[_TGr] = de_TransitGateway(output[_tG], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayResult\");\nvar de_DeleteTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayRouteResult\");\nvar de_DeleteTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTA] != null) {\n contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayRouteTableAnnouncementResult\");\nvar de_DeleteTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRT] != null) {\n contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayRouteTableResult\");\nvar de_DeleteTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGVA] != null) {\n contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context);\n }\n return contents;\n}, \"de_DeleteTransitGatewayVpcAttachmentResult\");\nvar de_DeleteVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAE] != null) {\n contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context);\n }\n return contents;\n}, \"de_DeleteVerifiedAccessEndpointResult\");\nvar de_DeleteVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAG] != null) {\n contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context);\n }\n return contents;\n}, \"de_DeleteVerifiedAccessGroupResult\");\nvar de_DeleteVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAI] != null) {\n contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context);\n }\n return contents;\n}, \"de_DeleteVerifiedAccessInstanceResult\");\nvar de_DeleteVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATP] != null) {\n contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context);\n }\n return contents;\n}, \"de_DeleteVerifiedAccessTrustProviderResult\");\nvar de_DeleteVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vBPAE] != null) {\n contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context);\n }\n return contents;\n}, \"de_DeleteVpcBlockPublicAccessExclusionResult\");\nvar de_DeleteVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_DeleteVpcEndpointConnectionNotificationsResult\");\nvar de_DeleteVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_DeleteVpcEndpointServiceConfigurationsResult\");\nvar de_DeleteVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_DeleteVpcEndpointsResult\");\nvar de_DeleteVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DeleteVpcPeeringConnectionResult\");\nvar de_DeprovisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bC] != null) {\n contents[_BC] = de_ByoipCidr(output[_bC], context);\n }\n return contents;\n}, \"de_DeprovisionByoipCidrResult\");\nvar de_DeprovisionedAddressSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_DeprovisionedAddressSet\");\nvar de_DeprovisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_b] != null) {\n contents[_Byo] = de_Byoasn(output[_b], context);\n }\n return contents;\n}, \"de_DeprovisionIpamByoasnResult\");\nvar de_DeprovisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPC] != null) {\n contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context);\n }\n return contents;\n}, \"de_DeprovisionIpamPoolCidrResult\");\nvar de_DeprovisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n if (output.deprovisionedAddressSet === \"\") {\n contents[_DAep] = [];\n } else if (output[_dASe] != null && output[_dASe][_i] != null) {\n contents[_DAep] = de_DeprovisionedAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_dASe][_i]), context);\n }\n return contents;\n}, \"de_DeprovisionPublicIpv4PoolCidrResult\");\nvar de_DeregisterImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n return contents;\n}, \"de_DeregisterImageResult\");\nvar de_DeregisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iTA] != null) {\n contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context);\n }\n return contents;\n}, \"de_DeregisterInstanceEventNotificationAttributesResult\");\nvar de_DeregisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dMGM] != null) {\n contents[_DMGM] = de_TransitGatewayMulticastDeregisteredGroupMembers(output[_dMGM], context);\n }\n return contents;\n}, \"de_DeregisterTransitGatewayMulticastGroupMembersResult\");\nvar de_DeregisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dMGS] != null) {\n contents[_DMGS] = de_TransitGatewayMulticastDeregisteredGroupSources(output[_dMGS], context);\n }\n return contents;\n}, \"de_DeregisterTransitGatewayMulticastGroupSourcesResult\");\nvar de_DescribeAccountAttributesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.accountAttributeSet === \"\") {\n contents[_AAcc] = [];\n } else if (output[_aASc] != null && output[_aASc][_i] != null) {\n contents[_AAcc] = de_AccountAttributeList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASc][_i]), context);\n }\n return contents;\n}, \"de_DescribeAccountAttributesResult\");\nvar de_DescribeAddressesAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.addressSet === \"\") {\n contents[_Addr] = [];\n } else if (output[_aSd] != null && output[_aSd][_i] != null) {\n contents[_Addr] = de_AddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeAddressesAttributeResult\");\nvar de_DescribeAddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.addressesSet === \"\") {\n contents[_Addr] = [];\n } else if (output[_aSdd] != null && output[_aSdd][_i] != null) {\n contents[_Addr] = de_AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSdd][_i]), context);\n }\n return contents;\n}, \"de_DescribeAddressesResult\");\nvar de_DescribeAddressTransfersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.addressTransferSet === \"\") {\n contents[_ATddr] = [];\n } else if (output[_aTSd] != null && output[_aTSd][_i] != null) {\n contents[_ATddr] = de_AddressTransferList((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSd][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeAddressTransfersResult\");\nvar de_DescribeAggregateIdFormatResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_uLIA] != null) {\n contents[_ULIA] = (0, import_smithy_client.parseBoolean)(output[_uLIA]);\n }\n if (output.statusSet === \"\") {\n contents[_Status] = [];\n } else if (output[_sSt] != null && output[_sSt][_i] != null) {\n contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context);\n }\n return contents;\n}, \"de_DescribeAggregateIdFormatResult\");\nvar de_DescribeAvailabilityZonesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.availabilityZoneInfo === \"\") {\n contents[_AZv] = [];\n } else if (output[_aZIv] != null && output[_aZIv][_i] != null) {\n contents[_AZv] = de_AvailabilityZoneList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZIv][_i]), context);\n }\n return contents;\n}, \"de_DescribeAvailabilityZonesResult\");\nvar de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.subscriptionSet === \"\") {\n contents[_Sub] = [];\n } else if (output[_sSu] != null && output[_sSu][_i] != null) {\n contents[_Sub] = de_SubscriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSu][_i]), context);\n }\n return contents;\n}, \"de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult\");\nvar de_DescribeBundleTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.bundleInstanceTasksSet === \"\") {\n contents[_BTun] = [];\n } else if (output[_bITS] != null && output[_bITS][_i] != null) {\n contents[_BTun] = de_BundleTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_bITS][_i]), context);\n }\n return contents;\n}, \"de_DescribeBundleTasksResult\");\nvar de_DescribeByoipCidrsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.byoipCidrSet === \"\") {\n contents[_BCy] = [];\n } else if (output[_bCS] != null && output[_bCS][_i] != null) {\n contents[_BCy] = de_ByoipCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeByoipCidrsResult\");\nvar de_DescribeCapacityBlockExtensionHistoryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.capacityBlockExtensionSet === \"\") {\n contents[_CBE] = [];\n } else if (output[_cBESa] != null && output[_cBESa][_i] != null) {\n contents[_CBE] = de_CapacityBlockExtensionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBESa][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCapacityBlockExtensionHistoryResult\");\nvar de_DescribeCapacityBlockExtensionOfferingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.capacityBlockExtensionOfferingSet === \"\") {\n contents[_CBEO] = [];\n } else if (output[_cBEOS] != null && output[_cBEOS][_i] != null) {\n contents[_CBEO] = de_CapacityBlockExtensionOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBEOS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCapacityBlockExtensionOfferingsResult\");\nvar de_DescribeCapacityBlockOfferingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.capacityBlockOfferingSet === \"\") {\n contents[_CBO] = [];\n } else if (output[_cBOS] != null && output[_cBOS][_i] != null) {\n contents[_CBO] = de_CapacityBlockOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBOS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCapacityBlockOfferingsResult\");\nvar de_DescribeCapacityReservationBillingRequestsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.capacityReservationBillingRequestSet === \"\") {\n contents[_CRBR] = [];\n } else if (output[_cRBRS] != null && output[_cRBRS][_i] != null) {\n contents[_CRBR] = de_CapacityReservationBillingRequestSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRBRS][_i]), context);\n }\n return contents;\n}, \"de_DescribeCapacityReservationBillingRequestsResult\");\nvar de_DescribeCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.capacityReservationFleetSet === \"\") {\n contents[_CRF] = [];\n } else if (output[_cRFS] != null && output[_cRFS][_i] != null) {\n contents[_CRF] = de_CapacityReservationFleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRFS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCapacityReservationFleetsResult\");\nvar de_DescribeCapacityReservationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.capacityReservationSet === \"\") {\n contents[_CRapac] = [];\n } else if (output[_cRS] != null && output[_cRS][_i] != null) {\n contents[_CRapac] = de_CapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRS][_i]), context);\n }\n return contents;\n}, \"de_DescribeCapacityReservationsResult\");\nvar de_DescribeCarrierGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.carrierGatewaySet === \"\") {\n contents[_CGa] = [];\n } else if (output[_cGS] != null && output[_cGS][_i] != null) {\n contents[_CGa] = de_CarrierGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_cGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCarrierGatewaysResult\");\nvar de_DescribeClassicLinkInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_In] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_In] = de_ClassicLinkInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClassicLinkInstancesResult\");\nvar de_DescribeClientVpnAuthorizationRulesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.authorizationRule === \"\") {\n contents[_ARut] = [];\n } else if (output[_aR] != null && output[_aR][_i] != null) {\n contents[_ARut] = de_AuthorizationRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aR][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClientVpnAuthorizationRulesResult\");\nvar de_DescribeClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.connections === \"\") {\n contents[_Conn] = [];\n } else if (output[_con] != null && output[_con][_i] != null) {\n contents[_Conn] = de_ClientVpnConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_con][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClientVpnConnectionsResult\");\nvar de_DescribeClientVpnEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.clientVpnEndpoint === \"\") {\n contents[_CVEl] = [];\n } else if (output[_cVE] != null && output[_cVE][_i] != null) {\n contents[_CVEl] = de_EndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVE][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClientVpnEndpointsResult\");\nvar de_DescribeClientVpnRoutesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routes === \"\") {\n contents[_Rout] = [];\n } else if (output[_rou] != null && output[_rou][_i] != null) {\n contents[_Rout] = de_ClientVpnRouteSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClientVpnRoutesResult\");\nvar de_DescribeClientVpnTargetNetworksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.clientVpnTargetNetworks === \"\") {\n contents[_CVTN] = [];\n } else if (output[_cVTN] != null && output[_cVTN][_i] != null) {\n contents[_CVTN] = de_TargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVTN][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeClientVpnTargetNetworksResult\");\nvar de_DescribeCoipPoolsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.coipPoolSet === \"\") {\n contents[_CPo] = [];\n } else if (output[_cPS] != null && output[_cPS][_i] != null) {\n contents[_CPo] = de_CoipPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeCoipPoolsResult\");\nvar de_DescribeConversionTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ConversionTask(entry, context);\n });\n}, \"de_DescribeConversionTaskList\");\nvar de_DescribeConversionTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.conversionTasks === \"\") {\n contents[_CTon] = [];\n } else if (output[_cTo] != null && output[_cTo][_i] != null) {\n contents[_CTon] = de_DescribeConversionTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_cTo][_i]), context);\n }\n return contents;\n}, \"de_DescribeConversionTasksResult\");\nvar de_DescribeCustomerGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.customerGatewaySet === \"\") {\n contents[_CGus] = [];\n } else if (output[_cGSu] != null && output[_cGSu][_i] != null) {\n contents[_CGus] = de_CustomerGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_cGSu][_i]), context);\n }\n return contents;\n}, \"de_DescribeCustomerGatewaysResult\");\nvar de_DescribeDeclarativePoliciesReportsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.reportSet === \"\") {\n contents[_Rep] = [];\n } else if (output[_rSe] != null && output[_rSe][_i] != null) {\n contents[_Rep] = de_DeclarativePoliciesReportList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSe][_i]), context);\n }\n return contents;\n}, \"de_DescribeDeclarativePoliciesReportsResult\");\nvar de_DescribeDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.dhcpOptionsSet === \"\") {\n contents[_DOh] = [];\n } else if (output[_dOS] != null && output[_dOS][_i] != null) {\n contents[_DOh] = de_DhcpOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_dOS][_i]), context);\n }\n return contents;\n}, \"de_DescribeDhcpOptionsResult\");\nvar de_DescribeEgressOnlyInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.egressOnlyInternetGatewaySet === \"\") {\n contents[_EOIGg] = [];\n } else if (output[_eOIGS] != null && output[_eOIGS][_i] != null) {\n contents[_EOIGg] = de_EgressOnlyInternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_eOIGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeEgressOnlyInternetGatewaysResult\");\nvar de_DescribeElasticGpusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.elasticGpuSet === \"\") {\n contents[_EGSla] = [];\n } else if (output[_eGS] != null && output[_eGS][_i] != null) {\n contents[_EGSla] = de_ElasticGpuSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eGS][_i]), context);\n }\n if (output[_mR] != null) {\n contents[_MR] = (0, import_smithy_client.strictParseInt32)(output[_mR]);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeElasticGpusResult\");\nvar de_DescribeExportImageTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.exportImageTaskSet === \"\") {\n contents[_EITx] = [];\n } else if (output[_eITS] != null && output[_eITS][_i] != null) {\n contents[_EITx] = de_ExportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eITS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeExportImageTasksResult\");\nvar de_DescribeExportTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.exportTaskSet === \"\") {\n contents[_ETxpo] = [];\n } else if (output[_eTS] != null && output[_eTS][_i] != null) {\n contents[_ETxpo] = de_ExportTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTS][_i]), context);\n }\n return contents;\n}, \"de_DescribeExportTasksResult\");\nvar de_DescribeFastLaunchImagesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.fastLaunchImageSet === \"\") {\n contents[_FLIa] = [];\n } else if (output[_fLISa] != null && output[_fLISa][_i] != null) {\n contents[_FLIa] = de_DescribeFastLaunchImagesSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLISa][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeFastLaunchImagesResult\");\nvar de_DescribeFastLaunchImagesSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_sCn] != null) {\n contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context);\n }\n if (output[_lT] != null) {\n contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context);\n }\n if (output[_mPL] != null) {\n contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_sTT] != null) {\n contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT]));\n }\n return contents;\n}, \"de_DescribeFastLaunchImagesSuccessItem\");\nvar de_DescribeFastLaunchImagesSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DescribeFastLaunchImagesSuccessItem(entry, context);\n });\n}, \"de_DescribeFastLaunchImagesSuccessSet\");\nvar de_DescribeFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.fastSnapshotRestoreSet === \"\") {\n contents[_FSR] = [];\n } else if (output[_fSRS] != null && output[_fSRS][_i] != null) {\n contents[_FSR] = de_DescribeFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeFastSnapshotRestoresResult\");\nvar de_DescribeFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_oAw] != null) {\n contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]);\n }\n if (output[_eTna] != null) {\n contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna]));\n }\n if (output[_oT] != null) {\n contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT]));\n }\n if (output[_eTnab] != null) {\n contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab]));\n }\n if (output[_dTi] != null) {\n contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi]));\n }\n if (output[_dTis] != null) {\n contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis]));\n }\n return contents;\n}, \"de_DescribeFastSnapshotRestoreSuccessItem\");\nvar de_DescribeFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DescribeFastSnapshotRestoreSuccessItem(entry, context);\n });\n}, \"de_DescribeFastSnapshotRestoreSuccessSet\");\nvar de_DescribeFleetError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTAO] != null) {\n contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context);\n }\n if (output[_l] != null) {\n contents[_Li] = (0, import_smithy_client.expectString)(output[_l]);\n }\n if (output[_eC] != null) {\n contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]);\n }\n if (output[_eM] != null) {\n contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]);\n }\n return contents;\n}, \"de_DescribeFleetError\");\nvar de_DescribeFleetHistoryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.historyRecordSet === \"\") {\n contents[_HRi] = [];\n } else if (output[_hRS] != null && output[_hRS][_i] != null) {\n contents[_HRi] = de_HistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context);\n }\n if (output[_lET] != null) {\n contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET]));\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n return contents;\n}, \"de_DescribeFleetHistoryResult\");\nvar de_DescribeFleetInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.activeInstanceSet === \"\") {\n contents[_AIc] = [];\n } else if (output[_aIS] != null && output[_aIS][_i] != null) {\n contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n return contents;\n}, \"de_DescribeFleetInstancesResult\");\nvar de_DescribeFleetsErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DescribeFleetError(entry, context);\n });\n}, \"de_DescribeFleetsErrorSet\");\nvar de_DescribeFleetsInstances = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTAO] != null) {\n contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context);\n }\n if (output[_l] != null) {\n contents[_Li] = (0, import_smithy_client.expectString)(output[_l]);\n }\n if (output.instanceIds === \"\") {\n contents[_IIns] = [];\n } else if (output[_iIn] != null && output[_iIn][_i] != null) {\n contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n return contents;\n}, \"de_DescribeFleetsInstances\");\nvar de_DescribeFleetsInstancesSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DescribeFleetsInstances(entry, context);\n });\n}, \"de_DescribeFleetsInstancesSet\");\nvar de_DescribeFleetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.fleetSet === \"\") {\n contents[_Fl] = [];\n } else if (output[_fS] != null && output[_fS][_i] != null) {\n contents[_Fl] = de_FleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fS][_i]), context);\n }\n return contents;\n}, \"de_DescribeFleetsResult\");\nvar de_DescribeFlowLogsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.flowLogSet === \"\") {\n contents[_FL] = [];\n } else if (output[_fLS] != null && output[_fLS][_i] != null) {\n contents[_FL] = de_FlowLogSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeFlowLogsResult\");\nvar de_DescribeFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fIA] != null) {\n contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context);\n }\n return contents;\n}, \"de_DescribeFpgaImageAttributeResult\");\nvar de_DescribeFpgaImagesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.fpgaImageSet === \"\") {\n contents[_FIp] = [];\n } else if (output[_fISp] != null && output[_fISp][_i] != null) {\n contents[_FIp] = de_FpgaImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_fISp][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeFpgaImagesResult\");\nvar de_DescribeHostReservationOfferingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.offeringSet === \"\") {\n contents[_OS] = [];\n } else if (output[_oS] != null && output[_oS][_i] != null) {\n contents[_OS] = de_HostOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oS][_i]), context);\n }\n return contents;\n}, \"de_DescribeHostReservationOfferingsResult\");\nvar de_DescribeHostReservationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.hostReservationSet === \"\") {\n contents[_HRS] = [];\n } else if (output[_hRSo] != null && output[_hRSo][_i] != null) {\n contents[_HRS] = de_HostReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRSo][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeHostReservationsResult\");\nvar de_DescribeHostsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.hostSet === \"\") {\n contents[_Ho] = [];\n } else if (output[_hS] != null && output[_hS][_i] != null) {\n contents[_Ho] = de_HostList((0, import_smithy_client.getArrayIfSingleItem)(output[_hS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeHostsResult\");\nvar de_DescribeIamInstanceProfileAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.iamInstanceProfileAssociationSet === \"\") {\n contents[_IIPAa] = [];\n } else if (output[_iIPAS] != null && output[_iIPAS][_i] != null) {\n contents[_IIPAa] = de_IamInstanceProfileAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIPAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeIamInstanceProfileAssociationsResult\");\nvar de_DescribeIdentityIdFormatResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.statusSet === \"\") {\n contents[_Status] = [];\n } else if (output[_sSt] != null && output[_sSt][_i] != null) {\n contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context);\n }\n return contents;\n}, \"de_DescribeIdentityIdFormatResult\");\nvar de_DescribeIdFormatResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.statusSet === \"\") {\n contents[_Status] = [];\n } else if (output[_sSt] != null && output[_sSt][_i] != null) {\n contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context);\n }\n return contents;\n}, \"de_DescribeIdFormatResult\");\nvar de_DescribeImagesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.imagesSet === \"\") {\n contents[_Ima] = [];\n } else if (output[_iSm] != null && output[_iSm][_i] != null) {\n contents[_Ima] = de_ImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSm][_i]), context);\n }\n return contents;\n}, \"de_DescribeImagesResult\");\nvar de_DescribeImportImageTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.importImageTaskSet === \"\") {\n contents[_IIT] = [];\n } else if (output[_iITS] != null && output[_iITS][_i] != null) {\n contents[_IIT] = de_ImportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iITS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeImportImageTasksResult\");\nvar de_DescribeImportSnapshotTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.importSnapshotTaskSet === \"\") {\n contents[_IST] = [];\n } else if (output[_iSTS] != null && output[_iSTS][_i] != null) {\n contents[_IST] = de_ImportSnapshotTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeImportSnapshotTasksResult\");\nvar de_DescribeInstanceConnectEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceConnectEndpointSet === \"\") {\n contents[_ICEn] = [];\n } else if (output[_iCES] != null && output[_iCES][_i] != null) {\n contents[_ICEn] = de_InstanceConnectEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCES][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceConnectEndpointsResult\");\nvar de_DescribeInstanceCreditSpecificationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceCreditSpecificationSet === \"\") {\n contents[_ICS] = [];\n } else if (output[_iCSS] != null && output[_iCSS][_i] != null) {\n contents[_ICS] = de_InstanceCreditSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCSS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceCreditSpecificationsResult\");\nvar de_DescribeInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iTA] != null) {\n contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context);\n }\n return contents;\n}, \"de_DescribeInstanceEventNotificationAttributesResult\");\nvar de_DescribeInstanceEventWindowsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceEventWindowSet === \"\") {\n contents[_IEWn] = [];\n } else if (output[_iEWSn] != null && output[_iEWSn][_i] != null) {\n contents[_IEWn] = de_InstanceEventWindowSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iEWSn][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceEventWindowsResult\");\nvar de_DescribeInstanceImageMetadataResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceImageMetadataSet === \"\") {\n contents[_IIM] = [];\n } else if (output[_iIMS] != null && output[_iIMS][_i] != null) {\n contents[_IIM] = de_InstanceImageMetadataList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIMS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceImageMetadataResult\");\nvar de_DescribeInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.reservationSet === \"\") {\n contents[_Rese] = [];\n } else if (output[_rSes] != null && output[_rSes][_i] != null) {\n contents[_Rese] = de_ReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSes][_i]), context);\n }\n return contents;\n}, \"de_DescribeInstancesResult\");\nvar de_DescribeInstanceStatusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceStatusSet === \"\") {\n contents[_ISns] = [];\n } else if (output[_iSS] != null && output[_iSS][_i] != null) {\n contents[_ISns] = de_InstanceStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceStatusResult\");\nvar de_DescribeInstanceTopologyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceSet === \"\") {\n contents[_In] = [];\n } else if (output[_iSns] != null && output[_iSns][_i] != null) {\n contents[_In] = de_InstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSns][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceTopologyResult\");\nvar de_DescribeInstanceTypeOfferingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceTypeOfferingSet === \"\") {\n contents[_ITO] = [];\n } else if (output[_iTOS] != null && output[_iTOS][_i] != null) {\n contents[_ITO] = de_InstanceTypeOfferingsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTOS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceTypeOfferingsResult\");\nvar de_DescribeInstanceTypesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceTypeSet === \"\") {\n contents[_ITnst] = [];\n } else if (output[_iTS] != null && output[_iTS][_i] != null) {\n contents[_ITnst] = de_InstanceTypeInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInstanceTypesResult\");\nvar de_DescribeInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.internetGatewaySet === \"\") {\n contents[_IGnt] = [];\n } else if (output[_iGS] != null && output[_iGS][_i] != null) {\n contents[_IGnt] = de_InternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_iGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeInternetGatewaysResult\");\nvar de_DescribeIpamByoasnResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.byoasnSet === \"\") {\n contents[_Byoa] = [];\n } else if (output[_bS] != null && output[_bS][_i] != null) {\n contents[_Byoa] = de_ByoasnSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeIpamByoasnResult\");\nvar de_DescribeIpamExternalResourceVerificationTokensResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.ipamExternalResourceVerificationTokenSet === \"\") {\n contents[_IERVTp] = [];\n } else if (output[_iERVTS] != null && output[_iERVTS][_i] != null) {\n contents[_IERVTp] = de_IpamExternalResourceVerificationTokenSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_iERVTS][_i]),\n context\n );\n }\n return contents;\n}, \"de_DescribeIpamExternalResourceVerificationTokensResult\");\nvar de_DescribeIpamPoolsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.ipamPoolSet === \"\") {\n contents[_IPpam] = [];\n } else if (output[_iPS] != null && output[_iPS][_i] != null) {\n contents[_IPpam] = de_IpamPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPS][_i]), context);\n }\n return contents;\n}, \"de_DescribeIpamPoolsResult\");\nvar de_DescribeIpamResourceDiscoveriesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamResourceDiscoverySet === \"\") {\n contents[_IRDp] = [];\n } else if (output[_iRDS] != null && output[_iRDS][_i] != null) {\n contents[_IRDp] = de_IpamResourceDiscoverySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeIpamResourceDiscoveriesResult\");\nvar de_DescribeIpamResourceDiscoveryAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamResourceDiscoveryAssociationSet === \"\") {\n contents[_IRDAp] = [];\n } else if (output[_iRDAS] != null && output[_iRDAS][_i] != null) {\n contents[_IRDAp] = de_IpamResourceDiscoveryAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeIpamResourceDiscoveryAssociationsResult\");\nvar de_DescribeIpamScopesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.ipamScopeSet === \"\") {\n contents[_ISpam] = [];\n } else if (output[_iSSp] != null && output[_iSSp][_i] != null) {\n contents[_ISpam] = de_IpamScopeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSSp][_i]), context);\n }\n return contents;\n}, \"de_DescribeIpamScopesResult\");\nvar de_DescribeIpamsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.ipamSet === \"\") {\n contents[_Ipam] = [];\n } else if (output[_iSp] != null && output[_iSp][_i] != null) {\n contents[_Ipam] = de_IpamSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSp][_i]), context);\n }\n return contents;\n}, \"de_DescribeIpamsResult\");\nvar de_DescribeIpv6PoolsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipv6PoolSet === \"\") {\n contents[_IPpvo] = [];\n } else if (output[_iPSp] != null && output[_iPSp][_i] != null) {\n contents[_IPpvo] = de_Ipv6PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSp][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeIpv6PoolsResult\");\nvar de_DescribeKeyPairsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.keySet === \"\") {\n contents[_KP] = [];\n } else if (output[_kS] != null && output[_kS][_i] != null) {\n contents[_KP] = de_KeyPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_kS][_i]), context);\n }\n return contents;\n}, \"de_DescribeKeyPairsResult\");\nvar de_DescribeLaunchTemplatesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.launchTemplates === \"\") {\n contents[_LTau] = [];\n } else if (output[_lTa] != null && output[_lTa][_i] != null) {\n contents[_LTau] = de_LaunchTemplateSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTa][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLaunchTemplatesResult\");\nvar de_DescribeLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.launchTemplateVersionSet === \"\") {\n contents[_LTVa] = [];\n } else if (output[_lTVS] != null && output[_lTVS][_i] != null) {\n contents[_LTVa] = de_LaunchTemplateVersionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTVS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLaunchTemplateVersionsResult\");\nvar de_DescribeLocalGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewayRouteTableSet === \"\") {\n contents[_LGRTo] = [];\n } else if (output[_lGRTS] != null && output[_lGRTS][_i] != null) {\n contents[_LGRTo] = de_LocalGatewayRouteTableSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewayRouteTablesResult\");\nvar de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewayRouteTableVirtualInterfaceGroupAssociationSet === \"\") {\n contents[_LGRTVIGAo] = [];\n } else if (output[_lGRTVIGAS] != null && output[_lGRTVIGAS][_i] != null) {\n contents[_LGRTVIGAo] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVIGAS][_i]),\n context\n );\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult\");\nvar de_DescribeLocalGatewayRouteTableVpcAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewayRouteTableVpcAssociationSet === \"\") {\n contents[_LGRTVAo] = [];\n } else if (output[_lGRTVAS] != null && output[_lGRTVAS][_i] != null) {\n contents[_LGRTVAo] = de_LocalGatewayRouteTableVpcAssociationSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVAS][_i]),\n context\n );\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewayRouteTableVpcAssociationsResult\");\nvar de_DescribeLocalGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewaySet === \"\") {\n contents[_LGoc] = [];\n } else if (output[_lGS] != null && output[_lGS][_i] != null) {\n contents[_LGoc] = de_LocalGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewaysResult\");\nvar de_DescribeLocalGatewayVirtualInterfaceGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewayVirtualInterfaceGroupSet === \"\") {\n contents[_LGVIGo] = [];\n } else if (output[_lGVIGS] != null && output[_lGVIGS][_i] != null) {\n contents[_LGVIGo] = de_LocalGatewayVirtualInterfaceGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewayVirtualInterfaceGroupsResult\");\nvar de_DescribeLocalGatewayVirtualInterfacesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.localGatewayVirtualInterfaceSet === \"\") {\n contents[_LGVIo] = [];\n } else if (output[_lGVIS] != null && output[_lGVIS][_i] != null) {\n contents[_LGVIo] = de_LocalGatewayVirtualInterfaceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLocalGatewayVirtualInterfacesResult\");\nvar de_DescribeLockedSnapshotsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.snapshotSet === \"\") {\n contents[_Sn] = [];\n } else if (output[_sS] != null && output[_sS][_i] != null) {\n contents[_Sn] = de_LockedSnapshotsInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeLockedSnapshotsResult\");\nvar de_DescribeMacHostsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.macHostSet === \"\") {\n contents[_MHa] = [];\n } else if (output[_mHS] != null && output[_mHS][_i] != null) {\n contents[_MHa] = de_MacHostList((0, import_smithy_client.getArrayIfSingleItem)(output[_mHS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeMacHostsResult\");\nvar de_DescribeManagedPrefixListsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.prefixListSet === \"\") {\n contents[_PLre] = [];\n } else if (output[_pLS] != null && output[_pLS][_i] != null) {\n contents[_PLre] = de_ManagedPrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context);\n }\n return contents;\n}, \"de_DescribeManagedPrefixListsResult\");\nvar de_DescribeMovingAddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.movingAddressStatusSet === \"\") {\n contents[_MAS] = [];\n } else if (output[_mASS] != null && output[_mASS][_i] != null) {\n contents[_MAS] = de_MovingAddressStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_mASS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeMovingAddressesResult\");\nvar de_DescribeNatGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.natGatewaySet === \"\") {\n contents[_NGa] = [];\n } else if (output[_nGS] != null && output[_nGS][_i] != null) {\n contents[_NGa] = de_NatGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNatGatewaysResult\");\nvar de_DescribeNetworkAclsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkAclSet === \"\") {\n contents[_NAe] = [];\n } else if (output[_nAS] != null && output[_nAS][_i] != null) {\n contents[_NAe] = de_NetworkAclList((0, import_smithy_client.getArrayIfSingleItem)(output[_nAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkAclsResult\");\nvar de_DescribeNetworkInsightsAccessScopeAnalysesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInsightsAccessScopeAnalysisSet === \"\") {\n contents[_NIASA] = [];\n } else if (output[_nIASAS] != null && output[_nIASAS][_i] != null) {\n contents[_NIASA] = de_NetworkInsightsAccessScopeAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInsightsAccessScopeAnalysesResult\");\nvar de_DescribeNetworkInsightsAccessScopesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInsightsAccessScopeSet === \"\") {\n contents[_NIASe] = [];\n } else if (output[_nIASS] != null && output[_nIASS][_i] != null) {\n contents[_NIASe] = de_NetworkInsightsAccessScopeList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInsightsAccessScopesResult\");\nvar de_DescribeNetworkInsightsAnalysesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInsightsAnalysisSet === \"\") {\n contents[_NIA] = [];\n } else if (output[_nIASe] != null && output[_nIASe][_i] != null) {\n contents[_NIA] = de_NetworkInsightsAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASe][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInsightsAnalysesResult\");\nvar de_DescribeNetworkInsightsPathsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInsightsPathSet === \"\") {\n contents[_NIPe] = [];\n } else if (output[_nIPS] != null && output[_nIPS][_i] != null) {\n contents[_NIPe] = de_NetworkInsightsPathList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInsightsPathsResult\");\nvar de_DescribeNetworkInterfaceAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_at] != null) {\n contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context);\n }\n if (output[_de] != null) {\n contents[_De] = de_AttributeValue(output[_de], context);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_sDC] != null) {\n contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context);\n }\n if (output[_aPIA] != null) {\n contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]);\n }\n return contents;\n}, \"de_DescribeNetworkInterfaceAttributeResult\");\nvar de_DescribeNetworkInterfacePermissionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInterfacePermissions === \"\") {\n contents[_NIPet] = [];\n } else if (output[_nIPe] != null && output[_nIPe][_i] != null) {\n contents[_NIPet] = de_NetworkInterfacePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPe][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInterfacePermissionsResult\");\nvar de_DescribeNetworkInterfacesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.networkInterfaceSet === \"\") {\n contents[_NI] = [];\n } else if (output[_nIS] != null && output[_nIS][_i] != null) {\n contents[_NI] = de_NetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeNetworkInterfacesResult\");\nvar de_DescribeOutpostLagsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.outpostLagSet === \"\") {\n contents[_OL] = [];\n } else if (output[_oLS] != null && output[_oLS][_i] != null) {\n contents[_OL] = de_OutpostLagSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oLS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeOutpostLagsResult\");\nvar de_DescribePlacementGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.placementGroupSet === \"\") {\n contents[_PGl] = [];\n } else if (output[_pGS] != null && output[_pGS][_i] != null) {\n contents[_PGl] = de_PlacementGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_pGS][_i]), context);\n }\n return contents;\n}, \"de_DescribePlacementGroupsResult\");\nvar de_DescribePrefixListsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.prefixListSet === \"\") {\n contents[_PLre] = [];\n } else if (output[_pLS] != null && output[_pLS][_i] != null) {\n contents[_PLre] = de_PrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context);\n }\n return contents;\n}, \"de_DescribePrefixListsResult\");\nvar de_DescribePrincipalIdFormatResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.principalSet === \"\") {\n contents[_Princ] = [];\n } else if (output[_pSr] != null && output[_pSr][_i] != null) {\n contents[_Princ] = de_PrincipalIdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribePrincipalIdFormatResult\");\nvar de_DescribePublicIpv4PoolsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.publicIpv4PoolSet === \"\") {\n contents[_PIPu] = [];\n } else if (output[_pIPS] != null && output[_pIPS][_i] != null) {\n contents[_PIPu] = de_PublicIpv4PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pIPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribePublicIpv4PoolsResult\");\nvar de_DescribeRegionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.regionInfo === \"\") {\n contents[_Reg] = [];\n } else if (output[_rIe] != null && output[_rIe][_i] != null) {\n contents[_Reg] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIe][_i]), context);\n }\n return contents;\n}, \"de_DescribeRegionsResult\");\nvar de_DescribeReplaceRootVolumeTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.replaceRootVolumeTaskSet === \"\") {\n contents[_RRVTe] = [];\n } else if (output[_rRVTS] != null && output[_rRVTS][_i] != null) {\n contents[_RRVTe] = de_ReplaceRootVolumeTasks((0, import_smithy_client.getArrayIfSingleItem)(output[_rRVTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeReplaceRootVolumeTasksResult\");\nvar de_DescribeReservedInstancesListingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.reservedInstancesListingsSet === \"\") {\n contents[_RIL] = [];\n } else if (output[_rILS] != null && output[_rILS][_i] != null) {\n contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context);\n }\n return contents;\n}, \"de_DescribeReservedInstancesListingsResult\");\nvar de_DescribeReservedInstancesModificationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.reservedInstancesModificationsSet === \"\") {\n contents[_RIM] = [];\n } else if (output[_rIMS] != null && output[_rIMS][_i] != null) {\n contents[_RIM] = de_ReservedInstancesModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIMS][_i]), context);\n }\n return contents;\n}, \"de_DescribeReservedInstancesModificationsResult\");\nvar de_DescribeReservedInstancesOfferingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.reservedInstancesOfferingsSet === \"\") {\n contents[_RIO] = [];\n } else if (output[_rIOS] != null && output[_rIOS][_i] != null) {\n contents[_RIO] = de_ReservedInstancesOfferingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIOS][_i]), context);\n }\n return contents;\n}, \"de_DescribeReservedInstancesOfferingsResult\");\nvar de_DescribeReservedInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.reservedInstancesSet === \"\") {\n contents[_RIese] = [];\n } else if (output[_rIS] != null && output[_rIS][_i] != null) {\n contents[_RIese] = de_ReservedInstancesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context);\n }\n return contents;\n}, \"de_DescribeReservedInstancesResult\");\nvar de_DescribeRouteServerEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeServerEndpointSet === \"\") {\n contents[_RSEo] = [];\n } else if (output[_rSES] != null && output[_rSES][_i] != null) {\n contents[_RSEo] = de_RouteServerEndpointsList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSES][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeRouteServerEndpointsResult\");\nvar de_DescribeRouteServerPeersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeServerPeerSet === \"\") {\n contents[_RSPo] = [];\n } else if (output[_rSPS] != null && output[_rSPS][_i] != null) {\n contents[_RSPo] = de_RouteServerPeersList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeRouteServerPeersResult\");\nvar de_DescribeRouteServersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeServerSet === \"\") {\n contents[_RSou] = [];\n } else if (output[_rSSo] != null && output[_rSSo][_i] != null) {\n contents[_RSou] = de_RouteServersList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSSo][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeRouteServersResult\");\nvar de_DescribeRouteTablesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeTableSet === \"\") {\n contents[_RTou] = [];\n } else if (output[_rTS] != null && output[_rTS][_i] != null) {\n contents[_RTou] = de_RouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeRouteTablesResult\");\nvar de_DescribeScheduledInstanceAvailabilityResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.scheduledInstanceAvailabilitySet === \"\") {\n contents[_SIAS] = [];\n } else if (output[_sIAS] != null && output[_sIAS][_i] != null) {\n contents[_SIAS] = de_ScheduledInstanceAvailabilitySet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIAS][_i]), context);\n }\n return contents;\n}, \"de_DescribeScheduledInstanceAvailabilityResult\");\nvar de_DescribeScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.scheduledInstanceSet === \"\") {\n contents[_SIS] = [];\n } else if (output[_sIS] != null && output[_sIS][_i] != null) {\n contents[_SIS] = de_ScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context);\n }\n return contents;\n}, \"de_DescribeScheduledInstancesResult\");\nvar de_DescribeSecurityGroupReferencesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.securityGroupReferenceSet === \"\") {\n contents[_SGRSe] = [];\n } else if (output[_sGRSe] != null && output[_sGRSe][_i] != null) {\n contents[_SGRSe] = de_SecurityGroupReferences((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRSe][_i]), context);\n }\n return contents;\n}, \"de_DescribeSecurityGroupReferencesResult\");\nvar de_DescribeSecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.securityGroupRuleSet === \"\") {\n contents[_SGR] = [];\n } else if (output[_sGRS] != null && output[_sGRS][_i] != null) {\n contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeSecurityGroupRulesResult\");\nvar de_DescribeSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.securityGroupInfo === \"\") {\n contents[_SG] = [];\n } else if (output[_sGIec] != null && output[_sGIec][_i] != null) {\n contents[_SG] = de_SecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIec][_i]), context);\n }\n return contents;\n}, \"de_DescribeSecurityGroupsResult\");\nvar de_DescribeSecurityGroupVpcAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.securityGroupVpcAssociationSet === \"\") {\n contents[_SGVA] = [];\n } else if (output[_sGVAS] != null && output[_sGVAS][_i] != null) {\n contents[_SGVA] = de_SecurityGroupVpcAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGVAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeSecurityGroupVpcAssociationsResult\");\nvar de_DescribeServiceLinkVirtualInterfacesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.serviceLinkVirtualInterfaceSet === \"\") {\n contents[_SLVI] = [];\n } else if (output[_sLVIS] != null && output[_sLVIS][_i] != null) {\n contents[_SLVI] = de_ServiceLinkVirtualInterfaceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sLVIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeServiceLinkVirtualInterfacesResult\");\nvar de_DescribeSnapshotAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output.createVolumePermission === \"\") {\n contents[_CVPr] = [];\n } else if (output[_cVP] != null && output[_cVP][_i] != null) {\n contents[_CVPr] = de_CreateVolumePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_cVP][_i]), context);\n }\n return contents;\n}, \"de_DescribeSnapshotAttributeResult\");\nvar de_DescribeSnapshotsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.snapshotSet === \"\") {\n contents[_Sn] = [];\n } else if (output[_sS] != null && output[_sS][_i] != null) {\n contents[_Sn] = de_SnapshotList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context);\n }\n return contents;\n}, \"de_DescribeSnapshotsResult\");\nvar de_DescribeSnapshotTierStatusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.snapshotTierStatusSet === \"\") {\n contents[_STS] = [];\n } else if (output[_sTSS] != null && output[_sTSS][_i] != null) {\n contents[_STS] = de_snapshotTierStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTSS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeSnapshotTierStatusResult\");\nvar de_DescribeSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sDS] != null) {\n contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context);\n }\n return contents;\n}, \"de_DescribeSpotDatafeedSubscriptionResult\");\nvar de_DescribeSpotFleetInstancesResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.activeInstanceSet === \"\") {\n contents[_AIc] = [];\n } else if (output[_aIS] != null && output[_aIS][_i] != null) {\n contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n return contents;\n}, \"de_DescribeSpotFleetInstancesResponse\");\nvar de_DescribeSpotFleetRequestHistoryResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.historyRecordSet === \"\") {\n contents[_HRi] = [];\n } else if (output[_hRS] != null && output[_hRS][_i] != null) {\n contents[_HRi] = de_HistoryRecords((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context);\n }\n if (output[_lET] != null) {\n contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET]));\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n return contents;\n}, \"de_DescribeSpotFleetRequestHistoryResponse\");\nvar de_DescribeSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.spotFleetRequestConfigSet === \"\") {\n contents[_SFRCp] = [];\n } else if (output[_sFRCS] != null && output[_sFRCS][_i] != null) {\n contents[_SFRCp] = de_SpotFleetRequestConfigSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRCS][_i]), context);\n }\n return contents;\n}, \"de_DescribeSpotFleetRequestsResponse\");\nvar de_DescribeSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.spotInstanceRequestSet === \"\") {\n contents[_SIR] = [];\n } else if (output[_sIRS] != null && output[_sIRS][_i] != null) {\n contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeSpotInstanceRequestsResult\");\nvar de_DescribeSpotPriceHistoryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.spotPriceHistorySet === \"\") {\n contents[_SPH] = [];\n } else if (output[_sPHS] != null && output[_sPHS][_i] != null) {\n contents[_SPH] = de_SpotPriceHistoryList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPHS][_i]), context);\n }\n return contents;\n}, \"de_DescribeSpotPriceHistoryResult\");\nvar de_DescribeStaleSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.staleSecurityGroupSet === \"\") {\n contents[_SSGS] = [];\n } else if (output[_sSGS] != null && output[_sSGS][_i] != null) {\n contents[_SSGS] = de_StaleSecurityGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sSGS][_i]), context);\n }\n return contents;\n}, \"de_DescribeStaleSecurityGroupsResult\");\nvar de_DescribeStoreImageTasksResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.storeImageTaskResultSet === \"\") {\n contents[_SITR] = [];\n } else if (output[_sITRS] != null && output[_sITRS][_i] != null) {\n contents[_SITR] = de_StoreImageTaskResultSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sITRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeStoreImageTasksResult\");\nvar de_DescribeSubnetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.subnetSet === \"\") {\n contents[_Subn] = [];\n } else if (output[_sSub] != null && output[_sSub][_i] != null) {\n contents[_Subn] = de_SubnetList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSub][_i]), context);\n }\n return contents;\n}, \"de_DescribeSubnetsResult\");\nvar de_DescribeTagsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagDescriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_DescribeTagsResult\");\nvar de_DescribeTrafficMirrorFilterRulesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.trafficMirrorFilterRuleSet === \"\") {\n contents[_TMFRr] = [];\n } else if (output[_tMFRS] != null && output[_tMFRS][_i] != null) {\n contents[_TMFRr] = de_TrafficMirrorFilterRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTrafficMirrorFilterRulesResult\");\nvar de_DescribeTrafficMirrorFiltersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.trafficMirrorFilterSet === \"\") {\n contents[_TMFr] = [];\n } else if (output[_tMFS] != null && output[_tMFS][_i] != null) {\n contents[_TMFr] = de_TrafficMirrorFilterSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTrafficMirrorFiltersResult\");\nvar de_DescribeTrafficMirrorSessionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.trafficMirrorSessionSet === \"\") {\n contents[_TMSr] = [];\n } else if (output[_tMSS] != null && output[_tMSS][_i] != null) {\n contents[_TMSr] = de_TrafficMirrorSessionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMSS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTrafficMirrorSessionsResult\");\nvar de_DescribeTrafficMirrorTargetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.trafficMirrorTargetSet === \"\") {\n contents[_TMTr] = [];\n } else if (output[_tMTS] != null && output[_tMTS][_i] != null) {\n contents[_TMTr] = de_TrafficMirrorTargetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTrafficMirrorTargetsResult\");\nvar de_DescribeTransitGatewayAttachmentsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayAttachments === \"\") {\n contents[_TGAr] = [];\n } else if (output[_tGA] != null && output[_tGA][_i] != null) {\n contents[_TGAr] = de_TransitGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayAttachmentsResult\");\nvar de_DescribeTransitGatewayConnectPeersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayConnectPeerSet === \"\") {\n contents[_TGCPr] = [];\n } else if (output[_tGCPS] != null && output[_tGCPS][_i] != null) {\n contents[_TGCPr] = de_TransitGatewayConnectPeerList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayConnectPeersResult\");\nvar de_DescribeTransitGatewayConnectsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayConnectSet === \"\") {\n contents[_TGCra] = [];\n } else if (output[_tGCS] != null && output[_tGCS][_i] != null) {\n contents[_TGCra] = de_TransitGatewayConnectList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayConnectsResult\");\nvar de_DescribeTransitGatewayMulticastDomainsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayMulticastDomains === \"\") {\n contents[_TGMDr] = [];\n } else if (output[_tGMDr] != null && output[_tGMDr][_i] != null) {\n contents[_TGMDr] = de_TransitGatewayMulticastDomainList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGMDr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayMulticastDomainsResult\");\nvar de_DescribeTransitGatewayPeeringAttachmentsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayPeeringAttachments === \"\") {\n contents[_TGPAr] = [];\n } else if (output[_tGPAr] != null && output[_tGPAr][_i] != null) {\n contents[_TGPAr] = de_TransitGatewayPeeringAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPAr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayPeeringAttachmentsResult\");\nvar de_DescribeTransitGatewayPolicyTablesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayPolicyTables === \"\") {\n contents[_TGPTr] = [];\n } else if (output[_tGPTr] != null && output[_tGPTr][_i] != null) {\n contents[_TGPTr] = de_TransitGatewayPolicyTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayPolicyTablesResult\");\nvar de_DescribeTransitGatewayRouteTableAnnouncementsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayRouteTableAnnouncements === \"\") {\n contents[_TGRTAr] = [];\n } else if (output[_tGRTAr] != null && output[_tGRTAr][_i] != null) {\n contents[_TGRTAr] = de_TransitGatewayRouteTableAnnouncementList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTAr][_i]),\n context\n );\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayRouteTableAnnouncementsResult\");\nvar de_DescribeTransitGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayRouteTables === \"\") {\n contents[_TGRTr] = [];\n } else if (output[_tGRTr] != null && output[_tGRTr][_i] != null) {\n contents[_TGRTr] = de_TransitGatewayRouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayRouteTablesResult\");\nvar de_DescribeTransitGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewaySet === \"\") {\n contents[_TGra] = [];\n } else if (output[_tGS] != null && output[_tGS][_i] != null) {\n contents[_TGra] = de_TransitGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewaysResult\");\nvar de_DescribeTransitGatewayVpcAttachmentsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayVpcAttachments === \"\") {\n contents[_TGVAr] = [];\n } else if (output[_tGVAr] != null && output[_tGVAr][_i] != null) {\n contents[_TGVAr] = de_TransitGatewayVpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGVAr][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTransitGatewayVpcAttachmentsResult\");\nvar de_DescribeTrunkInterfaceAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.interfaceAssociationSet === \"\") {\n contents[_IAnt] = [];\n } else if (output[_iAS] != null && output[_iAS][_i] != null) {\n contents[_IAnt] = de_TrunkInterfaceAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeTrunkInterfaceAssociationsResult\");\nvar de_DescribeVerifiedAccessEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.verifiedAccessEndpointSet === \"\") {\n contents[_VAEe] = [];\n } else if (output[_vAES] != null && output[_vAES][_i] != null) {\n contents[_VAEe] = de_VerifiedAccessEndpointList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAES][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVerifiedAccessEndpointsResult\");\nvar de_DescribeVerifiedAccessGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.verifiedAccessGroupSet === \"\") {\n contents[_VAGe] = [];\n } else if (output[_vAGS] != null && output[_vAGS][_i] != null) {\n contents[_VAGe] = de_VerifiedAccessGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAGS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVerifiedAccessGroupsResult\");\nvar de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.loggingConfigurationSet === \"\") {\n contents[_LC] = [];\n } else if (output[_lCS] != null && output[_lCS][_i] != null) {\n contents[_LC] = de_VerifiedAccessInstanceLoggingConfigurationList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_lCS][_i]),\n context\n );\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult\");\nvar de_DescribeVerifiedAccessInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.verifiedAccessInstanceSet === \"\") {\n contents[_VAIe] = [];\n } else if (output[_vAIS] != null && output[_vAIS][_i] != null) {\n contents[_VAIe] = de_VerifiedAccessInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAIS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVerifiedAccessInstancesResult\");\nvar de_DescribeVerifiedAccessTrustProvidersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.verifiedAccessTrustProviderSet === \"\") {\n contents[_VATPe] = [];\n } else if (output[_vATPS] != null && output[_vATPS][_i] != null) {\n contents[_VATPe] = de_VerifiedAccessTrustProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVerifiedAccessTrustProvidersResult\");\nvar de_DescribeVolumeAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aEIO] != null) {\n contents[_AEIO] = de_AttributeBooleanValue(output[_aEIO], context);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n return contents;\n}, \"de_DescribeVolumeAttributeResult\");\nvar de_DescribeVolumesModificationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.volumeModificationSet === \"\") {\n contents[_VMo] = [];\n } else if (output[_vMS] != null && output[_vMS][_i] != null) {\n contents[_VMo] = de_VolumeModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_vMS][_i]), context);\n }\n return contents;\n}, \"de_DescribeVolumesModificationsResult\");\nvar de_DescribeVolumesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.volumeSet === \"\") {\n contents[_Vol] = [];\n } else if (output[_vS] != null && output[_vS][_i] != null) {\n contents[_Vol] = de_VolumeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vS][_i]), context);\n }\n return contents;\n}, \"de_DescribeVolumesResult\");\nvar de_DescribeVolumeStatusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.volumeStatusSet === \"\") {\n contents[_VSo] = [];\n } else if (output[_vSS] != null && output[_vSS][_i] != null) {\n contents[_VSo] = de_VolumeStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSS][_i]), context);\n }\n return contents;\n}, \"de_DescribeVolumeStatusResult\");\nvar de_DescribeVpcAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eDH] != null) {\n contents[_EDH] = de_AttributeBooleanValue(output[_eDH], context);\n }\n if (output[_eDS] != null) {\n contents[_EDS] = de_AttributeBooleanValue(output[_eDS], context);\n }\n if (output[_eNAUM] != null) {\n contents[_ENAUM] = de_AttributeBooleanValue(output[_eNAUM], context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_DescribeVpcAttributeResult\");\nvar de_DescribeVpcBlockPublicAccessExclusionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcBlockPublicAccessExclusionSet === \"\") {\n contents[_VBPAEp] = [];\n } else if (output[_vBPAES] != null && output[_vBPAES][_i] != null) {\n contents[_VBPAEp] = de_VpcBlockPublicAccessExclusionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vBPAES][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcBlockPublicAccessExclusionsResult\");\nvar de_DescribeVpcBlockPublicAccessOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vBPAO] != null) {\n contents[_VBPAO] = de_VpcBlockPublicAccessOptions(output[_vBPAO], context);\n }\n return contents;\n}, \"de_DescribeVpcBlockPublicAccessOptionsResult\");\nvar de_DescribeVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.vpcs === \"\") {\n contents[_Vpc] = [];\n } else if (output[_vpc] != null && output[_vpc][_i] != null) {\n contents[_Vpc] = de_ClassicLinkDnsSupportList((0, import_smithy_client.getArrayIfSingleItem)(output[_vpc][_i]), context);\n }\n return contents;\n}, \"de_DescribeVpcClassicLinkDnsSupportResult\");\nvar de_DescribeVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcSet === \"\") {\n contents[_Vpc] = [];\n } else if (output[_vSp] != null && output[_vSp][_i] != null) {\n contents[_Vpc] = de_VpcClassicLinkList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context);\n }\n return contents;\n}, \"de_DescribeVpcClassicLinkResult\");\nvar de_DescribeVpcEndpointAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcEndpointAssociationSet === \"\") {\n contents[_VEA] = [];\n } else if (output[_vEAS] != null && output[_vEAS][_i] != null) {\n contents[_VEA] = de_VpcEndpointAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vEAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointAssociationsResult\");\nvar de_DescribeVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.connectionNotificationSet === \"\") {\n contents[_CNSo] = [];\n } else if (output[_cNSo] != null && output[_cNSo][_i] != null) {\n contents[_CNSo] = de_ConnectionNotificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cNSo][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointConnectionNotificationsResult\");\nvar de_DescribeVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcEndpointConnectionSet === \"\") {\n contents[_VEC] = [];\n } else if (output[_vECS] != null && output[_vECS][_i] != null) {\n contents[_VEC] = de_VpcEndpointConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vECS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointConnectionsResult\");\nvar de_DescribeVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.serviceConfigurationSet === \"\") {\n contents[_SCer] = [];\n } else if (output[_sCS] != null && output[_sCS][_i] != null) {\n contents[_SCer] = de_ServiceConfigurationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointServiceConfigurationsResult\");\nvar de_DescribeVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.allowedPrincipals === \"\") {\n contents[_APl] = [];\n } else if (output[_aP] != null && output[_aP][_i] != null) {\n contents[_APl] = de_AllowedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aP][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointServicePermissionsResult\");\nvar de_DescribeVpcEndpointServicesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.serviceNameSet === \"\") {\n contents[_SNer] = [];\n } else if (output[_sNS] != null && output[_sNS][_i] != null) {\n contents[_SNer] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sNS][_i]), context);\n }\n if (output.serviceDetailSet === \"\") {\n contents[_SDe] = [];\n } else if (output[_sDSe] != null && output[_sDSe][_i] != null) {\n contents[_SDe] = de_ServiceDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSe][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointServicesResult\");\nvar de_DescribeVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcEndpointSet === \"\") {\n contents[_VEp] = [];\n } else if (output[_vESp] != null && output[_vESp][_i] != null) {\n contents[_VEp] = de_VpcEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vESp][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcEndpointsResult\");\nvar de_DescribeVpcPeeringConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpcPeeringConnectionSet === \"\") {\n contents[_VPCp] = [];\n } else if (output[_vPCS] != null && output[_vPCS][_i] != null) {\n contents[_VPCp] = de_VpcPeeringConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vPCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_DescribeVpcPeeringConnectionsResult\");\nvar de_DescribeVpcsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.vpcSet === \"\") {\n contents[_Vpc] = [];\n } else if (output[_vSp] != null && output[_vSp][_i] != null) {\n contents[_Vpc] = de_VpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context);\n }\n return contents;\n}, \"de_DescribeVpcsResult\");\nvar de_DescribeVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpnConnectionSet === \"\") {\n contents[_VCp] = [];\n } else if (output[_vCS] != null && output[_vCS][_i] != null) {\n contents[_VCp] = de_VpnConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCS][_i]), context);\n }\n return contents;\n}, \"de_DescribeVpnConnectionsResult\");\nvar de_DescribeVpnGatewaysResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpnGatewaySet === \"\") {\n contents[_VGp] = [];\n } else if (output[_vGS] != null && output[_vGS][_i] != null) {\n contents[_VGp] = de_VpnGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_vGS][_i]), context);\n }\n return contents;\n}, \"de_DescribeVpnGatewaysResult\");\nvar de_DestinationOptionsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fF] != null) {\n contents[_FF] = (0, import_smithy_client.expectString)(output[_fF]);\n }\n if (output[_hCP] != null) {\n contents[_HCP] = (0, import_smithy_client.parseBoolean)(output[_hCP]);\n }\n if (output[_pHP] != null) {\n contents[_PHP] = (0, import_smithy_client.parseBoolean)(output[_pHP]);\n }\n return contents;\n}, \"de_DestinationOptionsResponse\");\nvar de_DetachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DetachClassicLinkVpcResult\");\nvar de_DetachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATP] != null) {\n contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context);\n }\n if (output[_vAI] != null) {\n contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context);\n }\n return contents;\n}, \"de_DetachVerifiedAccessTrustProviderResult\");\nvar de_DeviceOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tIe] != null) {\n contents[_TIe] = (0, import_smithy_client.expectString)(output[_tIe]);\n }\n if (output[_pSKU] != null) {\n contents[_PSKU] = (0, import_smithy_client.expectString)(output[_pSKU]);\n }\n return contents;\n}, \"de_DeviceOptions\");\nvar de_DeviceTrustProviderTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_DeviceTrustProviderTypeList\");\nvar de_DhcpConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_k] != null) {\n contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]);\n }\n if (output.valueSet === \"\") {\n contents[_Val] = [];\n } else if (output[_vSa] != null && output[_vSa][_i] != null) {\n contents[_Val] = de_DhcpConfigurationValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSa][_i]), context);\n }\n return contents;\n}, \"de_DhcpConfiguration\");\nvar de_DhcpConfigurationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DhcpConfiguration(entry, context);\n });\n}, \"de_DhcpConfigurationList\");\nvar de_DhcpConfigurationValueList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_AttributeValue(entry, context);\n });\n}, \"de_DhcpConfigurationValueList\");\nvar de_DhcpOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_dOI] != null) {\n contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]);\n }\n if (output.dhcpConfigurationSet === \"\") {\n contents[_DCh] = [];\n } else if (output[_dCS] != null && output[_dCS][_i] != null) {\n contents[_DCh] = de_DhcpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_dCS][_i]), context);\n }\n return contents;\n}, \"de_DhcpOptions\");\nvar de_DhcpOptionsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DhcpOptions(entry, context);\n });\n}, \"de_DhcpOptionsList\");\nvar de_DirectoryServiceAuthentication = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dI] != null) {\n contents[_DIir] = (0, import_smithy_client.expectString)(output[_dI]);\n }\n return contents;\n}, \"de_DirectoryServiceAuthentication\");\nvar de_DisableAddressTransferResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aT] != null) {\n contents[_ATdd] = de_AddressTransfer(output[_aT], context);\n }\n return contents;\n}, \"de_DisableAddressTransferResult\");\nvar de_DisableAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aISS] != null) {\n contents[_AISS] = (0, import_smithy_client.expectString)(output[_aISS]);\n }\n return contents;\n}, \"de_DisableAllowedImagesSettingsResult\");\nvar de_DisableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ou] != null) {\n contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]);\n }\n return contents;\n}, \"de_DisableAwsNetworkPerformanceMetricSubscriptionResult\");\nvar de_DisableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eEBD] != null) {\n contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]);\n }\n return contents;\n}, \"de_DisableEbsEncryptionByDefaultResult\");\nvar de_DisableFastLaunchResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_sCn] != null) {\n contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context);\n }\n if (output[_lT] != null) {\n contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context);\n }\n if (output[_mPL] != null) {\n contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_sTT] != null) {\n contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT]));\n }\n return contents;\n}, \"de_DisableFastLaunchResult\");\nvar de_DisableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output.fastSnapshotRestoreStateErrorSet === \"\") {\n contents[_FSRSE] = [];\n } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) {\n contents[_FSRSE] = de_DisableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context);\n }\n return contents;\n}, \"de_DisableFastSnapshotRestoreErrorItem\");\nvar de_DisableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DisableFastSnapshotRestoreErrorItem(entry, context);\n });\n}, \"de_DisableFastSnapshotRestoreErrorSet\");\nvar de_DisableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successful === \"\") {\n contents[_Suc] = [];\n } else if (output[_suc] != null && output[_suc][_i] != null) {\n contents[_Suc] = de_DisableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context);\n }\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_DisableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_DisableFastSnapshotRestoresResult\");\nvar de_DisableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_DisableFastSnapshotRestoreStateError\");\nvar de_DisableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_er] != null) {\n contents[_Er] = de_DisableFastSnapshotRestoreStateError(output[_er], context);\n }\n return contents;\n}, \"de_DisableFastSnapshotRestoreStateErrorItem\");\nvar de_DisableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DisableFastSnapshotRestoreStateErrorItem(entry, context);\n });\n}, \"de_DisableFastSnapshotRestoreStateErrorSet\");\nvar de_DisableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_oAw] != null) {\n contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]);\n }\n if (output[_eTna] != null) {\n contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna]));\n }\n if (output[_oT] != null) {\n contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT]));\n }\n if (output[_eTnab] != null) {\n contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab]));\n }\n if (output[_dTi] != null) {\n contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi]));\n }\n if (output[_dTis] != null) {\n contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis]));\n }\n return contents;\n}, \"de_DisableFastSnapshotRestoreSuccessItem\");\nvar de_DisableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DisableFastSnapshotRestoreSuccessItem(entry, context);\n });\n}, \"de_DisableFastSnapshotRestoreSuccessSet\");\nvar de_DisableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iBPAS] != null) {\n contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]);\n }\n return contents;\n}, \"de_DisableImageBlockPublicAccessResult\");\nvar de_DisableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisableImageDeprecationResult\");\nvar de_DisableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);\n }\n return contents;\n}, \"de_DisableImageDeregistrationProtectionResult\");\nvar de_DisableImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisableImageResult\");\nvar de_DisableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_succ] != null) {\n contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]);\n }\n return contents;\n}, \"de_DisableIpamOrganizationAdminAccountResult\");\nvar de_DisableRouteServerPropagationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSPo] != null) {\n contents[_RSPou] = de_RouteServerPropagation(output[_rSPo], context);\n }\n return contents;\n}, \"de_DisableRouteServerPropagationResult\");\nvar de_DisableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCAE] != null) {\n contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]);\n }\n return contents;\n}, \"de_DisableSerialConsoleAccessResult\");\nvar de_DisableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_DisableSnapshotBlockPublicAccessResult\");\nvar de_DisableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_prop] != null) {\n contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context);\n }\n return contents;\n}, \"de_DisableTransitGatewayRouteTablePropagationResult\");\nvar de_DisableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisableVpcClassicLinkDnsSupportResult\");\nvar de_DisableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisableVpcClassicLinkResult\");\nvar de_DisassociateCapacityReservationBillingOwnerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisassociateCapacityReservationBillingOwnerResult\");\nvar de_DisassociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_AssociationStatus(output[_sta], context);\n }\n return contents;\n}, \"de_DisassociateClientVpnTargetNetworkResult\");\nvar de_DisassociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_DisassociateEnclaveCertificateIamRoleResult\");\nvar de_DisassociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIPA] != null) {\n contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context);\n }\n return contents;\n}, \"de_DisassociateIamInstanceProfileResult\");\nvar de_DisassociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEW] != null) {\n contents[_IEW] = de_InstanceEventWindow(output[_iEW], context);\n }\n return contents;\n}, \"de_DisassociateInstanceEventWindowResult\");\nvar de_DisassociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aA] != null) {\n contents[_AAsn] = de_AsnAssociation(output[_aA], context);\n }\n return contents;\n}, \"de_DisassociateIpamByoasnResult\");\nvar de_DisassociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRDA] != null) {\n contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context);\n }\n return contents;\n}, \"de_DisassociateIpamResourceDiscoveryResult\");\nvar de_DisassociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output.natGatewayAddressSet === \"\") {\n contents[_NGA] = [];\n } else if (output[_nGAS] != null && output[_nGAS][_i] != null) {\n contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context);\n }\n return contents;\n}, \"de_DisassociateNatGatewayAddressResult\");\nvar de_DisassociateRouteServerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSA] != null) {\n contents[_RSAo] = de_RouteServerAssociation(output[_rSA], context);\n }\n return contents;\n}, \"de_DisassociateRouteServerResult\");\nvar de_DisassociateSecurityGroupVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_DisassociateSecurityGroupVpcResult\");\nvar de_DisassociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCBA] != null) {\n contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n return contents;\n}, \"de_DisassociateSubnetCidrBlockResult\");\nvar de_DisassociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_a] != null) {\n contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context);\n }\n return contents;\n}, \"de_DisassociateTransitGatewayMulticastDomainResult\");\nvar de_DisassociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context);\n }\n return contents;\n}, \"de_DisassociateTransitGatewayPolicyTableResult\");\nvar de_DisassociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context);\n }\n return contents;\n}, \"de_DisassociateTransitGatewayRouteTableResult\");\nvar de_DisassociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n return contents;\n}, \"de_DisassociateTrunkInterfaceResult\");\nvar de_DisassociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCBA] != null) {\n contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context);\n }\n if (output[_cBA] != null) {\n contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_DisassociateVpcCidrBlockResult\");\nvar de_DiskImageDescription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ch] != null) {\n contents[_Ch] = (0, import_smithy_client.expectString)(output[_ch]);\n }\n if (output[_f] != null) {\n contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]);\n }\n if (output[_iMU] != null) {\n contents[_IMU] = (0, import_smithy_client.expectString)(output[_iMU]);\n }\n if (output[_si] != null) {\n contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]);\n }\n return contents;\n}, \"de_DiskImageDescription\");\nvar de_DiskImageVolumeDescription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_id]);\n }\n if (output[_si] != null) {\n contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]);\n }\n return contents;\n}, \"de_DiskImageVolumeDescription\");\nvar de_DiskInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIGB] != null) {\n contents[_SIGB] = (0, import_smithy_client.strictParseLong)(output[_sIGB]);\n }\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n return contents;\n}, \"de_DiskInfo\");\nvar de_DiskInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DiskInfo(entry, context);\n });\n}, \"de_DiskInfoList\");\nvar de_DnsEntry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dNn] != null) {\n contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]);\n }\n if (output[_hZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(output[_hZI]);\n }\n return contents;\n}, \"de_DnsEntry\");\nvar de_DnsEntrySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DnsEntry(entry, context);\n });\n}, \"de_DnsEntrySet\");\nvar de_DnsOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dRIT] != null) {\n contents[_DRIT] = (0, import_smithy_client.expectString)(output[_dRIT]);\n }\n if (output[_pDOFIRE] != null) {\n contents[_PDOFIRE] = (0, import_smithy_client.parseBoolean)(output[_pDOFIRE]);\n }\n return contents;\n}, \"de_DnsOptions\");\nvar de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_io] != null) {\n contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_vT] != null) {\n contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_th] != null) {\n contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_VIR] != null) {\n contents[_VIR] = (0, import_smithy_client.strictParseInt32)(output[_VIR]);\n }\n return contents;\n}, \"de_EbsBlockDevice\");\nvar de_EbsBlockDeviceResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_io] != null) {\n contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]);\n }\n if (output[_th] != null) {\n contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_vT] != null) {\n contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]);\n }\n return contents;\n}, \"de_EbsBlockDeviceResponse\");\nvar de_EbsInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eOS] != null) {\n contents[_EOS] = (0, import_smithy_client.expectString)(output[_eOS]);\n }\n if (output[_eSn] != null) {\n contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]);\n }\n if (output[_eOI] != null) {\n contents[_EOI] = de_EbsOptimizedInfo(output[_eOI], context);\n }\n if (output[_nS] != null) {\n contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]);\n }\n return contents;\n}, \"de_EbsInfo\");\nvar de_EbsInstanceBlockDevice = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aTt] != null) {\n contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt]));\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_aRs] != null) {\n contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]);\n }\n if (output[_vOI] != null) {\n contents[_VOI] = (0, import_smithy_client.expectString)(output[_vOI]);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_EbsInstanceBlockDevice\");\nvar de_EbsOptimizedInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bBIM] != null) {\n contents[_BBIM] = (0, import_smithy_client.strictParseInt32)(output[_bBIM]);\n }\n if (output[_bTIMB] != null) {\n contents[_BTIMB] = (0, import_smithy_client.strictParseFloat)(output[_bTIMB]);\n }\n if (output[_bIa] != null) {\n contents[_BIa] = (0, import_smithy_client.strictParseInt32)(output[_bIa]);\n }\n if (output[_mBIM] != null) {\n contents[_MBIM] = (0, import_smithy_client.strictParseInt32)(output[_mBIM]);\n }\n if (output[_mTIMB] != null) {\n contents[_MTIMB] = (0, import_smithy_client.strictParseFloat)(output[_mTIMB]);\n }\n if (output[_mI] != null) {\n contents[_MIa] = (0, import_smithy_client.strictParseInt32)(output[_mI]);\n }\n return contents;\n}, \"de_EbsOptimizedInfo\");\nvar de_EbsStatusDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iSmp] != null) {\n contents[_ISmp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_iSmp]));\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_EbsStatusDetails\");\nvar de_EbsStatusDetailsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_EbsStatusDetails(entry, context);\n });\n}, \"de_EbsStatusDetailsList\");\nvar de_EbsStatusSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.details === \"\") {\n contents[_Det] = [];\n } else if (output[_det] != null && output[_det][_i] != null) {\n contents[_Det] = de_EbsStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_EbsStatusSummary\");\nvar de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iCEI] != null) {\n contents[_ICEI] = (0, import_smithy_client.expectString)(output[_iCEI]);\n }\n if (output[_iCEA] != null) {\n contents[_ICEA] = (0, import_smithy_client.expectString)(output[_iCEA]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n if (output[_dNn] != null) {\n contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]);\n }\n if (output[_fDN] != null) {\n contents[_FDN] = (0, import_smithy_client.expectString)(output[_fDN]);\n }\n if (output.networkInterfaceIdSet === \"\") {\n contents[_NIIe] = [];\n } else if (output[_nIIS] != null && output[_nIIS][_i] != null) {\n contents[_NIIe] = de_NetworkInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_cAr] != null) {\n contents[_CAr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cAr]));\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_pCI] != null) {\n contents[_PCI] = (0, import_smithy_client.parseBoolean)(output[_pCI]);\n }\n if (output.securityGroupIdSet === \"\") {\n contents[_SGI] = [];\n } else if (output[_sGIS] != null && output[_sGIS][_i] != null) {\n contents[_SGI] = de_SecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_Ec2InstanceConnectEndpoint\");\nvar de_EfaInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mEI] != null) {\n contents[_MEI] = (0, import_smithy_client.strictParseInt32)(output[_mEI]);\n }\n return contents;\n}, \"de_EfaInfo\");\nvar de_EgressOnlyInternetGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.attachmentSet === \"\") {\n contents[_Atta] = [];\n } else if (output[_aSt] != null && output[_aSt][_i] != null) {\n contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context);\n }\n if (output[_eOIGI] != null) {\n contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_EgressOnlyInternetGateway\");\nvar de_EgressOnlyInternetGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_EgressOnlyInternetGateway(entry, context);\n });\n}, \"de_EgressOnlyInternetGatewayList\");\nvar de_ElasticGpuAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eGI] != null) {\n contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]);\n }\n if (output[_eGAI] != null) {\n contents[_EGAI] = (0, import_smithy_client.expectString)(output[_eGAI]);\n }\n if (output[_eGAS] != null) {\n contents[_EGAS] = (0, import_smithy_client.expectString)(output[_eGAS]);\n }\n if (output[_eGAT] != null) {\n contents[_EGAT] = (0, import_smithy_client.expectString)(output[_eGAT]);\n }\n return contents;\n}, \"de_ElasticGpuAssociation\");\nvar de_ElasticGpuAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ElasticGpuAssociation(entry, context);\n });\n}, \"de_ElasticGpuAssociationList\");\nvar de_ElasticGpuHealth = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_ElasticGpuHealth\");\nvar de_ElasticGpus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eGI] != null) {\n contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_eGT] != null) {\n contents[_EGT] = (0, import_smithy_client.expectString)(output[_eGT]);\n }\n if (output[_eGH] != null) {\n contents[_EGH] = de_ElasticGpuHealth(output[_eGH], context);\n }\n if (output[_eGSl] != null) {\n contents[_EGSlas] = (0, import_smithy_client.expectString)(output[_eGSl]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ElasticGpus\");\nvar de_ElasticGpuSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ElasticGpus(entry, context);\n });\n}, \"de_ElasticGpuSet\");\nvar de_ElasticGpuSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n return contents;\n}, \"de_ElasticGpuSpecificationResponse\");\nvar de_ElasticGpuSpecificationResponseList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ElasticGpuSpecificationResponse(entry, context);\n });\n}, \"de_ElasticGpuSpecificationResponseList\");\nvar de_ElasticInferenceAcceleratorAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eIAA] != null) {\n contents[_EIAA] = (0, import_smithy_client.expectString)(output[_eIAA]);\n }\n if (output[_eIAAI] != null) {\n contents[_EIAAI] = (0, import_smithy_client.expectString)(output[_eIAAI]);\n }\n if (output[_eIAAS] != null) {\n contents[_EIAAS] = (0, import_smithy_client.expectString)(output[_eIAAS]);\n }\n if (output[_eIAAT] != null) {\n contents[_EIAAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eIAAT]));\n }\n return contents;\n}, \"de_ElasticInferenceAcceleratorAssociation\");\nvar de_ElasticInferenceAcceleratorAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ElasticInferenceAcceleratorAssociation(entry, context);\n });\n}, \"de_ElasticInferenceAcceleratorAssociationList\");\nvar de_EnableAddressTransferResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aT] != null) {\n contents[_ATdd] = de_AddressTransfer(output[_aT], context);\n }\n return contents;\n}, \"de_EnableAddressTransferResult\");\nvar de_EnableAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aISS] != null) {\n contents[_AISS] = (0, import_smithy_client.expectString)(output[_aISS]);\n }\n return contents;\n}, \"de_EnableAllowedImagesSettingsResult\");\nvar de_EnableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ou] != null) {\n contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]);\n }\n return contents;\n}, \"de_EnableAwsNetworkPerformanceMetricSubscriptionResult\");\nvar de_EnableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eEBD] != null) {\n contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]);\n }\n return contents;\n}, \"de_EnableEbsEncryptionByDefaultResult\");\nvar de_EnableFastLaunchResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_sCn] != null) {\n contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context);\n }\n if (output[_lT] != null) {\n contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context);\n }\n if (output[_mPL] != null) {\n contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_sTT] != null) {\n contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT]));\n }\n return contents;\n}, \"de_EnableFastLaunchResult\");\nvar de_EnableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output.fastSnapshotRestoreStateErrorSet === \"\") {\n contents[_FSRSE] = [];\n } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) {\n contents[_FSRSE] = de_EnableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context);\n }\n return contents;\n}, \"de_EnableFastSnapshotRestoreErrorItem\");\nvar de_EnableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_EnableFastSnapshotRestoreErrorItem(entry, context);\n });\n}, \"de_EnableFastSnapshotRestoreErrorSet\");\nvar de_EnableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successful === \"\") {\n contents[_Suc] = [];\n } else if (output[_suc] != null && output[_suc][_i] != null) {\n contents[_Suc] = de_EnableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context);\n }\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_EnableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_EnableFastSnapshotRestoresResult\");\nvar de_EnableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_EnableFastSnapshotRestoreStateError\");\nvar de_EnableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_er] != null) {\n contents[_Er] = de_EnableFastSnapshotRestoreStateError(output[_er], context);\n }\n return contents;\n}, \"de_EnableFastSnapshotRestoreStateErrorItem\");\nvar de_EnableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_EnableFastSnapshotRestoreStateErrorItem(entry, context);\n });\n}, \"de_EnableFastSnapshotRestoreStateErrorSet\");\nvar de_EnableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sTR] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_oAw] != null) {\n contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]);\n }\n if (output[_eTna] != null) {\n contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna]));\n }\n if (output[_oT] != null) {\n contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT]));\n }\n if (output[_eTnab] != null) {\n contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab]));\n }\n if (output[_dTi] != null) {\n contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi]));\n }\n if (output[_dTis] != null) {\n contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis]));\n }\n return contents;\n}, \"de_EnableFastSnapshotRestoreSuccessItem\");\nvar de_EnableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_EnableFastSnapshotRestoreSuccessItem(entry, context);\n });\n}, \"de_EnableFastSnapshotRestoreSuccessSet\");\nvar de_EnableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iBPAS] != null) {\n contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]);\n }\n return contents;\n}, \"de_EnableImageBlockPublicAccessResult\");\nvar de_EnableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_EnableImageDeprecationResult\");\nvar de_EnableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);\n }\n return contents;\n}, \"de_EnableImageDeregistrationProtectionResult\");\nvar de_EnableImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_EnableImageResult\");\nvar de_EnableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_succ] != null) {\n contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]);\n }\n return contents;\n}, \"de_EnableIpamOrganizationAdminAccountResult\");\nvar de_EnableReachabilityAnalyzerOrganizationSharingResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rV] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]);\n }\n return contents;\n}, \"de_EnableReachabilityAnalyzerOrganizationSharingResult\");\nvar de_EnableRouteServerPropagationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSPo] != null) {\n contents[_RSPou] = de_RouteServerPropagation(output[_rSPo], context);\n }\n return contents;\n}, \"de_EnableRouteServerPropagationResult\");\nvar de_EnableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCAE] != null) {\n contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]);\n }\n return contents;\n}, \"de_EnableSerialConsoleAccessResult\");\nvar de_EnableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_EnableSnapshotBlockPublicAccessResult\");\nvar de_EnableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_prop] != null) {\n contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context);\n }\n return contents;\n}, \"de_EnableTransitGatewayRouteTablePropagationResult\");\nvar de_EnableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_EnableVpcClassicLinkDnsSupportResult\");\nvar de_EnableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_EnableVpcClassicLinkResult\");\nvar de_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ESE] != null) {\n contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_ESE]);\n }\n if (output[_ESUS] != null) {\n contents[_ESUS] = de_EnaSrdUdpSpecificationRequest(output[_ESUS], context);\n }\n return contents;\n}, \"de_EnaSrdSpecificationRequest\");\nvar de_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ESUE] != null) {\n contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_ESUE]);\n }\n return contents;\n}, \"de_EnaSrdUdpSpecificationRequest\");\nvar de_EnclaveOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n return contents;\n}, \"de_EnclaveOptions\");\nvar de_EndpointSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ClientVpnEndpoint(entry, context);\n });\n}, \"de_EndpointSet\");\nvar de_ErrorSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ValidationError(entry, context);\n });\n}, \"de_ErrorSet\");\nvar de_EventInformation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eDv] != null) {\n contents[_EDv] = (0, import_smithy_client.expectString)(output[_eDv]);\n }\n if (output[_eST] != null) {\n contents[_EST] = (0, import_smithy_client.expectString)(output[_eST]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n return contents;\n}, \"de_EventInformation\");\nvar de_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ExcludedInstanceTypeSet\");\nvar de_Explanation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ac] != null) {\n contents[_Acl] = de_AnalysisComponent(output[_ac], context);\n }\n if (output[_aRc] != null) {\n contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context);\n }\n if (output[_ad] != null) {\n contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]);\n }\n if (output.addressSet === \"\") {\n contents[_Addr] = [];\n } else if (output[_aSd] != null && output[_aSd][_i] != null) {\n contents[_Addr] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context);\n }\n if (output[_aTtt] != null) {\n contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context);\n }\n if (output.availabilityZoneSet === \"\") {\n contents[_AZv] = [];\n } else if (output[_aZS] != null && output[_aZS][_i] != null) {\n contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context);\n }\n if (output.availabilityZoneIdSet === \"\") {\n contents[_AZIv] = [];\n } else if (output[_aZIS] != null && output[_aZIS][_i] != null) {\n contents[_AZIv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZIS][_i]), context);\n }\n if (output.cidrSet === \"\") {\n contents[_Ci] = [];\n } else if (output[_cS] != null && output[_cS][_i] != null) {\n contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context);\n }\n if (output[_c] != null) {\n contents[_Com] = de_AnalysisComponent(output[_c], context);\n }\n if (output[_cGu] != null) {\n contents[_CGu] = de_AnalysisComponent(output[_cGu], context);\n }\n if (output[_d] != null) {\n contents[_D] = de_AnalysisComponent(output[_d], context);\n }\n if (output[_dV] != null) {\n contents[_DVest] = de_AnalysisComponent(output[_dV], context);\n }\n if (output[_di] != null) {\n contents[_Di] = (0, import_smithy_client.expectString)(output[_di]);\n }\n if (output[_eCx] != null) {\n contents[_ECx] = (0, import_smithy_client.expectString)(output[_eCx]);\n }\n if (output[_iRT] != null) {\n contents[_IRT] = de_AnalysisComponent(output[_iRT], context);\n }\n if (output[_iG] != null) {\n contents[_IGn] = de_AnalysisComponent(output[_iG], context);\n }\n if (output[_lBA] != null) {\n contents[_LBAo] = (0, import_smithy_client.expectString)(output[_lBA]);\n }\n if (output[_cLBL] != null) {\n contents[_CLBL] = de_AnalysisLoadBalancerListener(output[_cLBL], context);\n }\n if (output[_lBLP] != null) {\n contents[_LBLP] = (0, import_smithy_client.strictParseInt32)(output[_lBLP]);\n }\n if (output[_lBT] != null) {\n contents[_LBT] = de_AnalysisLoadBalancerTarget(output[_lBT], context);\n }\n if (output[_lBTG] != null) {\n contents[_LBTG] = de_AnalysisComponent(output[_lBTG], context);\n }\n if (output.loadBalancerTargetGroupSet === \"\") {\n contents[_LBTGo] = [];\n } else if (output[_lBTGS] != null && output[_lBTGS][_i] != null) {\n contents[_LBTGo] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBTGS][_i]), context);\n }\n if (output[_lBTP] != null) {\n contents[_LBTP] = (0, import_smithy_client.strictParseInt32)(output[_lBTP]);\n }\n if (output[_eLBL] != null) {\n contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context);\n }\n if (output[_mC] != null) {\n contents[_MCis] = (0, import_smithy_client.expectString)(output[_mC]);\n }\n if (output[_nG] != null) {\n contents[_NG] = de_AnalysisComponent(output[_nG], context);\n }\n if (output[_nIe] != null) {\n contents[_NIet] = de_AnalysisComponent(output[_nIe], context);\n }\n if (output[_pF] != null) {\n contents[_PF] = (0, import_smithy_client.expectString)(output[_pF]);\n }\n if (output[_vPC] != null) {\n contents[_VPC] = de_AnalysisComponent(output[_vPC], context);\n }\n if (output[_po] != null) {\n contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]);\n }\n if (output.portRangeSet === \"\") {\n contents[_PRo] = [];\n } else if (output[_pRS] != null && output[_pRS][_i] != null) {\n contents[_PRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context);\n }\n if (output[_pL] != null) {\n contents[_PLr] = de_AnalysisComponent(output[_pL], context);\n }\n if (output.protocolSet === \"\") {\n contents[_Pro] = [];\n } else if (output[_pSro] != null && output[_pSro][_i] != null) {\n contents[_Pro] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context);\n }\n if (output[_rTR] != null) {\n contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context);\n }\n if (output[_rTo] != null) {\n contents[_RTo] = de_AnalysisComponent(output[_rTo], context);\n }\n if (output[_sG] != null) {\n contents[_SGe] = de_AnalysisComponent(output[_sG], context);\n }\n if (output[_sGR] != null) {\n contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context);\n }\n if (output.securityGroupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_sGS] != null && output[_sGS][_i] != null) {\n contents[_SG] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context);\n }\n if (output[_sV] != null) {\n contents[_SVo] = de_AnalysisComponent(output[_sV], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_su] != null) {\n contents[_Su] = de_AnalysisComponent(output[_su], context);\n }\n if (output[_sRT] != null) {\n contents[_SRT] = de_AnalysisComponent(output[_sRT], context);\n }\n if (output[_vp] != null) {\n contents[_Vp] = de_AnalysisComponent(output[_vp], context);\n }\n if (output[_vE] != null) {\n contents[_VE] = de_AnalysisComponent(output[_vE], context);\n }\n if (output[_vC] != null) {\n contents[_VC] = de_AnalysisComponent(output[_vC], context);\n }\n if (output[_vG] != null) {\n contents[_VG] = de_AnalysisComponent(output[_vG], context);\n }\n if (output[_tG] != null) {\n contents[_TGr] = de_AnalysisComponent(output[_tG], context);\n }\n if (output[_tGRT] != null) {\n contents[_TGRT] = de_AnalysisComponent(output[_tGRT], context);\n }\n if (output[_tGRTR] != null) {\n contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context);\n }\n if (output[_tGAr] != null) {\n contents[_TGAra] = de_AnalysisComponent(output[_tGAr], context);\n }\n if (output[_cAo] != null) {\n contents[_CAom] = (0, import_smithy_client.expectString)(output[_cAo]);\n }\n if (output[_cRo] != null) {\n contents[_CRo] = (0, import_smithy_client.expectString)(output[_cRo]);\n }\n if (output[_fSR] != null) {\n contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context);\n }\n if (output[_fSRi] != null) {\n contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context);\n }\n return contents;\n}, \"de_Explanation\");\nvar de_ExplanationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Explanation(entry, context);\n });\n}, \"de_ExplanationList\");\nvar de_ExportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRL] != null) {\n contents[_CRL] = (0, import_smithy_client.expectString)(output[_cRL]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientCertificateRevocationListStatus(output[_sta], context);\n }\n return contents;\n}, \"de_ExportClientVpnClientCertificateRevocationListResult\");\nvar de_ExportClientVpnClientConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCl] != null) {\n contents[_CCl] = (0, import_smithy_client.expectString)(output[_cCl]);\n }\n return contents;\n}, \"de_ExportClientVpnClientConfigurationResult\");\nvar de_ExportImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_dIF] != null) {\n contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]);\n }\n if (output[_eITI] != null) {\n contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_rNo] != null) {\n contents[_RNo] = (0, import_smithy_client.expectString)(output[_rNo]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_sEL] != null) {\n contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ExportImageResult\");\nvar de_ExportImageTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_eITI] != null) {\n contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_sEL] != null) {\n contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ExportImageTask\");\nvar de_ExportImageTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ExportImageTask(entry, context);\n });\n}, \"de_ExportImageTaskList\");\nvar de_ExportTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_eTI] != null) {\n contents[_ETI] = (0, import_smithy_client.expectString)(output[_eTI]);\n }\n if (output[_eTSx] != null) {\n contents[_ETST] = de_ExportToS3Task(output[_eTSx], context);\n }\n if (output[_iE] != null) {\n contents[_IED] = de_InstanceExportDetails(output[_iE], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ExportTask\");\nvar de_ExportTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ExportTask(entry, context);\n });\n}, \"de_ExportTaskList\");\nvar de_ExportTaskS3Location = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sB] != null) {\n contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]);\n }\n if (output[_sP] != null) {\n contents[_SP] = (0, import_smithy_client.expectString)(output[_sP]);\n }\n return contents;\n}, \"de_ExportTaskS3Location\");\nvar de_ExportToS3Task = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cF] != null) {\n contents[_CFo] = (0, import_smithy_client.expectString)(output[_cF]);\n }\n if (output[_dIF] != null) {\n contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]);\n }\n if (output[_sB] != null) {\n contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]);\n }\n if (output[_sK] != null) {\n contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]);\n }\n return contents;\n}, \"de_ExportToS3Task\");\nvar de_ExportTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sL] != null) {\n contents[_SLo] = (0, import_smithy_client.expectString)(output[_sL]);\n }\n return contents;\n}, \"de_ExportTransitGatewayRoutesResult\");\nvar de_ExportVerifiedAccessInstanceClientConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ve] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_ve]);\n }\n if (output[_vAII] != null) {\n contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]);\n }\n if (output[_re] != null) {\n contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]);\n }\n if (output.deviceTrustProviderSet === \"\") {\n contents[_DTP] = [];\n } else if (output[_dTPS] != null && output[_dTPS][_i] != null) {\n contents[_DTP] = de_DeviceTrustProviderTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dTPS][_i]), context);\n }\n if (output[_uTP] != null) {\n contents[_UTP] = de_VerifiedAccessInstanceUserTrustProviderClientConfiguration(output[_uTP], context);\n }\n if (output.openVpnConfigurationSet === \"\") {\n contents[_OVC] = [];\n } else if (output[_oVCS] != null && output[_oVCS][_i] != null) {\n contents[_OVC] = de_VerifiedAccessInstanceOpenVpnClientConfigurationList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_oVCS][_i]),\n context\n );\n }\n return contents;\n}, \"de_ExportVerifiedAccessInstanceClientConfigurationResult\");\nvar de_FailedCapacityReservationFleetCancellationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRFI] != null) {\n contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]);\n }\n if (output[_cCRFE] != null) {\n contents[_CCRFE] = de_CancelCapacityReservationFleetError(output[_cCRFE], context);\n }\n return contents;\n}, \"de_FailedCapacityReservationFleetCancellationResult\");\nvar de_FailedCapacityReservationFleetCancellationResultSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FailedCapacityReservationFleetCancellationResult(entry, context);\n });\n}, \"de_FailedCapacityReservationFleetCancellationResultSet\");\nvar de_FailedQueuedPurchaseDeletion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_er] != null) {\n contents[_Er] = de_DeleteQueuedReservedInstancesError(output[_er], context);\n }\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n return contents;\n}, \"de_FailedQueuedPurchaseDeletion\");\nvar de_FailedQueuedPurchaseDeletionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FailedQueuedPurchaseDeletion(entry, context);\n });\n}, \"de_FailedQueuedPurchaseDeletionSet\");\nvar de_FastLaunchLaunchTemplateSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_ve] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_ve]);\n }\n return contents;\n}, \"de_FastLaunchLaunchTemplateSpecificationResponse\");\nvar de_FastLaunchSnapshotConfigurationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tRC] != null) {\n contents[_TRC] = (0, import_smithy_client.strictParseInt32)(output[_tRC]);\n }\n return contents;\n}, \"de_FastLaunchSnapshotConfigurationResponse\");\nvar de_FederatedAuthentication = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sPA] != null) {\n contents[_SPA] = (0, import_smithy_client.expectString)(output[_sPA]);\n }\n if (output[_sSSPA] != null) {\n contents[_SSSPA] = (0, import_smithy_client.expectString)(output[_sSSPA]);\n }\n return contents;\n}, \"de_FederatedAuthentication\");\nvar de_FilterPortRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n return contents;\n}, \"de_FilterPortRange\");\nvar de_FirewallStatefulRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rGA] != null) {\n contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]);\n }\n if (output.sourceSet === \"\") {\n contents[_So] = [];\n } else if (output[_sSo] != null && output[_sSo][_i] != null) {\n contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context);\n }\n if (output.destinationSet === \"\") {\n contents[_Des] = [];\n } else if (output[_dSe] != null && output[_dSe][_i] != null) {\n contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context);\n }\n if (output.sourcePortSet === \"\") {\n contents[_SPo] = [];\n } else if (output[_sPS] != null && output[_sPS][_i] != null) {\n contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context);\n }\n if (output.destinationPortSet === \"\") {\n contents[_DPes] = [];\n } else if (output[_dPS] != null && output[_dPS][_i] != null) {\n contents[_DPes] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_rA] != null) {\n contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]);\n }\n if (output[_di] != null) {\n contents[_Di] = (0, import_smithy_client.expectString)(output[_di]);\n }\n return contents;\n}, \"de_FirewallStatefulRule\");\nvar de_FirewallStatelessRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rGA] != null) {\n contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]);\n }\n if (output.sourceSet === \"\") {\n contents[_So] = [];\n } else if (output[_sSo] != null && output[_sSo][_i] != null) {\n contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context);\n }\n if (output.destinationSet === \"\") {\n contents[_Des] = [];\n } else if (output[_dSe] != null && output[_dSe][_i] != null) {\n contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context);\n }\n if (output.sourcePortSet === \"\") {\n contents[_SPo] = [];\n } else if (output[_sPS] != null && output[_sPS][_i] != null) {\n contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context);\n }\n if (output.destinationPortSet === \"\") {\n contents[_DPes] = [];\n } else if (output[_dPS] != null && output[_dPS][_i] != null) {\n contents[_DPes] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context);\n }\n if (output.protocolSet === \"\") {\n contents[_Pro] = [];\n } else if (output[_pSro] != null && output[_pSro][_i] != null) {\n contents[_Pro] = de_ProtocolIntList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context);\n }\n if (output[_rA] != null) {\n contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]);\n }\n if (output[_pri] != null) {\n contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]);\n }\n return contents;\n}, \"de_FirewallStatelessRule\");\nvar de_FleetCapacityReservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_iPn] != null) {\n contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_tIC] != null) {\n contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]);\n }\n if (output[_fC] != null) {\n contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_cD] != null) {\n contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD]));\n }\n if (output[_we] != null) {\n contents[_W] = (0, import_smithy_client.strictParseFloat)(output[_we]);\n }\n if (output[_pri] != null) {\n contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]);\n }\n return contents;\n}, \"de_FleetCapacityReservation\");\nvar de_FleetCapacityReservationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FleetCapacityReservation(entry, context);\n });\n}, \"de_FleetCapacityReservationSet\");\nvar de_FleetData = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSc] != null) {\n contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_fIl] != null) {\n contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]);\n }\n if (output[_fSl] != null) {\n contents[_FS] = (0, import_smithy_client.expectString)(output[_fSl]);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_eCTP] != null) {\n contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]);\n }\n if (output[_fC] != null) {\n contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]);\n }\n if (output[_fODC] != null) {\n contents[_FODC] = (0, import_smithy_client.strictParseFloat)(output[_fODC]);\n }\n if (output.launchTemplateConfigs === \"\") {\n contents[_LTC] = [];\n } else if (output[_lTC] != null && output[_lTC][_i] != null) {\n contents[_LTC] = de_FleetLaunchTemplateConfigList((0, import_smithy_client.getArrayIfSingleItem)(output[_lTC][_i]), context);\n }\n if (output[_tCS] != null) {\n contents[_TCS] = de_TargetCapacitySpecification(output[_tCS], context);\n }\n if (output[_tIWE] != null) {\n contents[_TIWE] = (0, import_smithy_client.parseBoolean)(output[_tIWE]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_vF] != null) {\n contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF]));\n }\n if (output[_vU] != null) {\n contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU]));\n }\n if (output[_rUI] != null) {\n contents[_RUI] = (0, import_smithy_client.parseBoolean)(output[_rUI]);\n }\n if (output[_sO] != null) {\n contents[_SO] = de_SpotOptions(output[_sO], context);\n }\n if (output[_oDO] != null) {\n contents[_ODO] = de_OnDemandOptions(output[_oDO], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.errorSet === \"\") {\n contents[_Err] = [];\n } else if (output[_eSr] != null && output[_eSr][_i] != null) {\n contents[_Err] = de_DescribeFleetsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context);\n }\n if (output.fleetInstanceSet === \"\") {\n contents[_In] = [];\n } else if (output[_fIS] != null && output[_fIS][_i] != null) {\n contents[_In] = de_DescribeFleetsInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context);\n }\n if (output[_cont] != null) {\n contents[_Con] = (0, import_smithy_client.expectString)(output[_cont]);\n }\n return contents;\n}, \"de_FleetData\");\nvar de_FleetLaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTS] != null) {\n contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context);\n }\n if (output.overrides === \"\") {\n contents[_Ov] = [];\n } else if (output[_ov] != null && output[_ov][_i] != null) {\n contents[_Ov] = de_FleetLaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context);\n }\n return contents;\n}, \"de_FleetLaunchTemplateConfig\");\nvar de_FleetLaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FleetLaunchTemplateConfig(entry, context);\n });\n}, \"de_FleetLaunchTemplateConfigList\");\nvar de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_mP] != null) {\n contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_wC] != null) {\n contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);\n }\n if (output[_pri] != null) {\n contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);\n }\n if (output[_pla] != null) {\n contents[_Pl] = de_PlacementResponse(output[_pla], context);\n }\n if (output[_iR] != null) {\n contents[_IR] = de_InstanceRequirements(output[_iR], context);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output.blockDeviceMappingSet === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDMS] != null && output[_bDMS][_i] != null) {\n contents[_BDM] = de_BlockDeviceMappingResponseList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDMS][_i]), context);\n }\n return contents;\n}, \"de_FleetLaunchTemplateOverrides\");\nvar de_FleetLaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FleetLaunchTemplateOverrides(entry, context);\n });\n}, \"de_FleetLaunchTemplateOverridesList\");\nvar de_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_ve] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_ve]);\n }\n return contents;\n}, \"de_FleetLaunchTemplateSpecification\");\nvar de_FleetSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FleetData(entry, context);\n });\n}, \"de_FleetSet\");\nvar de_FleetSpotCapacityRebalance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSep] != null) {\n contents[_RS] = (0, import_smithy_client.expectString)(output[_rSep]);\n }\n if (output[_tD] != null) {\n contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]);\n }\n return contents;\n}, \"de_FleetSpotCapacityRebalance\");\nvar de_FleetSpotMaintenanceStrategies = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRa] != null) {\n contents[_CRap] = de_FleetSpotCapacityRebalance(output[_cRa], context);\n }\n return contents;\n}, \"de_FleetSpotMaintenanceStrategies\");\nvar de_FlowLog = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output[_dLEM] != null) {\n contents[_DLEM] = (0, import_smithy_client.expectString)(output[_dLEM]);\n }\n if (output[_dLPA] != null) {\n contents[_DLPA] = (0, import_smithy_client.expectString)(output[_dLPA]);\n }\n if (output[_dCAR] != null) {\n contents[_DCAR] = (0, import_smithy_client.expectString)(output[_dCAR]);\n }\n if (output[_dLS] != null) {\n contents[_DLSe] = (0, import_smithy_client.expectString)(output[_dLS]);\n }\n if (output[_fLI] != null) {\n contents[_FLIl] = (0, import_smithy_client.expectString)(output[_fLI]);\n }\n if (output[_fLSl] != null) {\n contents[_FLS] = (0, import_smithy_client.expectString)(output[_fLSl]);\n }\n if (output[_lGN] != null) {\n contents[_LGN] = (0, import_smithy_client.expectString)(output[_lGN]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_tT] != null) {\n contents[_TT] = (0, import_smithy_client.expectString)(output[_tT]);\n }\n if (output[_lDT] != null) {\n contents[_LDT] = (0, import_smithy_client.expectString)(output[_lDT]);\n }\n if (output[_lD] != null) {\n contents[_LD] = (0, import_smithy_client.expectString)(output[_lD]);\n }\n if (output[_lF] != null) {\n contents[_LF] = (0, import_smithy_client.expectString)(output[_lF]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_mAI] != null) {\n contents[_MAI] = (0, import_smithy_client.strictParseInt32)(output[_mAI]);\n }\n if (output[_dOe] != null) {\n contents[_DO] = de_DestinationOptionsResponse(output[_dOe], context);\n }\n return contents;\n}, \"de_FlowLog\");\nvar de_FlowLogSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FlowLog(entry, context);\n });\n}, \"de_FlowLogSet\");\nvar de_FpgaDeviceInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_man] != null) {\n contents[_Man] = (0, import_smithy_client.expectString)(output[_man]);\n }\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_FpgaDeviceMemoryInfo(output[_mIe], context);\n }\n return contents;\n}, \"de_FpgaDeviceInfo\");\nvar de_FpgaDeviceInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FpgaDeviceInfo(entry, context);\n });\n}, \"de_FpgaDeviceInfoList\");\nvar de_FpgaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]);\n }\n return contents;\n}, \"de_FpgaDeviceMemoryInfo\");\nvar de_FpgaImage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fII] != null) {\n contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]);\n }\n if (output[_fIGI] != null) {\n contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_sVh] != null) {\n contents[_SVh] = (0, import_smithy_client.expectString)(output[_sVh]);\n }\n if (output[_pIc] != null) {\n contents[_PIc] = de_PciId(output[_pIc], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = de_FpgaImageState(output[_st], context);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_uT] != null) {\n contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT]));\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_oAw] != null) {\n contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output.tags === \"\") {\n contents[_Ta] = [];\n } else if (output[_ta] != null && output[_ta][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_ta][_i]), context);\n }\n if (output[_pu] != null) {\n contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_pu]);\n }\n if (output[_dRS] != null) {\n contents[_DRSa] = (0, import_smithy_client.parseBoolean)(output[_dRS]);\n }\n if (output.instanceTypes === \"\") {\n contents[_ITnst] = [];\n } else if (output[_iTn] != null && output[_iTn][_i] != null) {\n contents[_ITnst] = de_InstanceTypesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTn][_i]), context);\n }\n return contents;\n}, \"de_FpgaImage\");\nvar de_FpgaImageAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fII] != null) {\n contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.loadPermissions === \"\") {\n contents[_LPo] = [];\n } else if (output[_lP] != null && output[_lP][_i] != null) {\n contents[_LPo] = de_LoadPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lP][_i]), context);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n return contents;\n}, \"de_FpgaImageAttribute\");\nvar de_FpgaImageList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_FpgaImage(entry, context);\n });\n}, \"de_FpgaImageList\");\nvar de_FpgaImageState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_FpgaImageState\");\nvar de_FpgaInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.fpgas === \"\") {\n contents[_Fp] = [];\n } else if (output[_fp] != null && output[_fp][_i] != null) {\n contents[_Fp] = de_FpgaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_fp][_i]), context);\n }\n if (output[_tFMIMB] != null) {\n contents[_TFMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tFMIMB]);\n }\n return contents;\n}, \"de_FpgaInfo\");\nvar de_GetAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.imageCriterionSet === \"\") {\n contents[_ICm] = [];\n } else if (output[_iCS] != null && output[_iCS][_i] != null) {\n contents[_ICm] = de_ImageCriterionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCS][_i]), context);\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n return contents;\n}, \"de_GetAllowedImagesSettingsResult\");\nvar de_GetAssociatedEnclaveCertificateIamRolesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.associatedRoleSet === \"\") {\n contents[_ARss] = [];\n } else if (output[_aRS] != null && output[_aRS][_i] != null) {\n contents[_ARss] = de_AssociatedRolesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRS][_i]), context);\n }\n return contents;\n}, \"de_GetAssociatedEnclaveCertificateIamRolesResult\");\nvar de_GetAssociatedIpv6PoolCidrsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipv6CidrAssociationSet === \"\") {\n contents[_ICA] = [];\n } else if (output[_iCAS] != null && output[_iCAS][_i] != null) {\n contents[_ICA] = de_Ipv6CidrAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetAssociatedIpv6PoolCidrsResult\");\nvar de_GetAwsNetworkPerformanceDataResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.dataResponseSet === \"\") {\n contents[_DRa] = [];\n } else if (output[_dRSa] != null && output[_dRSa][_i] != null) {\n contents[_DRa] = de_DataResponses((0, import_smithy_client.getArrayIfSingleItem)(output[_dRSa][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetAwsNetworkPerformanceDataResult\");\nvar de_GetCapacityReservationUsageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_tIC] != null) {\n contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]);\n }\n if (output[_aICv] != null) {\n contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.instanceUsageSet === \"\") {\n contents[_IU] = [];\n } else if (output[_iUS] != null && output[_iUS][_i] != null) {\n contents[_IU] = de_InstanceUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iUS][_i]), context);\n }\n return contents;\n}, \"de_GetCapacityReservationUsageResult\");\nvar de_GetCoipPoolUsageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cPI] != null) {\n contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]);\n }\n if (output.coipAddressUsageSet === \"\") {\n contents[_CAU] = [];\n } else if (output[_cAUS] != null && output[_cAUS][_i] != null) {\n contents[_CAU] = de_CoipAddressUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cAUS][_i]), context);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetCoipPoolUsageResult\");\nvar de_GetConsoleOutputResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n if (output[_ou] != null) {\n contents[_Ou] = (0, import_smithy_client.expectString)(output[_ou]);\n }\n return contents;\n}, \"de_GetConsoleOutputResult\");\nvar de_GetConsoleScreenshotResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iD] != null) {\n contents[_IDm] = (0, import_smithy_client.expectString)(output[_iD]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n return contents;\n}, \"de_GetConsoleScreenshotResult\");\nvar de_GetDeclarativePoliciesReportSummaryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rI] != null) {\n contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]);\n }\n if (output[_sB] != null) {\n contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]);\n }\n if (output[_sP] != null) {\n contents[_SP] = (0, import_smithy_client.expectString)(output[_sP]);\n }\n if (output[_tI] != null) {\n contents[_TIa] = (0, import_smithy_client.expectString)(output[_tI]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_eTn] != null) {\n contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn]));\n }\n if (output[_nOA] != null) {\n contents[_NOA] = (0, import_smithy_client.strictParseInt32)(output[_nOA]);\n }\n if (output[_nOFA] != null) {\n contents[_NOFA] = (0, import_smithy_client.strictParseInt32)(output[_nOFA]);\n }\n if (output.attributeSummarySet === \"\") {\n contents[_ASt] = [];\n } else if (output[_aSSt] != null && output[_aSSt][_i] != null) {\n contents[_ASt] = de_AttributeSummaryList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSSt][_i]), context);\n }\n return contents;\n}, \"de_GetDeclarativePoliciesReportSummaryResult\");\nvar de_GetDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iFCS] != null) {\n contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context);\n }\n return contents;\n}, \"de_GetDefaultCreditSpecificationResult\");\nvar de_GetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n return contents;\n}, \"de_GetEbsDefaultKmsKeyIdResult\");\nvar de_GetEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eEBD] != null) {\n contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]);\n }\n if (output[_sTs] != null) {\n contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);\n }\n return contents;\n}, \"de_GetEbsEncryptionByDefaultResult\");\nvar de_GetFlowLogsIntegrationTemplateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_res] != null) {\n contents[_Resu] = (0, import_smithy_client.expectString)(output[_res]);\n }\n return contents;\n}, \"de_GetFlowLogsIntegrationTemplateResult\");\nvar de_GetGroupsForCapacityReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.capacityReservationGroupSet === \"\") {\n contents[_CRG] = [];\n } else if (output[_cRGS] != null && output[_cRGS][_i] != null) {\n contents[_CRG] = de_CapacityReservationGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRGS][_i]), context);\n }\n return contents;\n}, \"de_GetGroupsForCapacityReservationResult\");\nvar de_GetHostReservationPurchasePreviewResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output.purchase === \"\") {\n contents[_Pur] = [];\n } else if (output[_pur] != null && output[_pur][_i] != null) {\n contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context);\n }\n if (output[_tHP] != null) {\n contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]);\n }\n if (output[_tUP] != null) {\n contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]);\n }\n return contents;\n}, \"de_GetHostReservationPurchasePreviewResult\");\nvar de_GetImageBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iBPAS] != null) {\n contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]);\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n return contents;\n}, \"de_GetImageBlockPublicAccessStateResult\");\nvar de_GetInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aL] != null) {\n contents[_ALc] = de_InstanceMetadataDefaultsResponse(output[_aL], context);\n }\n return contents;\n}, \"de_GetInstanceMetadataDefaultsResult\");\nvar de_GetInstanceTpmEkPubResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_kT] != null) {\n contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]);\n }\n if (output[_kF] != null) {\n contents[_KF] = (0, import_smithy_client.expectString)(output[_kF]);\n }\n if (output[_kV] != null) {\n contents[_KV] = (0, import_smithy_client.expectString)(output[_kV]);\n }\n return contents;\n}, \"de_GetInstanceTpmEkPubResult\");\nvar de_GetInstanceTypesFromInstanceRequirementsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceTypeSet === \"\") {\n contents[_ITnst] = [];\n } else if (output[_iTS] != null && output[_iTS][_i] != null) {\n contents[_ITnst] = de_InstanceTypeInfoFromInstanceRequirementsSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]),\n context\n );\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetInstanceTypesFromInstanceRequirementsResult\");\nvar de_GetInstanceUefiDataResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_uD] != null) {\n contents[_UDe] = (0, import_smithy_client.expectString)(output[_uD]);\n }\n return contents;\n}, \"de_GetInstanceUefiDataResult\");\nvar de_GetIpamAddressHistoryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.historyRecordSet === \"\") {\n contents[_HRi] = [];\n } else if (output[_hRS] != null && output[_hRS][_i] != null) {\n contents[_HRi] = de_IpamAddressHistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamAddressHistoryResult\");\nvar de_GetIpamDiscoveredAccountsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamDiscoveredAccountSet === \"\") {\n contents[_IDA] = [];\n } else if (output[_iDAS] != null && output[_iDAS][_i] != null) {\n contents[_IDA] = de_IpamDiscoveredAccountSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamDiscoveredAccountsResult\");\nvar de_GetIpamDiscoveredPublicAddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamDiscoveredPublicAddressSet === \"\") {\n contents[_IDPA] = [];\n } else if (output[_iDPAS] != null && output[_iDPAS][_i] != null) {\n contents[_IDPA] = de_IpamDiscoveredPublicAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDPAS][_i]), context);\n }\n if (output[_oST] != null) {\n contents[_OST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oST]));\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamDiscoveredPublicAddressesResult\");\nvar de_GetIpamDiscoveredResourceCidrsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamDiscoveredResourceCidrSet === \"\") {\n contents[_IDRC] = [];\n } else if (output[_iDRCS] != null && output[_iDRCS][_i] != null) {\n contents[_IDRC] = de_IpamDiscoveredResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDRCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamDiscoveredResourceCidrsResult\");\nvar de_GetIpamPoolAllocationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamPoolAllocationSet === \"\") {\n contents[_IPAp] = [];\n } else if (output[_iPAS] != null && output[_iPAS][_i] != null) {\n contents[_IPAp] = de_IpamPoolAllocationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamPoolAllocationsResult\");\nvar de_GetIpamPoolCidrsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.ipamPoolCidrSet === \"\") {\n contents[_IPCpam] = [];\n } else if (output[_iPCS] != null && output[_iPCS][_i] != null) {\n contents[_IPCpam] = de_IpamPoolCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPCS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetIpamPoolCidrsResult\");\nvar de_GetIpamResourceCidrsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.ipamResourceCidrSet === \"\") {\n contents[_IRC] = [];\n } else if (output[_iRCS] != null && output[_iRCS][_i] != null) {\n contents[_IRC] = de_IpamResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRCS][_i]), context);\n }\n return contents;\n}, \"de_GetIpamResourceCidrsResult\");\nvar de_GetLaunchTemplateDataResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTD] != null) {\n contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context);\n }\n return contents;\n}, \"de_GetLaunchTemplateDataResult\");\nvar de_GetManagedPrefixListAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.prefixListAssociationSet === \"\") {\n contents[_PLA] = [];\n } else if (output[_pLAS] != null && output[_pLAS][_i] != null) {\n contents[_PLA] = de_PrefixListAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLAS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetManagedPrefixListAssociationsResult\");\nvar de_GetManagedPrefixListEntriesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.entrySet === \"\") {\n contents[_Ent] = [];\n } else if (output[_eSnt] != null && output[_eSnt][_i] != null) {\n contents[_Ent] = de_PrefixListEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetManagedPrefixListEntriesResult\");\nvar de_GetNetworkInsightsAccessScopeAnalysisFindingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASAI] != null) {\n contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]);\n }\n if (output[_aSn] != null) {\n contents[_ASn] = (0, import_smithy_client.expectString)(output[_aSn]);\n }\n if (output.analysisFindingSet === \"\") {\n contents[_AFn] = [];\n } else if (output[_aFS] != null && output[_aFS][_i] != null) {\n contents[_AFn] = de_AccessScopeAnalysisFindingList((0, import_smithy_client.getArrayIfSingleItem)(output[_aFS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetNetworkInsightsAccessScopeAnalysisFindingsResult\");\nvar de_GetNetworkInsightsAccessScopeContentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASC] != null) {\n contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context);\n }\n return contents;\n}, \"de_GetNetworkInsightsAccessScopeContentResult\");\nvar de_GetPasswordDataResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n if (output[_pD] != null) {\n contents[_PDa] = (0, import_smithy_client.expectString)(output[_pD]);\n }\n return contents;\n}, \"de_GetPasswordDataResult\");\nvar de_GetReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_iVE] != null) {\n contents[_IVE] = (0, import_smithy_client.parseBoolean)(output[_iVE]);\n }\n if (output[_oRIWEA] != null) {\n contents[_ORIWEA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oRIWEA]));\n }\n if (output[_pDa] != null) {\n contents[_PDay] = (0, import_smithy_client.expectString)(output[_pDa]);\n }\n if (output[_rIVR] != null) {\n contents[_RIVR] = de_ReservationValue(output[_rIVR], context);\n }\n if (output.reservedInstanceValueSet === \"\") {\n contents[_RIVS] = [];\n } else if (output[_rIVS] != null && output[_rIVS][_i] != null) {\n contents[_RIVS] = de_ReservedInstanceReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rIVS][_i]), context);\n }\n if (output[_tCVR] != null) {\n contents[_TCVR] = de_ReservationValue(output[_tCVR], context);\n }\n if (output.targetConfigurationValueSet === \"\") {\n contents[_TCVS] = [];\n } else if (output[_tCVS] != null && output[_tCVS][_i] != null) {\n contents[_TCVS] = de_TargetReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tCVS][_i]), context);\n }\n if (output[_vFR] != null) {\n contents[_VFR] = (0, import_smithy_client.expectString)(output[_vFR]);\n }\n return contents;\n}, \"de_GetReservedInstancesExchangeQuoteResult\");\nvar de_GetRouteServerAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeServerAssociationSet === \"\") {\n contents[_RSAou] = [];\n } else if (output[_rSAS] != null && output[_rSAS][_i] != null) {\n contents[_RSAou] = de_RouteServerAssociationsList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSAS][_i]), context);\n }\n return contents;\n}, \"de_GetRouteServerAssociationsResult\");\nvar de_GetRouteServerPropagationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeServerPropagationSet === \"\") {\n contents[_RSPout] = [];\n } else if (output[_rSPSo] != null && output[_rSPSo][_i] != null) {\n contents[_RSPout] = de_RouteServerPropagationsList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSPSo][_i]), context);\n }\n return contents;\n}, \"de_GetRouteServerPropagationsResult\");\nvar de_GetRouteServerRoutingDatabaseResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aRP] != null) {\n contents[_ARP] = (0, import_smithy_client.parseBoolean)(output[_aRP]);\n }\n if (output.routeSet === \"\") {\n contents[_Rout] = [];\n } else if (output[_rSou] != null && output[_rSou][_i] != null) {\n contents[_Rout] = de_RouteServerRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSou][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetRouteServerRoutingDatabaseResult\");\nvar de_GetSecurityGroupsForVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n if (output.securityGroupForVpcSet === \"\") {\n contents[_SGFV] = [];\n } else if (output[_sGFVS] != null && output[_sGFVS][_i] != null) {\n contents[_SGFV] = de_SecurityGroupForVpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGFVS][_i]), context);\n }\n return contents;\n}, \"de_GetSecurityGroupsForVpcResult\");\nvar de_GetSerialConsoleAccessStatusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCAE] != null) {\n contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]);\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n return contents;\n}, \"de_GetSerialConsoleAccessStatusResult\");\nvar de_GetSnapshotBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n return contents;\n}, \"de_GetSnapshotBlockPublicAccessStateResult\");\nvar de_GetSpotPlacementScoresResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.spotPlacementScoreSet === \"\") {\n contents[_SPS] = [];\n } else if (output[_sPSS] != null && output[_sPSS][_i] != null) {\n contents[_SPS] = de_SpotPlacementScores((0, import_smithy_client.getArrayIfSingleItem)(output[_sPSS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetSpotPlacementScoresResult\");\nvar de_GetSubnetCidrReservationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.subnetIpv4CidrReservationSet === \"\") {\n contents[_SICR] = [];\n } else if (output[_sICRS] != null && output[_sICRS][_i] != null) {\n contents[_SICR] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRS][_i]), context);\n }\n if (output.subnetIpv6CidrReservationSet === \"\") {\n contents[_SICRu] = [];\n } else if (output[_sICRSu] != null && output[_sICRSu][_i] != null) {\n contents[_SICRu] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRSu][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetSubnetCidrReservationsResult\");\nvar de_GetTransitGatewayAttachmentPropagationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayAttachmentPropagations === \"\") {\n contents[_TGAP] = [];\n } else if (output[_tGAP] != null && output[_tGAP][_i] != null) {\n contents[_TGAP] = de_TransitGatewayAttachmentPropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGAP][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayAttachmentPropagationsResult\");\nvar de_GetTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.multicastDomainAssociations === \"\") {\n contents[_MDA] = [];\n } else if (output[_mDA] != null && output[_mDA][_i] != null) {\n contents[_MDA] = de_TransitGatewayMulticastDomainAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_mDA][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayMulticastDomainAssociationsResult\");\nvar de_GetTransitGatewayPolicyTableAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.associations === \"\") {\n contents[_Ass] = [];\n } else if (output[_a] != null && output[_a][_i] != null) {\n contents[_Ass] = de_TransitGatewayPolicyTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayPolicyTableAssociationsResult\");\nvar de_GetTransitGatewayPolicyTableEntriesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayPolicyTableEntries === \"\") {\n contents[_TGPTE] = [];\n } else if (output[_tGPTE] != null && output[_tGPTE][_i] != null) {\n contents[_TGPTE] = de_TransitGatewayPolicyTableEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTE][_i]), context);\n }\n return contents;\n}, \"de_GetTransitGatewayPolicyTableEntriesResult\");\nvar de_GetTransitGatewayPrefixListReferencesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayPrefixListReferenceSet === \"\") {\n contents[_TGPLRr] = [];\n } else if (output[_tGPLRS] != null && output[_tGPLRS][_i] != null) {\n contents[_TGPLRr] = de_TransitGatewayPrefixListReferenceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPLRS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayPrefixListReferencesResult\");\nvar de_GetTransitGatewayRouteTableAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.associations === \"\") {\n contents[_Ass] = [];\n } else if (output[_a] != null && output[_a][_i] != null) {\n contents[_Ass] = de_TransitGatewayRouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayRouteTableAssociationsResult\");\nvar de_GetTransitGatewayRouteTablePropagationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.transitGatewayRouteTablePropagations === \"\") {\n contents[_TGRTP] = [];\n } else if (output[_tGRTP] != null && output[_tGRTP][_i] != null) {\n contents[_TGRTP] = de_TransitGatewayRouteTablePropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTP][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetTransitGatewayRouteTablePropagationsResult\");\nvar de_GetVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pE] != null) {\n contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]);\n }\n if (output[_pDo] != null) {\n contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]);\n }\n return contents;\n}, \"de_GetVerifiedAccessEndpointPolicyResult\");\nvar de_GetVerifiedAccessEndpointTargetsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.verifiedAccessEndpointTargetSet === \"\") {\n contents[_VAET] = [];\n } else if (output[_vAETS] != null && output[_vAETS][_i] != null) {\n contents[_VAET] = de_VerifiedAccessEndpointTargetList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAETS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetVerifiedAccessEndpointTargetsResult\");\nvar de_GetVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pE] != null) {\n contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]);\n }\n if (output[_pDo] != null) {\n contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]);\n }\n return contents;\n}, \"de_GetVerifiedAccessGroupPolicyResult\");\nvar de_GetVpnConnectionDeviceSampleConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vCDSC] != null) {\n contents[_VCDSC] = (0, import_smithy_client.expectString)(output[_vCDSC]);\n }\n return contents;\n}, \"de_GetVpnConnectionDeviceSampleConfigurationResult\");\nvar de_GetVpnConnectionDeviceTypesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.vpnConnectionDeviceTypeSet === \"\") {\n contents[_VCDT] = [];\n } else if (output[_vCDTS] != null && output[_vCDTS][_i] != null) {\n contents[_VCDT] = de_VpnConnectionDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCDTS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_GetVpnConnectionDeviceTypesResult\");\nvar de_GetVpnTunnelReplacementStatusResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vCI] != null) {\n contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_cGIu] != null) {\n contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]);\n }\n if (output[_vGI] != null) {\n contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]);\n }\n if (output[_vTOIA] != null) {\n contents[_VTOIA] = (0, import_smithy_client.expectString)(output[_vTOIA]);\n }\n if (output[_mD] != null) {\n contents[_MDa] = de_MaintenanceDetails(output[_mD], context);\n }\n return contents;\n}, \"de_GetVpnTunnelReplacementStatusResult\");\nvar de_GpuDeviceInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_man] != null) {\n contents[_Man] = (0, import_smithy_client.expectString)(output[_man]);\n }\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_GpuDeviceMemoryInfo(output[_mIe], context);\n }\n return contents;\n}, \"de_GpuDeviceInfo\");\nvar de_GpuDeviceInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_GpuDeviceInfo(entry, context);\n });\n}, \"de_GpuDeviceInfoList\");\nvar de_GpuDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]);\n }\n return contents;\n}, \"de_GpuDeviceMemoryInfo\");\nvar de_GpuInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.gpus === \"\") {\n contents[_Gp] = [];\n } else if (output[_gp] != null && output[_gp][_i] != null) {\n contents[_Gp] = de_GpuDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_gp][_i]), context);\n }\n if (output[_tGMIMB] != null) {\n contents[_TGMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tGMIMB]);\n }\n return contents;\n}, \"de_GpuInfo\");\nvar de_GroupIdentifier = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n return contents;\n}, \"de_GroupIdentifier\");\nvar de_GroupIdentifierList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_GroupIdentifier(entry, context);\n });\n}, \"de_GroupIdentifierList\");\nvar de_GroupIdentifierSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroupIdentifier(entry, context);\n });\n}, \"de_GroupIdentifierSet\");\nvar de_GroupIdStringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_GroupIdStringList\");\nvar de_HibernationOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_conf] != null) {\n contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]);\n }\n return contents;\n}, \"de_HibernationOptions\");\nvar de_HistoryRecord = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eIv] != null) {\n contents[_EIv] = de_EventInformation(output[_eIv], context);\n }\n if (output[_eTv] != null) {\n contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n return contents;\n}, \"de_HistoryRecord\");\nvar de_HistoryRecordEntry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eIv] != null) {\n contents[_EIv] = de_EventInformation(output[_eIv], context);\n }\n if (output[_eTv] != null) {\n contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n return contents;\n}, \"de_HistoryRecordEntry\");\nvar de_HistoryRecords = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HistoryRecord(entry, context);\n });\n}, \"de_HistoryRecords\");\nvar de_HistoryRecordSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HistoryRecordEntry(entry, context);\n });\n}, \"de_HistoryRecordSet\");\nvar de_Host = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aPu] != null) {\n contents[_AP] = (0, import_smithy_client.expectString)(output[_aPu]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_aC] != null) {\n contents[_ACv] = de_AvailableCapacity(output[_aC], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_hI] != null) {\n contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]);\n }\n if (output[_hP] != null) {\n contents[_HP] = de_HostProperties(output[_hP], context);\n }\n if (output[_hRI] != null) {\n contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]);\n }\n if (output.instances === \"\") {\n contents[_In] = [];\n } else if (output[_ins] != null && output[_ins][_i] != null) {\n contents[_In] = de_HostInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_ins][_i]), context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_aTll] != null) {\n contents[_ATll] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTll]));\n }\n if (output[_rTel] != null) {\n contents[_RTel] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTel]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_hR] != null) {\n contents[_HR] = (0, import_smithy_client.expectString)(output[_hR]);\n }\n if (output[_aMIT] != null) {\n contents[_AMIT] = (0, import_smithy_client.expectString)(output[_aMIT]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_mOSLRG] != null) {\n contents[_MOSLRG] = (0, import_smithy_client.parseBoolean)(output[_mOSLRG]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_hM] != null) {\n contents[_HM] = (0, import_smithy_client.expectString)(output[_hM]);\n }\n if (output[_aIss] != null) {\n contents[_AIsse] = (0, import_smithy_client.expectString)(output[_aIss]);\n }\n return contents;\n}, \"de_Host\");\nvar de_HostInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_HostInstance\");\nvar de_HostInstanceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HostInstance(entry, context);\n });\n}, \"de_HostInstanceList\");\nvar de_HostList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Host(entry, context);\n });\n}, \"de_HostList\");\nvar de_HostOffering = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_du] != null) {\n contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]);\n }\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n if (output[_oIf] != null) {\n contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]);\n }\n if (output[_pO] != null) {\n contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]);\n }\n if (output[_uP] != null) {\n contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]);\n }\n return contents;\n}, \"de_HostOffering\");\nvar de_HostOfferingSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HostOffering(entry, context);\n });\n}, \"de_HostOfferingSet\");\nvar de_HostProperties = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cor] != null) {\n contents[_Cor] = (0, import_smithy_client.strictParseInt32)(output[_cor]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n if (output[_so] != null) {\n contents[_Soc] = (0, import_smithy_client.strictParseInt32)(output[_so]);\n }\n if (output[_tVC] != null) {\n contents[_TVC] = (0, import_smithy_client.strictParseInt32)(output[_tVC]);\n }\n return contents;\n}, \"de_HostProperties\");\nvar de_HostReservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_du] != null) {\n contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]);\n }\n if (output[_end] != null) {\n contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end]));\n }\n if (output.hostIdSet === \"\") {\n contents[_HIS] = [];\n } else if (output[_hIS] != null && output[_hIS][_i] != null) {\n contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context);\n }\n if (output[_hRI] != null) {\n contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]);\n }\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n if (output[_oIf] != null) {\n contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]);\n }\n if (output[_pO] != null) {\n contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]);\n }\n if (output[_star] != null) {\n contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star]));\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_uP] != null) {\n contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_HostReservation\");\nvar de_HostReservationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HostReservation(entry, context);\n });\n}, \"de_HostReservationSet\");\nvar de_IamInstanceProfile = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n if (output[_id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_id]);\n }\n return contents;\n}, \"de_IamInstanceProfile\");\nvar de_IamInstanceProfileAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iIP] != null) {\n contents[_IIP] = de_IamInstanceProfile(output[_iIP], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n return contents;\n}, \"de_IamInstanceProfileAssociation\");\nvar de_IamInstanceProfileAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IamInstanceProfileAssociation(entry, context);\n });\n}, \"de_IamInstanceProfileAssociationSet\");\nvar de_IamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_IamInstanceProfileSpecification\");\nvar de_IcmpTypeCode = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.strictParseInt32)(output[_ty]);\n }\n return contents;\n}, \"de_IcmpTypeCode\");\nvar de_IdFormat = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dea] != null) {\n contents[_Dea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dea]));\n }\n if (output[_reso] != null) {\n contents[_Res] = (0, import_smithy_client.expectString)(output[_reso]);\n }\n if (output[_uLI] != null) {\n contents[_ULI] = (0, import_smithy_client.parseBoolean)(output[_uLI]);\n }\n return contents;\n}, \"de_IdFormat\");\nvar de_IdFormatList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IdFormat(entry, context);\n });\n}, \"de_IdFormatList\");\nvar de_IKEVersionsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IKEVersionsListValue(entry, context);\n });\n}, \"de_IKEVersionsList\");\nvar de_IKEVersionsListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_IKEVersionsListValue\");\nvar de_Image = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pDl] != null) {\n contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]);\n }\n if (output[_uO] != null) {\n contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]);\n }\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_eSna] != null) {\n contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]);\n }\n if (output[_h] != null) {\n contents[_H] = (0, import_smithy_client.expectString)(output[_h]);\n }\n if (output[_iOA] != null) {\n contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_rDN] != null) {\n contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]);\n }\n if (output[_rDT] != null) {\n contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]);\n }\n if (output[_sNSr] != null) {\n contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]);\n }\n if (output[_sRt] != null) {\n contents[_SRt] = de_StateReason(output[_sRt], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vTi] != null) {\n contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]);\n }\n if (output[_bM] != null) {\n contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]);\n }\n if (output[_tSp] != null) {\n contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]);\n }\n if (output[_dTe] != null) {\n contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]);\n }\n if (output[_iSmd] != null) {\n contents[_ISm] = (0, import_smithy_client.expectString)(output[_iSmd]);\n }\n if (output[_sII] != null) {\n contents[_SIIo] = (0, import_smithy_client.expectString)(output[_sII]);\n }\n if (output[_dPe] != null) {\n contents[_DPer] = (0, import_smithy_client.expectString)(output[_dPe]);\n }\n if (output[_lLT] != null) {\n contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]);\n }\n if (output[_iAm] != null) {\n contents[_IAm] = (0, import_smithy_client.parseBoolean)(output[_iAm]);\n }\n if (output[_sIIo] != null) {\n contents[_SII] = (0, import_smithy_client.expectString)(output[_sIIo]);\n }\n if (output[_sIR] != null) {\n contents[_SIRo] = (0, import_smithy_client.expectString)(output[_sIR]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iL] != null) {\n contents[_IL] = (0, import_smithy_client.expectString)(output[_iL]);\n }\n if (output[_iSma] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]);\n }\n if (output[_iOI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]);\n }\n if (output[_cDr] != null) {\n contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]);\n }\n if (output[_iPs] != null) {\n contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_iPs]);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output[_arc] != null) {\n contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]);\n }\n if (output[_iTm] != null) {\n contents[_ITm] = (0, import_smithy_client.expectString)(output[_iTm]);\n }\n if (output[_kI] != null) {\n contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]);\n }\n if (output[_rIa] != null) {\n contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n return contents;\n}, \"de_Image\");\nvar de_ImageAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = de_AttributeValue(output[_de], context);\n }\n if (output[_ke] != null) {\n contents[_KI] = de_AttributeValue(output[_ke], context);\n }\n if (output[_ra] != null) {\n contents[_RIa] = de_AttributeValue(output[_ra], context);\n }\n if (output[_sNSr] != null) {\n contents[_SNS] = de_AttributeValue(output[_sNSr], context);\n }\n if (output[_bM] != null) {\n contents[_BM] = de_AttributeValue(output[_bM], context);\n }\n if (output[_tSp] != null) {\n contents[_TSp] = de_AttributeValue(output[_tSp], context);\n }\n if (output[_uD] != null) {\n contents[_UDe] = de_AttributeValue(output[_uD], context);\n }\n if (output[_lLT] != null) {\n contents[_LLT] = de_AttributeValue(output[_lLT], context);\n }\n if (output[_iSmd] != null) {\n contents[_ISm] = de_AttributeValue(output[_iSmd], context);\n }\n if (output[_dPe] != null) {\n contents[_DPer] = de_AttributeValue(output[_dPe], context);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output.launchPermission === \"\") {\n contents[_LPau] = [];\n } else if (output[_lPa] != null && output[_lPa][_i] != null) {\n contents[_LPau] = de_LaunchPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lPa][_i]), context);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n return contents;\n}, \"de_ImageAttribute\");\nvar de_ImageCriterion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.imageProviderSet === \"\") {\n contents[_IPm] = [];\n } else if (output[_iPSm] != null && output[_iPSm][_i] != null) {\n contents[_IPm] = de_ImageProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSm][_i]), context);\n }\n return contents;\n}, \"de_ImageCriterion\");\nvar de_ImageCriterionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImageCriterion(entry, context);\n });\n}, \"de_ImageCriterionList\");\nvar de_ImageList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Image(entry, context);\n });\n}, \"de_ImageList\");\nvar de_ImageMetadata = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_iOI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]);\n }\n if (output[_iSma] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]);\n }\n if (output[_iOA] != null) {\n contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]);\n }\n if (output[_cDr] != null) {\n contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]);\n }\n if (output[_dTe] != null) {\n contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]);\n }\n if (output[_iAm] != null) {\n contents[_IAm] = (0, import_smithy_client.parseBoolean)(output[_iAm]);\n }\n if (output[_iPs] != null) {\n contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPs]);\n }\n return contents;\n}, \"de_ImageMetadata\");\nvar de_ImageProviderList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ImageProviderList\");\nvar de_ImageRecycleBinInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_rBET] != null) {\n contents[_RBET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBET]));\n }\n if (output[_rBETe] != null) {\n contents[_RBETe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBETe]));\n }\n return contents;\n}, \"de_ImageRecycleBinInfo\");\nvar de_ImageRecycleBinInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImageRecycleBinInfo(entry, context);\n });\n}, \"de_ImageRecycleBinInfoList\");\nvar de_ImportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ImportClientVpnClientCertificateRevocationListResult\");\nvar de_ImportImageLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lCA] != null) {\n contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]);\n }\n return contents;\n}, \"de_ImportImageLicenseConfigurationResponse\");\nvar de_ImportImageLicenseSpecificationListResponse = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImportImageLicenseConfigurationResponse(entry, context);\n });\n}, \"de_ImportImageLicenseSpecificationListResponse\");\nvar de_ImportImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_arc] != null) {\n contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_h] != null) {\n contents[_H] = (0, import_smithy_client.expectString)(output[_h]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iTI] != null) {\n contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_lTi] != null) {\n contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output.snapshotDetailSet === \"\") {\n contents[_SDn] = [];\n } else if (output[_sDSn] != null && output[_sDSn][_i] != null) {\n contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.licenseSpecifications === \"\") {\n contents[_LSi] = [];\n } else if (output[_lS] != null && output[_lS][_i] != null) {\n contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_uO] != null) {\n contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]);\n }\n return contents;\n}, \"de_ImportImageResult\");\nvar de_ImportImageTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_arc] != null) {\n contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_h] != null) {\n contents[_H] = (0, import_smithy_client.expectString)(output[_h]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iTI] != null) {\n contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_lTi] != null) {\n contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output.snapshotDetailSet === \"\") {\n contents[_SDn] = [];\n } else if (output[_sDSn] != null && output[_sDSn][_i] != null) {\n contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.licenseSpecifications === \"\") {\n contents[_LSi] = [];\n } else if (output[_lS] != null && output[_lS][_i] != null) {\n contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context);\n }\n if (output[_uO] != null) {\n contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]);\n }\n if (output[_bM] != null) {\n contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]);\n }\n return contents;\n}, \"de_ImportImageTask\");\nvar de_ImportImageTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImportImageTask(entry, context);\n });\n}, \"de_ImportImageTaskList\");\nvar de_ImportInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cTon] != null) {\n contents[_CTonv] = de_ConversionTask(output[_cTon], context);\n }\n return contents;\n}, \"de_ImportInstanceResult\");\nvar de_ImportInstanceTaskDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output.volumes === \"\") {\n contents[_Vol] = [];\n } else if (output[_vo] != null && output[_vo][_i] != null) {\n contents[_Vol] = de_ImportInstanceVolumeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vo][_i]), context);\n }\n return contents;\n}, \"de_ImportInstanceTaskDetails\");\nvar de_ImportInstanceVolumeDetailItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_bCy] != null) {\n contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_im] != null) {\n contents[_Im] = de_DiskImageDescription(output[_im], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_vol] != null) {\n contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context);\n }\n return contents;\n}, \"de_ImportInstanceVolumeDetailItem\");\nvar de_ImportInstanceVolumeDetailSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImportInstanceVolumeDetailItem(entry, context);\n });\n}, \"de_ImportInstanceVolumeDetailSet\");\nvar de_ImportKeyPairResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kFe] != null) {\n contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_kPI] != null) {\n contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ImportKeyPairResult\");\nvar de_ImportSnapshotResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_iTI] != null) {\n contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]);\n }\n if (output[_sTD] != null) {\n contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ImportSnapshotResult\");\nvar de_ImportSnapshotTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_iTI] != null) {\n contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]);\n }\n if (output[_sTD] != null) {\n contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_ImportSnapshotTask\");\nvar de_ImportSnapshotTaskList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ImportSnapshotTask(entry, context);\n });\n}, \"de_ImportSnapshotTaskList\");\nvar de_ImportVolumeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cTon] != null) {\n contents[_CTonv] = de_ConversionTask(output[_cTon], context);\n }\n return contents;\n}, \"de_ImportVolumeResult\");\nvar de_ImportVolumeTaskDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_bCy] != null) {\n contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_im] != null) {\n contents[_Im] = de_DiskImageDescription(output[_im], context);\n }\n if (output[_vol] != null) {\n contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context);\n }\n return contents;\n}, \"de_ImportVolumeTaskDetails\");\nvar de_InferenceAcceleratorInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.accelerators === \"\") {\n contents[_Acc] = [];\n } else if (output[_acc] != null && output[_acc][_mem] != null) {\n contents[_Acc] = de_InferenceDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_mem]), context);\n }\n if (output[_tIMIMB] != null) {\n contents[_TIMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tIMIMB]);\n }\n return contents;\n}, \"de_InferenceAcceleratorInfo\");\nvar de_InferenceDeviceInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_man] != null) {\n contents[_Man] = (0, import_smithy_client.expectString)(output[_man]);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_InferenceDeviceMemoryInfo(output[_mIe], context);\n }\n return contents;\n}, \"de_InferenceDeviceInfo\");\nvar de_InferenceDeviceInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InferenceDeviceInfo(entry, context);\n });\n}, \"de_InferenceDeviceInfoList\");\nvar de_InferenceDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]);\n }\n return contents;\n}, \"de_InferenceDeviceMemoryInfo\");\nvar de_InsideCidrBlocksStringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InsideCidrBlocksStringList\");\nvar de_Instance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_arc] != null) {\n contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]);\n }\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_eSna] != null) {\n contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]);\n }\n if (output[_h] != null) {\n contents[_H] = (0, import_smithy_client.expectString)(output[_h]);\n }\n if (output[_iIP] != null) {\n contents[_IIP] = de_IamInstanceProfile(output[_iIP], context);\n }\n if (output[_iLn] != null) {\n contents[_ILn] = (0, import_smithy_client.expectString)(output[_iLn]);\n }\n if (output.elasticGpuAssociationSet === \"\") {\n contents[_EGA] = [];\n } else if (output[_eGASl] != null && output[_eGASl][_i] != null) {\n contents[_EGA] = de_ElasticGpuAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eGASl][_i]), context);\n }\n if (output.elasticInferenceAcceleratorAssociationSet === \"\") {\n contents[_EIAAl] = [];\n } else if (output[_eIAASl] != null && output[_eIAASl][_i] != null) {\n contents[_EIAAl] = de_ElasticInferenceAcceleratorAssociationList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_eIAASl][_i]),\n context\n );\n }\n if (output.networkInterfaceSet === \"\") {\n contents[_NI] = [];\n } else if (output[_nIS] != null && output[_nIS][_i] != null) {\n contents[_NI] = de_InstanceNetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_rDN] != null) {\n contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]);\n }\n if (output[_rDT] != null) {\n contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]);\n }\n if (output.groupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_sDC] != null) {\n contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]);\n }\n if (output[_sIRI] != null) {\n contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]);\n }\n if (output[_sNSr] != null) {\n contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]);\n }\n if (output[_sRt] != null) {\n contents[_SRt] = de_StateReason(output[_sRt], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vTi] != null) {\n contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]);\n }\n if (output[_cO] != null) {\n contents[_COp] = de_CpuOptions(output[_cO], context);\n }\n if (output[_cRI] != null) {\n contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]);\n }\n if (output[_cRSa] != null) {\n contents[_CRSa] = de_CapacityReservationSpecificationResponse(output[_cRSa], context);\n }\n if (output[_hO] != null) {\n contents[_HO] = de_HibernationOptions(output[_hO], context);\n }\n if (output.licenseSet === \"\") {\n contents[_Lic] = [];\n } else if (output[_lSi] != null && output[_lSi][_i] != null) {\n contents[_Lic] = de_LicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context);\n }\n if (output[_mO] != null) {\n contents[_MO] = de_InstanceMetadataOptionsResponse(output[_mO], context);\n }\n if (output[_eOn] != null) {\n contents[_EOn] = de_EnclaveOptions(output[_eOn], context);\n }\n if (output[_bM] != null) {\n contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]);\n }\n if (output[_pDl] != null) {\n contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]);\n }\n if (output[_uO] != null) {\n contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]);\n }\n if (output[_uOUT] != null) {\n contents[_UOUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uOUT]));\n }\n if (output[_pDNO] != null) {\n contents[_PDNO] = de_PrivateDnsNameOptionsResponse(output[_pDNO], context);\n }\n if (output[_iApv] != null) {\n contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]);\n }\n if (output[_tSp] != null) {\n contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]);\n }\n if (output[_mOa] != null) {\n contents[_MOa] = de_InstanceMaintenanceOptions(output[_mOa], context);\n }\n if (output[_cIBM] != null) {\n contents[_CIBM] = (0, import_smithy_client.expectString)(output[_cIBM]);\n }\n if (output[_nPO] != null) {\n contents[_NPO] = de_InstanceNetworkPerformanceOptions(output[_nPO], context);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iSnst] != null) {\n contents[_Stat] = de_InstanceState(output[_iSnst], context);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_dNn] != null) {\n contents[_PDNu] = (0, import_smithy_client.expectString)(output[_dNn]);\n }\n if (output[_rea] != null) {\n contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_aLI] != null) {\n contents[_ALI] = (0, import_smithy_client.strictParseInt32)(output[_aLI]);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_lTau] != null) {\n contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau]));\n }\n if (output[_pla] != null) {\n contents[_Pl] = de_Placement(output[_pla], context);\n }\n if (output[_kI] != null) {\n contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]);\n }\n if (output[_rIa] != null) {\n contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_mo] != null) {\n contents[_Mon] = de_Monitoring(output[_mo], context);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output[_iAp] != null) {\n contents[_PIAu] = (0, import_smithy_client.expectString)(output[_iAp]);\n }\n return contents;\n}, \"de_Instance\");\nvar de_InstanceAttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSE] != null) {\n contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]);\n }\n if (output[_eSUS] != null) {\n contents[_ESUS] = de_InstanceAttachmentEnaSrdUdpSpecification(output[_eSUS], context);\n }\n return contents;\n}, \"de_InstanceAttachmentEnaSrdSpecification\");\nvar de_InstanceAttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSUE] != null) {\n contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]);\n }\n return contents;\n}, \"de_InstanceAttachmentEnaSrdUdpSpecification\");\nvar de_InstanceAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n if (output[_dAT] != null) {\n contents[_DATis] = de_AttributeBooleanValue(output[_dAT], context);\n }\n if (output[_eSna] != null) {\n contents[_ESn] = de_AttributeBooleanValue(output[_eSna], context);\n }\n if (output[_eOn] != null) {\n contents[_EOn] = de_EnclaveOptions(output[_eOn], context);\n }\n if (output[_eO] != null) {\n contents[_EO] = de_AttributeBooleanValue(output[_eO], context);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iISB] != null) {\n contents[_IISB] = de_AttributeValue(output[_iISB], context);\n }\n if (output[_iT] != null) {\n contents[_IT] = de_AttributeValue(output[_iT], context);\n }\n if (output[_ke] != null) {\n contents[_KI] = de_AttributeValue(output[_ke], context);\n }\n if (output.productCodes === \"\") {\n contents[_PCr] = [];\n } else if (output[_pC] != null && output[_pC][_i] != null) {\n contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context);\n }\n if (output[_ra] != null) {\n contents[_RIa] = de_AttributeValue(output[_ra], context);\n }\n if (output[_rDN] != null) {\n contents[_RDN] = de_AttributeValue(output[_rDN], context);\n }\n if (output[_sDC] != null) {\n contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context);\n }\n if (output[_sNSr] != null) {\n contents[_SNS] = de_AttributeValue(output[_sNSr], context);\n }\n if (output[_uDs] != null) {\n contents[_UD] = de_AttributeValue(output[_uDs], context);\n }\n if (output[_dASi] != null) {\n contents[_DAS] = de_AttributeBooleanValue(output[_dASi], context);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n return contents;\n}, \"de_InstanceAttribute\");\nvar de_InstanceBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output[_eb] != null) {\n contents[_E] = de_EbsInstanceBlockDevice(output[_eb], context);\n }\n return contents;\n}, \"de_InstanceBlockDeviceMapping\");\nvar de_InstanceBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceBlockDeviceMapping(entry, context);\n });\n}, \"de_InstanceBlockDeviceMappingList\");\nvar de_InstanceCapacity = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aC] != null) {\n contents[_ACv] = (0, import_smithy_client.strictParseInt32)(output[_aC]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_tC] != null) {\n contents[_TCo] = (0, import_smithy_client.strictParseInt32)(output[_tC]);\n }\n return contents;\n}, \"de_InstanceCapacity\");\nvar de_InstanceConnectEndpointSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ec2InstanceConnectEndpoint(entry, context);\n });\n}, \"de_InstanceConnectEndpointSet\");\nvar de_InstanceCount = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_InstanceCount\");\nvar de_InstanceCountList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceCount(entry, context);\n });\n}, \"de_InstanceCountList\");\nvar de_InstanceCreditSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_cCp] != null) {\n contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]);\n }\n return contents;\n}, \"de_InstanceCreditSpecification\");\nvar de_InstanceCreditSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceCreditSpecification(entry, context);\n });\n}, \"de_InstanceCreditSpecificationList\");\nvar de_InstanceEventWindow = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEWI] != null) {\n contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]);\n }\n if (output.timeRangeSet === \"\") {\n contents[_TRi] = [];\n } else if (output[_tRSi] != null && output[_tRSi][_i] != null) {\n contents[_TRi] = de_InstanceEventWindowTimeRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRSi][_i]), context);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_cEr] != null) {\n contents[_CE] = (0, import_smithy_client.expectString)(output[_cEr]);\n }\n if (output[_aTs] != null) {\n contents[_AT] = de_InstanceEventWindowAssociationTarget(output[_aTs], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_InstanceEventWindow\");\nvar de_InstanceEventWindowAssociationTarget = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceIdSet === \"\") {\n contents[_IIns] = [];\n } else if (output[_iIS] != null && output[_iIS][_i] != null) {\n contents[_IIns] = de_InstanceIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.dedicatedHostIdSet === \"\") {\n contents[_DHI] = [];\n } else if (output[_dHIS] != null && output[_dHIS][_i] != null) {\n contents[_DHI] = de_DedicatedHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_dHIS][_i]), context);\n }\n return contents;\n}, \"de_InstanceEventWindowAssociationTarget\");\nvar de_InstanceEventWindowSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceEventWindow(entry, context);\n });\n}, \"de_InstanceEventWindowSet\");\nvar de_InstanceEventWindowStateChange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEWI] != null) {\n contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_InstanceEventWindowStateChange\");\nvar de_InstanceEventWindowTimeRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sWD] != null) {\n contents[_SWD] = (0, import_smithy_client.expectString)(output[_sWD]);\n }\n if (output[_sH] != null) {\n contents[_SH] = (0, import_smithy_client.strictParseInt32)(output[_sH]);\n }\n if (output[_eWD] != null) {\n contents[_EWD] = (0, import_smithy_client.expectString)(output[_eWD]);\n }\n if (output[_eH] != null) {\n contents[_EH] = (0, import_smithy_client.strictParseInt32)(output[_eH]);\n }\n return contents;\n}, \"de_InstanceEventWindowTimeRange\");\nvar de_InstanceEventWindowTimeRangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceEventWindowTimeRange(entry, context);\n });\n}, \"de_InstanceEventWindowTimeRangeList\");\nvar de_InstanceExportDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_tE] != null) {\n contents[_TE] = (0, import_smithy_client.expectString)(output[_tE]);\n }\n return contents;\n}, \"de_InstanceExportDetails\");\nvar de_InstanceFamilyCreditSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n if (output[_cCp] != null) {\n contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]);\n }\n return contents;\n}, \"de_InstanceFamilyCreditSpecification\");\nvar de_InstanceGenerationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceGenerationSet\");\nvar de_InstanceIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceIdList\");\nvar de_InstanceIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceIdSet\");\nvar de_InstanceIdsSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceIdsSet\");\nvar de_InstanceImageMetadata = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_lTau] != null) {\n contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau]));\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_zI] != null) {\n contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]);\n }\n if (output[_iSnst] != null) {\n contents[_Stat] = de_InstanceState(output[_iSnst], context);\n }\n if (output[_iOIn] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOIn]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_iM] != null) {\n contents[_IMm] = de_ImageMetadata(output[_iM], context);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_InstanceImageMetadata\");\nvar de_InstanceImageMetadataList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceImageMetadata(entry, context);\n });\n}, \"de_InstanceImageMetadataList\");\nvar de_InstanceIpv4Prefix = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpv] != null) {\n contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]);\n }\n return contents;\n}, \"de_InstanceIpv4Prefix\");\nvar de_InstanceIpv4PrefixList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceIpv4Prefix(entry, context);\n });\n}, \"de_InstanceIpv4PrefixList\");\nvar de_InstanceIpv6Address = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iApv] != null) {\n contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]);\n }\n if (output[_iPI] != null) {\n contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]);\n }\n return contents;\n}, \"de_InstanceIpv6Address\");\nvar de_InstanceIpv6AddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceIpv6Address(entry, context);\n });\n}, \"de_InstanceIpv6AddressList\");\nvar de_InstanceIpv6Prefix = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpvr] != null) {\n contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]);\n }\n return contents;\n}, \"de_InstanceIpv6Prefix\");\nvar de_InstanceIpv6PrefixList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceIpv6Prefix(entry, context);\n });\n}, \"de_InstanceIpv6PrefixList\");\nvar de_InstanceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Instance(entry, context);\n });\n}, \"de_InstanceList\");\nvar de_InstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aRu] != null) {\n contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]);\n }\n return contents;\n}, \"de_InstanceMaintenanceOptions\");\nvar de_InstanceMetadataDefaultsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hT] != null) {\n contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]);\n }\n if (output[_hPRHL] != null) {\n contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]);\n }\n if (output[_hE] != null) {\n contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]);\n }\n if (output[_iMT] != null) {\n contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]);\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n if (output[_mEM] != null) {\n contents[_MEM] = (0, import_smithy_client.expectString)(output[_mEM]);\n }\n return contents;\n}, \"de_InstanceMetadataDefaultsResponse\");\nvar de_InstanceMetadataOptionsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_hT] != null) {\n contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]);\n }\n if (output[_hPRHL] != null) {\n contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]);\n }\n if (output[_hE] != null) {\n contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]);\n }\n if (output[_hPI] != null) {\n contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]);\n }\n if (output[_iMT] != null) {\n contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]);\n }\n return contents;\n}, \"de_InstanceMetadataOptionsResponse\");\nvar de_InstanceMonitoring = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_mo] != null) {\n contents[_Mon] = de_Monitoring(output[_mo], context);\n }\n return contents;\n}, \"de_InstanceMonitoring\");\nvar de_InstanceMonitoringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceMonitoring(entry, context);\n });\n}, \"de_InstanceMonitoringList\");\nvar de_InstanceNetworkInterface = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context);\n }\n if (output[_at] != null) {\n contents[_Att] = de_InstanceNetworkInterfaceAttachment(output[_at], context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output.ipv6AddressesSet === \"\") {\n contents[_IA] = [];\n } else if (output[_iASp] != null && output[_iASp][_i] != null) {\n contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context);\n }\n if (output[_mAa] != null) {\n contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output.privateIpAddressesSet === \"\") {\n contents[_PIA] = [];\n } else if (output[_pIAS] != null && output[_pIAS][_i] != null) {\n contents[_PIA] = de_InstancePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context);\n }\n if (output[_sDC] != null) {\n contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_iTnt] != null) {\n contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]);\n }\n if (output.ipv4PrefixSet === \"\") {\n contents[_IPp] = [];\n } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) {\n contents[_IPp] = de_InstanceIpv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context);\n }\n if (output.ipv6PrefixSet === \"\") {\n contents[_IP] = [];\n } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) {\n contents[_IP] = de_InstanceIpv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context);\n }\n if (output[_cTC] != null) {\n contents[_CTC] = de_ConnectionTrackingSpecificationResponse(output[_cTC], context);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_InstanceNetworkInterface\");\nvar de_InstanceNetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cI] != null) {\n contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]);\n }\n if (output[_cOI] != null) {\n contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]);\n }\n if (output[_iOIp] != null) {\n contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);\n }\n if (output[_pDNu] != null) {\n contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n return contents;\n}, \"de_InstanceNetworkInterfaceAssociation\");\nvar de_InstanceNetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aTt] != null) {\n contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt]));\n }\n if (output[_aIt] != null) {\n contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_dIe] != null) {\n contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_nCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]);\n }\n if (output[_eSS] != null) {\n contents[_ESS] = de_InstanceAttachmentEnaSrdSpecification(output[_eSS], context);\n }\n if (output[_eQC] != null) {\n contents[_EQC] = (0, import_smithy_client.strictParseInt32)(output[_eQC]);\n }\n return contents;\n}, \"de_InstanceNetworkInterfaceAttachment\");\nvar de_InstanceNetworkInterfaceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceNetworkInterface(entry, context);\n });\n}, \"de_InstanceNetworkInterfaceList\");\nvar de_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aPIA] != null) {\n contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_dIe] != null) {\n contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]);\n }\n if (output.SecurityGroupId === \"\") {\n contents[_G] = [];\n } else if (output[_SGIe] != null && output[_SGIe][_SGIe] != null) {\n contents[_G] = de_SecurityGroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_SGIe][_SGIe]), context);\n }\n if (output[_iAC] != null) {\n contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]);\n }\n if (output.ipv6AddressesSet === \"\") {\n contents[_IA] = [];\n } else if (output[_iASp] != null && output[_iASp][_i] != null) {\n contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output.privateIpAddressesSet === \"\") {\n contents[_PIA] = [];\n } else if (output[_pIAS] != null && output[_pIAS][_i] != null) {\n contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context);\n }\n if (output[_sPIAC] != null) {\n contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_ACIA] != null) {\n contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_ACIA]);\n }\n if (output[_ITn] != null) {\n contents[_ITn] = (0, import_smithy_client.expectString)(output[_ITn]);\n }\n if (output[_NCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_NCI]);\n }\n if (output.Ipv4Prefix === \"\") {\n contents[_IPp] = [];\n } else if (output[_IPpvr] != null && output[_IPpvr][_i] != null) {\n contents[_IPp] = de_Ipv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvr][_i]), context);\n }\n if (output[_IPCp] != null) {\n contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_IPCp]);\n }\n if (output.Ipv6Prefix === \"\") {\n contents[_IP] = [];\n } else if (output[_IPpvre] != null && output[_IPpvre][_i] != null) {\n contents[_IP] = de_Ipv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvre][_i]), context);\n }\n if (output[_IPC] != null) {\n contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_IPC]);\n }\n if (output[_PIr] != null) {\n contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_PIr]);\n }\n if (output[_ESS] != null) {\n contents[_ESS] = de_EnaSrdSpecificationRequest(output[_ESS], context);\n }\n if (output[_CTS] != null) {\n contents[_CTS] = de_ConnectionTrackingSpecificationRequest(output[_CTS], context);\n }\n if (output[_EQC] != null) {\n contents[_EQC] = (0, import_smithy_client.strictParseInt32)(output[_EQC]);\n }\n return contents;\n}, \"de_InstanceNetworkInterfaceSpecification\");\nvar de_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceNetworkInterfaceSpecification(entry, context);\n });\n}, \"de_InstanceNetworkInterfaceSpecificationList\");\nvar de_InstanceNetworkPerformanceOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bW] != null) {\n contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]);\n }\n return contents;\n}, \"de_InstanceNetworkPerformanceOptions\");\nvar de_InstancePrivateIpAddress = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context);\n }\n if (output[_prim] != null) {\n contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n return contents;\n}, \"de_InstancePrivateIpAddress\");\nvar de_InstancePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstancePrivateIpAddress(entry, context);\n });\n}, \"de_InstancePrivateIpAddressList\");\nvar de_InstanceRequirements = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vCC] != null) {\n contents[_VCC] = de_VCpuCountRange(output[_vCC], context);\n }\n if (output[_mMB] != null) {\n contents[_MMB] = de_MemoryMiB(output[_mMB], context);\n }\n if (output.cpuManufacturerSet === \"\") {\n contents[_CM] = [];\n } else if (output[_cMS] != null && output[_cMS][_i] != null) {\n contents[_CM] = de_CpuManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cMS][_i]), context);\n }\n if (output[_mGBPVC] != null) {\n contents[_MGBPVC] = de_MemoryGiBPerVCpu(output[_mGBPVC], context);\n }\n if (output.excludedInstanceTypeSet === \"\") {\n contents[_EIT] = [];\n } else if (output[_eITSx] != null && output[_eITSx][_i] != null) {\n contents[_EIT] = de_ExcludedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eITSx][_i]), context);\n }\n if (output.instanceGenerationSet === \"\") {\n contents[_IG] = [];\n } else if (output[_iGSn] != null && output[_iGSn][_i] != null) {\n contents[_IG] = de_InstanceGenerationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iGSn][_i]), context);\n }\n if (output[_sMPPOLP] != null) {\n contents[_SMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_sMPPOLP]);\n }\n if (output[_oDMPPOLP] != null) {\n contents[_ODMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_oDMPPOLP]);\n }\n if (output[_bMa] != null) {\n contents[_BMa] = (0, import_smithy_client.expectString)(output[_bMa]);\n }\n if (output[_bP] != null) {\n contents[_BP] = (0, import_smithy_client.expectString)(output[_bP]);\n }\n if (output[_rHS] != null) {\n contents[_RHS] = (0, import_smithy_client.parseBoolean)(output[_rHS]);\n }\n if (output[_nIC] != null) {\n contents[_NIC] = de_NetworkInterfaceCount(output[_nIC], context);\n }\n if (output[_lSo] != null) {\n contents[_LSo] = (0, import_smithy_client.expectString)(output[_lSo]);\n }\n if (output.localStorageTypeSet === \"\") {\n contents[_LST] = [];\n } else if (output[_lSTS] != null && output[_lSTS][_i] != null) {\n contents[_LST] = de_LocalStorageTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lSTS][_i]), context);\n }\n if (output[_tLSGB] != null) {\n contents[_TLSGB] = de_TotalLocalStorageGB(output[_tLSGB], context);\n }\n if (output[_bEBM] != null) {\n contents[_BEBM] = de_BaselineEbsBandwidthMbps(output[_bEBM], context);\n }\n if (output.acceleratorTypeSet === \"\") {\n contents[_ATc] = [];\n } else if (output[_aTSc] != null && output[_aTSc][_i] != null) {\n contents[_ATc] = de_AcceleratorTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSc][_i]), context);\n }\n if (output[_aCc] != null) {\n contents[_ACc] = de_AcceleratorCount(output[_aCc], context);\n }\n if (output.acceleratorManufacturerSet === \"\") {\n contents[_AM] = [];\n } else if (output[_aMS] != null && output[_aMS][_i] != null) {\n contents[_AM] = de_AcceleratorManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aMS][_i]), context);\n }\n if (output.acceleratorNameSet === \"\") {\n contents[_ANc] = [];\n } else if (output[_aNS] != null && output[_aNS][_i] != null) {\n contents[_ANc] = de_AcceleratorNameSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aNS][_i]), context);\n }\n if (output[_aTMMB] != null) {\n contents[_ATMMB] = de_AcceleratorTotalMemoryMiB(output[_aTMMB], context);\n }\n if (output[_nBGe] != null) {\n contents[_NBGe] = de_NetworkBandwidthGbps(output[_nBGe], context);\n }\n if (output.allowedInstanceTypeSet === \"\") {\n contents[_AIT] = [];\n } else if (output[_aITS] != null && output[_aITS][_i] != null) {\n contents[_AIT] = de_AllowedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aITS][_i]), context);\n }\n if (output[_mSPAPOOODP] != null) {\n contents[_MSPAPOOODP] = (0, import_smithy_client.strictParseInt32)(output[_mSPAPOOODP]);\n }\n if (output[_bPF] != null) {\n contents[_BPF] = de_BaselinePerformanceFactors(output[_bPF], context);\n }\n return contents;\n}, \"de_InstanceRequirements\");\nvar de_InstanceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceTopology(entry, context);\n });\n}, \"de_InstanceSet\");\nvar de_InstanceState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_InstanceState\");\nvar de_InstanceStateChange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_cSu] != null) {\n contents[_CSu] = de_InstanceState(output[_cSu], context);\n }\n if (output[_pS] != null) {\n contents[_PSr] = de_InstanceState(output[_pS], context);\n }\n return contents;\n}, \"de_InstanceStateChange\");\nvar de_InstanceStateChangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceStateChange(entry, context);\n });\n}, \"de_InstanceStateChangeList\");\nvar de_InstanceStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n if (output.eventsSet === \"\") {\n contents[_Ev] = [];\n } else if (output[_eSv] != null && output[_eSv][_i] != null) {\n contents[_Ev] = de_InstanceStatusEventList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iSnst] != null) {\n contents[_ISnst] = de_InstanceState(output[_iSnst], context);\n }\n if (output[_iSnsta] != null) {\n contents[_ISnsta] = de_InstanceStatusSummary(output[_iSnsta], context);\n }\n if (output[_sSy] != null) {\n contents[_SSy] = de_InstanceStatusSummary(output[_sSy], context);\n }\n if (output[_aES] != null) {\n contents[_AES] = de_EbsStatusSummary(output[_aES], context);\n }\n return contents;\n}, \"de_InstanceStatus\");\nvar de_InstanceStatusDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iSmp] != null) {\n contents[_ISmp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_iSmp]));\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_InstanceStatusDetails\");\nvar de_InstanceStatusDetailsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceStatusDetails(entry, context);\n });\n}, \"de_InstanceStatusDetailsList\");\nvar de_InstanceStatusEvent = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEI] != null) {\n contents[_IEI] = (0, import_smithy_client.expectString)(output[_iEI]);\n }\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_nAo] != null) {\n contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo]));\n }\n if (output[_nB] != null) {\n contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB]));\n }\n if (output[_nBD] != null) {\n contents[_NBD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nBD]));\n }\n return contents;\n}, \"de_InstanceStatusEvent\");\nvar de_InstanceStatusEventList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceStatusEvent(entry, context);\n });\n}, \"de_InstanceStatusEventList\");\nvar de_InstanceStatusList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceStatus(entry, context);\n });\n}, \"de_InstanceStatusList\");\nvar de_InstanceStatusSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.details === \"\") {\n contents[_Det] = [];\n } else if (output[_det] != null && output[_det][_i] != null) {\n contents[_Det] = de_InstanceStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_InstanceStatusSummary\");\nvar de_InstanceStorageInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tSIGB] != null) {\n contents[_TSIGB] = (0, import_smithy_client.strictParseLong)(output[_tSIGB]);\n }\n if (output.disks === \"\") {\n contents[_Dis] = [];\n } else if (output[_dis] != null && output[_dis][_i] != null) {\n contents[_Dis] = de_DiskInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_dis][_i]), context);\n }\n if (output[_nS] != null) {\n contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]);\n }\n if (output[_eSn] != null) {\n contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]);\n }\n return contents;\n}, \"de_InstanceStorageInfo\");\nvar de_InstanceTagKeySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceTagKeySet\");\nvar de_InstanceTagNotificationAttribute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceTagKeySet === \"\") {\n contents[_ITK] = [];\n } else if (output[_iTKS] != null && output[_iTKS][_i] != null) {\n contents[_ITK] = de_InstanceTagKeySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTKS][_i]), context);\n }\n if (output[_iATOI] != null) {\n contents[_IATOI] = (0, import_smithy_client.parseBoolean)(output[_iATOI]);\n }\n return contents;\n}, \"de_InstanceTagNotificationAttribute\");\nvar de_InstanceTopology = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output.networkNodeSet === \"\") {\n contents[_NN] = [];\n } else if (output[_nNS] != null && output[_nNS][_i] != null) {\n contents[_NN] = de_NetworkNodesList((0, import_smithy_client.getArrayIfSingleItem)(output[_nNS][_i]), context);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_zI] != null) {\n contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]);\n }\n return contents;\n}, \"de_InstanceTopology\");\nvar de_InstanceTypeInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_cGur] != null) {\n contents[_CGur] = (0, import_smithy_client.parseBoolean)(output[_cGur]);\n }\n if (output[_fTE] != null) {\n contents[_FTE] = (0, import_smithy_client.parseBoolean)(output[_fTE]);\n }\n if (output.supportedUsageClasses === \"\") {\n contents[_SUC] = [];\n } else if (output[_sUC] != null && output[_sUC][_i] != null) {\n contents[_SUC] = de_UsageClassTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sUC][_i]), context);\n }\n if (output.supportedRootDeviceTypes === \"\") {\n contents[_SRDT] = [];\n } else if (output[_sRDT] != null && output[_sRDT][_i] != null) {\n contents[_SRDT] = de_RootDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sRDT][_i]), context);\n }\n if (output.supportedVirtualizationTypes === \"\") {\n contents[_SVT] = [];\n } else if (output[_sVT] != null && output[_sVT][_i] != null) {\n contents[_SVT] = de_VirtualizationTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVT][_i]), context);\n }\n if (output[_bMa] != null) {\n contents[_BMa] = (0, import_smithy_client.parseBoolean)(output[_bMa]);\n }\n if (output[_h] != null) {\n contents[_H] = (0, import_smithy_client.expectString)(output[_h]);\n }\n if (output[_pIr] != null) {\n contents[_PIro] = de_ProcessorInfo(output[_pIr], context);\n }\n if (output[_vCIp] != null) {\n contents[_VCIpu] = de_VCpuInfo(output[_vCIp], context);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_MemoryInfo(output[_mIe], context);\n }\n if (output[_iSSn] != null) {\n contents[_ISS] = (0, import_smithy_client.parseBoolean)(output[_iSSn]);\n }\n if (output[_iSI] != null) {\n contents[_ISIn] = de_InstanceStorageInfo(output[_iSI], context);\n }\n if (output[_eIb] != null) {\n contents[_EIb] = de_EbsInfo(output[_eIb], context);\n }\n if (output[_nIet] != null) {\n contents[_NIetw] = de_NetworkInfo(output[_nIet], context);\n }\n if (output[_gIp] != null) {\n contents[_GIp] = de_GpuInfo(output[_gIp], context);\n }\n if (output[_fIp] != null) {\n contents[_FIpg] = de_FpgaInfo(output[_fIp], context);\n }\n if (output[_pGI] != null) {\n contents[_PGI] = de_PlacementGroupInfo(output[_pGI], context);\n }\n if (output[_iAI] != null) {\n contents[_IAIn] = de_InferenceAcceleratorInfo(output[_iAI], context);\n }\n if (output[_hSi] != null) {\n contents[_HS] = (0, import_smithy_client.parseBoolean)(output[_hSi]);\n }\n if (output[_bPS] != null) {\n contents[_BPS] = (0, import_smithy_client.parseBoolean)(output[_bPS]);\n }\n if (output[_dHS] != null) {\n contents[_DHS] = (0, import_smithy_client.parseBoolean)(output[_dHS]);\n }\n if (output[_aRSu] != null) {\n contents[_ARSu] = (0, import_smithy_client.parseBoolean)(output[_aRSu]);\n }\n if (output.supportedBootModes === \"\") {\n contents[_SBM] = [];\n } else if (output[_sBM] != null && output[_sBM][_i] != null) {\n contents[_SBM] = de_BootModeTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sBM][_i]), context);\n }\n if (output[_nES] != null) {\n contents[_NES] = (0, import_smithy_client.expectString)(output[_nES]);\n }\n if (output[_nTS] != null) {\n contents[_NTS] = (0, import_smithy_client.expectString)(output[_nTS]);\n }\n if (output[_nTI] != null) {\n contents[_NTI] = de_NitroTpmInfo(output[_nTI], context);\n }\n if (output[_mAIe] != null) {\n contents[_MAIe] = de_MediaAcceleratorInfo(output[_mAIe], context);\n }\n if (output[_nIeu] != null) {\n contents[_NIeu] = de_NeuronInfo(output[_nIeu], context);\n }\n if (output[_pSh] != null) {\n contents[_PSh] = (0, import_smithy_client.expectString)(output[_pSh]);\n }\n return contents;\n}, \"de_InstanceTypeInfo\");\nvar de_InstanceTypeInfoFromInstanceRequirements = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n return contents;\n}, \"de_InstanceTypeInfoFromInstanceRequirements\");\nvar de_InstanceTypeInfoFromInstanceRequirementsSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceTypeInfoFromInstanceRequirements(entry, context);\n });\n}, \"de_InstanceTypeInfoFromInstanceRequirementsSet\");\nvar de_InstanceTypeInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceTypeInfo(entry, context);\n });\n}, \"de_InstanceTypeInfoList\");\nvar de_InstanceTypeOffering = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_lTo] != null) {\n contents[_LT] = (0, import_smithy_client.expectString)(output[_lTo]);\n }\n if (output[_lo] != null) {\n contents[_Lo] = (0, import_smithy_client.expectString)(output[_lo]);\n }\n return contents;\n}, \"de_InstanceTypeOffering\");\nvar de_InstanceTypeOfferingsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceTypeOffering(entry, context);\n });\n}, \"de_InstanceTypeOfferingsList\");\nvar de_InstanceTypesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_InstanceTypesList\");\nvar de_InstanceUsage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIc] != null) {\n contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]);\n }\n if (output[_uIC] != null) {\n contents[_UIC] = (0, import_smithy_client.strictParseInt32)(output[_uIC]);\n }\n return contents;\n}, \"de_InstanceUsage\");\nvar de_InstanceUsageSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceUsage(entry, context);\n });\n}, \"de_InstanceUsageSet\");\nvar de_InternetGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.attachmentSet === \"\") {\n contents[_Atta] = [];\n } else if (output[_aSt] != null && output[_aSt][_i] != null) {\n contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context);\n }\n if (output[_iGI] != null) {\n contents[_IGI] = (0, import_smithy_client.expectString)(output[_iGI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_InternetGateway\");\nvar de_InternetGatewayAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_InternetGatewayAttachment\");\nvar de_InternetGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InternetGatewayAttachment(entry, context);\n });\n}, \"de_InternetGatewayAttachmentList\");\nvar de_InternetGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_InternetGateway(entry, context);\n });\n}, \"de_InternetGatewayList\");\nvar de_IpAddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_IpAddressList\");\nvar de_Ipam = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iIp] != null) {\n contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]);\n }\n if (output[_iApa] != null) {\n contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]);\n }\n if (output[_iRp] != null) {\n contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]);\n }\n if (output[_pDSI] != null) {\n contents[_PDSI] = (0, import_smithy_client.expectString)(output[_pDSI]);\n }\n if (output[_pDSIr] != null) {\n contents[_PDSIr] = (0, import_smithy_client.expectString)(output[_pDSIr]);\n }\n if (output[_sCc] != null) {\n contents[_SCc] = (0, import_smithy_client.strictParseInt32)(output[_sCc]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.operatingRegionSet === \"\") {\n contents[_OR] = [];\n } else if (output[_oRS] != null && output[_oRS][_i] != null) {\n contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_dRDI] != null) {\n contents[_DRDI] = (0, import_smithy_client.expectString)(output[_dRDI]);\n }\n if (output[_dRDAI] != null) {\n contents[_DRDAI] = (0, import_smithy_client.expectString)(output[_dRDAI]);\n }\n if (output[_rDAC] != null) {\n contents[_RDAC] = (0, import_smithy_client.strictParseInt32)(output[_rDAC]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n if (output[_tie] != null) {\n contents[_Ti] = (0, import_smithy_client.expectString)(output[_tie]);\n }\n if (output[_ePG] != null) {\n contents[_EPG] = (0, import_smithy_client.parseBoolean)(output[_ePG]);\n }\n if (output[_mAe] != null) {\n contents[_MAe] = (0, import_smithy_client.expectString)(output[_mAe]);\n }\n return contents;\n}, \"de_Ipam\");\nvar de_IpamAddressHistoryRecord = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_rR] != null) {\n contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rCe] != null) {\n contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]);\n }\n if (output[_rNes] != null) {\n contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]);\n }\n if (output[_rCS] != null) {\n contents[_RCS] = (0, import_smithy_client.expectString)(output[_rCS]);\n }\n if (output[_rOSe] != null) {\n contents[_ROS] = (0, import_smithy_client.expectString)(output[_rOSe]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sST] != null) {\n contents[_SST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sST]));\n }\n if (output[_sET] != null) {\n contents[_SET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sET]));\n }\n return contents;\n}, \"de_IpamAddressHistoryRecord\");\nvar de_IpamAddressHistoryRecordSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamAddressHistoryRecord(entry, context);\n });\n}, \"de_IpamAddressHistoryRecordSet\");\nvar de_IpamDiscoveredAccount = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIc] != null) {\n contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]);\n }\n if (output[_dR] != null) {\n contents[_DRi] = (0, import_smithy_client.expectString)(output[_dR]);\n }\n if (output[_fR] != null) {\n contents[_FR] = de_IpamDiscoveryFailureReason(output[_fR], context);\n }\n if (output[_lADT] != null) {\n contents[_LADT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lADT]));\n }\n if (output[_lSDT] != null) {\n contents[_LSDT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lSDT]));\n }\n if (output[_oUI] != null) {\n contents[_OUI] = (0, import_smithy_client.expectString)(output[_oUI]);\n }\n return contents;\n}, \"de_IpamDiscoveredAccount\");\nvar de_IpamDiscoveredAccountSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamDiscoveredAccount(entry, context);\n });\n}, \"de_IpamDiscoveredAccountSet\");\nvar de_IpamDiscoveredPublicAddress = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRDI] != null) {\n contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]);\n }\n if (output[_aRd] != null) {\n contents[_ARd] = (0, import_smithy_client.expectString)(output[_aRd]);\n }\n if (output[_ad] != null) {\n contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]);\n }\n if (output[_aOI] != null) {\n contents[_AOI] = (0, import_smithy_client.expectString)(output[_aOI]);\n }\n if (output[_aAId] != null) {\n contents[_AAId] = (0, import_smithy_client.expectString)(output[_aAId]);\n }\n if (output[_aSs] != null) {\n contents[_ASss] = (0, import_smithy_client.expectString)(output[_aSs]);\n }\n if (output[_aTd] != null) {\n contents[_ATddre] = (0, import_smithy_client.expectString)(output[_aTd]);\n }\n if (output[_se] != null) {\n contents[_Se] = (0, import_smithy_client.expectString)(output[_se]);\n }\n if (output[_sRe] != null) {\n contents[_SRerv] = (0, import_smithy_client.expectString)(output[_sRe]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_pIPI] != null) {\n contents[_PIPI] = (0, import_smithy_client.expectString)(output[_pIPI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_nID] != null) {\n contents[_NID] = (0, import_smithy_client.expectString)(output[_nID]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_ta] != null) {\n contents[_Ta] = de_IpamPublicAddressTags(output[_ta], context);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output.securityGroupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_sGS] != null && output[_sGS][_i] != null) {\n contents[_SG] = de_IpamPublicAddressSecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context);\n }\n if (output[_sTa] != null) {\n contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa]));\n }\n return contents;\n}, \"de_IpamDiscoveredPublicAddress\");\nvar de_IpamDiscoveredPublicAddressSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamDiscoveredPublicAddress(entry, context);\n });\n}, \"de_IpamDiscoveredPublicAddressSet\");\nvar de_IpamDiscoveredResourceCidr = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRDI] != null) {\n contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]);\n }\n if (output[_rR] != null) {\n contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_rCe] != null) {\n contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]);\n }\n if (output[_iSpo] != null) {\n contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output.resourceTagSet === \"\") {\n contents[_RTesou] = [];\n } else if (output[_rTSe] != null && output[_rTSe][_i] != null) {\n contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context);\n }\n if (output[_iU] != null) {\n contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_nIASet] != null) {\n contents[_NIASet] = (0, import_smithy_client.expectString)(output[_nIASet]);\n }\n if (output[_sTa] != null) {\n contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa]));\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n return contents;\n}, \"de_IpamDiscoveredResourceCidr\");\nvar de_IpamDiscoveredResourceCidrSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamDiscoveredResourceCidr(entry, context);\n });\n}, \"de_IpamDiscoveredResourceCidrSet\");\nvar de_IpamDiscoveryFailureReason = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_IpamDiscoveryFailureReason\");\nvar de_IpamExternalResourceVerificationToken = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iERVTI] != null) {\n contents[_IERVTI] = (0, import_smithy_client.expectString)(output[_iERVTI]);\n }\n if (output[_iERVTA] != null) {\n contents[_IERVTA] = (0, import_smithy_client.expectString)(output[_iERVTA]);\n }\n if (output[_iIp] != null) {\n contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]);\n }\n if (output[_iApa] != null) {\n contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]);\n }\n if (output[_iRp] != null) {\n contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]);\n }\n if (output[_tV] != null) {\n contents[_TVo] = (0, import_smithy_client.expectString)(output[_tV]);\n }\n if (output[_tN] != null) {\n contents[_TN] = (0, import_smithy_client.expectString)(output[_tN]);\n }\n if (output[_nAo] != null) {\n contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo]));\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_IpamExternalResourceVerificationToken\");\nvar de_IpamExternalResourceVerificationTokenSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamExternalResourceVerificationToken(entry, context);\n });\n}, \"de_IpamExternalResourceVerificationTokenSet\");\nvar de_IpamOperatingRegion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rNe] != null) {\n contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]);\n }\n return contents;\n}, \"de_IpamOperatingRegion\");\nvar de_IpamOperatingRegionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamOperatingRegion(entry, context);\n });\n}, \"de_IpamOperatingRegionSet\");\nvar de_IpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oEP] != null) {\n contents[_OEP] = (0, import_smithy_client.expectString)(output[_oEP]);\n }\n return contents;\n}, \"de_IpamOrganizationalUnitExclusion\");\nvar de_IpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamOrganizationalUnitExclusion(entry, context);\n });\n}, \"de_IpamOrganizationalUnitExclusionSet\");\nvar de_IpamPool = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iPIp] != null) {\n contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]);\n }\n if (output[_sIPI] != null) {\n contents[_SIPI] = (0, import_smithy_client.expectString)(output[_sIPI]);\n }\n if (output[_iPAp] != null) {\n contents[_IPApa] = (0, import_smithy_client.expectString)(output[_iPAp]);\n }\n if (output[_iSA] != null) {\n contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]);\n }\n if (output[_iST] != null) {\n contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]);\n }\n if (output[_iApa] != null) {\n contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]);\n }\n if (output[_iRp] != null) {\n contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]);\n }\n if (output[_loc] != null) {\n contents[_L] = (0, import_smithy_client.expectString)(output[_loc]);\n }\n if (output[_pDoo] != null) {\n contents[_PDo] = (0, import_smithy_client.strictParseInt32)(output[_pDoo]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_aIu] != null) {\n contents[_AIu] = (0, import_smithy_client.parseBoolean)(output[_aIu]);\n }\n if (output[_pAu] != null) {\n contents[_PA] = (0, import_smithy_client.parseBoolean)(output[_pAu]);\n }\n if (output[_aF] != null) {\n contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]);\n }\n if (output[_aMNL] != null) {\n contents[_AMNL] = (0, import_smithy_client.strictParseInt32)(output[_aMNL]);\n }\n if (output[_aMNLl] != null) {\n contents[_AMNLl] = (0, import_smithy_client.strictParseInt32)(output[_aMNLl]);\n }\n if (output[_aDNL] != null) {\n contents[_ADNL] = (0, import_smithy_client.strictParseInt32)(output[_aDNL]);\n }\n if (output.allocationResourceTagSet === \"\") {\n contents[_ARTl] = [];\n } else if (output[_aRTS] != null && output[_aRTS][_i] != null) {\n contents[_ARTl] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRTS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_aSw] != null) {\n contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]);\n }\n if (output[_pIS] != null) {\n contents[_PIS] = (0, import_smithy_client.expectString)(output[_pIS]);\n }\n if (output[_sRo] != null) {\n contents[_SRo] = de_IpamPoolSourceResource(output[_sRo], context);\n }\n return contents;\n}, \"de_IpamPool\");\nvar de_IpamPoolAllocation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_iPAI] != null) {\n contents[_IPAI] = (0, import_smithy_client.expectString)(output[_iPAI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rR] != null) {\n contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]);\n }\n if (output[_rO] != null) {\n contents[_ROe] = (0, import_smithy_client.expectString)(output[_rO]);\n }\n return contents;\n}, \"de_IpamPoolAllocation\");\nvar de_IpamPoolAllocationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamPoolAllocation(entry, context);\n });\n}, \"de_IpamPoolAllocationSet\");\nvar de_IpamPoolCidr = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_fR] != null) {\n contents[_FR] = de_IpamPoolCidrFailureReason(output[_fR], context);\n }\n if (output[_iPCI] != null) {\n contents[_IPCI] = (0, import_smithy_client.expectString)(output[_iPCI]);\n }\n if (output[_nL] != null) {\n contents[_NL] = (0, import_smithy_client.strictParseInt32)(output[_nL]);\n }\n return contents;\n}, \"de_IpamPoolCidr\");\nvar de_IpamPoolCidrFailureReason = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_IpamPoolCidrFailureReason\");\nvar de_IpamPoolCidrSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamPoolCidr(entry, context);\n });\n}, \"de_IpamPoolCidrSet\");\nvar de_IpamPoolSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamPool(entry, context);\n });\n}, \"de_IpamPoolSet\");\nvar de_IpamPoolSourceResource = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rR] != null) {\n contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]);\n }\n if (output[_rO] != null) {\n contents[_ROe] = (0, import_smithy_client.expectString)(output[_rO]);\n }\n return contents;\n}, \"de_IpamPoolSourceResource\");\nvar de_IpamPublicAddressSecurityGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n return contents;\n}, \"de_IpamPublicAddressSecurityGroup\");\nvar de_IpamPublicAddressSecurityGroupList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamPublicAddressSecurityGroup(entry, context);\n });\n}, \"de_IpamPublicAddressSecurityGroupList\");\nvar de_IpamPublicAddressTag = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_k] != null) {\n contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]);\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_IpamPublicAddressTag\");\nvar de_IpamPublicAddressTagList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamPublicAddressTag(entry, context);\n });\n}, \"de_IpamPublicAddressTagList\");\nvar de_IpamPublicAddressTags = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.eipTagSet === \"\") {\n contents[_ETi] = [];\n } else if (output[_eTSi] != null && output[_eTSi][_i] != null) {\n contents[_ETi] = de_IpamPublicAddressTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTSi][_i]), context);\n }\n return contents;\n}, \"de_IpamPublicAddressTags\");\nvar de_IpamResourceCidr = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIp] != null) {\n contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]);\n }\n if (output[_iSIp] != null) {\n contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]);\n }\n if (output[_iPIp] != null) {\n contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]);\n }\n if (output[_rR] != null) {\n contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rNes] != null) {\n contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]);\n }\n if (output[_rCe] != null) {\n contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output.resourceTagSet === \"\") {\n contents[_RTesou] = [];\n } else if (output[_rTSe] != null && output[_rTSe][_i] != null) {\n contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context);\n }\n if (output[_iU] != null) {\n contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]);\n }\n if (output[_cSo] != null) {\n contents[_CSo] = (0, import_smithy_client.expectString)(output[_cSo]);\n }\n if (output[_mSa] != null) {\n contents[_MSa] = (0, import_smithy_client.expectString)(output[_mSa]);\n }\n if (output[_oSv] != null) {\n contents[_OSv] = (0, import_smithy_client.expectString)(output[_oSv]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n return contents;\n}, \"de_IpamResourceCidr\");\nvar de_IpamResourceCidrSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamResourceCidr(entry, context);\n });\n}, \"de_IpamResourceCidrSet\");\nvar de_IpamResourceDiscovery = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iRDI] != null) {\n contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]);\n }\n if (output[_iRDAp] != null) {\n contents[_IRDApa] = (0, import_smithy_client.expectString)(output[_iRDAp]);\n }\n if (output[_iRDR] != null) {\n contents[_IRDR] = (0, import_smithy_client.expectString)(output[_iRDR]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.operatingRegionSet === \"\") {\n contents[_OR] = [];\n } else if (output[_oRS] != null && output[_oRS][_i] != null) {\n contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context);\n }\n if (output[_iDs] != null) {\n contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.organizationalUnitExclusionSet === \"\") {\n contents[_OUE] = [];\n } else if (output[_oUES] != null && output[_oUES][_i] != null) {\n contents[_OUE] = de_IpamOrganizationalUnitExclusionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oUES][_i]), context);\n }\n return contents;\n}, \"de_IpamResourceDiscovery\");\nvar de_IpamResourceDiscoveryAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iRDAI] != null) {\n contents[_IRDAIp] = (0, import_smithy_client.expectString)(output[_iRDAI]);\n }\n if (output[_iRDAA] != null) {\n contents[_IRDAA] = (0, import_smithy_client.expectString)(output[_iRDAA]);\n }\n if (output[_iRDI] != null) {\n contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]);\n }\n if (output[_iIp] != null) {\n contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]);\n }\n if (output[_iApa] != null) {\n contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]);\n }\n if (output[_iRp] != null) {\n contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]);\n }\n if (output[_iDs] != null) {\n contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]);\n }\n if (output[_rDS] != null) {\n contents[_RDS] = (0, import_smithy_client.expectString)(output[_rDS]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_IpamResourceDiscoveryAssociation\");\nvar de_IpamResourceDiscoveryAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamResourceDiscoveryAssociation(entry, context);\n });\n}, \"de_IpamResourceDiscoveryAssociationSet\");\nvar de_IpamResourceDiscoverySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamResourceDiscovery(entry, context);\n });\n}, \"de_IpamResourceDiscoverySet\");\nvar de_IpamResourceTag = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_k] != null) {\n contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]);\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_IpamResourceTag\");\nvar de_IpamResourceTagList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamResourceTag(entry, context);\n });\n}, \"de_IpamResourceTagList\");\nvar de_IpamScope = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iSIp] != null) {\n contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]);\n }\n if (output[_iSA] != null) {\n contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]);\n }\n if (output[_iApa] != null) {\n contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]);\n }\n if (output[_iRp] != null) {\n contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]);\n }\n if (output[_iST] != null) {\n contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]);\n }\n if (output[_iDs] != null) {\n contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_pCo] != null) {\n contents[_PCoo] = (0, import_smithy_client.strictParseInt32)(output[_pCo]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_IpamScope\");\nvar de_IpamScopeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpamScope(entry, context);\n });\n}, \"de_IpamScopeSet\");\nvar de_IpamSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipam(entry, context);\n });\n}, \"de_IpamSet\");\nvar de_IpPermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpr] != null) {\n contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]);\n }\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n if (output.groups === \"\") {\n contents[_UIGP] = [];\n } else if (output[_gr] != null && output[_gr][_i] != null) {\n contents[_UIGP] = de_UserIdGroupPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_gr][_i]), context);\n }\n if (output.ipRanges === \"\") {\n contents[_IRp] = [];\n } else if (output[_iRpa] != null && output[_iRpa][_i] != null) {\n contents[_IRp] = de_IpRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpa][_i]), context);\n }\n if (output.ipv6Ranges === \"\") {\n contents[_IRpv] = [];\n } else if (output[_iRpv] != null && output[_iRpv][_i] != null) {\n contents[_IRpv] = de_Ipv6RangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpv][_i]), context);\n }\n if (output.prefixListIds === \"\") {\n contents[_PLIr] = [];\n } else if (output[_pLIr] != null && output[_pLIr][_i] != null) {\n contents[_PLIr] = de_PrefixListIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_pLIr][_i]), context);\n }\n return contents;\n}, \"de_IpPermission\");\nvar de_IpPermissionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpPermission(entry, context);\n });\n}, \"de_IpPermissionList\");\nvar de_IpPrefixList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_IpPrefixList\");\nvar de_IpRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_cIi] != null) {\n contents[_CIi] = (0, import_smithy_client.expectString)(output[_cIi]);\n }\n return contents;\n}, \"de_IpRange\");\nvar de_IpRangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_IpRange(entry, context);\n });\n}, \"de_IpRangeList\");\nvar de_IpRanges = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_IpRanges\");\nvar de_Ipv4PrefixesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv4PrefixSpecification(entry, context);\n });\n}, \"de_Ipv4PrefixesList\");\nvar de_Ipv4PrefixList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv4PrefixSpecificationRequest(entry, context);\n });\n}, \"de_Ipv4PrefixList\");\nvar de_Ipv4PrefixListResponse = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv4PrefixSpecificationResponse(entry, context);\n });\n}, \"de_Ipv4PrefixListResponse\");\nvar de_Ipv4PrefixSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpv] != null) {\n contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]);\n }\n return contents;\n}, \"de_Ipv4PrefixSpecification\");\nvar de_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_IPpvr] != null) {\n contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_IPpvr]);\n }\n return contents;\n}, \"de_Ipv4PrefixSpecificationRequest\");\nvar de_Ipv4PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpv] != null) {\n contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]);\n }\n return contents;\n}, \"de_Ipv4PrefixSpecificationResponse\");\nvar de_Ipv6AddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_Ipv6AddressList\");\nvar de_Ipv6CidrAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCp] != null) {\n contents[_ICp] = (0, import_smithy_client.expectString)(output[_iCp]);\n }\n if (output[_aRs] != null) {\n contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]);\n }\n return contents;\n}, \"de_Ipv6CidrAssociation\");\nvar de_Ipv6CidrAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6CidrAssociation(entry, context);\n });\n}, \"de_Ipv6CidrAssociationSet\");\nvar de_Ipv6CidrBlock = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iCB] != null) {\n contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]);\n }\n return contents;\n}, \"de_Ipv6CidrBlock\");\nvar de_Ipv6CidrBlockSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6CidrBlock(entry, context);\n });\n}, \"de_Ipv6CidrBlockSet\");\nvar de_Ipv6Pool = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.poolCidrBlockSet === \"\") {\n contents[_PCBo] = [];\n } else if (output[_pCBS] != null && output[_pCBS][_i] != null) {\n contents[_PCBo] = de_PoolCidrBlocksSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pCBS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_Ipv6Pool\");\nvar de_Ipv6PoolSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6Pool(entry, context);\n });\n}, \"de_Ipv6PoolSet\");\nvar de_Ipv6PrefixesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6PrefixSpecification(entry, context);\n });\n}, \"de_Ipv6PrefixesList\");\nvar de_Ipv6PrefixList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6PrefixSpecificationRequest(entry, context);\n });\n}, \"de_Ipv6PrefixList\");\nvar de_Ipv6PrefixListResponse = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6PrefixSpecificationResponse(entry, context);\n });\n}, \"de_Ipv6PrefixListResponse\");\nvar de_Ipv6PrefixSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpvr] != null) {\n contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]);\n }\n return contents;\n}, \"de_Ipv6PrefixSpecification\");\nvar de_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_IPpvre] != null) {\n contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_IPpvre]);\n }\n return contents;\n}, \"de_Ipv6PrefixSpecificationRequest\");\nvar de_Ipv6PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPpvr] != null) {\n contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]);\n }\n return contents;\n}, \"de_Ipv6PrefixSpecificationResponse\");\nvar de_Ipv6Range = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_cIid] != null) {\n contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]);\n }\n return contents;\n}, \"de_Ipv6Range\");\nvar de_Ipv6RangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Ipv6Range(entry, context);\n });\n}, \"de_Ipv6RangeList\");\nvar de_KeyPair = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kPI] != null) {\n contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_kFe] != null) {\n contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);\n }\n if (output[_kM] != null) {\n contents[_KM] = (0, import_smithy_client.expectString)(output[_kM]);\n }\n return contents;\n}, \"de_KeyPair\");\nvar de_KeyPairInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kPI] != null) {\n contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]);\n }\n if (output[_kT] != null) {\n contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pK] != null) {\n contents[_PK] = (0, import_smithy_client.expectString)(output[_pK]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_kFe] != null) {\n contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);\n }\n return contents;\n}, \"de_KeyPairInfo\");\nvar de_KeyPairList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_KeyPairInfo(entry, context);\n });\n}, \"de_KeyPairList\");\nvar de_LastError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n return contents;\n}, \"de_LastError\");\nvar de_LaunchPermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oAr] != null) {\n contents[_OAr] = (0, import_smithy_client.expectString)(output[_oAr]);\n }\n if (output[_oUA] != null) {\n contents[_OUA] = (0, import_smithy_client.expectString)(output[_oUA]);\n }\n if (output[_uI] != null) {\n contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]);\n }\n if (output[_g] != null) {\n contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]);\n }\n return contents;\n}, \"de_LaunchPermission\");\nvar de_LaunchPermissionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchPermission(entry, context);\n });\n}, \"de_LaunchPermissionList\");\nvar de_LaunchSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_uDs] != null) {\n contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]);\n }\n if (output[_aTdd] != null) {\n contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]);\n }\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_iIP] != null) {\n contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_kI] != null) {\n contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output.networkInterfaceSet === \"\") {\n contents[_NI] = [];\n } else if (output[_nIS] != null && output[_nIS][_i] != null) {\n contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context);\n }\n if (output[_pla] != null) {\n contents[_Pl] = de_SpotPlacement(output[_pla], context);\n }\n if (output[_rIa] != null) {\n contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output.groupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_mo] != null) {\n contents[_Mon] = de_RunInstancesMonitoringEnabled(output[_mo], context);\n }\n return contents;\n}, \"de_LaunchSpecification\");\nvar de_LaunchSpecsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotFleetLaunchSpecification(entry, context);\n });\n}, \"de_LaunchSpecsList\");\nvar de_LaunchTemplate = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_cBr] != null) {\n contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]);\n }\n if (output[_dVN] != null) {\n contents[_DVN] = (0, import_smithy_client.strictParseLong)(output[_dVN]);\n }\n if (output[_lVN] != null) {\n contents[_LVN] = (0, import_smithy_client.strictParseLong)(output[_lVN]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_LaunchTemplate\");\nvar de_LaunchTemplateAndOverridesResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTS] != null) {\n contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context);\n }\n if (output[_ov] != null) {\n contents[_Ov] = de_FleetLaunchTemplateOverrides(output[_ov], context);\n }\n return contents;\n}, \"de_LaunchTemplateAndOverridesResponse\");\nvar de_LaunchTemplateBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output[_vN] != null) {\n contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]);\n }\n if (output[_eb] != null) {\n contents[_E] = de_LaunchTemplateEbsBlockDevice(output[_eb], context);\n }\n if (output[_nD] != null) {\n contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]);\n }\n return contents;\n}, \"de_LaunchTemplateBlockDeviceMapping\");\nvar de_LaunchTemplateBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateBlockDeviceMapping(entry, context);\n });\n}, \"de_LaunchTemplateBlockDeviceMappingList\");\nvar de_LaunchTemplateCapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRP] != null) {\n contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]);\n }\n if (output[_cRT] != null) {\n contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context);\n }\n return contents;\n}, \"de_LaunchTemplateCapacityReservationSpecificationResponse\");\nvar de_LaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTS] != null) {\n contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context);\n }\n if (output.overrides === \"\") {\n contents[_Ov] = [];\n } else if (output[_ov] != null && output[_ov][_i] != null) {\n contents[_Ov] = de_LaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context);\n }\n return contents;\n}, \"de_LaunchTemplateConfig\");\nvar de_LaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateConfig(entry, context);\n });\n}, \"de_LaunchTemplateConfigList\");\nvar de_LaunchTemplateCpuOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cCo] != null) {\n contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]);\n }\n if (output[_tPC] != null) {\n contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]);\n }\n if (output[_aSS] != null) {\n contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]);\n }\n return contents;\n}, \"de_LaunchTemplateCpuOptions\");\nvar de_LaunchTemplateEbsBlockDevice = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_io] != null) {\n contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_vT] != null) {\n contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]);\n }\n if (output[_th] != null) {\n contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]);\n }\n if (output[_vIR] != null) {\n contents[_VIR] = (0, import_smithy_client.strictParseInt32)(output[_vIR]);\n }\n return contents;\n}, \"de_LaunchTemplateEbsBlockDevice\");\nvar de_LaunchTemplateElasticInferenceAcceleratorResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n return contents;\n}, \"de_LaunchTemplateElasticInferenceAcceleratorResponse\");\nvar de_LaunchTemplateElasticInferenceAcceleratorResponseList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateElasticInferenceAcceleratorResponse(entry, context);\n });\n}, \"de_LaunchTemplateElasticInferenceAcceleratorResponseList\");\nvar de_LaunchTemplateEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSE] != null) {\n contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]);\n }\n if (output[_eSUS] != null) {\n contents[_ESUS] = de_LaunchTemplateEnaSrdUdpSpecification(output[_eSUS], context);\n }\n return contents;\n}, \"de_LaunchTemplateEnaSrdSpecification\");\nvar de_LaunchTemplateEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eSUE] != null) {\n contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]);\n }\n return contents;\n}, \"de_LaunchTemplateEnaSrdUdpSpecification\");\nvar de_LaunchTemplateEnclaveOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n return contents;\n}, \"de_LaunchTemplateEnclaveOptions\");\nvar de_LaunchTemplateHibernationOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_conf] != null) {\n contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]);\n }\n return contents;\n}, \"de_LaunchTemplateHibernationOptions\");\nvar de_LaunchTemplateIamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_LaunchTemplateIamInstanceProfileSpecification\");\nvar de_LaunchTemplateInstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aRu] != null) {\n contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]);\n }\n return contents;\n}, \"de_LaunchTemplateInstanceMaintenanceOptions\");\nvar de_LaunchTemplateInstanceMarketOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mT] != null) {\n contents[_MT] = (0, import_smithy_client.expectString)(output[_mT]);\n }\n if (output[_sO] != null) {\n contents[_SO] = de_LaunchTemplateSpotMarketOptions(output[_sO], context);\n }\n return contents;\n}, \"de_LaunchTemplateInstanceMarketOptions\");\nvar de_LaunchTemplateInstanceMetadataOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_hT] != null) {\n contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]);\n }\n if (output[_hPRHL] != null) {\n contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]);\n }\n if (output[_hE] != null) {\n contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]);\n }\n if (output[_hPI] != null) {\n contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]);\n }\n if (output[_iMT] != null) {\n contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]);\n }\n return contents;\n}, \"de_LaunchTemplateInstanceMetadataOptions\");\nvar de_LaunchTemplateInstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aCIA] != null) {\n contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_aCIA]);\n }\n if (output[_aPIA] != null) {\n contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_dIe] != null) {\n contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_gIr] != null) {\n contents[_G] = de_GroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_gIr]), context);\n }\n if (output[_iTnt] != null) {\n contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]);\n }\n if (output[_iAC] != null) {\n contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]);\n }\n if (output.ipv6AddressesSet === \"\") {\n contents[_IA] = [];\n } else if (output[_iASp] != null && output[_iASp][_i] != null) {\n contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output.privateIpAddressesSet === \"\") {\n contents[_PIA] = [];\n } else if (output[_pIAS] != null && output[_pIAS][_i] != null) {\n contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context);\n }\n if (output[_sPIAC] != null) {\n contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_nCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]);\n }\n if (output.ipv4PrefixSet === \"\") {\n contents[_IPp] = [];\n } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) {\n contents[_IPp] = de_Ipv4PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context);\n }\n if (output[_iPCp] != null) {\n contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_iPCp]);\n }\n if (output.ipv6PrefixSet === \"\") {\n contents[_IP] = [];\n } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) {\n contents[_IP] = de_Ipv6PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context);\n }\n if (output[_iPCpv] != null) {\n contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_iPCpv]);\n }\n if (output[_pIri] != null) {\n contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_pIri]);\n }\n if (output[_eSS] != null) {\n contents[_ESS] = de_LaunchTemplateEnaSrdSpecification(output[_eSS], context);\n }\n if (output[_cTS] != null) {\n contents[_CTS] = de_ConnectionTrackingSpecification(output[_cTS], context);\n }\n if (output[_eQC] != null) {\n contents[_EQC] = (0, import_smithy_client.strictParseInt32)(output[_eQC]);\n }\n return contents;\n}, \"de_LaunchTemplateInstanceNetworkInterfaceSpecification\");\nvar de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateInstanceNetworkInterfaceSpecification(entry, context);\n });\n}, \"de_LaunchTemplateInstanceNetworkInterfaceSpecificationList\");\nvar de_LaunchTemplateLicenseConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lCA] != null) {\n contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]);\n }\n return contents;\n}, \"de_LaunchTemplateLicenseConfiguration\");\nvar de_LaunchTemplateLicenseList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateLicenseConfiguration(entry, context);\n });\n}, \"de_LaunchTemplateLicenseList\");\nvar de_LaunchTemplateNetworkPerformanceOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bW] != null) {\n contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]);\n }\n return contents;\n}, \"de_LaunchTemplateNetworkPerformanceOptions\");\nvar de_LaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_sPp] != null) {\n contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_wC] != null) {\n contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);\n }\n if (output[_pri] != null) {\n contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);\n }\n if (output[_iR] != null) {\n contents[_IR] = de_InstanceRequirements(output[_iR], context);\n }\n return contents;\n}, \"de_LaunchTemplateOverrides\");\nvar de_LaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateOverrides(entry, context);\n });\n}, \"de_LaunchTemplateOverridesList\");\nvar de_LaunchTemplatePlacement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_af] != null) {\n contents[_Af] = (0, import_smithy_client.expectString)(output[_af]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_hI] != null) {\n contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_sDp] != null) {\n contents[_SDp] = (0, import_smithy_client.expectString)(output[_sDp]);\n }\n if (output[_hRGA] != null) {\n contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]);\n }\n if (output[_pN] != null) {\n contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n return contents;\n}, \"de_LaunchTemplatePlacement\");\nvar de_LaunchTemplatePrivateDnsNameOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hTo] != null) {\n contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]);\n }\n if (output[_eRNDAR] != null) {\n contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]);\n }\n if (output[_eRNDAAAAR] != null) {\n contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]);\n }\n return contents;\n}, \"de_LaunchTemplatePrivateDnsNameOptions\");\nvar de_LaunchTemplateSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplate(entry, context);\n });\n}, \"de_LaunchTemplateSet\");\nvar de_LaunchTemplatesMonitoring = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n return contents;\n}, \"de_LaunchTemplatesMonitoring\");\nvar de_LaunchTemplateSpotMarketOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mP] != null) {\n contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]);\n }\n if (output[_sIT] != null) {\n contents[_SIT] = (0, import_smithy_client.expectString)(output[_sIT]);\n }\n if (output[_bDMl] != null) {\n contents[_BDMl] = (0, import_smithy_client.strictParseInt32)(output[_bDMl]);\n }\n if (output[_vU] != null) {\n contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU]));\n }\n if (output[_iIB] != null) {\n contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]);\n }\n return contents;\n}, \"de_LaunchTemplateSpotMarketOptions\");\nvar de_LaunchTemplateTagSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_LaunchTemplateTagSpecification\");\nvar de_LaunchTemplateTagSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateTagSpecification(entry, context);\n });\n}, \"de_LaunchTemplateTagSpecificationList\");\nvar de_LaunchTemplateVersion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lTI] != null) {\n contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]);\n }\n if (output[_lTN] != null) {\n contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]);\n }\n if (output[_vNe] != null) {\n contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]);\n }\n if (output[_vD] != null) {\n contents[_VD] = (0, import_smithy_client.expectString)(output[_vD]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_cBr] != null) {\n contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]);\n }\n if (output[_dVe] != null) {\n contents[_DVef] = (0, import_smithy_client.parseBoolean)(output[_dVe]);\n }\n if (output[_lTD] != null) {\n contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_LaunchTemplateVersion\");\nvar de_LaunchTemplateVersionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LaunchTemplateVersion(entry, context);\n });\n}, \"de_LaunchTemplateVersionSet\");\nvar de_LicenseConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lCA] != null) {\n contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]);\n }\n return contents;\n}, \"de_LicenseConfiguration\");\nvar de_LicenseList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LicenseConfiguration(entry, context);\n });\n}, \"de_LicenseList\");\nvar de_ListImagesInRecycleBinResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.imageSet === \"\") {\n contents[_Ima] = [];\n } else if (output[_iSmag] != null && output[_iSmag][_i] != null) {\n contents[_Ima] = de_ImageRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSmag][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_ListImagesInRecycleBinResult\");\nvar de_ListSnapshotsInRecycleBinResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.snapshotSet === \"\") {\n contents[_Sn] = [];\n } else if (output[_sS] != null && output[_sS][_i] != null) {\n contents[_Sn] = de_SnapshotRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_ListSnapshotsInRecycleBinResult\");\nvar de_LoadBalancersConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cLBC] != null) {\n contents[_CLBC] = de_ClassicLoadBalancersConfig(output[_cLBC], context);\n }\n if (output[_tGCa] != null) {\n contents[_TGC] = de_TargetGroupsConfig(output[_tGCa], context);\n }\n return contents;\n}, \"de_LoadBalancersConfig\");\nvar de_LoadPermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_uI] != null) {\n contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]);\n }\n if (output[_g] != null) {\n contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]);\n }\n return contents;\n}, \"de_LoadPermission\");\nvar de_LoadPermissionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LoadPermission(entry, context);\n });\n}, \"de_LoadPermissionList\");\nvar de_LocalGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_LocalGateway\");\nvar de_LocalGatewayRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_lGVIGI] != null) {\n contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output[_lGRTA] != null) {\n contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_cPI] != null) {\n contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_dPLI] != null) {\n contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]);\n }\n return contents;\n}, \"de_LocalGatewayRoute\");\nvar de_LocalGatewayRouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayRoute(entry, context);\n });\n}, \"de_LocalGatewayRouteList\");\nvar de_LocalGatewayRouteTable = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output[_lGRTA] != null) {\n contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_mod] != null) {\n contents[_Mo] = (0, import_smithy_client.expectString)(output[_mod]);\n }\n if (output[_sRt] != null) {\n contents[_SRt] = de_StateReason(output[_sRt], context);\n }\n return contents;\n}, \"de_LocalGatewayRouteTable\");\nvar de_LocalGatewayRouteTableSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayRouteTable(entry, context);\n });\n}, \"de_LocalGatewayRouteTableSet\");\nvar de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVIGAI] != null) {\n contents[_LGRTVIGAI] = (0, import_smithy_client.expectString)(output[_lGRTVIGAI]);\n }\n if (output[_lGVIGI] != null) {\n contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output[_lGRTA] != null) {\n contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation\");\nvar de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(entry, context);\n });\n}, \"de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet\");\nvar de_LocalGatewayRouteTableVpcAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGRTVAI] != null) {\n contents[_LGRTVAI] = (0, import_smithy_client.expectString)(output[_lGRTVAI]);\n }\n if (output[_lGRTI] != null) {\n contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]);\n }\n if (output[_lGRTA] != null) {\n contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_LocalGatewayRouteTableVpcAssociation\");\nvar de_LocalGatewayRouteTableVpcAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayRouteTableVpcAssociation(entry, context);\n });\n}, \"de_LocalGatewayRouteTableVpcAssociationSet\");\nvar de_LocalGatewaySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGateway(entry, context);\n });\n}, \"de_LocalGatewaySet\");\nvar de_LocalGatewayVirtualInterface = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVII] != null) {\n contents[_LGVII] = (0, import_smithy_client.expectString)(output[_lGVII]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_lGVIGI] != null) {\n contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]);\n }\n if (output[_lGVIA] != null) {\n contents[_LGVIA] = (0, import_smithy_client.expectString)(output[_lGVIA]);\n }\n if (output[_oLI] != null) {\n contents[_OLI] = (0, import_smithy_client.expectString)(output[_oLI]);\n }\n if (output[_vl] != null) {\n contents[_Vl] = (0, import_smithy_client.strictParseInt32)(output[_vl]);\n }\n if (output[_lA] != null) {\n contents[_LA] = (0, import_smithy_client.expectString)(output[_lA]);\n }\n if (output[_pAe] != null) {\n contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]);\n }\n if (output[_lBAo] != null) {\n contents[_LBA] = (0, import_smithy_client.strictParseInt32)(output[_lBAo]);\n }\n if (output[_pBA] != null) {\n contents[_PBA] = (0, import_smithy_client.strictParseInt32)(output[_pBA]);\n }\n if (output[_pBAE] != null) {\n contents[_PBAE] = (0, import_smithy_client.strictParseLong)(output[_pBAE]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_cSon] != null) {\n contents[_CSon] = (0, import_smithy_client.expectString)(output[_cSon]);\n }\n return contents;\n}, \"de_LocalGatewayVirtualInterface\");\nvar de_LocalGatewayVirtualInterfaceGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lGVIGI] != null) {\n contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]);\n }\n if (output.localGatewayVirtualInterfaceIdSet === \"\") {\n contents[_LGVIIo] = [];\n } else if (output[_lGVIIS] != null && output[_lGVIIS][_i] != null) {\n contents[_LGVIIo] = de_LocalGatewayVirtualInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIIS][_i]), context);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_lBAo] != null) {\n contents[_LBA] = (0, import_smithy_client.strictParseInt32)(output[_lBAo]);\n }\n if (output[_lBAE] != null) {\n contents[_LBAE] = (0, import_smithy_client.strictParseLong)(output[_lBAE]);\n }\n if (output[_lGVIGA] != null) {\n contents[_LGVIGA] = (0, import_smithy_client.expectString)(output[_lGVIGA]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_cSon] != null) {\n contents[_CSon] = (0, import_smithy_client.expectString)(output[_cSon]);\n }\n return contents;\n}, \"de_LocalGatewayVirtualInterfaceGroup\");\nvar de_LocalGatewayVirtualInterfaceGroupSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayVirtualInterfaceGroup(entry, context);\n });\n}, \"de_LocalGatewayVirtualInterfaceGroupSet\");\nvar de_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_LocalGatewayVirtualInterfaceIdSet\");\nvar de_LocalGatewayVirtualInterfaceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocalGatewayVirtualInterface(entry, context);\n });\n}, \"de_LocalGatewayVirtualInterfaceSet\");\nvar de_LocalStorageTypeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_LocalStorageTypeSet\");\nvar de_LockedSnapshotsInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_lSoc] != null) {\n contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]);\n }\n if (output[_lDo] != null) {\n contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]);\n }\n if (output[_cOP] != null) {\n contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]);\n }\n if (output[_cOPEO] != null) {\n contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO]));\n }\n if (output[_lCO] != null) {\n contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO]));\n }\n if (output[_lDST] != null) {\n contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST]));\n }\n if (output[_lEO] != null) {\n contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO]));\n }\n return contents;\n}, \"de_LockedSnapshotsInfo\");\nvar de_LockedSnapshotsInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LockedSnapshotsInfo(entry, context);\n });\n}, \"de_LockedSnapshotsInfoList\");\nvar de_LockSnapshotResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_lSoc] != null) {\n contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]);\n }\n if (output[_lDo] != null) {\n contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]);\n }\n if (output[_cOP] != null) {\n contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]);\n }\n if (output[_cOPEO] != null) {\n contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO]));\n }\n if (output[_lCO] != null) {\n contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO]));\n }\n if (output[_lEO] != null) {\n contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO]));\n }\n if (output[_lDST] != null) {\n contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST]));\n }\n return contents;\n}, \"de_LockSnapshotResult\");\nvar de_MacHost = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hI] != null) {\n contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]);\n }\n if (output.macOSLatestSupportedVersionSet === \"\") {\n contents[_MOSLSV] = [];\n } else if (output[_mOSLSVS] != null && output[_mOSLSVS][_i] != null) {\n contents[_MOSLSV] = de_MacOSVersionStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_mOSLSVS][_i]), context);\n }\n return contents;\n}, \"de_MacHost\");\nvar de_MacHostList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_MacHost(entry, context);\n });\n}, \"de_MacHostList\");\nvar de_MacOSVersionStringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_MacOSVersionStringList\");\nvar de_MaintenanceDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pM] != null) {\n contents[_PM] = (0, import_smithy_client.expectString)(output[_pM]);\n }\n if (output[_mAAA] != null) {\n contents[_MAAA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_mAAA]));\n }\n if (output[_lMA] != null) {\n contents[_LMA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lMA]));\n }\n return contents;\n}, \"de_MaintenanceDetails\");\nvar de_ManagedPrefixList = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_aF] != null) {\n contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n if (output[_pLA] != null) {\n contents[_PLAr] = (0, import_smithy_client.expectString)(output[_pLA]);\n }\n if (output[_pLN] != null) {\n contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]);\n }\n if (output[_mE] != null) {\n contents[_ME] = (0, import_smithy_client.strictParseInt32)(output[_mE]);\n }\n if (output[_ve] != null) {\n contents[_V] = (0, import_smithy_client.strictParseLong)(output[_ve]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_ManagedPrefixList\");\nvar de_ManagedPrefixListSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ManagedPrefixList(entry, context);\n });\n}, \"de_ManagedPrefixListSet\");\nvar de_MediaAcceleratorInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.accelerators === \"\") {\n contents[_Acc] = [];\n } else if (output[_acc] != null && output[_acc][_i] != null) {\n contents[_Acc] = de_MediaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_i]), context);\n }\n if (output[_tMMIMB] != null) {\n contents[_TMMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tMMIMB]);\n }\n return contents;\n}, \"de_MediaAcceleratorInfo\");\nvar de_MediaDeviceInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_man] != null) {\n contents[_Man] = (0, import_smithy_client.expectString)(output[_man]);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_MediaDeviceMemoryInfo(output[_mIe], context);\n }\n return contents;\n}, \"de_MediaDeviceInfo\");\nvar de_MediaDeviceInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_MediaDeviceInfo(entry, context);\n });\n}, \"de_MediaDeviceInfoList\");\nvar de_MediaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]);\n }\n return contents;\n}, \"de_MediaDeviceMemoryInfo\");\nvar de_MemoryGiBPerVCpu = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]);\n }\n return contents;\n}, \"de_MemoryGiBPerVCpu\");\nvar de_MemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseLong)(output[_sIMB]);\n }\n return contents;\n}, \"de_MemoryInfo\");\nvar de_MemoryMiB = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_MemoryMiB\");\nvar de_MetricPoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.strictParseFloat)(output[_v]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_MetricPoint\");\nvar de_MetricPoints = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_MetricPoint(entry, context);\n });\n}, \"de_MetricPoints\");\nvar de_ModifyAddressAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ad] != null) {\n contents[_Ad] = de_AddressAttribute(output[_ad], context);\n }\n return contents;\n}, \"de_ModifyAddressAttributeResult\");\nvar de_ModifyAvailabilityZoneGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyAvailabilityZoneGroupResult\");\nvar de_ModifyCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyCapacityReservationFleetResult\");\nvar de_ModifyCapacityReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyCapacityReservationResult\");\nvar de_ModifyClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyClientVpnEndpointResult\");\nvar de_ModifyDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iFCS] != null) {\n contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context);\n }\n return contents;\n}, \"de_ModifyDefaultCreditSpecificationResult\");\nvar de_ModifyEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n return contents;\n}, \"de_ModifyEbsDefaultKmsKeyIdResult\");\nvar de_ModifyFleetResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyFleetResult\");\nvar de_ModifyFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fIA] != null) {\n contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context);\n }\n return contents;\n}, \"de_ModifyFpgaImageAttributeResult\");\nvar de_ModifyHostsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successful === \"\") {\n contents[_Suc] = [];\n } else if (output[_suc] != null && output[_suc][_i] != null) {\n contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context);\n }\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_ModifyHostsResult\");\nvar de_ModifyInstanceCapacityReservationAttributesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyInstanceCapacityReservationAttributesResult\");\nvar de_ModifyInstanceCpuOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_cCo] != null) {\n contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]);\n }\n if (output[_tPC] != null) {\n contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]);\n }\n return contents;\n}, \"de_ModifyInstanceCpuOptionsResult\");\nvar de_ModifyInstanceCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successfulInstanceCreditSpecificationSet === \"\") {\n contents[_SICS] = [];\n } else if (output[_sICSS] != null && output[_sICSS][_i] != null) {\n contents[_SICS] = de_SuccessfulInstanceCreditSpecificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sICSS][_i]), context);\n }\n if (output.unsuccessfulInstanceCreditSpecificationSet === \"\") {\n contents[_UICS] = [];\n } else if (output[_uICSS] != null && output[_uICSS][_i] != null) {\n contents[_UICS] = de_UnsuccessfulInstanceCreditSpecificationSet(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_uICSS][_i]),\n context\n );\n }\n return contents;\n}, \"de_ModifyInstanceCreditSpecificationResult\");\nvar de_ModifyInstanceEventStartTimeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ev] != null) {\n contents[_Eve] = de_InstanceStatusEvent(output[_ev], context);\n }\n return contents;\n}, \"de_ModifyInstanceEventStartTimeResult\");\nvar de_ModifyInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iEW] != null) {\n contents[_IEW] = de_InstanceEventWindow(output[_iEW], context);\n }\n return contents;\n}, \"de_ModifyInstanceEventWindowResult\");\nvar de_ModifyInstanceMaintenanceOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_aRu] != null) {\n contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]);\n }\n return contents;\n}, \"de_ModifyInstanceMaintenanceOptionsResult\");\nvar de_ModifyInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyInstanceMetadataDefaultsResult\");\nvar de_ModifyInstanceMetadataOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iMO] != null) {\n contents[_IMOn] = de_InstanceMetadataOptionsResponse(output[_iMO], context);\n }\n return contents;\n}, \"de_ModifyInstanceMetadataOptionsResult\");\nvar de_ModifyInstanceNetworkPerformanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_bW] != null) {\n contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]);\n }\n return contents;\n}, \"de_ModifyInstanceNetworkPerformanceResult\");\nvar de_ModifyInstancePlacementResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyInstancePlacementResult\");\nvar de_ModifyIpamPoolResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPp] != null) {\n contents[_IPpa] = de_IpamPool(output[_iPp], context);\n }\n return contents;\n}, \"de_ModifyIpamPoolResult\");\nvar de_ModifyIpamResourceCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRC] != null) {\n contents[_IRCp] = de_IpamResourceCidr(output[_iRC], context);\n }\n return contents;\n}, \"de_ModifyIpamResourceCidrResult\");\nvar de_ModifyIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iRD] != null) {\n contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context);\n }\n return contents;\n}, \"de_ModifyIpamResourceDiscoveryResult\");\nvar de_ModifyIpamResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ip] != null) {\n contents[_Ipa] = de_Ipam(output[_ip], context);\n }\n return contents;\n}, \"de_ModifyIpamResult\");\nvar de_ModifyIpamScopeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iS] != null) {\n contents[_ISpa] = de_IpamScope(output[_iS], context);\n }\n return contents;\n}, \"de_ModifyIpamScopeResult\");\nvar de_ModifyLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lT] != null) {\n contents[_LTa] = de_LaunchTemplate(output[_lT], context);\n }\n return contents;\n}, \"de_ModifyLaunchTemplateResult\");\nvar de_ModifyLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_ModifyLocalGatewayRouteResult\");\nvar de_ModifyManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pL] != null) {\n contents[_PLr] = de_ManagedPrefixList(output[_pL], context);\n }\n return contents;\n}, \"de_ModifyManagedPrefixListResult\");\nvar de_ModifyPrivateDnsNameOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyPrivateDnsNameOptionsResult\");\nvar de_ModifyReservedInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rIMI] != null) {\n contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]);\n }\n return contents;\n}, \"de_ModifyReservedInstancesResult\");\nvar de_ModifyRouteServerResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSo] != null) {\n contents[_RSo] = de_RouteServer(output[_rSo], context);\n }\n return contents;\n}, \"de_ModifyRouteServerResult\");\nvar de_ModifySecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifySecurityGroupRulesResult\");\nvar de_ModifySnapshotTierResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_tST] != null) {\n contents[_TST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tST]));\n }\n return contents;\n}, \"de_ModifySnapshotTierResult\");\nvar de_ModifySpotFleetRequestResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifySpotFleetRequestResponse\");\nvar de_ModifyTrafficMirrorFilterNetworkServicesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMF] != null) {\n contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context);\n }\n return contents;\n}, \"de_ModifyTrafficMirrorFilterNetworkServicesResult\");\nvar de_ModifyTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFR] != null) {\n contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context);\n }\n return contents;\n}, \"de_ModifyTrafficMirrorFilterRuleResult\");\nvar de_ModifyTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMS] != null) {\n contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context);\n }\n return contents;\n}, \"de_ModifyTrafficMirrorSessionResult\");\nvar de_ModifyTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPLR] != null) {\n contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context);\n }\n return contents;\n}, \"de_ModifyTransitGatewayPrefixListReferenceResult\");\nvar de_ModifyTransitGatewayResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tG] != null) {\n contents[_TGr] = de_TransitGateway(output[_tG], context);\n }\n return contents;\n}, \"de_ModifyTransitGatewayResult\");\nvar de_ModifyTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGVA] != null) {\n contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context);\n }\n return contents;\n}, \"de_ModifyTransitGatewayVpcAttachmentResult\");\nvar de_ModifyVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pE] != null) {\n contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]);\n }\n if (output[_pDo] != null) {\n contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]);\n }\n if (output[_sSs] != null) {\n contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessEndpointPolicyResult\");\nvar de_ModifyVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAE] != null) {\n contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessEndpointResult\");\nvar de_ModifyVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pE] != null) {\n contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]);\n }\n if (output[_pDo] != null) {\n contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]);\n }\n if (output[_sSs] != null) {\n contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessGroupPolicyResult\");\nvar de_ModifyVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAG] != null) {\n contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessGroupResult\");\nvar de_ModifyVerifiedAccessInstanceLoggingConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_lC] != null) {\n contents[_LCo] = de_VerifiedAccessInstanceLoggingConfiguration(output[_lC], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessInstanceLoggingConfigurationResult\");\nvar de_ModifyVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAI] != null) {\n contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessInstanceResult\");\nvar de_ModifyVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATP] != null) {\n contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context);\n }\n return contents;\n}, \"de_ModifyVerifiedAccessTrustProviderResult\");\nvar de_ModifyVolumeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vM] != null) {\n contents[_VMol] = de_VolumeModification(output[_vM], context);\n }\n return contents;\n}, \"de_ModifyVolumeResult\");\nvar de_ModifyVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vBPAE] != null) {\n contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context);\n }\n return contents;\n}, \"de_ModifyVpcBlockPublicAccessExclusionResult\");\nvar de_ModifyVpcBlockPublicAccessOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vBPAO] != null) {\n contents[_VBPAO] = de_VpcBlockPublicAccessOptions(output[_vBPAO], context);\n }\n return contents;\n}, \"de_ModifyVpcBlockPublicAccessOptionsResult\");\nvar de_ModifyVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcEndpointConnectionNotificationResult\");\nvar de_ModifyVpcEndpointResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcEndpointResult\");\nvar de_ModifyVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcEndpointServiceConfigurationResult\");\nvar de_ModifyVpcEndpointServicePayerResponsibilityResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcEndpointServicePayerResponsibilityResult\");\nvar de_ModifyVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.addedPrincipalSet === \"\") {\n contents[_APd] = [];\n } else if (output[_aPS] != null && output[_aPS][_i] != null) {\n contents[_APd] = de_AddedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aPS][_i]), context);\n }\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcEndpointServicePermissionsResult\");\nvar de_ModifyVpcPeeringConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aPCO] != null) {\n contents[_APCO] = de_PeeringConnectionOptions(output[_aPCO], context);\n }\n if (output[_rPCO] != null) {\n contents[_RPCO] = de_PeeringConnectionOptions(output[_rPCO], context);\n }\n return contents;\n}, \"de_ModifyVpcPeeringConnectionOptionsResult\");\nvar de_ModifyVpcTenancyResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ModifyVpcTenancyResult\");\nvar de_ModifyVpnConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vC] != null) {\n contents[_VC] = de_VpnConnection(output[_vC], context);\n }\n return contents;\n}, \"de_ModifyVpnConnectionOptionsResult\");\nvar de_ModifyVpnConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vC] != null) {\n contents[_VC] = de_VpnConnection(output[_vC], context);\n }\n return contents;\n}, \"de_ModifyVpnConnectionResult\");\nvar de_ModifyVpnTunnelCertificateResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vC] != null) {\n contents[_VC] = de_VpnConnection(output[_vC], context);\n }\n return contents;\n}, \"de_ModifyVpnTunnelCertificateResult\");\nvar de_ModifyVpnTunnelOptionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vC] != null) {\n contents[_VC] = de_VpnConnection(output[_vC], context);\n }\n return contents;\n}, \"de_ModifyVpnTunnelOptionsResult\");\nvar de_Monitoring = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_Monitoring\");\nvar de_MonitorInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_IMn] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_MonitorInstancesResult\");\nvar de_MoveAddressToVpcResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_MoveAddressToVpcResult\");\nvar de_MoveByoipCidrToIpamResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bC] != null) {\n contents[_BC] = de_ByoipCidr(output[_bC], context);\n }\n return contents;\n}, \"de_MoveByoipCidrToIpamResult\");\nvar de_MoveCapacityReservationInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCR] != null) {\n contents[_SCR] = de_CapacityReservation(output[_sCR], context);\n }\n if (output[_dCR] != null) {\n contents[_DCRe] = de_CapacityReservation(output[_dCR], context);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n return contents;\n}, \"de_MoveCapacityReservationInstancesResult\");\nvar de_MovingAddressStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mSo] != null) {\n contents[_MSo] = (0, import_smithy_client.expectString)(output[_mSo]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n return contents;\n}, \"de_MovingAddressStatus\");\nvar de_MovingAddressStatusSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_MovingAddressStatus(entry, context);\n });\n}, \"de_MovingAddressStatusSet\");\nvar de_NatGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_dTel] != null) {\n contents[_DTele] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTel]));\n }\n if (output[_fCa] != null) {\n contents[_FCa] = (0, import_smithy_client.expectString)(output[_fCa]);\n }\n if (output[_fM] != null) {\n contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]);\n }\n if (output.natGatewayAddressSet === \"\") {\n contents[_NGA] = [];\n } else if (output[_nGAS] != null && output[_nGAS][_i] != null) {\n contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context);\n }\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output[_pB] != null) {\n contents[_PB] = de_ProvisionedBandwidth(output[_pB], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_cTonn] != null) {\n contents[_CTo] = (0, import_smithy_client.expectString)(output[_cTonn]);\n }\n return contents;\n}, \"de_NatGateway\");\nvar de_NatGatewayAddress = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_pIriv] != null) {\n contents[_PIri] = (0, import_smithy_client.expectString)(output[_pIriv]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_iPsr] != null) {\n contents[_IPsr] = (0, import_smithy_client.parseBoolean)(output[_iPsr]);\n }\n if (output[_fM] != null) {\n contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_NatGatewayAddress\");\nvar de_NatGatewayAddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NatGatewayAddress(entry, context);\n });\n}, \"de_NatGatewayAddressList\");\nvar de_NatGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NatGateway(entry, context);\n });\n}, \"de_NatGatewayList\");\nvar de_NativeApplicationOidcOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pSKE] != null) {\n contents[_PSKE] = (0, import_smithy_client.expectString)(output[_pSKE]);\n }\n if (output[_is] != null) {\n contents[_I] = (0, import_smithy_client.expectString)(output[_is]);\n }\n if (output[_aE] != null) {\n contents[_AE] = (0, import_smithy_client.expectString)(output[_aE]);\n }\n if (output[_tEo] != null) {\n contents[_TEo] = (0, import_smithy_client.expectString)(output[_tEo]);\n }\n if (output[_uIE] != null) {\n contents[_UIE] = (0, import_smithy_client.expectString)(output[_uIE]);\n }\n if (output[_cIli] != null) {\n contents[_CIl] = (0, import_smithy_client.expectString)(output[_cIli]);\n }\n if (output[_sc] != null) {\n contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]);\n }\n return contents;\n}, \"de_NativeApplicationOidcOptions\");\nvar de_NetworkAcl = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.associationSet === \"\") {\n contents[_Ass] = [];\n } else if (output[_aSss] != null && output[_aSss][_i] != null) {\n contents[_Ass] = de_NetworkAclAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context);\n }\n if (output.entrySet === \"\") {\n contents[_Ent] = [];\n } else if (output[_eSnt] != null && output[_eSnt][_i] != null) {\n contents[_Ent] = de_NetworkAclEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context);\n }\n if (output[_def] != null) {\n contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_def]);\n }\n if (output[_nAI] != null) {\n contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_NetworkAcl\");\nvar de_NetworkAclAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nAAI] != null) {\n contents[_NAAI] = (0, import_smithy_client.expectString)(output[_nAAI]);\n }\n if (output[_nAI] != null) {\n contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n return contents;\n}, \"de_NetworkAclAssociation\");\nvar de_NetworkAclAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkAclAssociation(entry, context);\n });\n}, \"de_NetworkAclAssociationList\");\nvar de_NetworkAclEntry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n if (output[_e] != null) {\n contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]);\n }\n if (output[_iTC] != null) {\n contents[_ITC] = de_IcmpTypeCode(output[_iTC], context);\n }\n if (output[_iCB] != null) {\n contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]);\n }\n if (output[_pRo] != null) {\n contents[_PR] = de_PortRange(output[_pRo], context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_rA] != null) {\n contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]);\n }\n if (output[_rN] != null) {\n contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]);\n }\n return contents;\n}, \"de_NetworkAclEntry\");\nvar de_NetworkAclEntryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkAclEntry(entry, context);\n });\n}, \"de_NetworkAclEntryList\");\nvar de_NetworkAclList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkAcl(entry, context);\n });\n}, \"de_NetworkAclList\");\nvar de_NetworkBandwidthGbps = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]);\n }\n return contents;\n}, \"de_NetworkBandwidthGbps\");\nvar de_NetworkCardInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]);\n }\n if (output[_nP] != null) {\n contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]);\n }\n if (output[_mNI] != null) {\n contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]);\n }\n if (output[_bBIG] != null) {\n contents[_BBIG] = (0, import_smithy_client.strictParseFloat)(output[_bBIG]);\n }\n if (output[_pBIG] != null) {\n contents[_PBIG] = (0, import_smithy_client.strictParseFloat)(output[_pBIG]);\n }\n if (output[_dEQCPI] != null) {\n contents[_DEQCPI] = (0, import_smithy_client.strictParseInt32)(output[_dEQCPI]);\n }\n if (output[_mEQC] != null) {\n contents[_MEQC] = (0, import_smithy_client.strictParseInt32)(output[_mEQC]);\n }\n if (output[_mEQCPI] != null) {\n contents[_MEQCPI] = (0, import_smithy_client.strictParseInt32)(output[_mEQCPI]);\n }\n return contents;\n}, \"de_NetworkCardInfo\");\nvar de_NetworkCardInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkCardInfo(entry, context);\n });\n}, \"de_NetworkCardInfoList\");\nvar de_NetworkInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nP] != null) {\n contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]);\n }\n if (output[_mNI] != null) {\n contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]);\n }\n if (output[_mNC] != null) {\n contents[_MNC] = (0, import_smithy_client.strictParseInt32)(output[_mNC]);\n }\n if (output[_dNCI] != null) {\n contents[_DNCI] = (0, import_smithy_client.strictParseInt32)(output[_dNCI]);\n }\n if (output.networkCards === \"\") {\n contents[_NC] = [];\n } else if (output[_nC] != null && output[_nC][_i] != null) {\n contents[_NC] = de_NetworkCardInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nC][_i]), context);\n }\n if (output[_iAPI] != null) {\n contents[_IAPI] = (0, import_smithy_client.strictParseInt32)(output[_iAPI]);\n }\n if (output[_iAPIp] != null) {\n contents[_IAPIp] = (0, import_smithy_client.strictParseInt32)(output[_iAPIp]);\n }\n if (output[_iSpv] != null) {\n contents[_ISpv] = (0, import_smithy_client.parseBoolean)(output[_iSpv]);\n }\n if (output[_eSna] != null) {\n contents[_ESn] = (0, import_smithy_client.expectString)(output[_eSna]);\n }\n if (output[_eSf] != null) {\n contents[_ESf] = (0, import_smithy_client.parseBoolean)(output[_eSf]);\n }\n if (output[_eIf] != null) {\n contents[_EIf] = de_EfaInfo(output[_eIf], context);\n }\n if (output[_eITSn] != null) {\n contents[_EITS] = (0, import_smithy_client.parseBoolean)(output[_eITSn]);\n }\n if (output[_eSSn] != null) {\n contents[_ESSn] = (0, import_smithy_client.parseBoolean)(output[_eSSn]);\n }\n if (output.bandwidthWeightings === \"\") {\n contents[_BWa] = [];\n } else if (output[_bWa] != null && output[_bWa][_i] != null) {\n contents[_BWa] = de_BandwidthWeightingTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_bWa][_i]), context);\n }\n if (output[_fEQS] != null) {\n contents[_FEQS] = (0, import_smithy_client.expectString)(output[_fEQS]);\n }\n return contents;\n}, \"de_NetworkInfo\");\nvar de_NetworkInsightsAccessScope = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASI] != null) {\n contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]);\n }\n if (output[_nIASA] != null) {\n contents[_NIASAe] = (0, import_smithy_client.expectString)(output[_nIASA]);\n }\n if (output[_cDre] != null) {\n contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre]));\n }\n if (output[_uDp] != null) {\n contents[_UDp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDp]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_NetworkInsightsAccessScope\");\nvar de_NetworkInsightsAccessScopeAnalysis = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASAI] != null) {\n contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]);\n }\n if (output[_nIASAA] != null) {\n contents[_NIASAA] = (0, import_smithy_client.expectString)(output[_nIASAA]);\n }\n if (output[_nIASI] != null) {\n contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_wM] != null) {\n contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]);\n }\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_eD] != null) {\n contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD]));\n }\n if (output[_fFi] != null) {\n contents[_FFi] = (0, import_smithy_client.expectString)(output[_fFi]);\n }\n if (output[_aEC] != null) {\n contents[_AEC] = (0, import_smithy_client.strictParseInt32)(output[_aEC]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_NetworkInsightsAccessScopeAnalysis\");\nvar de_NetworkInsightsAccessScopeAnalysisList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInsightsAccessScopeAnalysis(entry, context);\n });\n}, \"de_NetworkInsightsAccessScopeAnalysisList\");\nvar de_NetworkInsightsAccessScopeContent = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASI] != null) {\n contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]);\n }\n if (output.matchPathSet === \"\") {\n contents[_MP] = [];\n } else if (output[_mPSa] != null && output[_mPSa][_i] != null) {\n contents[_MP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_mPSa][_i]), context);\n }\n if (output.excludePathSet === \"\") {\n contents[_EP] = [];\n } else if (output[_ePS] != null && output[_ePS][_i] != null) {\n contents[_EP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_ePS][_i]), context);\n }\n return contents;\n}, \"de_NetworkInsightsAccessScopeContent\");\nvar de_NetworkInsightsAccessScopeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInsightsAccessScope(entry, context);\n });\n}, \"de_NetworkInsightsAccessScopeList\");\nvar de_NetworkInsightsAnalysis = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIAI] != null) {\n contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]);\n }\n if (output[_nIAA] != null) {\n contents[_NIAA] = (0, import_smithy_client.expectString)(output[_nIAA]);\n }\n if (output[_nIPI] != null) {\n contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]);\n }\n if (output.additionalAccountSet === \"\") {\n contents[_AAd] = [];\n } else if (output[_aASd] != null && output[_aASd][_i] != null) {\n contents[_AAd] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASd][_i]), context);\n }\n if (output.filterInArnSet === \"\") {\n contents[_FIA] = [];\n } else if (output[_fIAS] != null && output[_fIAS][_i] != null) {\n contents[_FIA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fIAS][_i]), context);\n }\n if (output.filterOutArnSet === \"\") {\n contents[_FOA] = [];\n } else if (output[_fOAS] != null && output[_fOAS][_i] != null) {\n contents[_FOA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fOAS][_i]), context);\n }\n if (output[_sD] != null) {\n contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_wM] != null) {\n contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]);\n }\n if (output[_nPF] != null) {\n contents[_NPF] = (0, import_smithy_client.parseBoolean)(output[_nPF]);\n }\n if (output.forwardPathComponentSet === \"\") {\n contents[_FPC] = [];\n } else if (output[_fPCS] != null && output[_fPCS][_i] != null) {\n contents[_FPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fPCS][_i]), context);\n }\n if (output.returnPathComponentSet === \"\") {\n contents[_RPC] = [];\n } else if (output[_rPCS] != null && output[_rPCS][_i] != null) {\n contents[_RPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_rPCS][_i]), context);\n }\n if (output.explanationSet === \"\") {\n contents[_Ex] = [];\n } else if (output[_eSx] != null && output[_eSx][_i] != null) {\n contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context);\n }\n if (output.alternatePathHintSet === \"\") {\n contents[_APH] = [];\n } else if (output[_aPHS] != null && output[_aPHS][_i] != null) {\n contents[_APH] = de_AlternatePathHintList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPHS][_i]), context);\n }\n if (output.suggestedAccountSet === \"\") {\n contents[_SAu] = [];\n } else if (output[_sASu] != null && output[_sASu][_i] != null) {\n contents[_SAu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sASu][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_NetworkInsightsAnalysis\");\nvar de_NetworkInsightsAnalysisList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInsightsAnalysis(entry, context);\n });\n}, \"de_NetworkInsightsAnalysisList\");\nvar de_NetworkInsightsPath = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIPI] != null) {\n contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]);\n }\n if (output[_nIPA] != null) {\n contents[_NIPA] = (0, import_smithy_client.expectString)(output[_nIPA]);\n }\n if (output[_cDre] != null) {\n contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre]));\n }\n if (output[_s] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_s]);\n }\n if (output[_d] != null) {\n contents[_D] = (0, import_smithy_client.expectString)(output[_d]);\n }\n if (output[_sA] != null) {\n contents[_SAour] = (0, import_smithy_client.expectString)(output[_sA]);\n }\n if (output[_dA] != null) {\n contents[_DAesti] = (0, import_smithy_client.expectString)(output[_dA]);\n }\n if (output[_sIo] != null) {\n contents[_SIo] = (0, import_smithy_client.expectString)(output[_sIo]);\n }\n if (output[_dIes] != null) {\n contents[_DIest] = (0, import_smithy_client.expectString)(output[_dIes]);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_dPes] != null) {\n contents[_DPe] = (0, import_smithy_client.strictParseInt32)(output[_dPes]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_fAS] != null) {\n contents[_FAS] = de_PathFilter(output[_fAS], context);\n }\n if (output[_fAD] != null) {\n contents[_FAD] = de_PathFilter(output[_fAD], context);\n }\n return contents;\n}, \"de_NetworkInsightsPath\");\nvar de_NetworkInsightsPathList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInsightsPath(entry, context);\n });\n}, \"de_NetworkInsightsPathList\");\nvar de_NetworkInterface = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context);\n }\n if (output[_at] != null) {\n contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_cTC] != null) {\n contents[_CTC] = de_ConnectionTrackingConfiguration(output[_cTC], context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_iTnt] != null) {\n contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]);\n }\n if (output.ipv6AddressesSet === \"\") {\n contents[_IA] = [];\n } else if (output[_iASp] != null && output[_iASp][_i] != null) {\n contents[_IA] = de_NetworkInterfaceIpv6AddressesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context);\n }\n if (output[_mAa] != null) {\n contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n if (output.privateIpAddressesSet === \"\") {\n contents[_PIA] = [];\n } else if (output[_pIAS] != null && output[_pIAS][_i] != null) {\n contents[_PIA] = de_NetworkInterfacePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context);\n }\n if (output.ipv4PrefixSet === \"\") {\n contents[_IPp] = [];\n } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) {\n contents[_IPp] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context);\n }\n if (output.ipv6PrefixSet === \"\") {\n contents[_IP] = [];\n } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) {\n contents[_IP] = de_Ipv6PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context);\n }\n if (output[_rIeq] != null) {\n contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]);\n }\n if (output[_rM] != null) {\n contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]);\n }\n if (output[_sDC] != null) {\n contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output.tagSet === \"\") {\n contents[_TSag] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_TSag] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_dAIT] != null) {\n contents[_DAIT] = (0, import_smithy_client.parseBoolean)(output[_dAIT]);\n }\n if (output[_iN] != null) {\n contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]);\n }\n if (output[_iApv] != null) {\n contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n return contents;\n}, \"de_NetworkInterface\");\nvar de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aI] != null) {\n contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]);\n }\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_iOIp] != null) {\n contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]);\n }\n if (output[_pDNu] != null) {\n contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]);\n }\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n if (output[_cOI] != null) {\n contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]);\n }\n if (output[_cI] != null) {\n contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]);\n }\n return contents;\n}, \"de_NetworkInterfaceAssociation\");\nvar de_NetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aTt] != null) {\n contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt]));\n }\n if (output[_aIt] != null) {\n contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]);\n }\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_dIe] != null) {\n contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]);\n }\n if (output[_nCI] != null) {\n contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iOIn] != null) {\n contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_eSS] != null) {\n contents[_ESS] = de_AttachmentEnaSrdSpecification(output[_eSS], context);\n }\n if (output[_eQC] != null) {\n contents[_EQC] = (0, import_smithy_client.strictParseInt32)(output[_eQC]);\n }\n return contents;\n}, \"de_NetworkInterfaceAttachment\");\nvar de_NetworkInterfaceCount = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_NetworkInterfaceCount\");\nvar de_NetworkInterfaceIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_NetworkInterfaceIdSet\");\nvar de_NetworkInterfaceIpv6Address = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iApv] != null) {\n contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]);\n }\n if (output[_iPI] != null) {\n contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]);\n }\n return contents;\n}, \"de_NetworkInterfaceIpv6Address\");\nvar de_NetworkInterfaceIpv6AddressesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInterfaceIpv6Address(entry, context);\n });\n}, \"de_NetworkInterfaceIpv6AddressesList\");\nvar de_NetworkInterfaceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInterface(entry, context);\n });\n}, \"de_NetworkInterfaceList\");\nvar de_NetworkInterfacePermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIPIe] != null) {\n contents[_NIPIe] = (0, import_smithy_client.expectString)(output[_nIPIe]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_aAI] != null) {\n contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]);\n }\n if (output[_aSw] != null) {\n contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]);\n }\n if (output[_per] != null) {\n contents[_Pe] = (0, import_smithy_client.expectString)(output[_per]);\n }\n if (output[_pSe] != null) {\n contents[_PSer] = de_NetworkInterfacePermissionState(output[_pSe], context);\n }\n return contents;\n}, \"de_NetworkInterfacePermission\");\nvar de_NetworkInterfacePermissionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInterfacePermission(entry, context);\n });\n}, \"de_NetworkInterfacePermissionList\");\nvar de_NetworkInterfacePermissionState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n return contents;\n}, \"de_NetworkInterfacePermissionState\");\nvar de_NetworkInterfacePrivateIpAddress = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ass] != null) {\n contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context);\n }\n if (output[_prim] != null) {\n contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n return contents;\n}, \"de_NetworkInterfacePrivateIpAddress\");\nvar de_NetworkInterfacePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NetworkInterfacePrivateIpAddress(entry, context);\n });\n}, \"de_NetworkInterfacePrivateIpAddressList\");\nvar de_NetworkNodesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_NetworkNodesList\");\nvar de_NeuronDeviceCoreInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_ve] != null) {\n contents[_V] = (0, import_smithy_client.strictParseInt32)(output[_ve]);\n }\n return contents;\n}, \"de_NeuronDeviceCoreInfo\");\nvar de_NeuronDeviceInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_cIor] != null) {\n contents[_CIor] = de_NeuronDeviceCoreInfo(output[_cIor], context);\n }\n if (output[_mIe] != null) {\n contents[_MIe] = de_NeuronDeviceMemoryInfo(output[_mIe], context);\n }\n return contents;\n}, \"de_NeuronDeviceInfo\");\nvar de_NeuronDeviceInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_NeuronDeviceInfo(entry, context);\n });\n}, \"de_NeuronDeviceInfoList\");\nvar de_NeuronDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIMB] != null) {\n contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]);\n }\n return contents;\n}, \"de_NeuronDeviceMemoryInfo\");\nvar de_NeuronInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.neuronDevices === \"\") {\n contents[_NDe] = [];\n } else if (output[_nDe] != null && output[_nDe][_i] != null) {\n contents[_NDe] = de_NeuronDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nDe][_i]), context);\n }\n if (output[_tNDMIMB] != null) {\n contents[_TNDMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tNDMIMB]);\n }\n return contents;\n}, \"de_NeuronInfo\");\nvar de_NitroTpmInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.supportedVersions === \"\") {\n contents[_SVu] = [];\n } else if (output[_sVu] != null && output[_sVu][_i] != null) {\n contents[_SVu] = de_NitroTpmSupportedVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVu][_i]), context);\n }\n return contents;\n}, \"de_NitroTpmInfo\");\nvar de_NitroTpmSupportedVersionsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_NitroTpmSupportedVersionsList\");\nvar de_OccurrenceDaySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.strictParseInt32)(entry);\n });\n}, \"de_OccurrenceDaySet\");\nvar de_OidcOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_is] != null) {\n contents[_I] = (0, import_smithy_client.expectString)(output[_is]);\n }\n if (output[_aE] != null) {\n contents[_AE] = (0, import_smithy_client.expectString)(output[_aE]);\n }\n if (output[_tEo] != null) {\n contents[_TEo] = (0, import_smithy_client.expectString)(output[_tEo]);\n }\n if (output[_uIE] != null) {\n contents[_UIE] = (0, import_smithy_client.expectString)(output[_uIE]);\n }\n if (output[_cIli] != null) {\n contents[_CIl] = (0, import_smithy_client.expectString)(output[_cIli]);\n }\n if (output[_cSl] != null) {\n contents[_CSl] = (0, import_smithy_client.expectString)(output[_cSl]);\n }\n if (output[_sc] != null) {\n contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]);\n }\n return contents;\n}, \"de_OidcOptions\");\nvar de_OnDemandOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSl] != null) {\n contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]);\n }\n if (output[_cRO] != null) {\n contents[_CRO] = de_CapacityReservationOptions(output[_cRO], context);\n }\n if (output[_sITi] != null) {\n contents[_SITi] = (0, import_smithy_client.parseBoolean)(output[_sITi]);\n }\n if (output[_sAZ] != null) {\n contents[_SAZ] = (0, import_smithy_client.parseBoolean)(output[_sAZ]);\n }\n if (output[_mTC] != null) {\n contents[_MTC] = (0, import_smithy_client.strictParseInt32)(output[_mTC]);\n }\n if (output[_mTP] != null) {\n contents[_MTP] = (0, import_smithy_client.expectString)(output[_mTP]);\n }\n return contents;\n}, \"de_OnDemandOptions\");\nvar de_OperatorResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mana] != null) {\n contents[_Mana] = (0, import_smithy_client.parseBoolean)(output[_mana]);\n }\n if (output[_p] != null) {\n contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]);\n }\n return contents;\n}, \"de_OperatorResponse\");\nvar de_OutpostLag = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_oLI] != null) {\n contents[_OLI] = (0, import_smithy_client.expectString)(output[_oLI]);\n }\n if (output.localGatewayVirtualInterfaceIdSet === \"\") {\n contents[_LGVIIo] = [];\n } else if (output[_lGVIIS] != null && output[_lGVIIS][_i] != null) {\n contents[_LGVIIo] = de_LocalGatewayVirtualInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIIS][_i]), context);\n }\n if (output.serviceLinkVirtualInterfaceIdSet === \"\") {\n contents[_SLVII] = [];\n } else if (output[_sLVIIS] != null && output[_sLVIIS][_i] != null) {\n contents[_SLVII] = de_ServiceLinkVirtualInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sLVIIS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_OutpostLag\");\nvar de_OutpostLagSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_OutpostLag(entry, context);\n });\n}, \"de_OutpostLagSet\");\nvar de_PacketHeaderStatement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.sourceAddressSet === \"\") {\n contents[_SAo] = [];\n } else if (output[_sAS] != null && output[_sAS][_i] != null) {\n contents[_SAo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context);\n }\n if (output.destinationAddressSet === \"\") {\n contents[_DAes] = [];\n } else if (output[_dAS] != null && output[_dAS][_i] != null) {\n contents[_DAes] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context);\n }\n if (output.sourcePortSet === \"\") {\n contents[_SPo] = [];\n } else if (output[_sPS] != null && output[_sPS][_i] != null) {\n contents[_SPo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context);\n }\n if (output.destinationPortSet === \"\") {\n contents[_DPes] = [];\n } else if (output[_dPS] != null && output[_dPS][_i] != null) {\n contents[_DPes] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context);\n }\n if (output.sourcePrefixListSet === \"\") {\n contents[_SPL] = [];\n } else if (output[_sPLS] != null && output[_sPLS][_i] != null) {\n contents[_SPL] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPLS][_i]), context);\n }\n if (output.destinationPrefixListSet === \"\") {\n contents[_DPLe] = [];\n } else if (output[_dPLS] != null && output[_dPLS][_i] != null) {\n contents[_DPLe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPLS][_i]), context);\n }\n if (output.protocolSet === \"\") {\n contents[_Pro] = [];\n } else if (output[_pSro] != null && output[_pSro][_i] != null) {\n contents[_Pro] = de_ProtocolList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context);\n }\n return contents;\n}, \"de_PacketHeaderStatement\");\nvar de_PathComponent = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sNe] != null) {\n contents[_SNeq] = (0, import_smithy_client.strictParseInt32)(output[_sNe]);\n }\n if (output[_aRc] != null) {\n contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context);\n }\n if (output[_aTtt] != null) {\n contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context);\n }\n if (output[_c] != null) {\n contents[_Com] = de_AnalysisComponent(output[_c], context);\n }\n if (output[_dV] != null) {\n contents[_DVest] = de_AnalysisComponent(output[_dV], context);\n }\n if (output[_oH] != null) {\n contents[_OH] = de_AnalysisPacketHeader(output[_oH], context);\n }\n if (output[_iHn] != null) {\n contents[_IHn] = de_AnalysisPacketHeader(output[_iHn], context);\n }\n if (output[_rTR] != null) {\n contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context);\n }\n if (output[_sGR] != null) {\n contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context);\n }\n if (output[_sV] != null) {\n contents[_SVo] = de_AnalysisComponent(output[_sV], context);\n }\n if (output[_su] != null) {\n contents[_Su] = de_AnalysisComponent(output[_su], context);\n }\n if (output[_vp] != null) {\n contents[_Vp] = de_AnalysisComponent(output[_vp], context);\n }\n if (output.additionalDetailSet === \"\") {\n contents[_ADd] = [];\n } else if (output[_aDS] != null && output[_aDS][_i] != null) {\n contents[_ADd] = de_AdditionalDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_aDS][_i]), context);\n }\n if (output[_tG] != null) {\n contents[_TGr] = de_AnalysisComponent(output[_tG], context);\n }\n if (output[_tGRTR] != null) {\n contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context);\n }\n if (output.explanationSet === \"\") {\n contents[_Ex] = [];\n } else if (output[_eSx] != null && output[_eSx][_i] != null) {\n contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context);\n }\n if (output[_eLBL] != null) {\n contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context);\n }\n if (output[_fSR] != null) {\n contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context);\n }\n if (output[_fSRi] != null) {\n contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context);\n }\n if (output[_sN] != null) {\n contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]);\n }\n return contents;\n}, \"de_PathComponent\");\nvar de_PathComponentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PathComponent(entry, context);\n });\n}, \"de_PathComponentList\");\nvar de_PathFilter = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sAo] != null) {\n contents[_SAou] = (0, import_smithy_client.expectString)(output[_sAo]);\n }\n if (output[_sPR] != null) {\n contents[_SPR] = de_FilterPortRange(output[_sPR], context);\n }\n if (output[_dAe] != null) {\n contents[_DAest] = (0, import_smithy_client.expectString)(output[_dAe]);\n }\n if (output[_dPR] != null) {\n contents[_DPR] = de_FilterPortRange(output[_dPR], context);\n }\n return contents;\n}, \"de_PathFilter\");\nvar de_PathStatement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pHS] != null) {\n contents[_PHS] = de_PacketHeaderStatement(output[_pHS], context);\n }\n if (output[_rSeso] != null) {\n contents[_RSe] = de_ResourceStatement(output[_rSeso], context);\n }\n return contents;\n}, \"de_PathStatement\");\nvar de_PciId = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_DIevi] != null) {\n contents[_DIevi] = (0, import_smithy_client.expectString)(output[_DIevi]);\n }\n if (output[_VIe] != null) {\n contents[_VIe] = (0, import_smithy_client.expectString)(output[_VIe]);\n }\n if (output[_SIubs] != null) {\n contents[_SIubs] = (0, import_smithy_client.expectString)(output[_SIubs]);\n }\n if (output[_SVI] != null) {\n contents[_SVI] = (0, import_smithy_client.expectString)(output[_SVI]);\n }\n return contents;\n}, \"de_PciId\");\nvar de_PeeringAttachmentStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_PeeringAttachmentStatus\");\nvar de_PeeringConnectionOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aDRFRV] != null) {\n contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]);\n }\n if (output[_aEFLCLTRV] != null) {\n contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]);\n }\n if (output[_aEFLVTRCL] != null) {\n contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]);\n }\n return contents;\n}, \"de_PeeringConnectionOptions\");\nvar de_PeeringTgwInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_cNIo] != null) {\n contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_re] != null) {\n contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]);\n }\n return contents;\n}, \"de_PeeringTgwInfo\");\nvar de_PerformanceFactorReference = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n return contents;\n}, \"de_PerformanceFactorReference\");\nvar de_PerformanceFactorReferenceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PerformanceFactorReference(entry, context);\n });\n}, \"de_PerformanceFactorReferenceSet\");\nvar de_Phase1DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase1DHGroupNumbersListValue(entry, context);\n });\n}, \"de_Phase1DHGroupNumbersList\");\nvar de_Phase1DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]);\n }\n return contents;\n}, \"de_Phase1DHGroupNumbersListValue\");\nvar de_Phase1EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase1EncryptionAlgorithmsListValue(entry, context);\n });\n}, \"de_Phase1EncryptionAlgorithmsList\");\nvar de_Phase1EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_Phase1EncryptionAlgorithmsListValue\");\nvar de_Phase1IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase1IntegrityAlgorithmsListValue(entry, context);\n });\n}, \"de_Phase1IntegrityAlgorithmsList\");\nvar de_Phase1IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_Phase1IntegrityAlgorithmsListValue\");\nvar de_Phase2DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase2DHGroupNumbersListValue(entry, context);\n });\n}, \"de_Phase2DHGroupNumbersList\");\nvar de_Phase2DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]);\n }\n return contents;\n}, \"de_Phase2DHGroupNumbersListValue\");\nvar de_Phase2EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase2EncryptionAlgorithmsListValue(entry, context);\n });\n}, \"de_Phase2EncryptionAlgorithmsList\");\nvar de_Phase2EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_Phase2EncryptionAlgorithmsListValue\");\nvar de_Phase2IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Phase2IntegrityAlgorithmsListValue(entry, context);\n });\n}, \"de_Phase2IntegrityAlgorithmsList\");\nvar de_Phase2IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_Phase2IntegrityAlgorithmsListValue\");\nvar de_Placement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_af] != null) {\n contents[_Af] = (0, import_smithy_client.expectString)(output[_af]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_pN] != null) {\n contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]);\n }\n if (output[_hI] != null) {\n contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n if (output[_sDp] != null) {\n contents[_SDp] = (0, import_smithy_client.expectString)(output[_sDp]);\n }\n if (output[_hRGA] != null) {\n contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n return contents;\n}, \"de_Placement\");\nvar de_PlacementGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_str] != null) {\n contents[_Str] = (0, import_smithy_client.expectString)(output[_str]);\n }\n if (output[_pCa] != null) {\n contents[_PCa] = (0, import_smithy_client.strictParseInt32)(output[_pCa]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_gA] != null) {\n contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]);\n }\n if (output[_sLp] != null) {\n contents[_SL] = (0, import_smithy_client.expectString)(output[_sLp]);\n }\n return contents;\n}, \"de_PlacementGroup\");\nvar de_PlacementGroupInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.supportedStrategies === \"\") {\n contents[_SSu] = [];\n } else if (output[_sSup] != null && output[_sSup][_i] != null) {\n contents[_SSu] = de_PlacementGroupStrategyList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSup][_i]), context);\n }\n return contents;\n}, \"de_PlacementGroupInfo\");\nvar de_PlacementGroupList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PlacementGroup(entry, context);\n });\n}, \"de_PlacementGroupList\");\nvar de_PlacementGroupStrategyList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_PlacementGroupStrategyList\");\nvar de_PlacementResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n return contents;\n}, \"de_PlacementResponse\");\nvar de_PoolCidrBlock = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pCB] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_pCB]);\n }\n return contents;\n}, \"de_PoolCidrBlock\");\nvar de_PoolCidrBlocksSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PoolCidrBlock(entry, context);\n });\n}, \"de_PoolCidrBlocksSet\");\nvar de_PortRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fr] != null) {\n contents[_Fr] = (0, import_smithy_client.strictParseInt32)(output[_fr]);\n }\n if (output[_to] != null) {\n contents[_To] = (0, import_smithy_client.strictParseInt32)(output[_to]);\n }\n return contents;\n}, \"de_PortRange\");\nvar de_PortRangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PortRange(entry, context);\n });\n}, \"de_PortRangeList\");\nvar de_PrefixList = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.cidrSet === \"\") {\n contents[_Ci] = [];\n } else if (output[_cS] != null && output[_cS][_i] != null) {\n contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_pLN] != null) {\n contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]);\n }\n return contents;\n}, \"de_PrefixList\");\nvar de_PrefixListAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rO] != null) {\n contents[_ROe] = (0, import_smithy_client.expectString)(output[_rO]);\n }\n return contents;\n}, \"de_PrefixListAssociation\");\nvar de_PrefixListAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrefixListAssociation(entry, context);\n });\n}, \"de_PrefixListAssociationSet\");\nvar de_PrefixListEntry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n return contents;\n}, \"de_PrefixListEntry\");\nvar de_PrefixListEntrySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrefixListEntry(entry, context);\n });\n}, \"de_PrefixListEntrySet\");\nvar de_PrefixListId = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n return contents;\n}, \"de_PrefixListId\");\nvar de_PrefixListIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrefixListId(entry, context);\n });\n}, \"de_PrefixListIdList\");\nvar de_PrefixListIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_PrefixListIdSet\");\nvar de_PrefixListSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrefixList(entry, context);\n });\n}, \"de_PrefixListSet\");\nvar de_PriceSchedule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_act] != null) {\n contents[_Act] = (0, import_smithy_client.parseBoolean)(output[_act]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_pric] != null) {\n contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]);\n }\n if (output[_te] != null) {\n contents[_Ter] = (0, import_smithy_client.strictParseLong)(output[_te]);\n }\n return contents;\n}, \"de_PriceSchedule\");\nvar de_PriceScheduleList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PriceSchedule(entry, context);\n });\n}, \"de_PriceScheduleList\");\nvar de_PricingDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]);\n }\n if (output[_pric] != null) {\n contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]);\n }\n return contents;\n}, \"de_PricingDetail\");\nvar de_PricingDetailsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PricingDetail(entry, context);\n });\n}, \"de_PricingDetailsList\");\nvar de_PrincipalIdFormat = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n if (output.statusSet === \"\") {\n contents[_Status] = [];\n } else if (output[_sSt] != null && output[_sSt][_i] != null) {\n contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context);\n }\n return contents;\n}, \"de_PrincipalIdFormat\");\nvar de_PrincipalIdFormatList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrincipalIdFormat(entry, context);\n });\n}, \"de_PrincipalIdFormatList\");\nvar de_PrivateDnsDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n return contents;\n}, \"de_PrivateDnsDetails\");\nvar de_PrivateDnsDetailsSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrivateDnsDetails(entry, context);\n });\n}, \"de_PrivateDnsDetailsSet\");\nvar de_PrivateDnsNameConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n return contents;\n}, \"de_PrivateDnsNameConfiguration\");\nvar de_PrivateDnsNameOptionsOnLaunch = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hTo] != null) {\n contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]);\n }\n if (output[_eRNDAR] != null) {\n contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]);\n }\n if (output[_eRNDAAAAR] != null) {\n contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]);\n }\n return contents;\n}, \"de_PrivateDnsNameOptionsOnLaunch\");\nvar de_PrivateDnsNameOptionsResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hTo] != null) {\n contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]);\n }\n if (output[_eRNDAR] != null) {\n contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]);\n }\n if (output[_eRNDAAAAR] != null) {\n contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]);\n }\n return contents;\n}, \"de_PrivateDnsNameOptionsResponse\");\nvar de_PrivateIpAddressSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_prim] != null) {\n contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]);\n }\n if (output[_pIA] != null) {\n contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]);\n }\n return contents;\n}, \"de_PrivateIpAddressSpecification\");\nvar de_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PrivateIpAddressSpecification(entry, context);\n });\n}, \"de_PrivateIpAddressSpecificationList\");\nvar de_ProcessorInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.supportedArchitectures === \"\") {\n contents[_SAup] = [];\n } else if (output[_sAu] != null && output[_sAu][_i] != null) {\n contents[_SAup] = de_ArchitectureTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAu][_i]), context);\n }\n if (output[_sCSIG] != null) {\n contents[_SCSIG] = (0, import_smithy_client.strictParseFloat)(output[_sCSIG]);\n }\n if (output.supportedFeatures === \"\") {\n contents[_SF] = [];\n } else if (output[_sF] != null && output[_sF][_i] != null) {\n contents[_SF] = de_SupportedAdditionalProcessorFeatureList((0, import_smithy_client.getArrayIfSingleItem)(output[_sF][_i]), context);\n }\n if (output[_man] != null) {\n contents[_Man] = (0, import_smithy_client.expectString)(output[_man]);\n }\n return contents;\n}, \"de_ProcessorInfo\");\nvar de_ProductCode = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pCr] != null) {\n contents[_PCIr] = (0, import_smithy_client.expectString)(output[_pCr]);\n }\n if (output[_ty] != null) {\n contents[_PCT] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n return contents;\n}, \"de_ProductCode\");\nvar de_ProductCodeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ProductCode(entry, context);\n });\n}, \"de_ProductCodeList\");\nvar de_PropagatingVgw = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gI] != null) {\n contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);\n }\n return contents;\n}, \"de_PropagatingVgw\");\nvar de_PropagatingVgwList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PropagatingVgw(entry, context);\n });\n}, \"de_PropagatingVgwList\");\nvar de_ProtocolIntList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.strictParseInt32)(entry);\n });\n}, \"de_ProtocolIntList\");\nvar de_ProtocolList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ProtocolList\");\nvar de_ProvisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bC] != null) {\n contents[_BC] = de_ByoipCidr(output[_bC], context);\n }\n return contents;\n}, \"de_ProvisionByoipCidrResult\");\nvar de_ProvisionedBandwidth = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pTr] != null) {\n contents[_PTro] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pTr]));\n }\n if (output[_prov] != null) {\n contents[_Prov] = (0, import_smithy_client.expectString)(output[_prov]);\n }\n if (output[_rTeq] != null) {\n contents[_RTeq] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTeq]));\n }\n if (output[_req] != null) {\n contents[_Req] = (0, import_smithy_client.expectString)(output[_req]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_ProvisionedBandwidth\");\nvar de_ProvisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_b] != null) {\n contents[_Byo] = de_Byoasn(output[_b], context);\n }\n return contents;\n}, \"de_ProvisionIpamByoasnResult\");\nvar de_ProvisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPC] != null) {\n contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context);\n }\n return contents;\n}, \"de_ProvisionIpamPoolCidrResult\");\nvar de_ProvisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n if (output[_pAR] != null) {\n contents[_PAR] = de_PublicIpv4PoolRange(output[_pAR], context);\n }\n return contents;\n}, \"de_ProvisionPublicIpv4PoolCidrResult\");\nvar de_PtrUpdateStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_rea] != null) {\n contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]);\n }\n return contents;\n}, \"de_PtrUpdateStatus\");\nvar de_PublicIpv4Pool = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pIo] != null) {\n contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.poolAddressRangeSet === \"\") {\n contents[_PARo] = [];\n } else if (output[_pARS] != null && output[_pARS][_i] != null) {\n contents[_PARo] = de_PublicIpv4PoolRangeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pARS][_i]), context);\n }\n if (output[_tAC] != null) {\n contents[_TAC] = (0, import_smithy_client.strictParseInt32)(output[_tAC]);\n }\n if (output[_tAAC] != null) {\n contents[_TAAC] = (0, import_smithy_client.strictParseInt32)(output[_tAAC]);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_PublicIpv4Pool\");\nvar de_PublicIpv4PoolRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fAi] != null) {\n contents[_FAi] = (0, import_smithy_client.expectString)(output[_fAi]);\n }\n if (output[_lAa] != null) {\n contents[_LAa] = (0, import_smithy_client.expectString)(output[_lAa]);\n }\n if (output[_aCd] != null) {\n contents[_ACd] = (0, import_smithy_client.strictParseInt32)(output[_aCd]);\n }\n if (output[_aAC] != null) {\n contents[_AACv] = (0, import_smithy_client.strictParseInt32)(output[_aAC]);\n }\n return contents;\n}, \"de_PublicIpv4PoolRange\");\nvar de_PublicIpv4PoolRangeSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PublicIpv4PoolRange(entry, context);\n });\n}, \"de_PublicIpv4PoolRangeSet\");\nvar de_PublicIpv4PoolSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_PublicIpv4Pool(entry, context);\n });\n}, \"de_PublicIpv4PoolSet\");\nvar de_Purchase = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_du] != null) {\n contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]);\n }\n if (output.hostIdSet === \"\") {\n contents[_HIS] = [];\n } else if (output[_hIS] != null && output[_hIS][_i] != null) {\n contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context);\n }\n if (output[_hRI] != null) {\n contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]);\n }\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_iF] != null) {\n contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]);\n }\n if (output[_pO] != null) {\n contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]);\n }\n if (output[_uP] != null) {\n contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]);\n }\n return contents;\n}, \"de_Purchase\");\nvar de_PurchaseCapacityBlockExtensionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.capacityBlockExtensionSet === \"\") {\n contents[_CBE] = [];\n } else if (output[_cBESa] != null && output[_cBESa][_i] != null) {\n contents[_CBE] = de_CapacityBlockExtensionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBESa][_i]), context);\n }\n return contents;\n}, \"de_PurchaseCapacityBlockExtensionResult\");\nvar de_PurchaseCapacityBlockResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cR] != null) {\n contents[_CRapa] = de_CapacityReservation(output[_cR], context);\n }\n return contents;\n}, \"de_PurchaseCapacityBlockResult\");\nvar de_PurchasedScheduledInstanceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ScheduledInstance(entry, context);\n });\n}, \"de_PurchasedScheduledInstanceSet\");\nvar de_PurchaseHostReservationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output.purchase === \"\") {\n contents[_Pur] = [];\n } else if (output[_pur] != null && output[_pur][_i] != null) {\n contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context);\n }\n if (output[_tHP] != null) {\n contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]);\n }\n if (output[_tUP] != null) {\n contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]);\n }\n return contents;\n}, \"de_PurchaseHostReservationResult\");\nvar de_PurchaseReservedInstancesOfferingResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n return contents;\n}, \"de_PurchaseReservedInstancesOfferingResult\");\nvar de_PurchaseScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.scheduledInstanceSet === \"\") {\n contents[_SIS] = [];\n } else if (output[_sIS] != null && output[_sIS][_i] != null) {\n contents[_SIS] = de_PurchasedScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context);\n }\n return contents;\n}, \"de_PurchaseScheduledInstancesResult\");\nvar de_PurchaseSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Purchase(entry, context);\n });\n}, \"de_PurchaseSet\");\nvar de_RecurringCharge = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_am] != null) {\n contents[_Am] = (0, import_smithy_client.strictParseFloat)(output[_am]);\n }\n if (output[_fre] != null) {\n contents[_Fre] = (0, import_smithy_client.expectString)(output[_fre]);\n }\n return contents;\n}, \"de_RecurringCharge\");\nvar de_RecurringChargesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RecurringCharge(entry, context);\n });\n}, \"de_RecurringChargesList\");\nvar de_ReferencedSecurityGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_pSee] != null) {\n contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]);\n }\n if (output[_uI] != null) {\n contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n return contents;\n}, \"de_ReferencedSecurityGroup\");\nvar de_Region = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oIS] != null) {\n contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]);\n }\n if (output[_rNe] != null) {\n contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]);\n }\n if (output[_rEe] != null) {\n contents[_Endp] = (0, import_smithy_client.expectString)(output[_rEe]);\n }\n return contents;\n}, \"de_Region\");\nvar de_RegionalSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rNe] != null) {\n contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]);\n }\n if (output[_nOMA] != null) {\n contents[_NOMA] = (0, import_smithy_client.strictParseInt32)(output[_nOMA]);\n }\n if (output[_nOUA] != null) {\n contents[_NOUA] = (0, import_smithy_client.strictParseInt32)(output[_nOUA]);\n }\n return contents;\n}, \"de_RegionalSummary\");\nvar de_RegionalSummaryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RegionalSummary(entry, context);\n });\n}, \"de_RegionalSummaryList\");\nvar de_RegionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Region(entry, context);\n });\n}, \"de_RegionList\");\nvar de_RegisterImageResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n return contents;\n}, \"de_RegisterImageResult\");\nvar de_RegisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iTA] != null) {\n contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context);\n }\n return contents;\n}, \"de_RegisterInstanceEventNotificationAttributesResult\");\nvar de_RegisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rMGM] != null) {\n contents[_RMGM] = de_TransitGatewayMulticastRegisteredGroupMembers(output[_rMGM], context);\n }\n return contents;\n}, \"de_RegisterTransitGatewayMulticastGroupMembersResult\");\nvar de_RegisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rMGS] != null) {\n contents[_RMGS] = de_TransitGatewayMulticastRegisteredGroupSources(output[_rMGS], context);\n }\n return contents;\n}, \"de_RegisterTransitGatewayMulticastGroupSourcesResult\");\nvar de_RejectCapacityReservationBillingOwnershipResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_RejectCapacityReservationBillingOwnershipResult\");\nvar de_RejectTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_a] != null) {\n contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context);\n }\n return contents;\n}, \"de_RejectTransitGatewayMulticastDomainAssociationsResult\");\nvar de_RejectTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPA] != null) {\n contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context);\n }\n return contents;\n}, \"de_RejectTransitGatewayPeeringAttachmentResult\");\nvar de_RejectTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGVA] != null) {\n contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context);\n }\n return contents;\n}, \"de_RejectTransitGatewayVpcAttachmentResult\");\nvar de_RejectVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_RejectVpcEndpointConnectionsResult\");\nvar de_RejectVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_RejectVpcPeeringConnectionResult\");\nvar de_ReleaseHostsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.successful === \"\") {\n contents[_Suc] = [];\n } else if (output[_suc] != null && output[_suc][_i] != null) {\n contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context);\n }\n if (output.unsuccessful === \"\") {\n contents[_Un] = [];\n } else if (output[_u] != null && output[_u][_i] != null) {\n contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context);\n }\n return contents;\n}, \"de_ReleaseHostsResult\");\nvar de_ReleaseIpamPoolAllocationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_succ] != null) {\n contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]);\n }\n return contents;\n}, \"de_ReleaseIpamPoolAllocationResult\");\nvar de_ReplaceIamInstanceProfileAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iIPA] != null) {\n contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context);\n }\n return contents;\n}, \"de_ReplaceIamInstanceProfileAssociationResult\");\nvar de_ReplaceImageCriteriaInAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ReplaceImageCriteriaInAllowedImagesSettingsResult\");\nvar de_ReplaceNetworkAclAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nAIe] != null) {\n contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]);\n }\n return contents;\n}, \"de_ReplaceNetworkAclAssociationResult\");\nvar de_ReplaceRootVolumeTask = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rRVTI] != null) {\n contents[_RRVTIe] = (0, import_smithy_client.expectString)(output[_rRVTI]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_tSas] != null) {\n contents[_TSas] = (0, import_smithy_client.expectString)(output[_tSas]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectString)(output[_sT]);\n }\n if (output[_cTom] != null) {\n contents[_CTom] = (0, import_smithy_client.expectString)(output[_cTom]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_dRRV] != null) {\n contents[_DRRV] = (0, import_smithy_client.parseBoolean)(output[_dRRV]);\n }\n return contents;\n}, \"de_ReplaceRootVolumeTask\");\nvar de_ReplaceRootVolumeTasks = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReplaceRootVolumeTask(entry, context);\n });\n}, \"de_ReplaceRootVolumeTasks\");\nvar de_ReplaceRouteTableAssociationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nAIe] != null) {\n contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]);\n }\n if (output[_aS] != null) {\n contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);\n }\n return contents;\n}, \"de_ReplaceRouteTableAssociationResult\");\nvar de_ReplaceTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ro] != null) {\n contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);\n }\n return contents;\n}, \"de_ReplaceTransitGatewayRouteResult\");\nvar de_ReplaceVpnTunnelResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ReplaceVpnTunnelResult\");\nvar de_RequestSpotFleetResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n return contents;\n}, \"de_RequestSpotFleetResponse\");\nvar de_RequestSpotInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.spotInstanceRequestSet === \"\") {\n contents[_SIR] = [];\n } else if (output[_sIRS] != null && output[_sIRS][_i] != null) {\n contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context);\n }\n return contents;\n}, \"de_RequestSpotInstancesResult\");\nvar de_Reservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rIese] != null) {\n contents[_RIeser] = (0, import_smithy_client.expectString)(output[_rIese]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_rIeq] != null) {\n contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output.instancesSet === \"\") {\n contents[_In] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_In] = de_InstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_Reservation\");\nvar de_ReservationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Reservation(entry, context);\n });\n}, \"de_ReservationList\");\nvar de_ReservationValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_rTV] != null) {\n contents[_RTV] = (0, import_smithy_client.expectString)(output[_rTV]);\n }\n if (output[_rUV] != null) {\n contents[_RUV] = (0, import_smithy_client.expectString)(output[_rUV]);\n }\n return contents;\n}, \"de_ReservationValue\");\nvar de_ReservedInstanceReservationValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rVe] != null) {\n contents[_RVe] = de_ReservationValue(output[_rVe], context);\n }\n if (output[_rIIe] != null) {\n contents[_RIIese] = (0, import_smithy_client.expectString)(output[_rIIe]);\n }\n return contents;\n}, \"de_ReservedInstanceReservationValue\");\nvar de_ReservedInstanceReservationValueSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstanceReservationValue(entry, context);\n });\n}, \"de_ReservedInstanceReservationValueSet\");\nvar de_ReservedInstances = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_iTns] != null) {\n contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]);\n }\n if (output[_oC] != null) {\n contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]);\n }\n if (output[_oTf] != null) {\n contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]);\n }\n if (output.recurringCharges === \"\") {\n contents[_RCec] = [];\n } else if (output[_rCec] != null && output[_rCec][_i] != null) {\n contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context);\n }\n if (output[_sc] != null) {\n contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_star] != null) {\n contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star]));\n }\n if (output[_end] != null) {\n contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end]));\n }\n if (output[_du] != null) {\n contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]);\n }\n if (output[_uPs] != null) {\n contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]);\n }\n if (output[_fPi] != null) {\n contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_pDr] != null) {\n contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_ReservedInstances\");\nvar de_ReservedInstancesConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_sc] != null) {\n contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n return contents;\n}, \"de_ReservedInstancesConfiguration\");\nvar de_ReservedInstancesId = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n return contents;\n}, \"de_ReservedInstancesId\");\nvar de_ReservedInstancesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstances(entry, context);\n });\n}, \"de_ReservedInstancesList\");\nvar de_ReservedInstancesListing = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_cD] != null) {\n contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD]));\n }\n if (output.instanceCounts === \"\") {\n contents[_ICn] = [];\n } else if (output[_iCn] != null && output[_iCn][_i] != null) {\n contents[_ICn] = de_InstanceCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCn][_i]), context);\n }\n if (output.priceSchedules === \"\") {\n contents[_PS] = [];\n } else if (output[_pSri] != null && output[_pSri][_i] != null) {\n contents[_PS] = de_PriceScheduleList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSri][_i]), context);\n }\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n if (output[_rILI] != null) {\n contents[_RILI] = (0, import_smithy_client.expectString)(output[_rILI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_uDpd] != null) {\n contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd]));\n }\n return contents;\n}, \"de_ReservedInstancesListing\");\nvar de_ReservedInstancesListingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstancesListing(entry, context);\n });\n}, \"de_ReservedInstancesListingList\");\nvar de_ReservedInstancesModification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_cD] != null) {\n contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD]));\n }\n if (output[_eDf] != null) {\n contents[_EDf] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eDf]));\n }\n if (output.modificationResultSet === \"\") {\n contents[_MRo] = [];\n } else if (output[_mRS] != null && output[_mRS][_i] != null) {\n contents[_MRo] = de_ReservedInstancesModificationResultList((0, import_smithy_client.getArrayIfSingleItem)(output[_mRS][_i]), context);\n }\n if (output.reservedInstancesSet === \"\") {\n contents[_RIIes] = [];\n } else if (output[_rIS] != null && output[_rIS][_i] != null) {\n contents[_RIIes] = de_ReservedIntancesIds((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context);\n }\n if (output[_rIMI] != null) {\n contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_uDpd] != null) {\n contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd]));\n }\n return contents;\n}, \"de_ReservedInstancesModification\");\nvar de_ReservedInstancesModificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstancesModification(entry, context);\n });\n}, \"de_ReservedInstancesModificationList\");\nvar de_ReservedInstancesModificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n if (output[_tCa] != null) {\n contents[_TCar] = de_ReservedInstancesConfiguration(output[_tCa], context);\n }\n return contents;\n}, \"de_ReservedInstancesModificationResult\");\nvar de_ReservedInstancesModificationResultList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstancesModificationResult(entry, context);\n });\n}, \"de_ReservedInstancesModificationResultList\");\nvar de_ReservedInstancesOffering = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cC] != null) {\n contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]);\n }\n if (output[_iTns] != null) {\n contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]);\n }\n if (output[_mar] != null) {\n contents[_Mar] = (0, import_smithy_client.parseBoolean)(output[_mar]);\n }\n if (output[_oC] != null) {\n contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]);\n }\n if (output[_oTf] != null) {\n contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]);\n }\n if (output.pricingDetailsSet === \"\") {\n contents[_PDri] = [];\n } else if (output[_pDS] != null && output[_pDS][_i] != null) {\n contents[_PDri] = de_PricingDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDS][_i]), context);\n }\n if (output.recurringCharges === \"\") {\n contents[_RCec] = [];\n } else if (output[_rCec] != null && output[_rCec][_i] != null) {\n contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context);\n }\n if (output[_sc] != null) {\n contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_rIOI] != null) {\n contents[_RIOIe] = (0, import_smithy_client.expectString)(output[_rIOI]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_du] != null) {\n contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]);\n }\n if (output[_uPs] != null) {\n contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]);\n }\n if (output[_fPi] != null) {\n contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]);\n }\n if (output[_pDr] != null) {\n contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]);\n }\n return contents;\n}, \"de_ReservedInstancesOffering\");\nvar de_ReservedInstancesOfferingList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstancesOffering(entry, context);\n });\n}, \"de_ReservedInstancesOfferingList\");\nvar de_ReservedIntancesIds = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ReservedInstancesId(entry, context);\n });\n}, \"de_ReservedIntancesIds\");\nvar de_ResetAddressAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ad] != null) {\n contents[_Ad] = de_AddressAttribute(output[_ad], context);\n }\n return contents;\n}, \"de_ResetAddressAttributeResult\");\nvar de_ResetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n return contents;\n}, \"de_ResetEbsDefaultKmsKeyIdResult\");\nvar de_ResetFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_ResetFpgaImageAttributeResult\");\nvar de_ResourceStatement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.resourceSet === \"\") {\n contents[_Re] = [];\n } else if (output[_rSesou] != null && output[_rSesou][_i] != null) {\n contents[_Re] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSesou][_i]), context);\n }\n if (output.resourceTypeSet === \"\") {\n contents[_RTeso] = [];\n } else if (output[_rTSes] != null && output[_rTSes][_i] != null) {\n contents[_RTeso] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSes][_i]), context);\n }\n return contents;\n}, \"de_ResourceStatement\");\nvar de_ResponseError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ResponseError\");\nvar de_ResponseHostIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ResponseHostIdList\");\nvar de_ResponseHostIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ResponseHostIdSet\");\nvar de_ResponseLaunchTemplateData = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_kI] != null) {\n contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_iIP] != null) {\n contents[_IIP] = de_LaunchTemplateIamInstanceProfileSpecification(output[_iIP], context);\n }\n if (output.blockDeviceMappingSet === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDMS] != null && output[_bDMS][_i] != null) {\n contents[_BDM] = de_LaunchTemplateBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDMS][_i]), context);\n }\n if (output.networkInterfaceSet === \"\") {\n contents[_NI] = [];\n } else if (output[_nIS] != null && output[_nIS][_i] != null) {\n contents[_NI] = de_LaunchTemplateInstanceNetworkInterfaceSpecificationList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]),\n context\n );\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_mo] != null) {\n contents[_Mon] = de_LaunchTemplatesMonitoring(output[_mo], context);\n }\n if (output[_pla] != null) {\n contents[_Pl] = de_LaunchTemplatePlacement(output[_pla], context);\n }\n if (output[_rDI] != null) {\n contents[_RDI] = (0, import_smithy_client.expectString)(output[_rDI]);\n }\n if (output[_dAT] != null) {\n contents[_DATis] = (0, import_smithy_client.parseBoolean)(output[_dAT]);\n }\n if (output[_iISB] != null) {\n contents[_IISB] = (0, import_smithy_client.expectString)(output[_iISB]);\n }\n if (output[_uDs] != null) {\n contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]);\n }\n if (output.tagSpecificationSet === \"\") {\n contents[_TS] = [];\n } else if (output[_tSS] != null && output[_tSS][_i] != null) {\n contents[_TS] = de_LaunchTemplateTagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tSS][_i]), context);\n }\n if (output.elasticGpuSpecificationSet === \"\") {\n contents[_EGS] = [];\n } else if (output[_eGSS] != null && output[_eGSS][_i] != null) {\n contents[_EGS] = de_ElasticGpuSpecificationResponseList((0, import_smithy_client.getArrayIfSingleItem)(output[_eGSS][_i]), context);\n }\n if (output.elasticInferenceAcceleratorSet === \"\") {\n contents[_EIA] = [];\n } else if (output[_eIAS] != null && output[_eIAS][_i] != null) {\n contents[_EIA] = de_LaunchTemplateElasticInferenceAcceleratorResponseList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_eIAS][_i]),\n context\n );\n }\n if (output.securityGroupIdSet === \"\") {\n contents[_SGI] = [];\n } else if (output[_sGIS] != null && output[_sGIS][_i] != null) {\n contents[_SGI] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context);\n }\n if (output.securityGroupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_sGS] != null && output[_sGS][_i] != null) {\n contents[_SG] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context);\n }\n if (output[_iMOn] != null) {\n contents[_IMO] = de_LaunchTemplateInstanceMarketOptions(output[_iMOn], context);\n }\n if (output[_cSr] != null) {\n contents[_CSred] = de_CreditSpecification(output[_cSr], context);\n }\n if (output[_cO] != null) {\n contents[_COp] = de_LaunchTemplateCpuOptions(output[_cO], context);\n }\n if (output[_cRSa] != null) {\n contents[_CRSa] = de_LaunchTemplateCapacityReservationSpecificationResponse(output[_cRSa], context);\n }\n if (output.licenseSet === \"\") {\n contents[_LSi] = [];\n } else if (output[_lSi] != null && output[_lSi][_i] != null) {\n contents[_LSi] = de_LaunchTemplateLicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context);\n }\n if (output[_hO] != null) {\n contents[_HO] = de_LaunchTemplateHibernationOptions(output[_hO], context);\n }\n if (output[_mO] != null) {\n contents[_MO] = de_LaunchTemplateInstanceMetadataOptions(output[_mO], context);\n }\n if (output[_eOn] != null) {\n contents[_EOn] = de_LaunchTemplateEnclaveOptions(output[_eOn], context);\n }\n if (output[_iR] != null) {\n contents[_IR] = de_InstanceRequirements(output[_iR], context);\n }\n if (output[_pDNO] != null) {\n contents[_PDNO] = de_LaunchTemplatePrivateDnsNameOptions(output[_pDNO], context);\n }\n if (output[_mOa] != null) {\n contents[_MOa] = de_LaunchTemplateInstanceMaintenanceOptions(output[_mOa], context);\n }\n if (output[_dASi] != null) {\n contents[_DAS] = (0, import_smithy_client.parseBoolean)(output[_dASi]);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n if (output[_nPO] != null) {\n contents[_NPO] = de_LaunchTemplateNetworkPerformanceOptions(output[_nPO], context);\n }\n return contents;\n}, \"de_ResponseLaunchTemplateData\");\nvar de_RestoreAddressToClassicResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pI] != null) {\n contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_RestoreAddressToClassicResult\");\nvar de_RestoreImageFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_RestoreImageFromRecycleBinResult\");\nvar de_RestoreManagedPrefixListVersionResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pL] != null) {\n contents[_PLr] = de_ManagedPrefixList(output[_pL], context);\n }\n return contents;\n}, \"de_RestoreManagedPrefixListVersionResult\");\nvar de_RestoreSnapshotFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_sta] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_sTs] != null) {\n contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);\n }\n return contents;\n}, \"de_RestoreSnapshotFromRecycleBinResult\");\nvar de_RestoreSnapshotTierResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_rST] != null) {\n contents[_RSTe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rST]));\n }\n if (output[_rD] != null) {\n contents[_RD] = (0, import_smithy_client.strictParseInt32)(output[_rD]);\n }\n if (output[_iPR] != null) {\n contents[_IPR] = (0, import_smithy_client.parseBoolean)(output[_iPR]);\n }\n return contents;\n}, \"de_RestoreSnapshotTierResult\");\nvar de_RevokeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context);\n }\n return contents;\n}, \"de_RevokeClientVpnIngressResult\");\nvar de_RevokedSecurityGroupRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sGRI] != null) {\n contents[_SGRIe] = (0, import_smithy_client.expectString)(output[_sGRI]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_iEs] != null) {\n contents[_IE] = (0, import_smithy_client.parseBoolean)(output[_iEs]);\n }\n if (output[_iPpr] != null) {\n contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]);\n }\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n if (output[_cIidr] != null) {\n contents[_CIidr] = (0, import_smithy_client.expectString)(output[_cIidr]);\n }\n if (output[_cIid] != null) {\n contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_rGI] != null) {\n contents[_RGI] = (0, import_smithy_client.expectString)(output[_rGI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n return contents;\n}, \"de_RevokedSecurityGroupRule\");\nvar de_RevokedSecurityGroupRuleList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RevokedSecurityGroupRule(entry, context);\n });\n}, \"de_RevokedSecurityGroupRuleList\");\nvar de_RevokeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output.unknownIpPermissionSet === \"\") {\n contents[_UIP] = [];\n } else if (output[_uIPS] != null && output[_uIPS][_i] != null) {\n contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context);\n }\n if (output.revokedSecurityGroupRuleSet === \"\") {\n contents[_RSGR] = [];\n } else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) {\n contents[_RSGR] = de_RevokedSecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSGRS][_i]), context);\n }\n return contents;\n}, \"de_RevokeSecurityGroupEgressResult\");\nvar de_RevokeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n if (output.unknownIpPermissionSet === \"\") {\n contents[_UIP] = [];\n } else if (output[_uIPS] != null && output[_uIPS][_i] != null) {\n contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context);\n }\n if (output.revokedSecurityGroupRuleSet === \"\") {\n contents[_RSGR] = [];\n } else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) {\n contents[_RSGR] = de_RevokedSecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSGRS][_i]), context);\n }\n return contents;\n}, \"de_RevokeSecurityGroupIngressResult\");\nvar de_RootDeviceTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_RootDeviceTypeList\");\nvar de_Route = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_dICB] != null) {\n contents[_DICB] = (0, import_smithy_client.expectString)(output[_dICB]);\n }\n if (output[_dPLI] != null) {\n contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]);\n }\n if (output[_eOIGI] != null) {\n contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]);\n }\n if (output[_gI] != null) {\n contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_iOIn] != null) {\n contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]);\n }\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_lGI] != null) {\n contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]);\n }\n if (output[_cGI] != null) {\n contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_o] != null) {\n contents[_Or] = (0, import_smithy_client.expectString)(output[_o]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n if (output[_cNA] != null) {\n contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]);\n }\n return contents;\n}, \"de_Route\");\nvar de_RouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Route(entry, context);\n });\n}, \"de_RouteList\");\nvar de_RouteServer = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSI] != null) {\n contents[_RSIo] = (0, import_smithy_client.expectString)(output[_rSI]);\n }\n if (output[_aSA] != null) {\n contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pRSe] != null) {\n contents[_PRS] = (0, import_smithy_client.expectString)(output[_pRSe]);\n }\n if (output[_pRD] != null) {\n contents[_PRD] = (0, import_smithy_client.strictParseLong)(output[_pRD]);\n }\n if (output[_sNE] != null) {\n contents[_SNE] = (0, import_smithy_client.parseBoolean)(output[_sNE]);\n }\n if (output[_sTA] != null) {\n contents[_STA] = (0, import_smithy_client.expectString)(output[_sTA]);\n }\n return contents;\n}, \"de_RouteServer\");\nvar de_RouteServerAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSI] != null) {\n contents[_RSIo] = (0, import_smithy_client.expectString)(output[_rSI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_RouteServerAssociation\");\nvar de_RouteServerAssociationsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerAssociation(entry, context);\n });\n}, \"de_RouteServerAssociationsList\");\nvar de_RouteServerBfdStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_RouteServerBfdStatus\");\nvar de_RouteServerBgpOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pAee] != null) {\n contents[_PAee] = (0, import_smithy_client.strictParseLong)(output[_pAee]);\n }\n if (output[_pLD] != null) {\n contents[_PLD] = (0, import_smithy_client.expectString)(output[_pLD]);\n }\n return contents;\n}, \"de_RouteServerBgpOptions\");\nvar de_RouteServerBgpStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_RouteServerBgpStatus\");\nvar de_RouteServerEndpoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSI] != null) {\n contents[_RSIo] = (0, import_smithy_client.expectString)(output[_rSI]);\n }\n if (output[_rSEI] != null) {\n contents[_RSEI] = (0, import_smithy_client.expectString)(output[_rSEI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_eIn] != null) {\n contents[_EIn] = (0, import_smithy_client.expectString)(output[_eIn]);\n }\n if (output[_eA] != null) {\n contents[_EAn] = (0, import_smithy_client.expectString)(output[_eA]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_fR] != null) {\n contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_RouteServerEndpoint\");\nvar de_RouteServerEndpointsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerEndpoint(entry, context);\n });\n}, \"de_RouteServerEndpointsList\");\nvar de_RouteServerPeer = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSPI] != null) {\n contents[_RSPI] = (0, import_smithy_client.expectString)(output[_rSPI]);\n }\n if (output[_rSEI] != null) {\n contents[_RSEI] = (0, import_smithy_client.expectString)(output[_rSEI]);\n }\n if (output[_rSI] != null) {\n contents[_RSIo] = (0, import_smithy_client.expectString)(output[_rSI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_fR] != null) {\n contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]);\n }\n if (output[_eEI] != null) {\n contents[_EEI] = (0, import_smithy_client.expectString)(output[_eEI]);\n }\n if (output[_eEA] != null) {\n contents[_EEA] = (0, import_smithy_client.expectString)(output[_eEA]);\n }\n if (output[_pAe] != null) {\n contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]);\n }\n if (output[_bO] != null) {\n contents[_BO] = de_RouteServerBgpOptions(output[_bO], context);\n }\n if (output[_bSg] != null) {\n contents[_BS] = de_RouteServerBgpStatus(output[_bSg], context);\n }\n if (output[_bSf] != null) {\n contents[_BSf] = de_RouteServerBfdStatus(output[_bSf], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_RouteServerPeer\");\nvar de_RouteServerPeersList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerPeer(entry, context);\n });\n}, \"de_RouteServerPeersList\");\nvar de_RouteServerPropagation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSI] != null) {\n contents[_RSIo] = (0, import_smithy_client.expectString)(output[_rSI]);\n }\n if (output[_rTI] != null) {\n contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_RouteServerPropagation\");\nvar de_RouteServerPropagationsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerPropagation(entry, context);\n });\n}, \"de_RouteServerPropagationsList\");\nvar de_RouteServerRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSEI] != null) {\n contents[_RSEI] = (0, import_smithy_client.expectString)(output[_rSEI]);\n }\n if (output[_rSPI] != null) {\n contents[_RSPI] = (0, import_smithy_client.expectString)(output[_rSPI]);\n }\n if (output.routeInstallationDetailSet === \"\") {\n contents[_RID] = [];\n } else if (output[_rIDS] != null && output[_rIDS][_i] != null) {\n contents[_RID] = de_RouteServerRouteInstallationDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_rIDS][_i]), context);\n }\n if (output[_rSout] != null) {\n contents[_RSout] = (0, import_smithy_client.expectString)(output[_rSout]);\n }\n if (output[_pre] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]);\n }\n if (output.asPathSet === \"\") {\n contents[_APs] = [];\n } else if (output[_aPSs] != null && output[_aPSs][_i] != null) {\n contents[_APs] = de_AsPath((0, import_smithy_client.getArrayIfSingleItem)(output[_aPSs][_i]), context);\n }\n if (output[_med] != null) {\n contents[_Med] = (0, import_smithy_client.strictParseInt32)(output[_med]);\n }\n if (output[_nHI] != null) {\n contents[_NHI] = (0, import_smithy_client.expectString)(output[_nHI]);\n }\n return contents;\n}, \"de_RouteServerRoute\");\nvar de_RouteServerRouteInstallationDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rTI] != null) {\n contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]);\n }\n if (output[_rISo] != null) {\n contents[_RISo] = (0, import_smithy_client.expectString)(output[_rISo]);\n }\n if (output[_rISR] != null) {\n contents[_RISR] = (0, import_smithy_client.expectString)(output[_rISR]);\n }\n return contents;\n}, \"de_RouteServerRouteInstallationDetail\");\nvar de_RouteServerRouteInstallationDetails = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerRouteInstallationDetail(entry, context);\n });\n}, \"de_RouteServerRouteInstallationDetails\");\nvar de_RouteServerRouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServerRoute(entry, context);\n });\n}, \"de_RouteServerRouteList\");\nvar de_RouteServersList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteServer(entry, context);\n });\n}, \"de_RouteServersList\");\nvar de_RouteTable = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.associationSet === \"\") {\n contents[_Ass] = [];\n } else if (output[_aSss] != null && output[_aSss][_i] != null) {\n contents[_Ass] = de_RouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context);\n }\n if (output.propagatingVgwSet === \"\") {\n contents[_PVr] = [];\n } else if (output[_pVS] != null && output[_pVS][_i] != null) {\n contents[_PVr] = de_PropagatingVgwList((0, import_smithy_client.getArrayIfSingleItem)(output[_pVS][_i]), context);\n }\n if (output[_rTI] != null) {\n contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]);\n }\n if (output.routeSet === \"\") {\n contents[_Rout] = [];\n } else if (output[_rSou] != null && output[_rSou][_i] != null) {\n contents[_Rout] = de_RouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSou][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n return contents;\n}, \"de_RouteTable\");\nvar de_RouteTableAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mai] != null) {\n contents[_Mai] = (0, import_smithy_client.parseBoolean)(output[_mai]);\n }\n if (output[_rTAI] != null) {\n contents[_RTAI] = (0, import_smithy_client.expectString)(output[_rTAI]);\n }\n if (output[_rTI] != null) {\n contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_gI] != null) {\n contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);\n }\n if (output[_aS] != null) {\n contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);\n }\n return contents;\n}, \"de_RouteTableAssociation\");\nvar de_RouteTableAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteTableAssociation(entry, context);\n });\n}, \"de_RouteTableAssociationList\");\nvar de_RouteTableAssociationState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n return contents;\n}, \"de_RouteTableAssociationState\");\nvar de_RouteTableList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RouteTable(entry, context);\n });\n}, \"de_RouteTableList\");\nvar de_RuleGroupRuleOptionsPair = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rGA] != null) {\n contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]);\n }\n if (output.ruleOptionSet === \"\") {\n contents[_ROu] = [];\n } else if (output[_rOS] != null && output[_rOS][_i] != null) {\n contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context);\n }\n return contents;\n}, \"de_RuleGroupRuleOptionsPair\");\nvar de_RuleGroupRuleOptionsPairList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RuleGroupRuleOptionsPair(entry, context);\n });\n}, \"de_RuleGroupRuleOptionsPairList\");\nvar de_RuleGroupTypePair = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rGA] != null) {\n contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]);\n }\n if (output[_rGT] != null) {\n contents[_RGT] = (0, import_smithy_client.expectString)(output[_rGT]);\n }\n return contents;\n}, \"de_RuleGroupTypePair\");\nvar de_RuleGroupTypePairList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RuleGroupTypePair(entry, context);\n });\n}, \"de_RuleGroupTypePairList\");\nvar de_RuleOption = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_key] != null) {\n contents[_Key] = (0, import_smithy_client.expectString)(output[_key]);\n }\n if (output.settingSet === \"\") {\n contents[_Set] = [];\n } else if (output[_sSe] != null && output[_sSe][_i] != null) {\n contents[_Set] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSe][_i]), context);\n }\n return contents;\n}, \"de_RuleOption\");\nvar de_RuleOptionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_RuleOption(entry, context);\n });\n}, \"de_RuleOptionList\");\nvar de_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n return contents;\n}, \"de_RunInstancesMonitoringEnabled\");\nvar de_RunScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instanceIdSet === \"\") {\n contents[_IIS] = [];\n } else if (output[_iIS] != null && output[_iIS][_i] != null) {\n contents[_IIS] = de_InstanceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context);\n }\n return contents;\n}, \"de_RunScheduledInstancesResult\");\nvar de_S3Storage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AWSAKI] != null) {\n contents[_AWSAKI] = (0, import_smithy_client.expectString)(output[_AWSAKI]);\n }\n if (output[_bu] != null) {\n contents[_B] = (0, import_smithy_client.expectString)(output[_bu]);\n }\n if (output[_pre] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]);\n }\n if (output[_uPp] != null) {\n contents[_UP] = context.base64Decoder(output[_uPp]);\n }\n if (output[_uPS] != null) {\n contents[_UPS] = (0, import_smithy_client.expectString)(output[_uPS]);\n }\n return contents;\n}, \"de_S3Storage\");\nvar de_ScheduledInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_cD] != null) {\n contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD]));\n }\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_nPe] != null) {\n contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]);\n }\n if (output[_nSST] != null) {\n contents[_NSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nSST]));\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_pSET] != null) {\n contents[_PSET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pSET]));\n }\n if (output[_rec] != null) {\n contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context);\n }\n if (output[_sIIc] != null) {\n contents[_SIIch] = (0, import_smithy_client.expectString)(output[_sIIc]);\n }\n if (output[_sDIH] != null) {\n contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]);\n }\n if (output[_tED] != null) {\n contents[_TED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tED]));\n }\n if (output[_tSD] != null) {\n contents[_TSD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSD]));\n }\n if (output[_tSIH] != null) {\n contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]);\n }\n return contents;\n}, \"de_ScheduledInstance\");\nvar de_ScheduledInstanceAvailability = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_aICv] != null) {\n contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]);\n }\n if (output[_fSST] != null) {\n contents[_FSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_fSST]));\n }\n if (output[_hPo] != null) {\n contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_mTDID] != null) {\n contents[_MTDID] = (0, import_smithy_client.strictParseInt32)(output[_mTDID]);\n }\n if (output[_mTDIDi] != null) {\n contents[_MTDIDi] = (0, import_smithy_client.strictParseInt32)(output[_mTDIDi]);\n }\n if (output[_nPe] != null) {\n contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_pTu] != null) {\n contents[_PT] = (0, import_smithy_client.expectString)(output[_pTu]);\n }\n if (output[_rec] != null) {\n contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context);\n }\n if (output[_sDIH] != null) {\n contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]);\n }\n if (output[_tSIH] != null) {\n contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]);\n }\n return contents;\n}, \"de_ScheduledInstanceAvailability\");\nvar de_ScheduledInstanceAvailabilitySet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ScheduledInstanceAvailability(entry, context);\n });\n}, \"de_ScheduledInstanceAvailabilitySet\");\nvar de_ScheduledInstanceRecurrence = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fre] != null) {\n contents[_Fre] = (0, import_smithy_client.expectString)(output[_fre]);\n }\n if (output[_int] != null) {\n contents[_Int] = (0, import_smithy_client.strictParseInt32)(output[_int]);\n }\n if (output.occurrenceDaySet === \"\") {\n contents[_ODS] = [];\n } else if (output[_oDS] != null && output[_oDS][_i] != null) {\n contents[_ODS] = de_OccurrenceDaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_oDS][_i]), context);\n }\n if (output[_oRTE] != null) {\n contents[_ORTE] = (0, import_smithy_client.parseBoolean)(output[_oRTE]);\n }\n if (output[_oU] != null) {\n contents[_OU] = (0, import_smithy_client.expectString)(output[_oU]);\n }\n return contents;\n}, \"de_ScheduledInstanceRecurrence\");\nvar de_ScheduledInstanceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ScheduledInstance(entry, context);\n });\n}, \"de_ScheduledInstanceSet\");\nvar de_SearchLocalGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeSet === \"\") {\n contents[_Rout] = [];\n } else if (output[_rSou] != null && output[_rSou][_i] != null) {\n contents[_Rout] = de_LocalGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSou][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_SearchLocalGatewayRoutesResult\");\nvar de_SearchTransitGatewayMulticastGroupsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.multicastGroups === \"\") {\n contents[_MG] = [];\n } else if (output[_mG] != null && output[_mG][_i] != null) {\n contents[_MG] = de_TransitGatewayMulticastGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_mG][_i]), context);\n }\n if (output[_nTe] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);\n }\n return contents;\n}, \"de_SearchTransitGatewayMulticastGroupsResult\");\nvar de_SearchTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.routeSet === \"\") {\n contents[_Rout] = [];\n } else if (output[_rSou] != null && output[_rSou][_i] != null) {\n contents[_Rout] = de_TransitGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSou][_i]), context);\n }\n if (output[_aRAd] != null) {\n contents[_ARAd] = (0, import_smithy_client.parseBoolean)(output[_aRAd]);\n }\n return contents;\n}, \"de_SearchTransitGatewayRoutesResult\");\nvar de_SecurityGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output.ipPermissionsEgress === \"\") {\n contents[_IPE] = [];\n } else if (output[_iPE] != null && output[_iPE][_i] != null) {\n contents[_IPE] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPE][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sGA] != null) {\n contents[_SGA] = (0, import_smithy_client.expectString)(output[_sGA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_gD] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_gD]);\n }\n if (output.ipPermissions === \"\") {\n contents[_IPpe] = [];\n } else if (output[_iPpe] != null && output[_iPpe][_i] != null) {\n contents[_IPpe] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPpe][_i]), context);\n }\n return contents;\n}, \"de_SecurityGroup\");\nvar de_SecurityGroupForVpc = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pVI] != null) {\n contents[_PVIr] = (0, import_smithy_client.expectString)(output[_pVI]);\n }\n return contents;\n}, \"de_SecurityGroupForVpc\");\nvar de_SecurityGroupForVpcList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroupForVpc(entry, context);\n });\n}, \"de_SecurityGroupForVpcList\");\nvar de_SecurityGroupIdentifier = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n return contents;\n}, \"de_SecurityGroupIdentifier\");\nvar de_SecurityGroupIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_SecurityGroupIdList\");\nvar de_SecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_SecurityGroupIdSet\");\nvar de_SecurityGroupIdStringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_SecurityGroupIdStringList\");\nvar de_SecurityGroupList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroup(entry, context);\n });\n}, \"de_SecurityGroupList\");\nvar de_SecurityGroupReference = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_rVI] != null) {\n contents[_RVI] = (0, import_smithy_client.expectString)(output[_rVI]);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n return contents;\n}, \"de_SecurityGroupReference\");\nvar de_SecurityGroupReferences = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroupReference(entry, context);\n });\n}, \"de_SecurityGroupReferences\");\nvar de_SecurityGroupRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sGRI] != null) {\n contents[_SGRIe] = (0, import_smithy_client.expectString)(output[_sGRI]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_gOI] != null) {\n contents[_GOI] = (0, import_smithy_client.expectString)(output[_gOI]);\n }\n if (output[_iEs] != null) {\n contents[_IE] = (0, import_smithy_client.parseBoolean)(output[_iEs]);\n }\n if (output[_iPpr] != null) {\n contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]);\n }\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n if (output[_cIidr] != null) {\n contents[_CIidr] = (0, import_smithy_client.expectString)(output[_cIidr]);\n }\n if (output[_cIid] != null) {\n contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_rGIe] != null) {\n contents[_RGIe] = de_ReferencedSecurityGroup(output[_rGIe], context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sGRA] != null) {\n contents[_SGRA] = (0, import_smithy_client.expectString)(output[_sGRA]);\n }\n return contents;\n}, \"de_SecurityGroupRule\");\nvar de_SecurityGroupRuleList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroupRule(entry, context);\n });\n}, \"de_SecurityGroupRuleList\");\nvar de_SecurityGroupVpcAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_vOIp] != null) {\n contents[_VOIp] = (0, import_smithy_client.expectString)(output[_vOIp]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sRt] != null) {\n contents[_SRt] = (0, import_smithy_client.expectString)(output[_sRt]);\n }\n return contents;\n}, \"de_SecurityGroupVpcAssociation\");\nvar de_SecurityGroupVpcAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SecurityGroupVpcAssociation(entry, context);\n });\n}, \"de_SecurityGroupVpcAssociationList\");\nvar de_ServiceConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.serviceType === \"\") {\n contents[_STe] = [];\n } else if (output[_sTe] != null && output[_sTe][_i] != null) {\n contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context);\n }\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n if (output[_sN] != null) {\n contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]);\n }\n if (output[_sSer] != null) {\n contents[_SSe] = (0, import_smithy_client.expectString)(output[_sSer]);\n }\n if (output.availabilityZoneSet === \"\") {\n contents[_AZv] = [];\n } else if (output[_aZS] != null && output[_aZS][_i] != null) {\n contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context);\n }\n if (output[_aRcc] != null) {\n contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]);\n }\n if (output[_mVE] != null) {\n contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]);\n }\n if (output.networkLoadBalancerArnSet === \"\") {\n contents[_NLBAe] = [];\n } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) {\n contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context);\n }\n if (output.gatewayLoadBalancerArnSet === \"\") {\n contents[_GLBA] = [];\n } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) {\n contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context);\n }\n if (output.supportedIpAddressTypeSet === \"\") {\n contents[_SIAT] = [];\n } else if (output[_sIATS] != null && output[_sIATS][_i] != null) {\n contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context);\n }\n if (output.baseEndpointDnsNameSet === \"\") {\n contents[_BEDN] = [];\n } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {\n contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output[_pDNC] != null) {\n contents[_PDNC] = de_PrivateDnsNameConfiguration(output[_pDNC], context);\n }\n if (output[_pRa] != null) {\n contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.supportedRegionSet === \"\") {\n contents[_SRu] = [];\n } else if (output[_sRS] != null && output[_sRS][_i] != null) {\n contents[_SRu] = de_SupportedRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sRS][_i]), context);\n }\n if (output[_rAE] != null) {\n contents[_RAE] = (0, import_smithy_client.parseBoolean)(output[_rAE]);\n }\n return contents;\n}, \"de_ServiceConfiguration\");\nvar de_ServiceConfigurationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ServiceConfiguration(entry, context);\n });\n}, \"de_ServiceConfigurationSet\");\nvar de_ServiceDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sN] != null) {\n contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]);\n }\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n if (output.serviceType === \"\") {\n contents[_STe] = [];\n } else if (output[_sTe] != null && output[_sTe][_i] != null) {\n contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context);\n }\n if (output[_sR] != null) {\n contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]);\n }\n if (output.availabilityZoneSet === \"\") {\n contents[_AZv] = [];\n } else if (output[_aZS] != null && output[_aZS][_i] != null) {\n contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context);\n }\n if (output[_ow] != null) {\n contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]);\n }\n if (output.baseEndpointDnsNameSet === \"\") {\n contents[_BEDN] = [];\n } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) {\n contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context);\n }\n if (output[_pDN] != null) {\n contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]);\n }\n if (output.privateDnsNameSet === \"\") {\n contents[_PDNr] = [];\n } else if (output[_pDNS] != null && output[_pDNS][_i] != null) {\n contents[_PDNr] = de_PrivateDnsDetailsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pDNS][_i]), context);\n }\n if (output[_vEPS] != null) {\n contents[_VEPS] = (0, import_smithy_client.parseBoolean)(output[_vEPS]);\n }\n if (output[_aRcc] != null) {\n contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]);\n }\n if (output[_mVE] != null) {\n contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]);\n }\n if (output[_pRa] != null) {\n contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_pDNVS] != null) {\n contents[_PDNVS] = (0, import_smithy_client.expectString)(output[_pDNVS]);\n }\n if (output.supportedIpAddressTypeSet === \"\") {\n contents[_SIAT] = [];\n } else if (output[_sIATS] != null && output[_sIATS][_i] != null) {\n contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context);\n }\n return contents;\n}, \"de_ServiceDetail\");\nvar de_ServiceDetailSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ServiceDetail(entry, context);\n });\n}, \"de_ServiceDetailSet\");\nvar de_ServiceLinkVirtualInterface = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sLVII] != null) {\n contents[_SLVIIe] = (0, import_smithy_client.expectString)(output[_sLVII]);\n }\n if (output[_sLVIA] != null) {\n contents[_SLVIA] = (0, import_smithy_client.expectString)(output[_sLVIA]);\n }\n if (output[_oIu] != null) {\n contents[_OIu] = (0, import_smithy_client.expectString)(output[_oIu]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_lA] != null) {\n contents[_LA] = (0, import_smithy_client.expectString)(output[_lA]);\n }\n if (output[_pAe] != null) {\n contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]);\n }\n if (output[_pBA] != null) {\n contents[_PBA] = (0, import_smithy_client.strictParseLong)(output[_pBA]);\n }\n if (output[_vl] != null) {\n contents[_Vl] = (0, import_smithy_client.strictParseInt32)(output[_vl]);\n }\n if (output[_oLI] != null) {\n contents[_OLI] = (0, import_smithy_client.expectString)(output[_oLI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_cSon] != null) {\n contents[_CSon] = (0, import_smithy_client.expectString)(output[_cSon]);\n }\n return contents;\n}, \"de_ServiceLinkVirtualInterface\");\nvar de_ServiceLinkVirtualInterfaceIdSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ServiceLinkVirtualInterfaceIdSet\");\nvar de_ServiceLinkVirtualInterfaceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ServiceLinkVirtualInterface(entry, context);\n });\n}, \"de_ServiceLinkVirtualInterfaceSet\");\nvar de_ServiceTypeDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sTe] != null) {\n contents[_STe] = (0, import_smithy_client.expectString)(output[_sTe]);\n }\n return contents;\n}, \"de_ServiceTypeDetail\");\nvar de_ServiceTypeDetailSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ServiceTypeDetail(entry, context);\n });\n}, \"de_ServiceTypeDetailSet\");\nvar de_Snapshot = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oAw] != null) {\n contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sTt] != null) {\n contents[_STto] = (0, import_smithy_client.expectString)(output[_sTt]);\n }\n if (output[_rET] != null) {\n contents[_RET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rET]));\n }\n if (output[_sTs] != null) {\n contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_tTr] != null) {\n contents[_TTr] = (0, import_smithy_client.expectString)(output[_tTr]);\n }\n if (output[_cDM] != null) {\n contents[_CDM] = (0, import_smithy_client.strictParseInt32)(output[_cDM]);\n }\n if (output[_cTomp] != null) {\n contents[_CTomp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTomp]));\n }\n if (output[_fSSIB] != null) {\n contents[_FSSIB] = (0, import_smithy_client.strictParseLong)(output[_fSSIB]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_sta] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_dEKI] != null) {\n contents[_DEKI] = (0, import_smithy_client.expectString)(output[_dEKI]);\n }\n return contents;\n}, \"de_Snapshot\");\nvar de_SnapshotDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_dN] != null) {\n contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]);\n }\n if (output[_dIS] != null) {\n contents[_DISi] = (0, import_smithy_client.strictParseFloat)(output[_dIS]);\n }\n if (output[_f] != null) {\n contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_ur] != null) {\n contents[_U] = (0, import_smithy_client.expectString)(output[_ur]);\n }\n if (output[_uB] != null) {\n contents[_UB] = de_UserBucketDetails(output[_uB], context);\n }\n return contents;\n}, \"de_SnapshotDetail\");\nvar de_SnapshotDetailList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SnapshotDetail(entry, context);\n });\n}, \"de_SnapshotDetailList\");\nvar de_SnapshotInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_vSo] != null) {\n contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_sTs] != null) {\n contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n return contents;\n}, \"de_SnapshotInfo\");\nvar de_SnapshotList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Snapshot(entry, context);\n });\n}, \"de_SnapshotList\");\nvar de_SnapshotRecycleBinInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_rBET] != null) {\n contents[_RBET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBET]));\n }\n if (output[_rBETe] != null) {\n contents[_RBETe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBETe]));\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n return contents;\n}, \"de_SnapshotRecycleBinInfo\");\nvar de_SnapshotRecycleBinInfoList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SnapshotRecycleBinInfo(entry, context);\n });\n}, \"de_SnapshotRecycleBinInfoList\");\nvar de_SnapshotSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SnapshotInfo(entry, context);\n });\n}, \"de_SnapshotSet\");\nvar de_SnapshotTaskDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_dIS] != null) {\n contents[_DISi] = (0, import_smithy_client.strictParseFloat)(output[_dIS]);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_f] != null) {\n contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_ur] != null) {\n contents[_U] = (0, import_smithy_client.expectString)(output[_ur]);\n }\n if (output[_uB] != null) {\n contents[_UB] = de_UserBucketDetails(output[_uB], context);\n }\n return contents;\n}, \"de_SnapshotTaskDetail\");\nvar de_SnapshotTierStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sTt] != null) {\n contents[_STto] = (0, import_smithy_client.expectString)(output[_sTt]);\n }\n if (output[_lTST] != null) {\n contents[_LTST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTST]));\n }\n if (output[_lTP] != null) {\n contents[_LTP] = (0, import_smithy_client.strictParseInt32)(output[_lTP]);\n }\n if (output[_lTOS] != null) {\n contents[_LTOS] = (0, import_smithy_client.expectString)(output[_lTOS]);\n }\n if (output[_lTOSD] != null) {\n contents[_LTOSD] = (0, import_smithy_client.expectString)(output[_lTOSD]);\n }\n if (output[_aCT] != null) {\n contents[_ACT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aCT]));\n }\n if (output[_rET] != null) {\n contents[_RET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rET]));\n }\n return contents;\n}, \"de_SnapshotTierStatus\");\nvar de_snapshotTierStatusSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SnapshotTierStatus(entry, context);\n });\n}, \"de_snapshotTierStatusSet\");\nvar de_SpotCapacityRebalance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSep] != null) {\n contents[_RS] = (0, import_smithy_client.expectString)(output[_rSep]);\n }\n if (output[_tD] != null) {\n contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]);\n }\n return contents;\n}, \"de_SpotCapacityRebalance\");\nvar de_SpotDatafeedSubscription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bu] != null) {\n contents[_B] = (0, import_smithy_client.expectString)(output[_bu]);\n }\n if (output[_fa] != null) {\n contents[_Fa] = de_SpotInstanceStateFault(output[_fa], context);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pre] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_SpotDatafeedSubscription\");\nvar de_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aTdd] != null) {\n contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]);\n }\n if (output.blockDeviceMapping === \"\") {\n contents[_BDM] = [];\n } else if (output[_bDM] != null && output[_bDM][_i] != null) {\n contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context);\n }\n if (output[_eO] != null) {\n contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]);\n }\n if (output[_iIP] != null) {\n contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context);\n }\n if (output[_iIma] != null) {\n contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_kI] != null) {\n contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]);\n }\n if (output[_kN] != null) {\n contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);\n }\n if (output[_mo] != null) {\n contents[_Mon] = de_SpotFleetMonitoring(output[_mo], context);\n }\n if (output.networkInterfaceSet === \"\") {\n contents[_NI] = [];\n } else if (output[_nIS] != null && output[_nIS][_i] != null) {\n contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context);\n }\n if (output[_pla] != null) {\n contents[_Pl] = de_SpotPlacement(output[_pla], context);\n }\n if (output[_rIa] != null) {\n contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]);\n }\n if (output[_sPp] != null) {\n contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_uDs] != null) {\n contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]);\n }\n if (output[_wC] != null) {\n contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);\n }\n if (output.tagSpecificationSet === \"\") {\n contents[_TS] = [];\n } else if (output[_tSS] != null && output[_tSS][_i] != null) {\n contents[_TS] = de_SpotFleetTagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tSS][_i]), context);\n }\n if (output[_iR] != null) {\n contents[_IR] = de_InstanceRequirements(output[_iR], context);\n }\n if (output.groupSet === \"\") {\n contents[_SG] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n return contents;\n}, \"de_SpotFleetLaunchSpecification\");\nvar de_SpotFleetMonitoring = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n return contents;\n}, \"de_SpotFleetMonitoring\");\nvar de_SpotFleetRequestConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSc] != null) {\n contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_sFRC] != null) {\n contents[_SFRC] = de_SpotFleetRequestConfigData(output[_sFRC], context);\n }\n if (output[_sFRI] != null) {\n contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]);\n }\n if (output[_sFRSp] != null) {\n contents[_SFRS] = (0, import_smithy_client.expectString)(output[_sFRSp]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_SpotFleetRequestConfig\");\nvar de_SpotFleetRequestConfigData = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSl] != null) {\n contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]);\n }\n if (output[_oDAS] != null) {\n contents[_ODAS] = (0, import_smithy_client.expectString)(output[_oDAS]);\n }\n if (output[_sMS] != null) {\n contents[_SMS] = de_SpotMaintenanceStrategies(output[_sMS], context);\n }\n if (output[_cT] != null) {\n contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]);\n }\n if (output[_eCTP] != null) {\n contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]);\n }\n if (output[_fC] != null) {\n contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]);\n }\n if (output[_oDFC] != null) {\n contents[_ODFC] = (0, import_smithy_client.strictParseFloat)(output[_oDFC]);\n }\n if (output[_iFR] != null) {\n contents[_IFR] = (0, import_smithy_client.expectString)(output[_iFR]);\n }\n if (output.launchSpecifications === \"\") {\n contents[_LSau] = [];\n } else if (output[_lSa] != null && output[_lSa][_i] != null) {\n contents[_LSau] = de_LaunchSpecsList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSa][_i]), context);\n }\n if (output.launchTemplateConfigs === \"\") {\n contents[_LTC] = [];\n } else if (output[_lTC] != null && output[_lTC][_i] != null) {\n contents[_LTC] = de_LaunchTemplateConfigList((0, import_smithy_client.getArrayIfSingleItem)(output[_lTC][_i]), context);\n }\n if (output[_sPp] != null) {\n contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]);\n }\n if (output[_tCar] != null) {\n contents[_TCa] = (0, import_smithy_client.strictParseInt32)(output[_tCar]);\n }\n if (output[_oDTC] != null) {\n contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]);\n }\n if (output[_oDMTP] != null) {\n contents[_ODMTP] = (0, import_smithy_client.expectString)(output[_oDMTP]);\n }\n if (output[_sMTP] != null) {\n contents[_SMTP] = (0, import_smithy_client.expectString)(output[_sMTP]);\n }\n if (output[_tIWE] != null) {\n contents[_TIWE] = (0, import_smithy_client.parseBoolean)(output[_tIWE]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_vF] != null) {\n contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF]));\n }\n if (output[_vU] != null) {\n contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU]));\n }\n if (output[_rUI] != null) {\n contents[_RUI] = (0, import_smithy_client.parseBoolean)(output[_rUI]);\n }\n if (output[_iIB] != null) {\n contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]);\n }\n if (output[_lBC] != null) {\n contents[_LBC] = de_LoadBalancersConfig(output[_lBC], context);\n }\n if (output[_iPTUC] != null) {\n contents[_IPTUC] = (0, import_smithy_client.strictParseInt32)(output[_iPTUC]);\n }\n if (output[_cont] != null) {\n contents[_Con] = (0, import_smithy_client.expectString)(output[_cont]);\n }\n if (output[_tCUT] != null) {\n contents[_TCUT] = (0, import_smithy_client.expectString)(output[_tCUT]);\n }\n if (output.TagSpecification === \"\") {\n contents[_TS] = [];\n } else if (output[_TSagp] != null && output[_TSagp][_i] != null) {\n contents[_TS] = de_TagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_TSagp][_i]), context);\n }\n return contents;\n}, \"de_SpotFleetRequestConfigData\");\nvar de_SpotFleetRequestConfigSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotFleetRequestConfig(entry, context);\n });\n}, \"de_SpotFleetRequestConfigSet\");\nvar de_SpotFleetTagSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output.tag === \"\") {\n contents[_Ta] = [];\n } else if (output[_tag] != null && output[_tag][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tag][_i]), context);\n }\n return contents;\n}, \"de_SpotFleetTagSpecification\");\nvar de_SpotFleetTagSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotFleetTagSpecification(entry, context);\n });\n}, \"de_SpotFleetTagSpecificationList\");\nvar de_SpotInstanceRequest = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aBHP] != null) {\n contents[_ABHP] = (0, import_smithy_client.expectString)(output[_aBHP]);\n }\n if (output[_aZG] != null) {\n contents[_AZG] = (0, import_smithy_client.expectString)(output[_aZG]);\n }\n if (output[_bDMl] != null) {\n contents[_BDMl] = (0, import_smithy_client.strictParseInt32)(output[_bDMl]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output[_fa] != null) {\n contents[_Fa] = de_SpotInstanceStateFault(output[_fa], context);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_lG] != null) {\n contents[_LG] = (0, import_smithy_client.expectString)(output[_lG]);\n }\n if (output[_lSau] != null) {\n contents[_LSa] = de_LaunchSpecification(output[_lSau], context);\n }\n if (output[_lAZ] != null) {\n contents[_LAZ] = (0, import_smithy_client.expectString)(output[_lAZ]);\n }\n if (output[_pDr] != null) {\n contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]);\n }\n if (output[_sIRI] != null) {\n contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]);\n }\n if (output[_sPp] != null) {\n contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_SpotInstanceStatus(output[_sta], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_vF] != null) {\n contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF]));\n }\n if (output[_vU] != null) {\n contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU]));\n }\n if (output[_iIB] != null) {\n contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]);\n }\n return contents;\n}, \"de_SpotInstanceRequest\");\nvar de_SpotInstanceRequestList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotInstanceRequest(entry, context);\n });\n}, \"de_SpotInstanceRequestList\");\nvar de_SpotInstanceStateFault = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_SpotInstanceStateFault\");\nvar de_SpotInstanceStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n if (output[_uT] != null) {\n contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT]));\n }\n return contents;\n}, \"de_SpotInstanceStatus\");\nvar de_SpotMaintenanceStrategies = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cRa] != null) {\n contents[_CRap] = de_SpotCapacityRebalance(output[_cRa], context);\n }\n return contents;\n}, \"de_SpotMaintenanceStrategies\");\nvar de_SpotOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSl] != null) {\n contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]);\n }\n if (output[_mSai] != null) {\n contents[_MS] = de_FleetSpotMaintenanceStrategies(output[_mSai], context);\n }\n if (output[_iIB] != null) {\n contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]);\n }\n if (output[_iPTUC] != null) {\n contents[_IPTUC] = (0, import_smithy_client.strictParseInt32)(output[_iPTUC]);\n }\n if (output[_sITi] != null) {\n contents[_SITi] = (0, import_smithy_client.parseBoolean)(output[_sITi]);\n }\n if (output[_sAZ] != null) {\n contents[_SAZ] = (0, import_smithy_client.parseBoolean)(output[_sAZ]);\n }\n if (output[_mTC] != null) {\n contents[_MTC] = (0, import_smithy_client.strictParseInt32)(output[_mTC]);\n }\n if (output[_mTP] != null) {\n contents[_MTP] = (0, import_smithy_client.expectString)(output[_mTP]);\n }\n return contents;\n}, \"de_SpotOptions\");\nvar de_SpotPlacement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_t] != null) {\n contents[_Te] = (0, import_smithy_client.expectString)(output[_t]);\n }\n return contents;\n}, \"de_SpotPlacement\");\nvar de_SpotPlacementScore = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_re] != null) {\n contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_sco] != null) {\n contents[_Sco] = (0, import_smithy_client.strictParseInt32)(output[_sco]);\n }\n return contents;\n}, \"de_SpotPlacementScore\");\nvar de_SpotPlacementScores = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotPlacementScore(entry, context);\n });\n}, \"de_SpotPlacementScores\");\nvar de_SpotPrice = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_iT] != null) {\n contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);\n }\n if (output[_pDr] != null) {\n contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]);\n }\n if (output[_sPp] != null) {\n contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]);\n }\n if (output[_ti] != null) {\n contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti]));\n }\n return contents;\n}, \"de_SpotPrice\");\nvar de_SpotPriceHistoryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SpotPrice(entry, context);\n });\n}, \"de_SpotPriceHistoryList\");\nvar de_StaleIpPermission = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_iPpr] != null) {\n contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]);\n }\n if (output.ipRanges === \"\") {\n contents[_IRp] = [];\n } else if (output[_iRpa] != null && output[_iRpa][_i] != null) {\n contents[_IRp] = de_IpRanges((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpa][_i]), context);\n }\n if (output.prefixListIds === \"\") {\n contents[_PLIr] = [];\n } else if (output[_pLIr] != null && output[_pLIr][_i] != null) {\n contents[_PLIr] = de_PrefixListIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLIr][_i]), context);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n if (output.groups === \"\") {\n contents[_UIGP] = [];\n } else if (output[_gr] != null && output[_gr][_i] != null) {\n contents[_UIGP] = de_UserIdGroupPairSet((0, import_smithy_client.getArrayIfSingleItem)(output[_gr][_i]), context);\n }\n return contents;\n}, \"de_StaleIpPermission\");\nvar de_StaleIpPermissionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_StaleIpPermission(entry, context);\n });\n}, \"de_StaleIpPermissionSet\");\nvar de_StaleSecurityGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output.staleIpPermissions === \"\") {\n contents[_SIP] = [];\n } else if (output[_sIP] != null && output[_sIP][_i] != null) {\n contents[_SIP] = de_StaleIpPermissionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIP][_i]), context);\n }\n if (output.staleIpPermissionsEgress === \"\") {\n contents[_SIPE] = [];\n } else if (output[_sIPE] != null && output[_sIPE][_i] != null) {\n contents[_SIPE] = de_StaleIpPermissionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIPE][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_StaleSecurityGroup\");\nvar de_StaleSecurityGroupSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_StaleSecurityGroup(entry, context);\n });\n}, \"de_StaleSecurityGroupSet\");\nvar de_StartDeclarativePoliciesReportResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rI] != null) {\n contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]);\n }\n return contents;\n}, \"de_StartDeclarativePoliciesReportResult\");\nvar de_StartInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_SIta] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_SIta] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_StartInstancesResult\");\nvar de_StartNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIASAe] != null) {\n contents[_NIASAet] = de_NetworkInsightsAccessScopeAnalysis(output[_nIASAe], context);\n }\n return contents;\n}, \"de_StartNetworkInsightsAccessScopeAnalysisResult\");\nvar de_StartNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nIA] != null) {\n contents[_NIAe] = de_NetworkInsightsAnalysis(output[_nIA], context);\n }\n return contents;\n}, \"de_StartNetworkInsightsAnalysisResult\");\nvar de_StartVpcEndpointServicePrivateDnsVerificationResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_StartVpcEndpointServicePrivateDnsVerificationResult\");\nvar de_StateReason = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_StateReason\");\nvar de_StopInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_SIto] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_SIto] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_StopInstancesResult\");\nvar de_Storage = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_S_] != null) {\n contents[_S_] = de_S3Storage(output[_S_], context);\n }\n return contents;\n}, \"de_Storage\");\nvar de_StoreImageTaskResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIm] != null) {\n contents[_AIm] = (0, import_smithy_client.expectString)(output[_aIm]);\n }\n if (output[_tSTa] != null) {\n contents[_TSTa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSTa]));\n }\n if (output[_bu] != null) {\n contents[_B] = (0, import_smithy_client.expectString)(output[_bu]);\n }\n if (output[_sKo] != null) {\n contents[_SKo] = (0, import_smithy_client.expectString)(output[_sKo]);\n }\n if (output[_pP] != null) {\n contents[_PP] = (0, import_smithy_client.strictParseInt32)(output[_pP]);\n }\n if (output[_sTS] != null) {\n contents[_STSt] = (0, import_smithy_client.expectString)(output[_sTS]);\n }\n if (output[_sTFR] != null) {\n contents[_STFR] = (0, import_smithy_client.expectString)(output[_sTFR]);\n }\n return contents;\n}, \"de_StoreImageTaskResult\");\nvar de_StoreImageTaskResultSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_StoreImageTaskResult(entry, context);\n });\n}, \"de_StoreImageTaskResultSet\");\nvar de_StringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_StringList\");\nvar de_Subnet = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n if (output[_eLADI] != null) {\n contents[_ELADI] = (0, import_smithy_client.strictParseInt32)(output[_eLADI]);\n }\n if (output[_mCOIOL] != null) {\n contents[_MCOIOL] = (0, import_smithy_client.parseBoolean)(output[_mCOIOL]);\n }\n if (output[_cOIP] != null) {\n contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_aIAOC] != null) {\n contents[_AIAOC] = (0, import_smithy_client.parseBoolean)(output[_aIAOC]);\n }\n if (output.ipv6CidrBlockAssociationSet === \"\") {\n contents[_ICBAS] = [];\n } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) {\n contents[_ICBAS] = de_SubnetIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sAub] != null) {\n contents[_SAub] = (0, import_smithy_client.expectString)(output[_sAub]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_eDn] != null) {\n contents[_EDn] = (0, import_smithy_client.parseBoolean)(output[_eDn]);\n }\n if (output[_iN] != null) {\n contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]);\n }\n if (output[_pDNOOL] != null) {\n contents[_PDNOOL] = de_PrivateDnsNameOptionsOnLaunch(output[_pDNOOL], context);\n }\n if (output[_bPAS] != null) {\n contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n if (output[_aIAC] != null) {\n contents[_AIAC] = (0, import_smithy_client.strictParseInt32)(output[_aIAC]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_dFA] != null) {\n contents[_DFA] = (0, import_smithy_client.parseBoolean)(output[_dFA]);\n }\n if (output[_mPIOL] != null) {\n contents[_MPIOL] = (0, import_smithy_client.parseBoolean)(output[_mPIOL]);\n }\n return contents;\n}, \"de_Subnet\");\nvar de_SubnetAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_SubnetAssociation\");\nvar de_SubnetAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SubnetAssociation(entry, context);\n });\n}, \"de_SubnetAssociationList\");\nvar de_SubnetCidrBlockState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n return contents;\n}, \"de_SubnetCidrBlockState\");\nvar de_SubnetCidrReservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCRI] != null) {\n contents[_SCRIu] = (0, import_smithy_client.expectString)(output[_sCRI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output[_rT] != null) {\n contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_SubnetCidrReservation\");\nvar de_SubnetCidrReservationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SubnetCidrReservation(entry, context);\n });\n}, \"de_SubnetCidrReservationList\");\nvar de_SubnetIpPrefixes = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output.ipPrefixSet === \"\") {\n contents[_IPpre] = [];\n } else if (output[_iPSpr] != null && output[_iPSpr][_i] != null) {\n contents[_IPpre] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpr][_i]), context);\n }\n return contents;\n}, \"de_SubnetIpPrefixes\");\nvar de_SubnetIpPrefixesList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SubnetIpPrefixes(entry, context);\n });\n}, \"de_SubnetIpPrefixesList\");\nvar de_SubnetIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_iCB] != null) {\n contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]);\n }\n if (output[_iCBS] != null) {\n contents[_ICBS] = de_SubnetCidrBlockState(output[_iCBS], context);\n }\n if (output[_iAA] != null) {\n contents[_IAA] = (0, import_smithy_client.expectString)(output[_iAA]);\n }\n if (output[_iSpo] != null) {\n contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]);\n }\n return contents;\n}, \"de_SubnetIpv6CidrBlockAssociation\");\nvar de_SubnetIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SubnetIpv6CidrBlockAssociation(entry, context);\n });\n}, \"de_SubnetIpv6CidrBlockAssociationSet\");\nvar de_SubnetList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Subnet(entry, context);\n });\n}, \"de_SubnetList\");\nvar de_Subscription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_s] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_s]);\n }\n if (output[_d] != null) {\n contents[_D] = (0, import_smithy_client.expectString)(output[_d]);\n }\n if (output[_met] != null) {\n contents[_Met] = (0, import_smithy_client.expectString)(output[_met]);\n }\n if (output[_stat] != null) {\n contents[_Sta] = (0, import_smithy_client.expectString)(output[_stat]);\n }\n if (output[_pe] != null) {\n contents[_Per] = (0, import_smithy_client.expectString)(output[_pe]);\n }\n return contents;\n}, \"de_Subscription\");\nvar de_SubscriptionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Subscription(entry, context);\n });\n}, \"de_SubscriptionList\");\nvar de_SuccessfulInstanceCreditSpecificationItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n return contents;\n}, \"de_SuccessfulInstanceCreditSpecificationItem\");\nvar de_SuccessfulInstanceCreditSpecificationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SuccessfulInstanceCreditSpecificationItem(entry, context);\n });\n}, \"de_SuccessfulInstanceCreditSpecificationSet\");\nvar de_SuccessfulQueuedPurchaseDeletion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rII] != null) {\n contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]);\n }\n return contents;\n}, \"de_SuccessfulQueuedPurchaseDeletion\");\nvar de_SuccessfulQueuedPurchaseDeletionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SuccessfulQueuedPurchaseDeletion(entry, context);\n });\n}, \"de_SuccessfulQueuedPurchaseDeletionSet\");\nvar de_SupportedAdditionalProcessorFeatureList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_SupportedAdditionalProcessorFeatureList\");\nvar de_SupportedIpAddressTypes = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_SupportedIpAddressTypes\");\nvar de_SupportedRegionDetail = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_re] != null) {\n contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]);\n }\n if (output[_sSer] != null) {\n contents[_SSe] = (0, import_smithy_client.expectString)(output[_sSer]);\n }\n return contents;\n}, \"de_SupportedRegionDetail\");\nvar de_SupportedRegionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_SupportedRegionDetail(entry, context);\n });\n}, \"de_SupportedRegionSet\");\nvar de_Tag = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_k] != null) {\n contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]);\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_Tag\");\nvar de_TagDescription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_k] != null) {\n contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_v] != null) {\n contents[_Va] = (0, import_smithy_client.expectString)(output[_v]);\n }\n return contents;\n}, \"de_TagDescription\");\nvar de_TagDescriptionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TagDescription(entry, context);\n });\n}, \"de_TagDescriptionList\");\nvar de_TagList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Tag(entry, context);\n });\n}, \"de_TagList\");\nvar de_TagSpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output.Tag === \"\") {\n contents[_Ta] = [];\n } else if (output[_Tag] != null && output[_Tag][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tag][_i]), context);\n }\n return contents;\n}, \"de_TagSpecification\");\nvar de_TagSpecificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TagSpecification(entry, context);\n });\n}, \"de_TagSpecificationList\");\nvar de_TargetCapacitySpecification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tTC] != null) {\n contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]);\n }\n if (output[_oDTC] != null) {\n contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]);\n }\n if (output[_sTC] != null) {\n contents[_STC] = (0, import_smithy_client.strictParseInt32)(output[_sTC]);\n }\n if (output[_dTCT] != null) {\n contents[_DTCT] = (0, import_smithy_client.expectString)(output[_dTCT]);\n }\n if (output[_tCUT] != null) {\n contents[_TCUT] = (0, import_smithy_client.expectString)(output[_tCUT]);\n }\n return contents;\n}, \"de_TargetCapacitySpecification\");\nvar de_TargetConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iC] != null) {\n contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]);\n }\n if (output[_oIf] != null) {\n contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]);\n }\n return contents;\n}, \"de_TargetConfiguration\");\nvar de_TargetGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]);\n }\n return contents;\n}, \"de_TargetGroup\");\nvar de_TargetGroups = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TargetGroup(entry, context);\n });\n}, \"de_TargetGroups\");\nvar de_TargetGroupsConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.targetGroups === \"\") {\n contents[_TG] = [];\n } else if (output[_tGa] != null && output[_tGa][_i] != null) {\n contents[_TG] = de_TargetGroups((0, import_smithy_client.getArrayIfSingleItem)(output[_tGa][_i]), context);\n }\n return contents;\n}, \"de_TargetGroupsConfig\");\nvar de_TargetNetwork = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_tNI] != null) {\n contents[_TNI] = (0, import_smithy_client.expectString)(output[_tNI]);\n }\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_AssociationStatus(output[_sta], context);\n }\n if (output.securityGroups === \"\") {\n contents[_SG] = [];\n } else if (output[_sGe] != null && output[_sGe][_i] != null) {\n contents[_SG] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGe][_i]), context);\n }\n return contents;\n}, \"de_TargetNetwork\");\nvar de_TargetNetworkSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TargetNetwork(entry, context);\n });\n}, \"de_TargetNetworkSet\");\nvar de_TargetReservationValue = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rVe] != null) {\n contents[_RVe] = de_ReservationValue(output[_rVe], context);\n }\n if (output[_tCa] != null) {\n contents[_TCar] = de_TargetConfiguration(output[_tCa], context);\n }\n return contents;\n}, \"de_TargetReservationValue\");\nvar de_TargetReservationValueSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TargetReservationValue(entry, context);\n });\n}, \"de_TargetReservationValueSet\");\nvar de_TerminateClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cVEI] != null) {\n contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]);\n }\n if (output[_us] != null) {\n contents[_Us] = (0, import_smithy_client.expectString)(output[_us]);\n }\n if (output.connectionStatuses === \"\") {\n contents[_CSonn] = [];\n } else if (output[_cSonn] != null && output[_cSonn][_i] != null) {\n contents[_CSonn] = de_TerminateConnectionStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cSonn][_i]), context);\n }\n return contents;\n}, \"de_TerminateClientVpnConnectionsResult\");\nvar de_TerminateConnectionStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cIon] != null) {\n contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]);\n }\n if (output[_pSre] != null) {\n contents[_PSre] = de_ClientVpnConnectionStatus(output[_pSre], context);\n }\n if (output[_cSur] != null) {\n contents[_CSur] = de_ClientVpnConnectionStatus(output[_cSur], context);\n }\n return contents;\n}, \"de_TerminateConnectionStatus\");\nvar de_TerminateConnectionStatusSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TerminateConnectionStatus(entry, context);\n });\n}, \"de_TerminateConnectionStatusSet\");\nvar de_TerminateInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_TIer] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_TIer] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_TerminateInstancesResult\");\nvar de_ThreadsPerCoreList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.strictParseInt32)(entry);\n });\n}, \"de_ThreadsPerCoreList\");\nvar de_ThroughResourcesStatement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rSeso] != null) {\n contents[_RSe] = de_ResourceStatement(output[_rSeso], context);\n }\n return contents;\n}, \"de_ThroughResourcesStatement\");\nvar de_ThroughResourcesStatementList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ThroughResourcesStatement(entry, context);\n });\n}, \"de_ThroughResourcesStatementList\");\nvar de_TotalLocalStorageGB = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]);\n }\n return contents;\n}, \"de_TotalLocalStorageGB\");\nvar de_TrafficMirrorFilter = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFI] != null) {\n contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]);\n }\n if (output.ingressFilterRuleSet === \"\") {\n contents[_IFRn] = [];\n } else if (output[_iFRS] != null && output[_iFRS][_i] != null) {\n contents[_IFRn] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_iFRS][_i]), context);\n }\n if (output.egressFilterRuleSet === \"\") {\n contents[_EFR] = [];\n } else if (output[_eFRS] != null && output[_eFRS][_i] != null) {\n contents[_EFR] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_eFRS][_i]), context);\n }\n if (output.networkServiceSet === \"\") {\n contents[_NSe] = [];\n } else if (output[_nSS] != null && output[_nSS][_i] != null) {\n contents[_NSe] = de_TrafficMirrorNetworkServiceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nSS][_i]), context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TrafficMirrorFilter\");\nvar de_TrafficMirrorFilterRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMFRI] != null) {\n contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]);\n }\n if (output[_tMFI] != null) {\n contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]);\n }\n if (output[_tDr] != null) {\n contents[_TD] = (0, import_smithy_client.expectString)(output[_tDr]);\n }\n if (output[_rN] != null) {\n contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]);\n }\n if (output[_rA] != null) {\n contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_pr]);\n }\n if (output[_dPR] != null) {\n contents[_DPR] = de_TrafficMirrorPortRange(output[_dPR], context);\n }\n if (output[_sPR] != null) {\n contents[_SPR] = de_TrafficMirrorPortRange(output[_sPR], context);\n }\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_sCB] != null) {\n contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TrafficMirrorFilterRule\");\nvar de_TrafficMirrorFilterRuleList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficMirrorFilterRule(entry, context);\n });\n}, \"de_TrafficMirrorFilterRuleList\");\nvar de_TrafficMirrorFilterRuleSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficMirrorFilterRule(entry, context);\n });\n}, \"de_TrafficMirrorFilterRuleSet\");\nvar de_TrafficMirrorFilterSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficMirrorFilter(entry, context);\n });\n}, \"de_TrafficMirrorFilterSet\");\nvar de_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_TrafficMirrorNetworkServiceList\");\nvar de_TrafficMirrorPortRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n return contents;\n}, \"de_TrafficMirrorPortRange\");\nvar de_TrafficMirrorSession = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMSI] != null) {\n contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]);\n }\n if (output[_tMTI] != null) {\n contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]);\n }\n if (output[_tMFI] != null) {\n contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pLa] != null) {\n contents[_PL] = (0, import_smithy_client.strictParseInt32)(output[_pLa]);\n }\n if (output[_sNes] != null) {\n contents[_SN] = (0, import_smithy_client.strictParseInt32)(output[_sNes]);\n }\n if (output[_vNI] != null) {\n contents[_VNI] = (0, import_smithy_client.strictParseInt32)(output[_vNI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TrafficMirrorSession\");\nvar de_TrafficMirrorSessionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficMirrorSession(entry, context);\n });\n}, \"de_TrafficMirrorSessionSet\");\nvar de_TrafficMirrorTarget = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tMTI] != null) {\n contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_nLBA] != null) {\n contents[_NLBA] = (0, import_smithy_client.expectString)(output[_nLBA]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_gLBEI] != null) {\n contents[_GLBEI] = (0, import_smithy_client.expectString)(output[_gLBEI]);\n }\n return contents;\n}, \"de_TrafficMirrorTarget\");\nvar de_TrafficMirrorTargetSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficMirrorTarget(entry, context);\n });\n}, \"de_TrafficMirrorTargetSet\");\nvar de_TransitGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_tGAra] != null) {\n contents[_TGAran] = (0, import_smithy_client.expectString)(output[_tGAra]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output[_opt] != null) {\n contents[_Op] = de_TransitGatewayOptions(output[_opt], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGateway\");\nvar de_TransitGatewayAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayAssociation\");\nvar de_TransitGatewayAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_tGOI] != null) {\n contents[_TGOI] = (0, import_smithy_client.expectString)(output[_tGOI]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_ass] != null) {\n contents[_Asso] = de_TransitGatewayAttachmentAssociation(output[_ass], context);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayAttachment\");\nvar de_TransitGatewayAttachmentAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayAttachmentAssociation\");\nvar de_TransitGatewayAttachmentBgpConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAran] != null) {\n contents[_TGArans] = (0, import_smithy_client.strictParseLong)(output[_tGAran]);\n }\n if (output[_pAee] != null) {\n contents[_PAee] = (0, import_smithy_client.strictParseLong)(output[_pAee]);\n }\n if (output[_tGArans] != null) {\n contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]);\n }\n if (output[_pAe] != null) {\n contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]);\n }\n if (output[_bSg] != null) {\n contents[_BS] = (0, import_smithy_client.expectString)(output[_bSg]);\n }\n return contents;\n}, \"de_TransitGatewayAttachmentBgpConfiguration\");\nvar de_TransitGatewayAttachmentBgpConfigurationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayAttachmentBgpConfiguration(entry, context);\n });\n}, \"de_TransitGatewayAttachmentBgpConfigurationList\");\nvar de_TransitGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayAttachment(entry, context);\n });\n}, \"de_TransitGatewayAttachmentList\");\nvar de_TransitGatewayAttachmentPropagation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayAttachmentPropagation\");\nvar de_TransitGatewayAttachmentPropagationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayAttachmentPropagation(entry, context);\n });\n}, \"de_TransitGatewayAttachmentPropagationList\");\nvar de_TransitGatewayConnect = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_tTGAI] != null) {\n contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output[_opt] != null) {\n contents[_Op] = de_TransitGatewayConnectOptions(output[_opt], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayConnect\");\nvar de_TransitGatewayConnectList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayConnect(entry, context);\n });\n}, \"de_TransitGatewayConnectList\");\nvar de_TransitGatewayConnectOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n return contents;\n}, \"de_TransitGatewayConnectOptions\");\nvar de_TransitGatewayConnectPeer = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_tGCPI] != null) {\n contents[_TGCPI] = (0, import_smithy_client.expectString)(output[_tGCPI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output[_cPC] != null) {\n contents[_CPC] = de_TransitGatewayConnectPeerConfiguration(output[_cPC], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayConnectPeer\");\nvar de_TransitGatewayConnectPeerConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGArans] != null) {\n contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]);\n }\n if (output[_pAe] != null) {\n contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]);\n }\n if (output.insideCidrBlocks === \"\") {\n contents[_ICBn] = [];\n } else if (output[_iCBn] != null && output[_iCBn][_i] != null) {\n contents[_ICBn] = de_InsideCidrBlocksStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBn][_i]), context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output.bgpConfigurations === \"\") {\n contents[_BCg] = [];\n } else if (output[_bCg] != null && output[_bCg][_i] != null) {\n contents[_BCg] = de_TransitGatewayAttachmentBgpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_bCg][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayConnectPeerConfiguration\");\nvar de_TransitGatewayConnectPeerList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayConnectPeer(entry, context);\n });\n}, \"de_TransitGatewayConnectPeerList\");\nvar de_TransitGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGateway(entry, context);\n });\n}, \"de_TransitGatewayList\");\nvar de_TransitGatewayMulticastDeregisteredGroupMembers = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output.deregisteredNetworkInterfaceIds === \"\") {\n contents[_DNII] = [];\n } else if (output[_dNII] != null && output[_dNII][_i] != null) {\n contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context);\n }\n if (output[_gIA] != null) {\n contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDeregisteredGroupMembers\");\nvar de_TransitGatewayMulticastDeregisteredGroupSources = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output.deregisteredNetworkInterfaceIds === \"\") {\n contents[_DNII] = [];\n } else if (output[_dNII] != null && output[_dNII][_i] != null) {\n contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context);\n }\n if (output[_gIA] != null) {\n contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDeregisteredGroupSources\");\nvar de_TransitGatewayMulticastDomain = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_tGMDA] != null) {\n contents[_TGMDA] = (0, import_smithy_client.expectString)(output[_tGMDA]);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_opt] != null) {\n contents[_Op] = de_TransitGatewayMulticastDomainOptions(output[_opt], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDomain\");\nvar de_TransitGatewayMulticastDomainAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_su] != null) {\n contents[_Su] = de_SubnetAssociation(output[_su], context);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDomainAssociation\");\nvar de_TransitGatewayMulticastDomainAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayMulticastDomainAssociation(entry, context);\n });\n}, \"de_TransitGatewayMulticastDomainAssociationList\");\nvar de_TransitGatewayMulticastDomainAssociations = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output.subnets === \"\") {\n contents[_Subn] = [];\n } else if (output[_sub] != null && output[_sub][_i] != null) {\n contents[_Subn] = de_SubnetAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sub][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDomainAssociations\");\nvar de_TransitGatewayMulticastDomainList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayMulticastDomain(entry, context);\n });\n}, \"de_TransitGatewayMulticastDomainList\");\nvar de_TransitGatewayMulticastDomainOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iSg] != null) {\n contents[_ISg] = (0, import_smithy_client.expectString)(output[_iSg]);\n }\n if (output[_sSS] != null) {\n contents[_SSS] = (0, import_smithy_client.expectString)(output[_sSS]);\n }\n if (output[_aASA] != null) {\n contents[_AASA] = (0, import_smithy_client.expectString)(output[_aASA]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastDomainOptions\");\nvar de_TransitGatewayMulticastGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_gIA] != null) {\n contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]);\n }\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_sIu] != null) {\n contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rOI] != null) {\n contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]);\n }\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_gM] != null) {\n contents[_GM] = (0, import_smithy_client.parseBoolean)(output[_gM]);\n }\n if (output[_gSr] != null) {\n contents[_GS] = (0, import_smithy_client.parseBoolean)(output[_gSr]);\n }\n if (output[_mTe] != null) {\n contents[_MTe] = (0, import_smithy_client.expectString)(output[_mTe]);\n }\n if (output[_sTo] != null) {\n contents[_STo] = (0, import_smithy_client.expectString)(output[_sTo]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastGroup\");\nvar de_TransitGatewayMulticastGroupList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayMulticastGroup(entry, context);\n });\n}, \"de_TransitGatewayMulticastGroupList\");\nvar de_TransitGatewayMulticastRegisteredGroupMembers = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output.registeredNetworkInterfaceIds === \"\") {\n contents[_RNII] = [];\n } else if (output[_rNII] != null && output[_rNII][_i] != null) {\n contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context);\n }\n if (output[_gIA] != null) {\n contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastRegisteredGroupMembers\");\nvar de_TransitGatewayMulticastRegisteredGroupSources = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGMDI] != null) {\n contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]);\n }\n if (output.registeredNetworkInterfaceIds === \"\") {\n contents[_RNII] = [];\n } else if (output[_rNII] != null && output[_rNII][_i] != null) {\n contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context);\n }\n if (output[_gIA] != null) {\n contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]);\n }\n return contents;\n}, \"de_TransitGatewayMulticastRegisteredGroupSources\");\nvar de_TransitGatewayOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSA] != null) {\n contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]);\n }\n if (output.transitGatewayCidrBlocks === \"\") {\n contents[_TGCB] = [];\n } else if (output[_tGCB] != null && output[_tGCB][_i] != null) {\n contents[_TGCB] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCB][_i]), context);\n }\n if (output[_aASAu] != null) {\n contents[_AASAu] = (0, import_smithy_client.expectString)(output[_aASAu]);\n }\n if (output[_dRTA] != null) {\n contents[_DRTA] = (0, import_smithy_client.expectString)(output[_dRTA]);\n }\n if (output[_aDRTI] != null) {\n contents[_ADRTI] = (0, import_smithy_client.expectString)(output[_aDRTI]);\n }\n if (output[_dRTP] != null) {\n contents[_DRTP] = (0, import_smithy_client.expectString)(output[_dRTP]);\n }\n if (output[_pDRTI] != null) {\n contents[_PDRTI] = (0, import_smithy_client.expectString)(output[_pDRTI]);\n }\n if (output[_vESpn] != null) {\n contents[_VES] = (0, import_smithy_client.expectString)(output[_vESpn]);\n }\n if (output[_dSn] != null) {\n contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]);\n }\n if (output[_sGRSec] != null) {\n contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]);\n }\n if (output[_mSu] != null) {\n contents[_MSu] = (0, import_smithy_client.expectString)(output[_mSu]);\n }\n return contents;\n}, \"de_TransitGatewayOptions\");\nvar de_TransitGatewayPeeringAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_aTGAI] != null) {\n contents[_ATGAI] = (0, import_smithy_client.expectString)(output[_aTGAI]);\n }\n if (output[_rTIe] != null) {\n contents[_RTIe] = de_PeeringTgwInfo(output[_rTIe], context);\n }\n if (output[_aTI] != null) {\n contents[_ATIc] = de_PeeringTgwInfo(output[_aTI], context);\n }\n if (output[_opt] != null) {\n contents[_Op] = de_TransitGatewayPeeringAttachmentOptions(output[_opt], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_PeeringAttachmentStatus(output[_sta], context);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayPeeringAttachment\");\nvar de_TransitGatewayPeeringAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayPeeringAttachment(entry, context);\n });\n}, \"de_TransitGatewayPeeringAttachmentList\");\nvar de_TransitGatewayPeeringAttachmentOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dRy] != null) {\n contents[_DRy] = (0, import_smithy_client.expectString)(output[_dRy]);\n }\n return contents;\n}, \"de_TransitGatewayPeeringAttachmentOptions\");\nvar de_TransitGatewayPolicyRule = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sCB] != null) {\n contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]);\n }\n if (output[_sPR] != null) {\n contents[_SPR] = (0, import_smithy_client.expectString)(output[_sPR]);\n }\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_dPR] != null) {\n contents[_DPR] = (0, import_smithy_client.expectString)(output[_dPR]);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_mDe] != null) {\n contents[_MDe] = de_TransitGatewayPolicyRuleMetaData(output[_mDe], context);\n }\n return contents;\n}, \"de_TransitGatewayPolicyRule\");\nvar de_TransitGatewayPolicyRuleMetaData = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_mDK] != null) {\n contents[_MDK] = (0, import_smithy_client.expectString)(output[_mDK]);\n }\n if (output[_mDV] != null) {\n contents[_MDV] = (0, import_smithy_client.expectString)(output[_mDV]);\n }\n return contents;\n}, \"de_TransitGatewayPolicyRuleMetaData\");\nvar de_TransitGatewayPolicyTable = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPTI] != null) {\n contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayPolicyTable\");\nvar de_TransitGatewayPolicyTableAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGPTI] != null) {\n contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]);\n }\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayPolicyTableAssociation\");\nvar de_TransitGatewayPolicyTableAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayPolicyTableAssociation(entry, context);\n });\n}, \"de_TransitGatewayPolicyTableAssociationList\");\nvar de_TransitGatewayPolicyTableEntry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pRN] != null) {\n contents[_PRNo] = (0, import_smithy_client.expectString)(output[_pRN]);\n }\n if (output[_pRol] != null) {\n contents[_PRol] = de_TransitGatewayPolicyRule(output[_pRol], context);\n }\n if (output[_tRTI] != null) {\n contents[_TRTI] = (0, import_smithy_client.expectString)(output[_tRTI]);\n }\n return contents;\n}, \"de_TransitGatewayPolicyTableEntry\");\nvar de_TransitGatewayPolicyTableEntryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayPolicyTableEntry(entry, context);\n });\n}, \"de_TransitGatewayPolicyTableEntryList\");\nvar de_TransitGatewayPolicyTableList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayPolicyTable(entry, context);\n });\n}, \"de_TransitGatewayPolicyTableList\");\nvar de_TransitGatewayPrefixListAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n return contents;\n}, \"de_TransitGatewayPrefixListAttachment\");\nvar de_TransitGatewayPrefixListReference = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_pLOI] != null) {\n contents[_PLOI] = (0, import_smithy_client.expectString)(output[_pLOI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_bl] != null) {\n contents[_Bl] = (0, import_smithy_client.parseBoolean)(output[_bl]);\n }\n if (output[_tGAr] != null) {\n contents[_TGAra] = de_TransitGatewayPrefixListAttachment(output[_tGAr], context);\n }\n return contents;\n}, \"de_TransitGatewayPrefixListReference\");\nvar de_TransitGatewayPrefixListReferenceSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayPrefixListReference(entry, context);\n });\n}, \"de_TransitGatewayPrefixListReferenceSet\");\nvar de_TransitGatewayPropagation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_tGRTAI] != null) {\n contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]);\n }\n return contents;\n}, \"de_TransitGatewayPropagation\");\nvar de_TransitGatewayRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_tGRTAI] != null) {\n contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]);\n }\n if (output.transitGatewayAttachments === \"\") {\n contents[_TGAr] = [];\n } else if (output[_tGA] != null && output[_tGA][_i] != null) {\n contents[_TGAr] = de_TransitGatewayRouteAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayRoute\");\nvar de_TransitGatewayRouteAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n return contents;\n}, \"de_TransitGatewayRouteAttachment\");\nvar de_TransitGatewayRouteAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRouteAttachment(entry, context);\n });\n}, \"de_TransitGatewayRouteAttachmentList\");\nvar de_TransitGatewayRouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRoute(entry, context);\n });\n}, \"de_TransitGatewayRouteList\");\nvar de_TransitGatewayRouteTable = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_dART] != null) {\n contents[_DART] = (0, import_smithy_client.parseBoolean)(output[_dART]);\n }\n if (output[_dPRT] != null) {\n contents[_DPRT] = (0, import_smithy_client.parseBoolean)(output[_dPRT]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayRouteTable\");\nvar de_TransitGatewayRouteTableAnnouncement = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGRTAI] != null) {\n contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_cNIo] != null) {\n contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]);\n }\n if (output[_pTGI] != null) {\n contents[_PTGI] = (0, import_smithy_client.expectString)(output[_pTGI]);\n }\n if (output[_pCNI] != null) {\n contents[_PCNI] = (0, import_smithy_client.expectString)(output[_pCNI]);\n }\n if (output[_pAI] != null) {\n contents[_PAIe] = (0, import_smithy_client.expectString)(output[_pAI]);\n }\n if (output[_aDn] != null) {\n contents[_ADn] = (0, import_smithy_client.expectString)(output[_aDn]);\n }\n if (output[_tGRTI] != null) {\n contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayRouteTableAnnouncement\");\nvar de_TransitGatewayRouteTableAnnouncementList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRouteTableAnnouncement(entry, context);\n });\n}, \"de_TransitGatewayRouteTableAnnouncementList\");\nvar de_TransitGatewayRouteTableAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_TransitGatewayRouteTableAssociation\");\nvar de_TransitGatewayRouteTableAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRouteTableAssociation(entry, context);\n });\n}, \"de_TransitGatewayRouteTableAssociationList\");\nvar de_TransitGatewayRouteTableList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRouteTable(entry, context);\n });\n}, \"de_TransitGatewayRouteTableList\");\nvar de_TransitGatewayRouteTablePropagation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_tGRTAI] != null) {\n contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]);\n }\n return contents;\n}, \"de_TransitGatewayRouteTablePropagation\");\nvar de_TransitGatewayRouteTablePropagationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayRouteTablePropagation(entry, context);\n });\n}, \"de_TransitGatewayRouteTablePropagationList\");\nvar de_TransitGatewayRouteTableRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dC] != null) {\n contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_rOo] != null) {\n contents[_ROo] = (0, import_smithy_client.expectString)(output[_rOo]);\n }\n if (output[_pLI] != null) {\n contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]);\n }\n if (output[_aIt] != null) {\n contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n if (output[_rTe] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]);\n }\n return contents;\n}, \"de_TransitGatewayRouteTableRoute\");\nvar de_TransitGatewayVpcAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_tGAI] != null) {\n contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_vOIp] != null) {\n contents[_VOIp] = (0, import_smithy_client.expectString)(output[_vOIp]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output.subnetIds === \"\") {\n contents[_SIu] = [];\n } else if (output[_sIub] != null && output[_sIub][_i] != null) {\n contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIub][_i]), context);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre]));\n }\n if (output[_opt] != null) {\n contents[_Op] = de_TransitGatewayVpcAttachmentOptions(output[_opt], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TransitGatewayVpcAttachment\");\nvar de_TransitGatewayVpcAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TransitGatewayVpcAttachment(entry, context);\n });\n}, \"de_TransitGatewayVpcAttachmentList\");\nvar de_TransitGatewayVpcAttachmentOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dSn] != null) {\n contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]);\n }\n if (output[_sGRSec] != null) {\n contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]);\n }\n if (output[_iSpvu] != null) {\n contents[_ISp] = (0, import_smithy_client.expectString)(output[_iSpvu]);\n }\n if (output[_aMSp] != null) {\n contents[_AMS] = (0, import_smithy_client.expectString)(output[_aMSp]);\n }\n return contents;\n}, \"de_TransitGatewayVpcAttachmentOptions\");\nvar de_TrunkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_bII] != null) {\n contents[_BII] = (0, import_smithy_client.expectString)(output[_bII]);\n }\n if (output[_tII] != null) {\n contents[_TII] = (0, import_smithy_client.expectString)(output[_tII]);\n }\n if (output[_iPnte] != null) {\n contents[_IPnte] = (0, import_smithy_client.expectString)(output[_iPnte]);\n }\n if (output[_vIl] != null) {\n contents[_VIl] = (0, import_smithy_client.strictParseInt32)(output[_vIl]);\n }\n if (output[_gK] != null) {\n contents[_GK] = (0, import_smithy_client.strictParseInt32)(output[_gK]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_TrunkInterfaceAssociation\");\nvar de_TrunkInterfaceAssociationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrunkInterfaceAssociation(entry, context);\n });\n}, \"de_TrunkInterfaceAssociationList\");\nvar de_TunnelOption = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oIA] != null) {\n contents[_OIA] = (0, import_smithy_client.expectString)(output[_oIA]);\n }\n if (output[_tICu] != null) {\n contents[_TIC] = (0, import_smithy_client.expectString)(output[_tICu]);\n }\n if (output[_tIIC] != null) {\n contents[_TIIC] = (0, import_smithy_client.expectString)(output[_tIIC]);\n }\n if (output[_pSK] != null) {\n contents[_PSK] = (0, import_smithy_client.expectString)(output[_pSK]);\n }\n if (output[_pLSh] != null) {\n contents[_PLS] = (0, import_smithy_client.strictParseInt32)(output[_pLSh]);\n }\n if (output[_pLSha] != null) {\n contents[_PLSh] = (0, import_smithy_client.strictParseInt32)(output[_pLSha]);\n }\n if (output[_rMTS] != null) {\n contents[_RMTS] = (0, import_smithy_client.strictParseInt32)(output[_rMTS]);\n }\n if (output[_rFP] != null) {\n contents[_RFP] = (0, import_smithy_client.strictParseInt32)(output[_rFP]);\n }\n if (output[_rWS] != null) {\n contents[_RWS] = (0, import_smithy_client.strictParseInt32)(output[_rWS]);\n }\n if (output[_dTS] != null) {\n contents[_DTS] = (0, import_smithy_client.strictParseInt32)(output[_dTS]);\n }\n if (output[_dTA] != null) {\n contents[_DTA] = (0, import_smithy_client.expectString)(output[_dTA]);\n }\n if (output.phase1EncryptionAlgorithmSet === \"\") {\n contents[_PEA] = [];\n } else if (output[_pEAS] != null && output[_pEAS][_i] != null) {\n contents[_PEA] = de_Phase1EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEAS][_i]), context);\n }\n if (output.phase2EncryptionAlgorithmSet === \"\") {\n contents[_PEAh] = [];\n } else if (output[_pEASh] != null && output[_pEASh][_i] != null) {\n contents[_PEAh] = de_Phase2EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEASh][_i]), context);\n }\n if (output.phase1IntegrityAlgorithmSet === \"\") {\n contents[_PIAh] = [];\n } else if (output[_pIASh] != null && output[_pIASh][_i] != null) {\n contents[_PIAh] = de_Phase1IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASh][_i]), context);\n }\n if (output.phase2IntegrityAlgorithmSet === \"\") {\n contents[_PIAha] = [];\n } else if (output[_pIASha] != null && output[_pIASha][_i] != null) {\n contents[_PIAha] = de_Phase2IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASha][_i]), context);\n }\n if (output.phase1DHGroupNumberSet === \"\") {\n contents[_PDHGN] = [];\n } else if (output[_pDHGNS] != null && output[_pDHGNS][_i] != null) {\n contents[_PDHGN] = de_Phase1DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNS][_i]), context);\n }\n if (output.phase2DHGroupNumberSet === \"\") {\n contents[_PDHGNh] = [];\n } else if (output[_pDHGNSh] != null && output[_pDHGNSh][_i] != null) {\n contents[_PDHGNh] = de_Phase2DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNSh][_i]), context);\n }\n if (output.ikeVersionSet === \"\") {\n contents[_IVk] = [];\n } else if (output[_iVS] != null && output[_iVS][_i] != null) {\n contents[_IVk] = de_IKEVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iVS][_i]), context);\n }\n if (output[_sAt] != null) {\n contents[_SA] = (0, import_smithy_client.expectString)(output[_sAt]);\n }\n if (output[_lO] != null) {\n contents[_LO] = de_VpnTunnelLogOptions(output[_lO], context);\n }\n if (output[_eTLC] != null) {\n contents[_ETLC] = (0, import_smithy_client.parseBoolean)(output[_eTLC]);\n }\n return contents;\n}, \"de_TunnelOption\");\nvar de_TunnelOptionsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TunnelOption(entry, context);\n });\n}, \"de_TunnelOptionsList\");\nvar de_UnassignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output.unassignedIpv6Addresses === \"\") {\n contents[_UIAn] = [];\n } else if (output[_uIA] != null && output[_uIA][_i] != null) {\n contents[_UIAn] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIA][_i]), context);\n }\n if (output.unassignedIpv6PrefixSet === \"\") {\n contents[_UIPn] = [];\n } else if (output[_uIPSn] != null && output[_uIPSn][_i] != null) {\n contents[_UIPn] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPSn][_i]), context);\n }\n return contents;\n}, \"de_UnassignIpv6AddressesResult\");\nvar de_UnassignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nGI] != null) {\n contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]);\n }\n if (output.natGatewayAddressSet === \"\") {\n contents[_NGA] = [];\n } else if (output[_nGAS] != null && output[_nGAS][_i] != null) {\n contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context);\n }\n return contents;\n}, \"de_UnassignPrivateNatGatewayAddressResult\");\nvar de_UnlockSnapshotResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n return contents;\n}, \"de_UnlockSnapshotResult\");\nvar de_UnmonitorInstancesResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.instancesSet === \"\") {\n contents[_IMn] = [];\n } else if (output[_iSn] != null && output[_iSn][_i] != null) {\n contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context);\n }\n return contents;\n}, \"de_UnmonitorInstancesResult\");\nvar de_UnsuccessfulInstanceCreditSpecificationItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_er] != null) {\n contents[_Er] = de_UnsuccessfulInstanceCreditSpecificationItemError(output[_er], context);\n }\n return contents;\n}, \"de_UnsuccessfulInstanceCreditSpecificationItem\");\nvar de_UnsuccessfulInstanceCreditSpecificationItemError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_UnsuccessfulInstanceCreditSpecificationItemError\");\nvar de_UnsuccessfulInstanceCreditSpecificationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_UnsuccessfulInstanceCreditSpecificationItem(entry, context);\n });\n}, \"de_UnsuccessfulInstanceCreditSpecificationSet\");\nvar de_UnsuccessfulItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_er] != null) {\n contents[_Er] = de_UnsuccessfulItemError(output[_er], context);\n }\n if (output[_rIes] != null) {\n contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]);\n }\n return contents;\n}, \"de_UnsuccessfulItem\");\nvar de_UnsuccessfulItemError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_UnsuccessfulItemError\");\nvar de_UnsuccessfulItemList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_UnsuccessfulItem(entry, context);\n });\n}, \"de_UnsuccessfulItemList\");\nvar de_UnsuccessfulItemSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_UnsuccessfulItem(entry, context);\n });\n}, \"de_UnsuccessfulItemSet\");\nvar de_UpdateSecurityGroupRuleDescriptionsEgressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_UpdateSecurityGroupRuleDescriptionsEgressResult\");\nvar de_UpdateSecurityGroupRuleDescriptionsIngressResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_r] != null) {\n contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);\n }\n return contents;\n}, \"de_UpdateSecurityGroupRuleDescriptionsIngressResult\");\nvar de_UsageClassTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_UsageClassTypeList\");\nvar de_UserBucketDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sB] != null) {\n contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]);\n }\n if (output[_sK] != null) {\n contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]);\n }\n return contents;\n}, \"de_UserBucketDetails\");\nvar de_UserIdGroupPair = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_uI] != null) {\n contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]);\n }\n if (output[_gN] != null) {\n contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]);\n }\n if (output[_gIr] != null) {\n contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n if (output[_pSee] != null) {\n contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]);\n }\n return contents;\n}, \"de_UserIdGroupPair\");\nvar de_UserIdGroupPairList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_UserIdGroupPair(entry, context);\n });\n}, \"de_UserIdGroupPairList\");\nvar de_UserIdGroupPairSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_UserIdGroupPair(entry, context);\n });\n}, \"de_UserIdGroupPairSet\");\nvar de_ValidationError = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_ValidationError\");\nvar de_ValidationWarning = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.errorSet === \"\") {\n contents[_Err] = [];\n } else if (output[_eSr] != null && output[_eSr][_i] != null) {\n contents[_Err] = de_ErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context);\n }\n return contents;\n}, \"de_ValidationWarning\");\nvar de_ValueStringList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ValueStringList\");\nvar de_VCpuCountRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]);\n }\n if (output[_ma] != null) {\n contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]);\n }\n return contents;\n}, \"de_VCpuCountRange\");\nvar de_VCpuInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dVC] != null) {\n contents[_DVCef] = (0, import_smithy_client.strictParseInt32)(output[_dVC]);\n }\n if (output[_dCe] != null) {\n contents[_DCef] = (0, import_smithy_client.strictParseInt32)(output[_dCe]);\n }\n if (output[_dTPC] != null) {\n contents[_DTPC] = (0, import_smithy_client.strictParseInt32)(output[_dTPC]);\n }\n if (output.validCores === \"\") {\n contents[_VCa] = [];\n } else if (output[_vCa] != null && output[_vCa][_i] != null) {\n contents[_VCa] = de_CoreCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCa][_i]), context);\n }\n if (output.validThreadsPerCore === \"\") {\n contents[_VTPC] = [];\n } else if (output[_vTPC] != null && output[_vTPC][_i] != null) {\n contents[_VTPC] = de_ThreadsPerCoreList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTPC][_i]), context);\n }\n return contents;\n}, \"de_VCpuInfo\");\nvar de_VerifiedAccessEndpoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAII] != null) {\n contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]);\n }\n if (output[_vAGI] != null) {\n contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]);\n }\n if (output[_vAEI] != null) {\n contents[_VAEI] = (0, import_smithy_client.expectString)(output[_vAEI]);\n }\n if (output[_aDp] != null) {\n contents[_ADp] = (0, import_smithy_client.expectString)(output[_aDp]);\n }\n if (output[_eTnd] != null) {\n contents[_ET] = (0, import_smithy_client.expectString)(output[_eTnd]);\n }\n if (output[_aTtta] != null) {\n contents[_ATt] = (0, import_smithy_client.expectString)(output[_aTtta]);\n }\n if (output[_dCA] != null) {\n contents[_DCA] = (0, import_smithy_client.expectString)(output[_dCA]);\n }\n if (output[_eDnd] != null) {\n contents[_EDnd] = (0, import_smithy_client.expectString)(output[_eDnd]);\n }\n if (output[_dVD] != null) {\n contents[_DVD] = (0, import_smithy_client.expectString)(output[_dVD]);\n }\n if (output.securityGroupIdSet === \"\") {\n contents[_SGI] = [];\n } else if (output[_sGIS] != null && output[_sGIS][_i] != null) {\n contents[_SGI] = de_SecurityGroupIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context);\n }\n if (output[_lBO] != null) {\n contents[_LBO] = de_VerifiedAccessEndpointLoadBalancerOptions(output[_lBO], context);\n }\n if (output[_nIO] != null) {\n contents[_NIO] = de_VerifiedAccessEndpointEniOptions(output[_nIO], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_VerifiedAccessEndpointStatus(output[_sta], context);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]);\n }\n if (output[_lUTa] != null) {\n contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]);\n }\n if (output[_dT] != null) {\n contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sSs] != null) {\n contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context);\n }\n if (output[_rOd] != null) {\n contents[_RO] = de_VerifiedAccessEndpointRdsOptions(output[_rOd], context);\n }\n if (output[_cOi] != null) {\n contents[_CO] = de_VerifiedAccessEndpointCidrOptions(output[_cOi], context);\n }\n return contents;\n}, \"de_VerifiedAccessEndpoint\");\nvar de_VerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n if (output.portRangeSet === \"\") {\n contents[_PRo] = [];\n } else if (output[_pRS] != null && output[_pRS][_i] != null) {\n contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output.subnetIdSet === \"\") {\n contents[_SIu] = [];\n } else if (output[_sISu] != null && output[_sISu][_i] != null) {\n contents[_SIu] = de_VerifiedAccessEndpointSubnetIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointCidrOptions\");\nvar de_VerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_nII] != null) {\n contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]);\n }\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_po] != null) {\n contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]);\n }\n if (output.portRangeSet === \"\") {\n contents[_PRo] = [];\n } else if (output[_pRS] != null && output[_pRS][_i] != null) {\n contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointEniOptions\");\nvar de_VerifiedAccessEndpointList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessEndpoint(entry, context);\n });\n}, \"de_VerifiedAccessEndpointList\");\nvar de_VerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_po] != null) {\n contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]);\n }\n if (output[_lBA] != null) {\n contents[_LBAo] = (0, import_smithy_client.expectString)(output[_lBA]);\n }\n if (output.subnetIdSet === \"\") {\n contents[_SIu] = [];\n } else if (output[_sISu] != null && output[_sISu][_i] != null) {\n contents[_SIu] = de_VerifiedAccessEndpointSubnetIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context);\n }\n if (output.portRangeSet === \"\") {\n contents[_PRo] = [];\n } else if (output[_pRS] != null && output[_pRS][_i] != null) {\n contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointLoadBalancerOptions\");\nvar de_VerifiedAccessEndpointPortRange = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_fP] != null) {\n contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]);\n }\n if (output[_tPo] != null) {\n contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointPortRange\");\nvar de_VerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessEndpointPortRange(entry, context);\n });\n}, \"de_VerifiedAccessEndpointPortRangeList\");\nvar de_VerifiedAccessEndpointRdsOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_pr] != null) {\n contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);\n }\n if (output[_po] != null) {\n contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]);\n }\n if (output[_rDIA] != null) {\n contents[_RDIA] = (0, import_smithy_client.expectString)(output[_rDIA]);\n }\n if (output[_rDCA] != null) {\n contents[_RDCA] = (0, import_smithy_client.expectString)(output[_rDCA]);\n }\n if (output[_rDPA] != null) {\n contents[_RDPA] = (0, import_smithy_client.expectString)(output[_rDPA]);\n }\n if (output[_rEd] != null) {\n contents[_RE] = (0, import_smithy_client.expectString)(output[_rEd]);\n }\n if (output.subnetIdSet === \"\") {\n contents[_SIu] = [];\n } else if (output[_sISu] != null && output[_sISu][_i] != null) {\n contents[_SIu] = de_VerifiedAccessEndpointSubnetIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointRdsOptions\");\nvar de_VerifiedAccessEndpointStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointStatus\");\nvar de_VerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_VerifiedAccessEndpointSubnetIdList\");\nvar de_VerifiedAccessEndpointTarget = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAEI] != null) {\n contents[_VAEI] = (0, import_smithy_client.expectString)(output[_vAEI]);\n }\n if (output[_vAETIA] != null) {\n contents[_VAETIA] = (0, import_smithy_client.expectString)(output[_vAETIA]);\n }\n if (output[_vAETD] != null) {\n contents[_VAETD] = (0, import_smithy_client.expectString)(output[_vAETD]);\n }\n return contents;\n}, \"de_VerifiedAccessEndpointTarget\");\nvar de_VerifiedAccessEndpointTargetList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessEndpointTarget(entry, context);\n });\n}, \"de_VerifiedAccessEndpointTargetList\");\nvar de_VerifiedAccessGroup = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAGI] != null) {\n contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]);\n }\n if (output[_vAII] != null) {\n contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_ow] != null) {\n contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]);\n }\n if (output[_vAGA] != null) {\n contents[_VAGA] = (0, import_smithy_client.expectString)(output[_vAGA]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]);\n }\n if (output[_lUTa] != null) {\n contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]);\n }\n if (output[_dT] != null) {\n contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sSs] != null) {\n contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context);\n }\n return contents;\n}, \"de_VerifiedAccessGroup\");\nvar de_VerifiedAccessGroupList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessGroup(entry, context);\n });\n}, \"de_VerifiedAccessGroupList\");\nvar de_VerifiedAccessInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAII] != null) {\n contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output.verifiedAccessTrustProviderSet === \"\") {\n contents[_VATPe] = [];\n } else if (output[_vATPS] != null && output[_vATPS][_i] != null) {\n contents[_VATPe] = de_VerifiedAccessTrustProviderCondensedList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]);\n }\n if (output[_lUTa] != null) {\n contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_fE] != null) {\n contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_fE]);\n }\n if (output[_cECSD] != null) {\n contents[_CECSD] = de_VerifiedAccessInstanceCustomSubDomain(output[_cECSD], context);\n }\n return contents;\n}, \"de_VerifiedAccessInstance\");\nvar de_VerifiedAccessInstanceCustomSubDomain = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sDu] != null) {\n contents[_SDu] = (0, import_smithy_client.expectString)(output[_sDu]);\n }\n if (output.nameserverSet === \"\") {\n contents[_Na] = [];\n } else if (output[_nSa] != null && output[_nSa][_i] != null) {\n contents[_Na] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nSa][_i]), context);\n }\n return contents;\n}, \"de_VerifiedAccessInstanceCustomSubDomain\");\nvar de_VerifiedAccessInstanceList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessInstance(entry, context);\n });\n}, \"de_VerifiedAccessInstanceList\");\nvar de_VerifiedAccessInstanceLoggingConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vAII] != null) {\n contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]);\n }\n if (output[_aLc] != null) {\n contents[_AL] = de_VerifiedAccessLogs(output[_aLc], context);\n }\n return contents;\n}, \"de_VerifiedAccessInstanceLoggingConfiguration\");\nvar de_VerifiedAccessInstanceLoggingConfigurationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessInstanceLoggingConfiguration(entry, context);\n });\n}, \"de_VerifiedAccessInstanceLoggingConfigurationList\");\nvar de_VerifiedAccessInstanceOpenVpnClientConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_confi] != null) {\n contents[_Confi] = (0, import_smithy_client.expectString)(output[_confi]);\n }\n if (output.routeSet === \"\") {\n contents[_Rout] = [];\n } else if (output[_rSou] != null && output[_rSou][_i] != null) {\n contents[_Rout] = de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList(\n (0, import_smithy_client.getArrayIfSingleItem)(output[_rSou][_i]),\n context\n );\n }\n return contents;\n}, \"de_VerifiedAccessInstanceOpenVpnClientConfiguration\");\nvar de_VerifiedAccessInstanceOpenVpnClientConfigurationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessInstanceOpenVpnClientConfiguration(entry, context);\n });\n}, \"de_VerifiedAccessInstanceOpenVpnClientConfigurationList\");\nvar de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ci] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_ci]);\n }\n return contents;\n}, \"de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute\");\nvar de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute(entry, context);\n });\n}, \"de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList\");\nvar de_VerifiedAccessInstanceUserTrustProviderClientConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_scop] != null) {\n contents[_Scop] = (0, import_smithy_client.expectString)(output[_scop]);\n }\n if (output[_is] != null) {\n contents[_I] = (0, import_smithy_client.expectString)(output[_is]);\n }\n if (output[_aE] != null) {\n contents[_AE] = (0, import_smithy_client.expectString)(output[_aE]);\n }\n if (output[_pSKE] != null) {\n contents[_PSKE] = (0, import_smithy_client.expectString)(output[_pSKE]);\n }\n if (output[_tEo] != null) {\n contents[_TEo] = (0, import_smithy_client.expectString)(output[_tEo]);\n }\n if (output[_uIE] != null) {\n contents[_UIE] = (0, import_smithy_client.expectString)(output[_uIE]);\n }\n if (output[_cIli] != null) {\n contents[_CIl] = (0, import_smithy_client.expectString)(output[_cIli]);\n }\n if (output[_cSl] != null) {\n contents[_CSl] = (0, import_smithy_client.expectString)(output[_cSl]);\n }\n if (output[_pEk] != null) {\n contents[_PEk] = (0, import_smithy_client.parseBoolean)(output[_pEk]);\n }\n return contents;\n}, \"de_VerifiedAccessInstanceUserTrustProviderClientConfiguration\");\nvar de_VerifiedAccessLogCloudWatchLogsDestination = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n if (output[_dSel] != null) {\n contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context);\n }\n if (output[_lGo] != null) {\n contents[_LGo] = (0, import_smithy_client.expectString)(output[_lGo]);\n }\n return contents;\n}, \"de_VerifiedAccessLogCloudWatchLogsDestination\");\nvar de_VerifiedAccessLogDeliveryStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_VerifiedAccessLogDeliveryStatus\");\nvar de_VerifiedAccessLogKinesisDataFirehoseDestination = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n if (output[_dSel] != null) {\n contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context);\n }\n if (output[_dSeli] != null) {\n contents[_DSel] = (0, import_smithy_client.expectString)(output[_dSeli]);\n }\n return contents;\n}, \"de_VerifiedAccessLogKinesisDataFirehoseDestination\");\nvar de_VerifiedAccessLogs = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_s_] != null) {\n contents[_S_] = de_VerifiedAccessLogS3Destination(output[_s_], context);\n }\n if (output[_cWL] != null) {\n contents[_CWL] = de_VerifiedAccessLogCloudWatchLogsDestination(output[_cWL], context);\n }\n if (output[_kDF] != null) {\n contents[_KDF] = de_VerifiedAccessLogKinesisDataFirehoseDestination(output[_kDF], context);\n }\n if (output[_lV] != null) {\n contents[_LV] = (0, import_smithy_client.expectString)(output[_lV]);\n }\n if (output[_iTCn] != null) {\n contents[_ITCn] = (0, import_smithy_client.parseBoolean)(output[_iTCn]);\n }\n return contents;\n}, \"de_VerifiedAccessLogs\");\nvar de_VerifiedAccessLogS3Destination = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_en] != null) {\n contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]);\n }\n if (output[_dSel] != null) {\n contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context);\n }\n if (output[_bN] != null) {\n contents[_BN] = (0, import_smithy_client.expectString)(output[_bN]);\n }\n if (output[_pre] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]);\n }\n if (output[_bOu] != null) {\n contents[_BOu] = (0, import_smithy_client.expectString)(output[_bOu]);\n }\n return contents;\n}, \"de_VerifiedAccessLogS3Destination\");\nvar de_VerifiedAccessSseSpecificationResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cMKE] != null) {\n contents[_CMKE] = (0, import_smithy_client.parseBoolean)(output[_cMKE]);\n }\n if (output[_kKA] != null) {\n contents[_KKA] = (0, import_smithy_client.expectString)(output[_kKA]);\n }\n return contents;\n}, \"de_VerifiedAccessSseSpecificationResponse\");\nvar de_VerifiedAccessTrustProvider = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATPI] != null) {\n contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_tPT] != null) {\n contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]);\n }\n if (output[_uTPT] != null) {\n contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]);\n }\n if (output[_dTPT] != null) {\n contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]);\n }\n if (output[_oO] != null) {\n contents[_OO] = de_OidcOptions(output[_oO], context);\n }\n if (output[_dOev] != null) {\n contents[_DOe] = de_DeviceOptions(output[_dOev], context);\n }\n if (output[_pRNo] != null) {\n contents[_PRN] = (0, import_smithy_client.expectString)(output[_pRNo]);\n }\n if (output[_cTre] != null) {\n contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]);\n }\n if (output[_lUTa] != null) {\n contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_sSs] != null) {\n contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context);\n }\n if (output[_nAOO] != null) {\n contents[_NAOO] = de_NativeApplicationOidcOptions(output[_nAOO], context);\n }\n return contents;\n}, \"de_VerifiedAccessTrustProvider\");\nvar de_VerifiedAccessTrustProviderCondensed = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vATPI] != null) {\n contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_tPT] != null) {\n contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]);\n }\n if (output[_uTPT] != null) {\n contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]);\n }\n if (output[_dTPT] != null) {\n contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]);\n }\n return contents;\n}, \"de_VerifiedAccessTrustProviderCondensed\");\nvar de_VerifiedAccessTrustProviderCondensedList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessTrustProviderCondensed(entry, context);\n });\n}, \"de_VerifiedAccessTrustProviderCondensedList\");\nvar de_VerifiedAccessTrustProviderList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VerifiedAccessTrustProvider(entry, context);\n });\n}, \"de_VerifiedAccessTrustProviderList\");\nvar de_VgwTelemetry = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aRC] != null) {\n contents[_ARC] = (0, import_smithy_client.strictParseInt32)(output[_aRC]);\n }\n if (output[_lSC] != null) {\n contents[_LSC] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lSC]));\n }\n if (output[_oIA] != null) {\n contents[_OIA] = (0, import_smithy_client.expectString)(output[_oIA]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_cAe] != null) {\n contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]);\n }\n return contents;\n}, \"de_VgwTelemetry\");\nvar de_VgwTelemetryList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VgwTelemetry(entry, context);\n });\n}, \"de_VgwTelemetryList\");\nvar de_VirtualizationTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_VirtualizationTypeList\");\nvar de_Volume = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output[_io] != null) {\n contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vT] != null) {\n contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]);\n }\n if (output[_fRa] != null) {\n contents[_FRa] = (0, import_smithy_client.parseBoolean)(output[_fRa]);\n }\n if (output[_mAE] != null) {\n contents[_MAE] = (0, import_smithy_client.parseBoolean)(output[_mAE]);\n }\n if (output[_th] != null) {\n contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]);\n }\n if (output[_sTs] != null) {\n contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);\n }\n if (output[_op] != null) {\n contents[_O] = de_OperatorResponse(output[_op], context);\n }\n if (output[_vIR] != null) {\n contents[_VIR] = (0, import_smithy_client.strictParseInt32)(output[_vIR]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_si] != null) {\n contents[_Siz] = (0, import_smithy_client.strictParseInt32)(output[_si]);\n }\n if (output[_sIn] != null) {\n contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_sta] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_cTr] != null) {\n contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr]));\n }\n if (output.attachmentSet === \"\") {\n contents[_Atta] = [];\n } else if (output[_aSt] != null && output[_aSt][_i] != null) {\n contents[_Atta] = de_VolumeAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context);\n }\n if (output[_enc] != null) {\n contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);\n }\n if (output[_kKI] != null) {\n contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]);\n }\n return contents;\n}, \"de_Volume\");\nvar de_VolumeAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dOT] != null) {\n contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]);\n }\n if (output[_aRs] != null) {\n contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]);\n }\n if (output[_iOS] != null) {\n contents[_IOS] = (0, import_smithy_client.expectString)(output[_iOS]);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n if (output[_dev] != null) {\n contents[_Dev] = (0, import_smithy_client.expectString)(output[_dev]);\n }\n if (output[_sta] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n if (output[_aTt] != null) {\n contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt]));\n }\n return contents;\n}, \"de_VolumeAttachment\");\nvar de_VolumeAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeAttachment(entry, context);\n });\n}, \"de_VolumeAttachmentList\");\nvar de_VolumeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Volume(entry, context);\n });\n}, \"de_VolumeList\");\nvar de_VolumeModification = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_mSod] != null) {\n contents[_MSod] = (0, import_smithy_client.expectString)(output[_mSod]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n if (output[_tSar] != null) {\n contents[_TSar] = (0, import_smithy_client.strictParseInt32)(output[_tSar]);\n }\n if (output[_tIa] != null) {\n contents[_TIar] = (0, import_smithy_client.strictParseInt32)(output[_tIa]);\n }\n if (output[_tVT] != null) {\n contents[_TVT] = (0, import_smithy_client.expectString)(output[_tVT]);\n }\n if (output[_tTa] != null) {\n contents[_TTa] = (0, import_smithy_client.strictParseInt32)(output[_tTa]);\n }\n if (output[_tMAE] != null) {\n contents[_TMAE] = (0, import_smithy_client.parseBoolean)(output[_tMAE]);\n }\n if (output[_oSr] != null) {\n contents[_OSr] = (0, import_smithy_client.strictParseInt32)(output[_oSr]);\n }\n if (output[_oIr] != null) {\n contents[_OIr] = (0, import_smithy_client.strictParseInt32)(output[_oIr]);\n }\n if (output[_oVT] != null) {\n contents[_OVT] = (0, import_smithy_client.expectString)(output[_oVT]);\n }\n if (output[_oTr] != null) {\n contents[_OTr] = (0, import_smithy_client.strictParseInt32)(output[_oTr]);\n }\n if (output[_oMAE] != null) {\n contents[_OMAE] = (0, import_smithy_client.parseBoolean)(output[_oMAE]);\n }\n if (output[_pro] != null) {\n contents[_Prog] = (0, import_smithy_client.strictParseLong)(output[_pro]);\n }\n if (output[_sT] != null) {\n contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT]));\n }\n if (output[_eTn] != null) {\n contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn]));\n }\n return contents;\n}, \"de_VolumeModification\");\nvar de_VolumeModificationList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeModification(entry, context);\n });\n}, \"de_VolumeModificationList\");\nvar de_VolumeStatusAction = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_eIve] != null) {\n contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]);\n }\n if (output[_eTv] != null) {\n contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]);\n }\n return contents;\n}, \"de_VolumeStatusAction\");\nvar de_VolumeStatusActionsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeStatusAction(entry, context);\n });\n}, \"de_VolumeStatusActionsList\");\nvar de_VolumeStatusAttachmentStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iPo] != null) {\n contents[_IPo] = (0, import_smithy_client.expectString)(output[_iPo]);\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n return contents;\n}, \"de_VolumeStatusAttachmentStatus\");\nvar de_VolumeStatusAttachmentStatusList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeStatusAttachmentStatus(entry, context);\n });\n}, \"de_VolumeStatusAttachmentStatusList\");\nvar de_VolumeStatusDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_n] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_n]);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_VolumeStatusDetails\");\nvar de_VolumeStatusDetailsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeStatusDetails(entry, context);\n });\n}, \"de_VolumeStatusDetailsList\");\nvar de_VolumeStatusEvent = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_de] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_de]);\n }\n if (output[_eIve] != null) {\n contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]);\n }\n if (output[_eTv] != null) {\n contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]);\n }\n if (output[_nAo] != null) {\n contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo]));\n }\n if (output[_nB] != null) {\n contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB]));\n }\n if (output[_iI] != null) {\n contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);\n }\n return contents;\n}, \"de_VolumeStatusEvent\");\nvar de_VolumeStatusEventsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeStatusEvent(entry, context);\n });\n}, \"de_VolumeStatusEventsList\");\nvar de_VolumeStatusInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.details === \"\") {\n contents[_Det] = [];\n } else if (output[_det] != null && output[_det][_i] != null) {\n contents[_Det] = de_VolumeStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);\n }\n return contents;\n}, \"de_VolumeStatusInfo\");\nvar de_VolumeStatusItem = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output.actionsSet === \"\") {\n contents[_Acti] = [];\n } else if (output[_aSct] != null && output[_aSct][_i] != null) {\n contents[_Acti] = de_VolumeStatusActionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSct][_i]), context);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output[_oA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);\n }\n if (output.eventsSet === \"\") {\n contents[_Ev] = [];\n } else if (output[_eSv] != null && output[_eSv][_i] != null) {\n contents[_Ev] = de_VolumeStatusEventsList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context);\n }\n if (output[_vIo] != null) {\n contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]);\n }\n if (output[_vSol] != null) {\n contents[_VSol] = de_VolumeStatusInfo(output[_vSol], context);\n }\n if (output.attachmentStatuses === \"\") {\n contents[_AStt] = [];\n } else if (output[_aStt] != null && output[_aStt][_i] != null) {\n contents[_AStt] = de_VolumeStatusAttachmentStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_aStt][_i]), context);\n }\n if (output[_aZI] != null) {\n contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);\n }\n return contents;\n}, \"de_VolumeStatusItem\");\nvar de_VolumeStatusList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VolumeStatusItem(entry, context);\n });\n}, \"de_VolumeStatusList\");\nvar de_Vpc = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_iTns] != null) {\n contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]);\n }\n if (output.ipv6CidrBlockAssociationSet === \"\") {\n contents[_ICBAS] = [];\n } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) {\n contents[_ICBAS] = de_VpcIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context);\n }\n if (output.cidrBlockAssociationSet === \"\") {\n contents[_CBAS] = [];\n } else if (output[_cBAS] != null && output[_cBAS][_i] != null) {\n contents[_CBAS] = de_VpcCidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBAS][_i]), context);\n }\n if (output[_iDs] != null) {\n contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]);\n }\n if (output[_eCn] != null) {\n contents[_ECn] = de_VpcEncryptionControl(output[_eCn], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_bPAS] != null) {\n contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n if (output[_dOI] != null) {\n contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]);\n }\n return contents;\n}, \"de_Vpc\");\nvar de_VpcAttachment = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_VpcAttachment\");\nvar de_VpcAttachmentList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcAttachment(entry, context);\n });\n}, \"de_VpcAttachmentList\");\nvar de_VpcBlockPublicAccessExclusion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eIx] != null) {\n contents[_EIxc] = (0, import_smithy_client.expectString)(output[_eIx]);\n }\n if (output[_iGEM] != null) {\n contents[_IGEM] = (0, import_smithy_client.expectString)(output[_iGEM]);\n }\n if (output[_rAe] != null) {\n contents[_RAes] = (0, import_smithy_client.expectString)(output[_rAe]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_rea] != null) {\n contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]);\n }\n if (output[_cTrea] != null) {\n contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea]));\n }\n if (output[_lUTas] != null) {\n contents[_LUTas] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUTas]));\n }\n if (output[_dTele] != null) {\n contents[_DTelet] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTele]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_VpcBlockPublicAccessExclusion\");\nvar de_VpcBlockPublicAccessExclusionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcBlockPublicAccessExclusion(entry, context);\n });\n}, \"de_VpcBlockPublicAccessExclusionList\");\nvar de_VpcBlockPublicAccessOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aAI] != null) {\n contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]);\n }\n if (output[_aRw] != null) {\n contents[_ARw] = (0, import_smithy_client.expectString)(output[_aRw]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_iGBM] != null) {\n contents[_IGBM] = (0, import_smithy_client.expectString)(output[_iGBM]);\n }\n if (output[_rea] != null) {\n contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]);\n }\n if (output[_lUTas] != null) {\n contents[_LUTas] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUTas]));\n }\n if (output[_mB] != null) {\n contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]);\n }\n if (output[_eAx] != null) {\n contents[_EAx] = (0, import_smithy_client.expectString)(output[_eAx]);\n }\n return contents;\n}, \"de_VpcBlockPublicAccessOptions\");\nvar de_VpcCidrBlockAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n if (output[_cBS] != null) {\n contents[_CBS] = de_VpcCidrBlockState(output[_cBS], context);\n }\n return contents;\n}, \"de_VpcCidrBlockAssociation\");\nvar de_VpcCidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcCidrBlockAssociation(entry, context);\n });\n}, \"de_VpcCidrBlockAssociationSet\");\nvar de_VpcCidrBlockState = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMt] != null) {\n contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]);\n }\n return contents;\n}, \"de_VpcCidrBlockState\");\nvar de_VpcClassicLink = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cLE] != null) {\n contents[_CLE] = (0, import_smithy_client.parseBoolean)(output[_cLE]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n return contents;\n}, \"de_VpcClassicLink\");\nvar de_VpcClassicLinkList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcClassicLink(entry, context);\n });\n}, \"de_VpcClassicLinkList\");\nvar de_VpcEncryptionControl = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_vECI] != null) {\n contents[_VECI] = (0, import_smithy_client.expectString)(output[_vECI]);\n }\n if (output[_mod] != null) {\n contents[_Mo] = (0, import_smithy_client.expectString)(output[_mod]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n if (output[_rEes] != null) {\n contents[_REeso] = de_VpcEncryptionControlExclusions(output[_rEes], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_VpcEncryptionControl\");\nvar de_VpcEncryptionControlExclusion = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_sMta] != null) {\n contents[_SMta] = (0, import_smithy_client.expectString)(output[_sMta]);\n }\n return contents;\n}, \"de_VpcEncryptionControlExclusion\");\nvar de_VpcEncryptionControlExclusions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_iG] != null) {\n contents[_IGn] = de_VpcEncryptionControlExclusion(output[_iG], context);\n }\n if (output[_eOIG] != null) {\n contents[_EOIG] = de_VpcEncryptionControlExclusion(output[_eOIG], context);\n }\n if (output[_nG] != null) {\n contents[_NG] = de_VpcEncryptionControlExclusion(output[_nG], context);\n }\n if (output[_vPG] != null) {\n contents[_VPG] = de_VpcEncryptionControlExclusion(output[_vPG], context);\n }\n if (output[_vPpc] != null) {\n contents[_VPpc] = de_VpcEncryptionControlExclusion(output[_vPpc], context);\n }\n return contents;\n}, \"de_VpcEncryptionControlExclusions\");\nvar de_VpcEndpoint = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vEI] != null) {\n contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]);\n }\n if (output[_vET] != null) {\n contents[_VET] = (0, import_smithy_client.expectString)(output[_vET]);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_sN] != null) {\n contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_pDo] != null) {\n contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]);\n }\n if (output.routeTableIdSet === \"\") {\n contents[_RTIo] = [];\n } else if (output[_rTIS] != null && output[_rTIS][_i] != null) {\n contents[_RTIo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTIS][_i]), context);\n }\n if (output.subnetIdSet === \"\") {\n contents[_SIu] = [];\n } else if (output[_sISu] != null && output[_sISu][_i] != null) {\n contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context);\n }\n if (output.groupSet === \"\") {\n contents[_G] = [];\n } else if (output[_gS] != null && output[_gS][_i] != null) {\n contents[_G] = de_GroupIdentifierSet((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context);\n }\n if (output[_iAT] != null) {\n contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]);\n }\n if (output[_dOn] != null) {\n contents[_DOn] = de_DnsOptions(output[_dOn], context);\n }\n if (output[_pDE] != null) {\n contents[_PDE] = (0, import_smithy_client.parseBoolean)(output[_pDE]);\n }\n if (output[_rM] != null) {\n contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]);\n }\n if (output.networkInterfaceIdSet === \"\") {\n contents[_NIIe] = [];\n } else if (output[_nIIS] != null && output[_nIIS][_i] != null) {\n contents[_NIIe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context);\n }\n if (output.dnsEntrySet === \"\") {\n contents[_DE] = [];\n } else if (output[_dES] != null && output[_dES][_i] != null) {\n contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context);\n }\n if (output[_cTrea] != null) {\n contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea]));\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_lEa] != null) {\n contents[_LEa] = de_LastError(output[_lEa], context);\n }\n if (output.ipv4PrefixSet === \"\") {\n contents[_IPp] = [];\n } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) {\n contents[_IPp] = de_SubnetIpPrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context);\n }\n if (output.ipv6PrefixSet === \"\") {\n contents[_IP] = [];\n } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) {\n contents[_IP] = de_SubnetIpPrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context);\n }\n if (output[_fR] != null) {\n contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]);\n }\n if (output[_sNA] != null) {\n contents[_SNA] = (0, import_smithy_client.expectString)(output[_sNA]);\n }\n if (output[_rCA] != null) {\n contents[_RCA] = (0, import_smithy_client.expectString)(output[_rCA]);\n }\n if (output[_sR] != null) {\n contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]);\n }\n return contents;\n}, \"de_VpcEndpoint\");\nvar de_VpcEndpointAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_id]);\n }\n if (output[_vEI] != null) {\n contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]);\n }\n if (output[_sNA] != null) {\n contents[_SNA] = (0, import_smithy_client.expectString)(output[_sNA]);\n }\n if (output[_sNN] != null) {\n contents[_SNN] = (0, import_smithy_client.expectString)(output[_sNN]);\n }\n if (output[_aRAs] != null) {\n contents[_ARAs] = (0, import_smithy_client.expectString)(output[_aRAs]);\n }\n if (output[_fR] != null) {\n contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]);\n }\n if (output[_fCa] != null) {\n contents[_FCa] = (0, import_smithy_client.expectString)(output[_fCa]);\n }\n if (output[_dE] != null) {\n contents[_DEn] = de_DnsEntry(output[_dE], context);\n }\n if (output[_pDEr] != null) {\n contents[_PDEr] = de_DnsEntry(output[_pDEr], context);\n }\n if (output[_aRAss] != null) {\n contents[_ARAss] = (0, import_smithy_client.expectString)(output[_aRAss]);\n }\n if (output[_rCGA] != null) {\n contents[_RCGA] = (0, import_smithy_client.expectString)(output[_rCGA]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n return contents;\n}, \"de_VpcEndpointAssociation\");\nvar de_VpcEndpointAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcEndpointAssociation(entry, context);\n });\n}, \"de_VpcEndpointAssociationSet\");\nvar de_VpcEndpointConnection = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_sI] != null) {\n contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]);\n }\n if (output[_vEI] != null) {\n contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]);\n }\n if (output[_vEO] != null) {\n contents[_VEO] = (0, import_smithy_client.expectString)(output[_vEO]);\n }\n if (output[_vESpc] != null) {\n contents[_VESpc] = (0, import_smithy_client.expectString)(output[_vESpc]);\n }\n if (output[_cTrea] != null) {\n contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea]));\n }\n if (output.dnsEntrySet === \"\") {\n contents[_DE] = [];\n } else if (output[_dES] != null && output[_dES][_i] != null) {\n contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context);\n }\n if (output.networkLoadBalancerArnSet === \"\") {\n contents[_NLBAe] = [];\n } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) {\n contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context);\n }\n if (output.gatewayLoadBalancerArnSet === \"\") {\n contents[_GLBA] = [];\n } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) {\n contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context);\n }\n if (output[_iAT] != null) {\n contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]);\n }\n if (output[_vECIp] != null) {\n contents[_VECIp] = (0, import_smithy_client.expectString)(output[_vECIp]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vER] != null) {\n contents[_VER] = (0, import_smithy_client.expectString)(output[_vER]);\n }\n return contents;\n}, \"de_VpcEndpointConnection\");\nvar de_VpcEndpointConnectionSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcEndpointConnection(entry, context);\n });\n}, \"de_VpcEndpointConnectionSet\");\nvar de_VpcEndpointSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcEndpoint(entry, context);\n });\n}, \"de_VpcEndpointSet\");\nvar de_VpcIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aIs] != null) {\n contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);\n }\n if (output[_iCB] != null) {\n contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]);\n }\n if (output[_iCBS] != null) {\n contents[_ICBS] = de_VpcCidrBlockState(output[_iCBS], context);\n }\n if (output[_nBG] != null) {\n contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]);\n }\n if (output[_iPpvo] != null) {\n contents[_IPpv] = (0, import_smithy_client.expectString)(output[_iPpvo]);\n }\n if (output[_iAA] != null) {\n contents[_IAA] = (0, import_smithy_client.expectString)(output[_iAA]);\n }\n if (output[_iSpo] != null) {\n contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]);\n }\n return contents;\n}, \"de_VpcIpv6CidrBlockAssociation\");\nvar de_VpcIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcIpv6CidrBlockAssociation(entry, context);\n });\n}, \"de_VpcIpv6CidrBlockAssociationSet\");\nvar de_VpcList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Vpc(entry, context);\n });\n}, \"de_VpcList\");\nvar de_VpcPeeringConnection = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aVI] != null) {\n contents[_AVI] = de_VpcPeeringConnectionVpcInfo(output[_aVI], context);\n }\n if (output[_eT] != null) {\n contents[_ETx] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eT]));\n }\n if (output[_rVIe] != null) {\n contents[_RVIe] = de_VpcPeeringConnectionVpcInfo(output[_rVIe], context);\n }\n if (output[_sta] != null) {\n contents[_Statu] = de_VpcPeeringConnectionStateReason(output[_sta], context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]);\n }\n return contents;\n}, \"de_VpcPeeringConnection\");\nvar de_VpcPeeringConnectionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpcPeeringConnection(entry, context);\n });\n}, \"de_VpcPeeringConnectionList\");\nvar de_VpcPeeringConnectionOptionsDescription = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aDRFRV] != null) {\n contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]);\n }\n if (output[_aEFLCLTRV] != null) {\n contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]);\n }\n if (output[_aEFLVTRCL] != null) {\n contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]);\n }\n return contents;\n}, \"de_VpcPeeringConnectionOptionsDescription\");\nvar de_VpcPeeringConnectionStateReason = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_co] != null) {\n contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]);\n }\n if (output[_me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_me]);\n }\n return contents;\n}, \"de_VpcPeeringConnectionStateReason\");\nvar de_VpcPeeringConnectionVpcInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cB] != null) {\n contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]);\n }\n if (output.ipv6CidrBlockSet === \"\") {\n contents[_ICBSp] = [];\n } else if (output[_iCBSp] != null && output[_iCBSp][_i] != null) {\n contents[_ICBSp] = de_Ipv6CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBSp][_i]), context);\n }\n if (output.cidrBlockSet === \"\") {\n contents[_CBSi] = [];\n } else if (output[_cBSi] != null && output[_cBSi][_i] != null) {\n contents[_CBSi] = de_CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBSi][_i]), context);\n }\n if (output[_oI] != null) {\n contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]);\n }\n if (output[_pOe] != null) {\n contents[_POe] = de_VpcPeeringConnectionOptionsDescription(output[_pOe], context);\n }\n if (output[_vI] != null) {\n contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]);\n }\n if (output[_re] != null) {\n contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]);\n }\n return contents;\n}, \"de_VpcPeeringConnectionVpcInfo\");\nvar de_VpnConnection = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ca] != null) {\n contents[_Cat] = (0, import_smithy_client.expectString)(output[_ca]);\n }\n if (output[_tGI] != null) {\n contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]);\n }\n if (output[_cNA] != null) {\n contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]);\n }\n if (output[_cNAA] != null) {\n contents[_CNAA] = (0, import_smithy_client.expectString)(output[_cNAA]);\n }\n if (output[_gAS] != null) {\n contents[_GAS] = (0, import_smithy_client.expectString)(output[_gAS]);\n }\n if (output[_opt] != null) {\n contents[_Op] = de_VpnConnectionOptions(output[_opt], context);\n }\n if (output.routes === \"\") {\n contents[_Rout] = [];\n } else if (output[_rou] != null && output[_rou][_i] != null) {\n contents[_Rout] = de_VpnStaticRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output.vgwTelemetry === \"\") {\n contents[_VTg] = [];\n } else if (output[_vTg] != null && output[_vTg][_i] != null) {\n contents[_VTg] = de_VgwTelemetryList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTg][_i]), context);\n }\n if (output[_vCI] != null) {\n contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_cGC] != null) {\n contents[_CGC] = (0, import_smithy_client.expectString)(output[_cGC]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_cGIu] != null) {\n contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]);\n }\n if (output[_vGI] != null) {\n contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]);\n }\n return contents;\n}, \"de_VpnConnection\");\nvar de_VpnConnectionDeviceType = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_vCDTI] != null) {\n contents[_VCDTI] = (0, import_smithy_client.expectString)(output[_vCDTI]);\n }\n if (output[_ven] != null) {\n contents[_Ven] = (0, import_smithy_client.expectString)(output[_ven]);\n }\n if (output[_pl] != null) {\n contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]);\n }\n if (output[_sof] != null) {\n contents[_Sof] = (0, import_smithy_client.expectString)(output[_sof]);\n }\n return contents;\n}, \"de_VpnConnectionDeviceType\");\nvar de_VpnConnectionDeviceTypeList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpnConnectionDeviceType(entry, context);\n });\n}, \"de_VpnConnectionDeviceTypeList\");\nvar de_VpnConnectionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpnConnection(entry, context);\n });\n}, \"de_VpnConnectionList\");\nvar de_VpnConnectionOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_eAn] != null) {\n contents[_EA] = (0, import_smithy_client.parseBoolean)(output[_eAn]);\n }\n if (output[_sRO] != null) {\n contents[_SRO] = (0, import_smithy_client.parseBoolean)(output[_sRO]);\n }\n if (output[_lINC] != null) {\n contents[_LINC] = (0, import_smithy_client.expectString)(output[_lINC]);\n }\n if (output[_rINC] != null) {\n contents[_RINC] = (0, import_smithy_client.expectString)(output[_rINC]);\n }\n if (output[_lINCo] != null) {\n contents[_LINCo] = (0, import_smithy_client.expectString)(output[_lINCo]);\n }\n if (output[_rINCe] != null) {\n contents[_RINCe] = (0, import_smithy_client.expectString)(output[_rINCe]);\n }\n if (output[_oIAT] != null) {\n contents[_OIAT] = (0, import_smithy_client.expectString)(output[_oIAT]);\n }\n if (output[_tTGAI] != null) {\n contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]);\n }\n if (output[_tIIV] != null) {\n contents[_TIIV] = (0, import_smithy_client.expectString)(output[_tIIV]);\n }\n if (output.tunnelOptionSet === \"\") {\n contents[_TO] = [];\n } else if (output[_tOS] != null && output[_tOS][_i] != null) {\n contents[_TO] = de_TunnelOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_tOS][_i]), context);\n }\n return contents;\n}, \"de_VpnConnectionOptions\");\nvar de_VpnGateway = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_aSA] != null) {\n contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]);\n }\n if (output.tagSet === \"\") {\n contents[_Ta] = [];\n } else if (output[_tS] != null && output[_tS][_i] != null) {\n contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);\n }\n if (output[_vGI] != null) {\n contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n if (output[_ty] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);\n }\n if (output[_aZ] != null) {\n contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);\n }\n if (output.attachments === \"\") {\n contents[_VAp] = [];\n } else if (output[_att] != null && output[_att][_i] != null) {\n contents[_VAp] = de_VpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_att][_i]), context);\n }\n return contents;\n}, \"de_VpnGateway\");\nvar de_VpnGatewayList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpnGateway(entry, context);\n });\n}, \"de_VpnGatewayList\");\nvar de_VpnStaticRoute = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_dCB] != null) {\n contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]);\n }\n if (output[_s] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_s]);\n }\n if (output[_st] != null) {\n contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]);\n }\n return contents;\n}, \"de_VpnStaticRoute\");\nvar de_VpnStaticRouteList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VpnStaticRoute(entry, context);\n });\n}, \"de_VpnStaticRouteList\");\nvar de_VpnTunnelLogOptions = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_cWLO] != null) {\n contents[_CWLO] = de_CloudWatchLogOptions(output[_cWLO], context);\n }\n return contents;\n}, \"de_VpnTunnelLogOptions\");\nvar de_WithdrawByoipCidrResult = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_bC] != null) {\n contents[_BC] = de_ByoipCidr(output[_bC], context);\n }\n return contents;\n}, \"de_WithdrawByoipCidrResult\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(EC2ServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2016-11-15\";\nvar _A = \"Action\";\nvar _AA = \"AllocateAddress\";\nvar _AAC = \"AsnAuthorizationContext\";\nvar _AACv = \"AvailableAddressCount\";\nvar _AAG = \"AuthorizeAllGroups\";\nvar _AAI = \"AwsAccountId\";\nvar _AAId = \"AddressAllocationId\";\nvar _AAP = \"AddAllowedPrincipals\";\nvar _AART = \"AddAllocationResourceTags\";\nvar _AASA = \"AutoAcceptSharedAssociations\";\nvar _AASAu = \"AutoAcceptSharedAttachments\";\nvar _AAT = \"AcceptAddressTransfer\";\nvar _AAZ = \"AllAvailabilityZones\";\nvar _AAc = \"AccessAll\";\nvar _AAcc = \"AccountAttributes\";\nvar _AAd = \"AdditionalAccounts\";\nvar _AAs = \"AssociateAddress\";\nvar _AAsn = \"AsnAssociation\";\nvar _AAsns = \"AsnAssociations\";\nvar _ABC = \"AdvertiseByoipCidr\";\nvar _ABHP = \"ActualBlockHourlyPrice\";\nvar _AC = \"AllowedCidrs\";\nvar _ACIA = \"AssociateCarrierIpAddress\";\nvar _ACLV = \"AttachClassicLinkVpc\";\nvar _ACRBO = \"AcceptCapacityReservationBillingOwnership\";\nvar _ACRBOs = \"AssociateCapacityReservationBillingOwner\";\nvar _ACT = \"ArchivalCompleteTime\";\nvar _ACVI = \"AuthorizeClientVpnIngress\";\nvar _ACVTN = \"AssociateClientVpnTargetNetwork\";\nvar _ACc = \"AcceleratorCount\";\nvar _ACd = \"AddressCount\";\nvar _ACv = \"AvailableCapacity\";\nvar _AD = \"ActiveDirectory\";\nvar _ADNL = \"AllocationDefaultNetmaskLength\";\nvar _ADO = \"AssociateDhcpOptions\";\nvar _ADRFRV = \"AllowDnsResolutionFromRemoteVpc\";\nvar _ADRTI = \"AssociationDefaultRouteTableId\";\nvar _ADT = \"AdditionalDetailType\";\nvar _ADd = \"AdditionalDetails\";\nvar _ADn = \"AnnouncementDirection\";\nvar _ADp = \"ApplicationDomain\";\nvar _AE = \"AuthorizationEndpoint\";\nvar _AEC = \"AnalyzedEniCount\";\nvar _AECIR = \"AssociateEnclaveCertificateIamRole\";\nvar _AEFLCLTRV = \"AllowEgressFromLocalClassicLinkToRemoteVpc\";\nvar _AEFLVTRCL = \"AllowEgressFromLocalVpcToRemoteClassicLink\";\nvar _AEIO = \"AutoEnableIO\";\nvar _AES = \"AttachedEbsStatus\";\nvar _AET = \"AnalysisEndTime\";\nvar _AEd = \"AddEntries\";\nvar _AF = \"AddressFamily\";\nvar _AFn = \"AnalysisFindings\";\nvar _AGI = \"AccessGroupId\";\nvar _AGLBA = \"AddGatewayLoadBalancerArns\";\nvar _AH = \"AllocateHosts\";\nvar _AI = \"AssetIds\";\nvar _AIA = \"AssignIpv6Addresses\";\nvar _AIAC = \"AvailableIpAddressCount\";\nvar _AIAOC = \"AssignIpv6AddressOnCreation\";\nvar _AIAs = \"AssignedIpv6Addresses\";\nvar _AIB = \"AssociateIpamByoasn\";\nvar _AIC = \"AvailableInstanceCapacity\";\nvar _AICv = \"AvailableInstanceCount\";\nvar _AIEW = \"AssociateInstanceEventWindow\";\nvar _AIG = \"AttachInternetGateway\";\nvar _AIIP = \"AssociateIamInstanceProfile\";\nvar _AIP = \"AssignedIpv6Prefixes\";\nvar _AIPC = \"AllocateIpamPoolCidr\";\nvar _AIPs = \"AssignedIpv4Prefixes\";\nvar _AIRD = \"AssociateIpamResourceDiscovery\";\nvar _AISS = \"AllowedImagesSettingsState\";\nvar _AIT = \"AllowedInstanceTypes\";\nvar _AIc = \"ActiveInstances\";\nvar _AIcc = \"AccountId\";\nvar _AId = \"AdditionalInfo\";\nvar _AIl = \"AllocationId\";\nvar _AIll = \"AllocationIds\";\nvar _AIm = \"AmiId\";\nvar _AIs = \"AssociationIds\";\nvar _AIss = \"AssociationId\";\nvar _AIsse = \"AssetId\";\nvar _AIt = \"AttachmentId\";\nvar _AIth = \"AthenaIntegrations\";\nvar _AIu = \"AutoImport\";\nvar _AL = \"AccessLogs\";\nvar _ALI = \"AmiLaunchIndex\";\nvar _ALc = \"AccountLevel\";\nvar _AM = \"AcceleratorManufacturers\";\nvar _AMIT = \"AllowsMultipleInstanceTypes\";\nvar _AMNL = \"AllocationMinNetmaskLength\";\nvar _AMNLl = \"AllocationMaxNetmaskLength\";\nvar _AMS = \"ApplianceModeSupport\";\nvar _AN = \"AttributeNames\";\nvar _ANGA = \"AssociateNatGatewayAddress\";\nvar _ANI = \"AttachNetworkInterface\";\nvar _ANLBA = \"AddNetworkLoadBalancerArns\";\nvar _ANS = \"AddNetworkServices\";\nvar _ANc = \"AcceleratorNames\";\nvar _ANt = \"AttributeName\";\nvar _AO = \"AuthenticationOptions\";\nvar _AOI = \"AddressOwnerId\";\nvar _AOR = \"AddOperatingRegions\";\nvar _AOUE = \"AddOrganizationalUnitExclusions\";\nvar _AP = \"AutoPlacement\";\nvar _APCO = \"AccepterPeeringConnectionOptions\";\nvar _APH = \"AlternatePathHints\";\nvar _APIA = \"AssignPrivateIpAddresses\";\nvar _APIAs = \"AssociatePublicIpAddress\";\nvar _APIAss = \"AssignedPrivateIpAddresses\";\nvar _APICB = \"AmazonProvidedIpv6CidrBlock\";\nvar _APM = \"ApplyPendingMaintenance\";\nvar _APNGA = \"AssignPrivateNatGatewayAddress\";\nvar _APd = \"AddedPrincipals\";\nvar _APl = \"AllowedPrincipals\";\nvar _APs = \"AsPaths\";\nvar _AR = \"AllowReassignment\";\nvar _ARA = \"AssociatedRoleArn\";\nvar _ARAd = \"AdditionalRoutesAvailable\";\nvar _ARAs = \"AssociatedResourceAccessibility\";\nvar _ARAss = \"AssociatedResourceArn\";\nvar _ARC = \"AcceptedRouteCount\";\nvar _ARIEQ = \"AcceptReservedInstancesExchangeQuote\";\nvar _ARP = \"AreRoutesPersisted\";\nvar _ARS = \"AssociateRouteServer\";\nvar _ARSu = \"AutoRecoverySupported\";\nvar _ART = \"AssociateRouteTable\";\nvar _ARTI = \"AddRouteTableIds\";\nvar _ARTl = \"AllocationResourceTags\";\nvar _ARc = \"AcceptanceRequired\";\nvar _ARcl = \"AclRule\";\nvar _ARd = \"AddressRegion\";\nvar _ARl = \"AllowReassociation\";\nvar _ARll = \"AllRegions\";\nvar _ARs = \"AssociatedResource\";\nvar _ARss = \"AssociatedRoles\";\nvar _ARu = \"AutoRecovery\";\nvar _ARut = \"AuthorizationRules\";\nvar _ARw = \"AwsRegion\";\nvar _AS = \"AllocationStrategy\";\nvar _ASA = \"AmazonSideAsn\";\nvar _ASCB = \"AssociateSubnetCidrBlock\";\nvar _ASGE = \"AuthorizeSecurityGroupEgress\";\nvar _ASGI = \"AuthorizeSecurityGroupIngress\";\nvar _ASGId = \"AddSecurityGroupIds\";\nvar _ASGTCVTN = \"ApplySecurityGroupsToClientVpnTargetNetwork\";\nvar _ASGV = \"AssociateSecurityGroupVpc\";\nvar _ASI = \"AddSubnetIds\";\nvar _ASIAT = \"AddSupportedIpAddressTypes\";\nvar _ASR = \"AddSupportedRegions\";\nvar _ASS = \"AmdSevSnp\";\nvar _AST = \"AnalysisStartTime\";\nvar _ASTB = \"AnalysisStartTimeBegin\";\nvar _ASTE = \"AnalysisStartTimeEnd\";\nvar _ASc = \"ActivityStatus\";\nvar _ASn = \"AnalysisStatus\";\nvar _ASs = \"AssociationState\";\nvar _ASss = \"AssociationStatus\";\nvar _ASt = \"AttributeSummaries\";\nvar _AStt = \"AttachmentStatuses\";\nvar _ASw = \"AwsService\";\nvar _AT = \"AssociationTarget\";\nvar _ATGAI = \"AccepterTransitGatewayAttachmentId\";\nvar _ATGCB = \"AddTransitGatewayCidrBlocks\";\nvar _ATGMD = \"AssociateTransitGatewayMulticastDomain\";\nvar _ATGMDA = \"AcceptTransitGatewayMulticastDomainAssociations\";\nvar _ATGPA = \"AcceptTransitGatewayPeeringAttachment\";\nvar _ATGPT = \"AssociateTransitGatewayPolicyTable\";\nvar _ATGRT = \"AssociateTransitGatewayRouteTable\";\nvar _ATGVA = \"AcceptTransitGatewayVpcAttachment\";\nvar _ATI = \"AssociateTrunkInterface\";\nvar _ATIc = \"AccepterTgwInfo\";\nvar _ATMMB = \"AcceleratorTotalMemoryMiB\";\nvar _ATN = \"AssociatedTargetNetworks\";\nvar _ATS = \"AddressTransferStatus\";\nvar _ATc = \"AcceleratorTypes\";\nvar _ATd = \"AddressingType\";\nvar _ATdd = \"AddressTransfer\";\nvar _ATddr = \"AddressTransfers\";\nvar _ATddre = \"AddressType\";\nvar _ATl = \"AllocationType\";\nvar _ATll = \"AllocationTime\";\nvar _ATr = \"ArchitectureTypes\";\nvar _ATt = \"AttachmentType\";\nvar _ATtt = \"AttachTime\";\nvar _ATtta = \"AttachedTo\";\nvar _AV = \"AttachVolume\";\nvar _AVATP = \"AttachVerifiedAccessTrustProvider\";\nvar _AVC = \"AvailableVCpus\";\nvar _AVCB = \"AssociateVpcCidrBlock\";\nvar _AVEC = \"AcceptVpcEndpointConnections\";\nvar _AVG = \"AttachVpnGateway\";\nvar _AVI = \"AccepterVpcInfo\";\nvar _AVPC = \"AcceptVpcPeeringConnection\";\nvar _AVt = \"AttributeValues\";\nvar _AVtt = \"AttributeValue\";\nvar _AWSAKI = \"AWSAccessKeyId\";\nvar _AZ = \"AvailabilityZone\";\nvar _AZG = \"AvailabilityZoneGroup\";\nvar _AZI = \"AvailabilityZoneId\";\nvar _AZIv = \"AvailabilityZoneIds\";\nvar _AZv = \"AvailabilityZones\";\nvar _Ac = \"Accept\";\nvar _Acc = \"Accelerators\";\nvar _Acl = \"Acl\";\nvar _Act = \"Active\";\nvar _Acti = \"Actions\";\nvar _Ad = \"Address\";\nvar _Add = \"Add\";\nvar _Addr = \"Addresses\";\nvar _Af = \"Affinity\";\nvar _Am = \"Amount\";\nvar _Ar = \"Arn\";\nvar _Arc = \"Architecture\";\nvar _As = \"Asn\";\nvar _Ass = \"Associations\";\nvar _Asso = \"Association\";\nvar _At = \"Attribute\";\nvar _Att = \"Attachment\";\nvar _Atta = \"Attachments\";\nvar _B = \"Bucket\";\nvar _BA = \"BgpAsn\";\nvar _BAE = \"BgpAsnExtended\";\nvar _BBIG = \"BaselineBandwidthInGbps\";\nvar _BBIM = \"BaselineBandwidthInMbps\";\nvar _BC = \"ByoipCidr\";\nvar _BCg = \"BgpConfigurations\";\nvar _BCy = \"ByoipCidrs\";\nvar _BCyt = \"BytesConverted\";\nvar _BDM = \"BlockDeviceMappings\";\nvar _BDMl = \"BlockDurationMinutes\";\nvar _BEBM = \"BaselineEbsBandwidthMbps\";\nvar _BEDN = \"BaseEndpointDnsNames\";\nvar _BI = \"BundleInstance\";\nvar _BII = \"BranchInterfaceId\";\nvar _BIa = \"BaselineIops\";\nvar _BIu = \"BundleId\";\nvar _BIun = \"BundleIds\";\nvar _BM = \"BootMode\";\nvar _BMa = \"BareMetal\";\nvar _BN = \"BucketName\";\nvar _BO = \"BgpOptions\";\nvar _BOu = \"BucketOwner\";\nvar _BP = \"BurstablePerformance\";\nvar _BPAS = \"BlockPublicAccessStates\";\nvar _BPF = \"BaselinePerformanceFactors\";\nvar _BPS = \"BurstablePerformanceSupported\";\nvar _BPi = \"BillingProducts\";\nvar _BS = \"BgpStatus\";\nvar _BSf = \"BfdStatus\";\nvar _BT = \"BannerText\";\nvar _BTE = \"BundleTaskError\";\nvar _BTIMB = \"BaselineThroughputInMBps\";\nvar _BTu = \"BundleTask\";\nvar _BTun = \"BundleTasks\";\nvar _BW = \"BandwidthWeighting\";\nvar _BWa = \"BandwidthWeightings\";\nvar _Bl = \"Blackhole\";\nvar _By = \"Bytes\";\nvar _Byo = \"Byoasn\";\nvar _Byoa = \"Byoasns\";\nvar _C = \"Cidr\";\nvar _CA = \"CertificateArn\";\nvar _CAC = \"CidrAuthorizationContext\";\nvar _CADNL = \"ClearAllocationDefaultNetmaskLength\";\nvar _CAU = \"CoipAddressUsages\";\nvar _CAa = \"CapacityAllocations\";\nvar _CAo = \"ComponentArn\";\nvar _CAom = \"ComponentAccount\";\nvar _CAr = \"CreatedAt\";\nvar _CB = \"CidrBlock\";\nvar _CBA = \"CidrBlockAssociation\";\nvar _CBAS = \"CidrBlockAssociationSet\";\nvar _CBDH = \"CapacityBlockDurationHours\";\nvar _CBDM = \"CapacityBlockDurationMinutes\";\nvar _CBE = \"CapacityBlockExtensions\";\nvar _CBEDH = \"CapacityBlockExtensionDurationHours\";\nvar _CBEED = \"CapacityBlockExtensionEndDate\";\nvar _CBEO = \"CapacityBlockExtensionOfferings\";\nvar _CBEOI = \"CapacityBlockExtensionOfferingId\";\nvar _CBEPD = \"CapacityBlockExtensionPurchaseDate\";\nvar _CBES = \"CapacityBlockExtensionStatus\";\nvar _CBESD = \"CapacityBlockExtensionStartDate\";\nvar _CBO = \"CapacityBlockOfferings\";\nvar _CBOI = \"CapacityBlockOfferingId\";\nvar _CBS = \"CidrBlockState\";\nvar _CBSi = \"CidrBlockSet\";\nvar _CBT = \"CancelBundleTask\";\nvar _CBr = \"CreatedBy\";\nvar _CC = \"CoreCount\";\nvar _CCB = \"ClientCidrBlock\";\nvar _CCC = \"CreateCoipCidr\";\nvar _CCG = \"CreateCarrierGateway\";\nvar _CCGr = \"CreateCustomerGateway\";\nvar _CCO = \"ClientConnectOptions\";\nvar _CCP = \"CreateCoipPool\";\nvar _CCR = \"CancelCapacityReservation\";\nvar _CCRBS = \"CreateCapacityReservationBySplitting\";\nvar _CCRF = \"CancelCapacityReservationFleets\";\nvar _CCRFE = \"CancelCapacityReservationFleetError\";\nvar _CCRFr = \"CreateCapacityReservationFleet\";\nvar _CCRr = \"CreateCapacityReservation\";\nvar _CCT = \"CancelConversionTask\";\nvar _CCVE = \"CreateClientVpnEndpoint\";\nvar _CCVR = \"CreateClientVpnRoute\";\nvar _CCl = \"ClientConfiguration\";\nvar _CCo = \"CoipCidr\";\nvar _CCp = \"CpuCredits\";\nvar _CCu = \"CurrencyCode\";\nvar _CD = \"CommitmentDuration\";\nvar _CDH = \"CapacityDurationHours\";\nvar _CDM = \"CompletionDurationMinutes\";\nvar _CDO = \"CreateDhcpOptions\";\nvar _CDPR = \"CancelDeclarativePoliciesReport\";\nvar _CDS = \"CreateDefaultSubnet\";\nvar _CDSDA = \"ConfigDeliveryS3DestinationArn\";\nvar _CDSu = \"CustomDnsServers\";\nvar _CDV = \"CreateDefaultVpc\";\nvar _CDl = \"ClientData\";\nvar _CDr = \"CreateDate\";\nvar _CDre = \"CreationDate\";\nvar _CDrea = \"CreatedDate\";\nvar _CE = \"CronExpression\";\nvar _CECSD = \"CidrEndpointsCustomSubDomain\";\nvar _CED = \"CommitmentEndDate\";\nvar _CEOIG = \"CreateEgressOnlyInternetGateway\";\nvar _CET = \"CancelExportTask\";\nvar _CETo = \"ConnectionEstablishedTime\";\nvar _CETon = \"ConnectionEndTime\";\nvar _CEo = \"ConnectionEvents\";\nvar _CF = \"CreateFleet\";\nvar _CFI = \"CopyFpgaImage\";\nvar _CFIr = \"CreateFpgaImage\";\nvar _CFL = \"CreateFlowLogs\";\nvar _CFS = \"CurrentFleetState\";\nvar _CFo = \"ContainerFormat\";\nvar _CG = \"CarrierGateway\";\nvar _CGC = \"CustomerGatewayConfiguration\";\nvar _CGI = \"CarrierGatewayId\";\nvar _CGIa = \"CarrierGatewayIds\";\nvar _CGIu = \"CustomerGatewayId\";\nvar _CGIus = \"CustomerGatewayIds\";\nvar _CGa = \"CarrierGateways\";\nvar _CGu = \"CustomerGateway\";\nvar _CGur = \"CurrentGeneration\";\nvar _CGus = \"CustomerGateways\";\nvar _CI = \"CopyImage\";\nvar _CIBM = \"CurrentInstanceBootMode\";\nvar _CIC = \"CommittedInstanceCount\";\nvar _CICE = \"CreateInstanceConnectEndpoint\";\nvar _CIERVT = \"CreateIpamExternalResourceVerificationToken\";\nvar _CIET = \"CreateInstanceExportTask\";\nvar _CIEW = \"CreateInstanceEventWindow\";\nvar _CIG = \"CreateInternetGateway\";\nvar _CILP = \"CancelImageLaunchPermission\";\nvar _CIP = \"CreateIpamPool\";\nvar _CIRD = \"CreateIpamResourceDiscovery\";\nvar _CIS = \"CreateIpamScope\";\nvar _CISI = \"CurrentIpamScopeId\";\nvar _CIT = \"CancelImportTask\";\nvar _CITo = \"CopyImageTags\";\nvar _CIa = \"CarrierIp\";\nvar _CIi = \"CidrIp\";\nvar _CIid = \"CidrIpv6\";\nvar _CIidr = \"CidrIpv4\";\nvar _CIl = \"ClientId\";\nvar _CIli = \"ClientIp\";\nvar _CIo = \"ConnectionId\";\nvar _CIom = \"ComponentId\";\nvar _CIomm = \"CommitmentInfo\";\nvar _CIop = \"CoIp\";\nvar _CIor = \"CoreInfo\";\nvar _CIr = \"CreateImage\";\nvar _CIre = \"CreateIpam\";\nvar _CKP = \"CreateKeyPair\";\nvar _CLB = \"ClassicLoadBalancers\";\nvar _CLBC = \"ClassicLoadBalancersConfig\";\nvar _CLBL = \"ClassicLoadBalancerListener\";\nvar _CLBO = \"ClientLoginBannerOptions\";\nvar _CLDS = \"ClassicLinkDnsSupported\";\nvar _CLE = \"ClassicLinkEnabled\";\nvar _CLG = \"CloudwatchLogGroup\";\nvar _CLGR = \"CreateLocalGatewayRoute\";\nvar _CLGRT = \"CreateLocalGatewayRouteTable\";\nvar _CLGRTVA = \"CreateLocalGatewayRouteTableVpcAssociation\";\nvar _CLGRTVIGA = \"CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation\";\nvar _CLGVI = \"CreateLocalGatewayVirtualInterface\";\nvar _CLGVIG = \"CreateLocalGatewayVirtualInterfaceGroup\";\nvar _CLO = \"ConnectionLogOptions\";\nvar _CLS = \"CloudwatchLogStream\";\nvar _CLT = \"CreateLaunchTemplate\";\nvar _CLTV = \"CreateLaunchTemplateVersion\";\nvar _CM = \"CpuManufacturers\";\nvar _CMKE = \"CustomerManagedKeyEnabled\";\nvar _CMPL = \"CreateManagedPrefixList\";\nvar _CN = \"CommonName\";\nvar _CNA = \"CreateNetworkAcl\";\nvar _CNAA = \"CoreNetworkAttachmentArn\";\nvar _CNAE = \"CreateNetworkAclEntry\";\nvar _CNAo = \"CoreNetworkArn\";\nvar _CNAon = \"ConnectionNotificationArn\";\nvar _CNG = \"CreateNatGateway\";\nvar _CNI = \"CreateNetworkInterface\";\nvar _CNIAS = \"CreateNetworkInsightsAccessScope\";\nvar _CNIP = \"CreateNetworkInsightsPath\";\nvar _CNIPr = \"CreateNetworkInterfacePermission\";\nvar _CNIo = \"ConnectionNotificationIds\";\nvar _CNIon = \"ConnectionNotificationId\";\nvar _CNIor = \"CoreNetworkId\";\nvar _CNS = \"ConnectionNotificationState\";\nvar _CNSo = \"ConnectionNotificationSet\";\nvar _CNT = \"ConnectionNotificationType\";\nvar _CNo = \"ConnectionNotification\";\nvar _CO = \"CidrOptions\";\nvar _COI = \"CustomerOwnedIp\";\nvar _COIP = \"CustomerOwnedIpv4Pool\";\nvar _COP = \"CoolOffPeriod\";\nvar _COPEO = \"CoolOffPeriodExpiresOn\";\nvar _COp = \"CpuOptions\";\nvar _CP = \"CoipPool\";\nvar _CPC = \"ConnectPeerConfiguration\";\nvar _CPG = \"CreatePlacementGroup\";\nvar _CPI = \"ConfirmProductInstance\";\nvar _CPIP = \"CreatePublicIpv4Pool\";\nvar _CPIo = \"CoipPoolId\";\nvar _CPo = \"CoipPools\";\nvar _CR = \"CreateRoute\";\nvar _CRA = \"CapacityReservationArn\";\nvar _CRBR = \"CapacityReservationBillingRequests\";\nvar _CRCC = \"ClientRootCertificateChain\";\nvar _CRCCA = \"ClientRootCertificateChainArn\";\nvar _CREO = \"ClientRouteEnforcementOptions\";\nvar _CRF = \"CapacityReservationFleets\";\nvar _CRFA = \"CapacityReservationFleetArn\";\nvar _CRFI = \"CapacityReservationFleetIds\";\nvar _CRFIa = \"CapacityReservationFleetId\";\nvar _CRG = \"CapacityReservationGroups\";\nvar _CRI = \"CapacityReservationId\";\nvar _CRIL = \"CancelReservedInstancesListing\";\nvar _CRILr = \"CreateReservedInstancesListing\";\nvar _CRIT = \"CreateRestoreImageTask\";\nvar _CRIa = \"CapacityReservationIds\";\nvar _CRIap = \"CapacityReservationInfo\";\nvar _CRL = \"CertificateRevocationList\";\nvar _CRO = \"CapacityReservationOptions\";\nvar _CRP = \"CapacityReservationPreference\";\nvar _CRRGA = \"CapacityReservationResourceGroupArn\";\nvar _CRRVT = \"CreateReplaceRootVolumeTask\";\nvar _CRS = \"CreateRouteServer\";\nvar _CRSE = \"CreateRouteServerEndpoint\";\nvar _CRSP = \"CreateRouteServerPeer\";\nvar _CRSa = \"CapacityReservationSpecification\";\nvar _CRT = \"CreateRouteTable\";\nvar _CRTa = \"CapacityReservationTarget\";\nvar _CRa = \"CancelReason\";\nvar _CRap = \"CapacityRebalance\";\nvar _CRapa = \"CapacityReservation\";\nvar _CRapac = \"CapacityReservations\";\nvar _CRo = \"ComponentRegion\";\nvar _CS = \"CopySnapshot\";\nvar _CSBN = \"CertificateS3BucketName\";\nvar _CSCR = \"CreateSubnetCidrReservation\";\nvar _CSDS = \"CreateSpotDatafeedSubscription\";\nvar _CSFR = \"CancelSpotFleetRequests\";\nvar _CSFRS = \"CurrentSpotFleetRequestState\";\nvar _CSG = \"CreateSecurityGroup\";\nvar _CSIR = \"CancelSpotInstanceRequests\";\nvar _CSIRa = \"CancelledSpotInstanceRequests\";\nvar _CSIT = \"CreateStoreImageTask\";\nvar _CSOK = \"CertificateS3ObjectKey\";\nvar _CSl = \"ClientSecret\";\nvar _CSo = \"ComplianceStatus\";\nvar _CSon = \"ConfigurationState\";\nvar _CSonn = \"ConnectionStatuses\";\nvar _CSr = \"CreateSnapshot\";\nvar _CSre = \"CreateSnapshots\";\nvar _CSrea = \"CreateSubnet\";\nvar _CSred = \"CreditSpecification\";\nvar _CSu = \"CurrentState\";\nvar _CSur = \"CurrentStatus\";\nvar _CT = \"CreateTags\";\nvar _CTC = \"ConnectionTrackingConfiguration\";\nvar _CTFS = \"CopyTagsFromSource\";\nvar _CTG = \"CreateTransitGateway\";\nvar _CTGC = \"CreateTransitGatewayConnect\";\nvar _CTGCP = \"CreateTransitGatewayConnectPeer\";\nvar _CTGMD = \"CreateTransitGatewayMulticastDomain\";\nvar _CTGPA = \"CreateTransitGatewayPeeringAttachment\";\nvar _CTGPLR = \"CreateTransitGatewayPrefixListReference\";\nvar _CTGPT = \"CreateTransitGatewayPolicyTable\";\nvar _CTGR = \"CreateTransitGatewayRoute\";\nvar _CTGRT = \"CreateTransitGatewayRouteTable\";\nvar _CTGRTA = \"CreateTransitGatewayRouteTableAnnouncement\";\nvar _CTGVA = \"CreateTransitGatewayVpcAttachment\";\nvar _CTI = \"ConversionTaskId\";\nvar _CTIo = \"ConversionTaskIds\";\nvar _CTMF = \"CreateTrafficMirrorFilter\";\nvar _CTMFR = \"CreateTrafficMirrorFilterRule\";\nvar _CTMS = \"CreateTrafficMirrorSession\";\nvar _CTMT = \"CreateTrafficMirrorTarget\";\nvar _CTS = \"ConnectionTrackingSpecification\";\nvar _CTl = \"ClientToken\";\nvar _CTo = \"ConnectivityType\";\nvar _CTom = \"CompleteTime\";\nvar _CTomp = \"CompletionTime\";\nvar _CTon = \"ConversionTasks\";\nvar _CTonv = \"ConversionTask\";\nvar _CTr = \"CreateTime\";\nvar _CTre = \"CreationTime\";\nvar _CTrea = \"CreationTimestamp\";\nvar _CV = \"CreateVolume\";\nvar _CVAE = \"CreateVerifiedAccessEndpoint\";\nvar _CVAG = \"CreateVerifiedAccessGroup\";\nvar _CVAI = \"CreateVerifiedAccessInstance\";\nvar _CVATP = \"CreateVerifiedAccessTrustProvider\";\nvar _CVBPAE = \"CreateVpcBlockPublicAccessExclusion\";\nvar _CVC = \"CreateVpnConnection\";\nvar _CVCR = \"CreateVpnConnectionRoute\";\nvar _CVE = \"CreateVpcEndpoint\";\nvar _CVECN = \"CreateVpcEndpointConnectionNotification\";\nvar _CVEI = \"ClientVpnEndpointId\";\nvar _CVEIl = \"ClientVpnEndpointIds\";\nvar _CVESC = \"CreateVpcEndpointServiceConfiguration\";\nvar _CVEl = \"ClientVpnEndpoints\";\nvar _CVG = \"CreateVpnGateway\";\nvar _CVP = \"CreateVolumePermission\";\nvar _CVPC = \"CreateVpcPeeringConnection\";\nvar _CVPr = \"CreateVolumePermissions\";\nvar _CVTN = \"ClientVpnTargetNetworks\";\nvar _CVr = \"CreateVpc\";\nvar _CVu = \"CurrentVersion\";\nvar _CWL = \"CloudWatchLogs\";\nvar _CWLO = \"CloudWatchLogOptions\";\nvar _Ca = \"Cascade\";\nvar _Cat = \"Category\";\nvar _Ch = \"Checksum\";\nvar _Ci = \"Cidrs\";\nvar _Co = \"Comment\";\nvar _Cod = \"Code\";\nvar _Com = \"Component\";\nvar _Con = \"Context\";\nvar _Conf = \"Configured\";\nvar _Confi = \"Config\";\nvar _Conn = \"Connections\";\nvar _Cor = \"Cores\";\nvar _Cou = \"Count\";\nvar _Cp = \"Cpu\";\nvar _D = \"Destination\";\nvar _DA = \"DescribeAddresses\";\nvar _DAA = \"DescribeAccountAttributes\";\nvar _DAAI = \"DelegatedAdminAccountId\";\nvar _DAAe = \"DescribeAddressesAttribute\";\nvar _DAIF = \"DescribeAggregateIdFormat\";\nvar _DAIS = \"DisableAllowedImagesSettings\";\nvar _DAIT = \"DenyAllIgwTraffic\";\nvar _DANPMS = \"DescribeAwsNetworkPerformanceMetricSubscriptions\";\nvar _DANPMSi = \"DisableAwsNetworkPerformanceMetricSubscription\";\nvar _DART = \"DefaultAssociationRouteTable\";\nvar _DAS = \"DisableApiStop\";\nvar _DAT = \"DescribeAddressTransfers\";\nvar _DATi = \"DisableAddressTransfer\";\nvar _DATis = \"DisableApiTermination\";\nvar _DAZ = \"DescribeAvailabilityZones\";\nvar _DAe = \"DeprecateAt\";\nvar _DAep = \"DeprovisionedAddresses\";\nvar _DAes = \"DestinationAddresses\";\nvar _DAest = \"DestinationAddress\";\nvar _DAesti = \"DestinationArn\";\nvar _DAi = \"DisassociateAddress\";\nvar _DBC = \"DeprovisionByoipCidr\";\nvar _DBCe = \"DescribeByoipCidrs\";\nvar _DBT = \"DescribeBundleTasks\";\nvar _DC = \"DisallowedCidrs\";\nvar _DCA = \"DomainCertificateArn\";\nvar _DCAR = \"DeliverCrossAccountRole\";\nvar _DCB = \"DestinationCidrBlock\";\nvar _DCBEH = \"DescribeCapacityBlockExtensionHistory\";\nvar _DCBEO = \"DescribeCapacityBlockExtensionOfferings\";\nvar _DCBO = \"DescribeCapacityBlockOfferings\";\nvar _DCC = \"DeleteCoipCidr\";\nvar _DCG = \"DeleteCarrierGateway\";\nvar _DCGe = \"DeleteCustomerGateway\";\nvar _DCGes = \"DescribeCarrierGateways\";\nvar _DCGesc = \"DescribeCustomerGateways\";\nvar _DCLI = \"DescribeClassicLinkInstances\";\nvar _DCLV = \"DetachClassicLinkVpc\";\nvar _DCP = \"DeleteCoipPool\";\nvar _DCPe = \"DescribeCoipPools\";\nvar _DCR = \"DescribeCapacityReservations\";\nvar _DCRBO = \"DisassociateCapacityReservationBillingOwner\";\nvar _DCRBR = \"DescribeCapacityReservationBillingRequests\";\nvar _DCRF = \"DescribeCapacityReservationFleets\";\nvar _DCRI = \"DestinationCapacityReservationId\";\nvar _DCRe = \"DestinationCapacityReservation\";\nvar _DCT = \"DescribeConversionTasks\";\nvar _DCVAR = \"DescribeClientVpnAuthorizationRules\";\nvar _DCVC = \"DescribeClientVpnConnections\";\nvar _DCVE = \"DeleteClientVpnEndpoint\";\nvar _DCVEe = \"DescribeClientVpnEndpoints\";\nvar _DCVR = \"DeleteClientVpnRoute\";\nvar _DCVRe = \"DescribeClientVpnRoutes\";\nvar _DCVTN = \"DescribeClientVpnTargetNetworks\";\nvar _DCVTNi = \"DisassociateClientVpnTargetNetwork\";\nvar _DCe = \"DestinationCidr\";\nvar _DCef = \"DefaultCores\";\nvar _DCh = \"DhcpConfigurations\";\nvar _DCi = \"DiskContainers\";\nvar _DCis = \"DiskContainer\";\nvar _DDO = \"DeleteDhcpOptions\";\nvar _DDOe = \"DescribeDhcpOptions\";\nvar _DDPR = \"DescribeDeclarativePoliciesReports\";\nvar _DE = \"DnsEntries\";\nvar _DECIR = \"DisassociateEnclaveCertificateIamRole\";\nvar _DEEBD = \"DisableEbsEncryptionByDefault\";\nvar _DEG = \"DescribeElasticGpus\";\nvar _DEIT = \"DescribeExportImageTasks\";\nvar _DEKI = \"DataEncryptionKeyId\";\nvar _DEOIG = \"DeleteEgressOnlyInternetGateway\";\nvar _DEOIGe = \"DescribeEgressOnlyInternetGateways\";\nvar _DEQC = \"DefaultEnaQueueCount\";\nvar _DEQCPI = \"DefaultEnaQueueCountPerInterface\";\nvar _DET = \"DescribeExportTasks\";\nvar _DEn = \"DnsEntry\";\nvar _DF = \"DeleteFleets\";\nvar _DFA = \"DefaultForAz\";\nvar _DFH = \"DescribeFleetHistory\";\nvar _DFI = \"DeleteFpgaImage\";\nvar _DFIA = \"DescribeFpgaImageAttribute\";\nvar _DFIe = \"DescribeFleetInstances\";\nvar _DFIes = \"DescribeFpgaImages\";\nvar _DFL = \"DeleteFlowLogs\";\nvar _DFLI = \"DescribeFastLaunchImages\";\nvar _DFLe = \"DescribeFlowLogs\";\nvar _DFLi = \"DisableFastLaunch\";\nvar _DFSR = \"DescribeFastSnapshotRestores\";\nvar _DFSRi = \"DisableFastSnapshotRestores\";\nvar _DFe = \"DescribeFleets\";\nvar _DH = \"DescribeHosts\";\nvar _DHI = \"DedicatedHostIds\";\nvar _DHR = \"DescribeHostReservations\";\nvar _DHRO = \"DescribeHostReservationOfferings\";\nvar _DHS = \"DedicatedHostsSupported\";\nvar _DI = \"DeleteIpam\";\nvar _DIA = \"DescribeImageAttribute\";\nvar _DIAe = \"DescribeInstanceAttribute\";\nvar _DIB = \"DeprovisionIpamByoasn\";\nvar _DIBPA = \"DisableImageBlockPublicAccess\";\nvar _DIBe = \"DescribeIpamByoasn\";\nvar _DIBi = \"DisassociateIpamByoasn\";\nvar _DICB = \"DestinationIpv6CidrBlock\";\nvar _DICE = \"DeleteInstanceConnectEndpoint\";\nvar _DICEe = \"DescribeInstanceConnectEndpoints\";\nvar _DICS = \"DescribeInstanceCreditSpecifications\";\nvar _DID = \"DisableImageDeprecation\";\nvar _DIDP = \"DisableImageDeregistrationProtection\";\nvar _DIENA = \"DeregisterInstanceEventNotificationAttributes\";\nvar _DIENAe = \"DescribeInstanceEventNotificationAttributes\";\nvar _DIERVT = \"DeleteIpamExternalResourceVerificationToken\";\nvar _DIERVTe = \"DescribeIpamExternalResourceVerificationTokens\";\nvar _DIEW = \"DeleteInstanceEventWindow\";\nvar _DIEWe = \"DescribeInstanceEventWindows\";\nvar _DIEWi = \"DisassociateInstanceEventWindow\";\nvar _DIF = \"DescribeIdFormat\";\nvar _DIFi = \"DiskImageFormat\";\nvar _DIG = \"DeleteInternetGateway\";\nvar _DIGe = \"DescribeInternetGateways\";\nvar _DIGet = \"DetachInternetGateway\";\nvar _DIIF = \"DescribeIdentityIdFormat\";\nvar _DIIM = \"DescribeInstanceImageMetadata\";\nvar _DIIP = \"DisassociateIamInstanceProfile\";\nvar _DIIPA = \"DescribeIamInstanceProfileAssociations\";\nvar _DIIT = \"DescribeImportImageTasks\";\nvar _DIOAA = \"DisableIpamOrganizationAdminAccount\";\nvar _DIP = \"DeleteIpamPool\";\nvar _DIPC = \"DeprovisionIpamPoolCidr\";\nvar _DIPe = \"DescribeIpamPools\";\nvar _DIPes = \"DescribeIpv6Pools\";\nvar _DIRD = \"DeleteIpamResourceDiscovery\";\nvar _DIRDA = \"DescribeIpamResourceDiscoveryAssociations\";\nvar _DIRDe = \"DescribeIpamResourceDiscoveries\";\nvar _DIRDi = \"DisassociateIpamResourceDiscovery\";\nvar _DIS = \"DeleteIpamScope\";\nvar _DISI = \"DestinationIpamScopeId\";\nvar _DIST = \"DescribeImportSnapshotTasks\";\nvar _DISe = \"DescribeInstanceStatus\";\nvar _DISes = \"DescribeIpamScopes\";\nvar _DISi = \"DiskImageSize\";\nvar _DIT = \"DescribeInstanceTopology\";\nvar _DITO = \"DescribeInstanceTypeOfferings\";\nvar _DITe = \"DescribeInstanceTypes\";\nvar _DIe = \"DeregisterImage\";\nvar _DIes = \"DescribeImages\";\nvar _DIesc = \"DescribeInstances\";\nvar _DIescr = \"DescribeIpams\";\nvar _DIest = \"DestinationIp\";\nvar _DIev = \"DeviceIndex\";\nvar _DIevi = \"DeviceId\";\nvar _DIi = \"DisableImage\";\nvar _DIir = \"DirectoryId\";\nvar _DIis = \"DiskImages\";\nvar _DKP = \"DeleteKeyPair\";\nvar _DKPe = \"DescribeKeyPairs\";\nvar _DLADI = \"DisableLniAtDeviceIndex\";\nvar _DLEM = \"DeliverLogsErrorMessage\";\nvar _DLG = \"DescribeLocalGateways\";\nvar _DLGR = \"DeleteLocalGatewayRoute\";\nvar _DLGRT = \"DeleteLocalGatewayRouteTable\";\nvar _DLGRTVA = \"DeleteLocalGatewayRouteTableVpcAssociation\";\nvar _DLGRTVAe = \"DescribeLocalGatewayRouteTableVpcAssociations\";\nvar _DLGRTVIGA = \"DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation\";\nvar _DLGRTVIGAe = \"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations\";\nvar _DLGRTe = \"DescribeLocalGatewayRouteTables\";\nvar _DLGVI = \"DeleteLocalGatewayVirtualInterface\";\nvar _DLGVIG = \"DeleteLocalGatewayVirtualInterfaceGroup\";\nvar _DLGVIGe = \"DescribeLocalGatewayVirtualInterfaceGroups\";\nvar _DLGVIe = \"DescribeLocalGatewayVirtualInterfaces\";\nvar _DLPA = \"DeliverLogsPermissionArn\";\nvar _DLS = \"DescribeLockedSnapshots\";\nvar _DLSe = \"DeliverLogsStatus\";\nvar _DLT = \"DeleteLaunchTemplate\";\nvar _DLTV = \"DeleteLaunchTemplateVersions\";\nvar _DLTVe = \"DescribeLaunchTemplateVersions\";\nvar _DLTe = \"DescribeLaunchTemplates\";\nvar _DMA = \"DescribeMovingAddresses\";\nvar _DMGM = \"DeregisteredMulticastGroupMembers\";\nvar _DMGS = \"DeregisteredMulticastGroupSources\";\nvar _DMH = \"DescribeMacHosts\";\nvar _DMPL = \"DeleteManagedPrefixList\";\nvar _DMPLe = \"DescribeManagedPrefixLists\";\nvar _DN = \"DeviceName\";\nvar _DNA = \"DeleteNetworkAcl\";\nvar _DNAE = \"DeleteNetworkAclEntry\";\nvar _DNAe = \"DescribeNetworkAcls\";\nvar _DNCI = \"DefaultNetworkCardIndex\";\nvar _DNG = \"DeleteNatGateway\";\nvar _DNGA = \"DisassociateNatGatewayAddress\";\nvar _DNGe = \"DescribeNatGateways\";\nvar _DNI = \"DeleteNetworkInterface\";\nvar _DNIA = \"DeleteNetworkInsightsAnalysis\";\nvar _DNIAS = \"DeleteNetworkInsightsAccessScope\";\nvar _DNIASA = \"DeleteNetworkInsightsAccessScopeAnalysis\";\nvar _DNIASAe = \"DescribeNetworkInsightsAccessScopeAnalyses\";\nvar _DNIASe = \"DescribeNetworkInsightsAccessScopes\";\nvar _DNIAe = \"DescribeNetworkInsightsAnalyses\";\nvar _DNIAes = \"DescribeNetworkInterfaceAttribute\";\nvar _DNII = \"DeregisteredNetworkInterfaceIds\";\nvar _DNIP = \"DeleteNetworkInsightsPath\";\nvar _DNIPe = \"DeleteNetworkInterfacePermission\";\nvar _DNIPes = \"DescribeNetworkInsightsPaths\";\nvar _DNIPesc = \"DescribeNetworkInterfacePermissions\";\nvar _DNIe = \"DescribeNetworkInterfaces\";\nvar _DNIet = \"DetachNetworkInterface\";\nvar _DNn = \"DnsName\";\nvar _DNo = \"DomainName\";\nvar _DO = \"DestinationOptions\";\nvar _DOA = \"DestinationOutpostArn\";\nvar _DOI = \"DhcpOptionsId\";\nvar _DOIh = \"DhcpOptionsIds\";\nvar _DOL = \"DescribeOutpostLags\";\nvar _DOST = \"DisconnectOnSessionTimeout\";\nvar _DOT = \"DeleteOnTermination\";\nvar _DOe = \"DeviceOptions\";\nvar _DOh = \"DhcpOptions\";\nvar _DOn = \"DnsOptions\";\nvar _DP = \"DeliveryPreference\";\nvar _DPDTA = \"DPDTimeoutAction\";\nvar _DPDTS = \"DPDTimeoutSeconds\";\nvar _DPG = \"DeletePlacementGroup\";\nvar _DPGe = \"DescribePlacementGroups\";\nvar _DPIF = \"DescribePrincipalIdFormat\";\nvar _DPIP = \"DeletePublicIpv4Pool\";\nvar _DPIPC = \"DeprovisionPublicIpv4PoolCidr\";\nvar _DPIPe = \"DescribePublicIpv4Pools\";\nvar _DPL = \"DescribePrefixLists\";\nvar _DPLI = \"DestinationPrefixListId\";\nvar _DPLe = \"DestinationPrefixLists\";\nvar _DPR = \"DestinationPortRange\";\nvar _DPRT = \"DefaultPropagationRouteTable\";\nvar _DPRe = \"DestinationPortRanges\";\nvar _DPe = \"DestinationPort\";\nvar _DPer = \"DeregistrationProtection\";\nvar _DPes = \"DestinationPorts\";\nvar _DQ = \"DataQueries\";\nvar _DQRI = \"DeleteQueuedReservedInstances\";\nvar _DR = \"DeleteRoute\";\nvar _DRDAI = \"DefaultResourceDiscoveryAssociationId\";\nvar _DRDI = \"DefaultResourceDiscoveryId\";\nvar _DRI = \"DescribeReservedInstances\";\nvar _DRIL = \"DescribeReservedInstancesListings\";\nvar _DRIM = \"DescribeReservedInstancesModifications\";\nvar _DRIO = \"DescribeReservedInstancesOfferings\";\nvar _DRIT = \"DnsRecordIpType\";\nvar _DRRV = \"DeleteReplacedRootVolume\";\nvar _DRRVT = \"DescribeReplaceRootVolumeTasks\";\nvar _DRS = \"DeleteRouteServer\";\nvar _DRSE = \"DeleteRouteServerEndpoint\";\nvar _DRSEe = \"DescribeRouteServerEndpoints\";\nvar _DRSP = \"DeleteRouteServerPeer\";\nvar _DRSPe = \"DescribeRouteServerPeers\";\nvar _DRSPi = \"DisableRouteServerPropagation\";\nvar _DRSa = \"DataRetentionSupport\";\nvar _DRSe = \"DescribeRouteServers\";\nvar _DRSi = \"DisassociateRouteServer\";\nvar _DRT = \"DeleteRouteTable\";\nvar _DRTA = \"DefaultRouteTableAssociation\";\nvar _DRTP = \"DefaultRouteTablePropagation\";\nvar _DRTe = \"DescribeRouteTables\";\nvar _DRTi = \"DisassociateRouteTable\";\nvar _DRa = \"DataResponses\";\nvar _DRe = \"DescribeRegions\";\nvar _DRes = \"DestinationRegion\";\nvar _DRi = \"DiscoveryRegion\";\nvar _DRr = \"DryRun\";\nvar _DRy = \"DynamicRouting\";\nvar _DS = \"DeleteSnapshot\";\nvar _DSA = \"DescribeSnapshotAttribute\";\nvar _DSBPA = \"DisableSnapshotBlockPublicAccess\";\nvar _DSCA = \"DisableSerialConsoleAccess\";\nvar _DSCB = \"DisassociateSubnetCidrBlock\";\nvar _DSCR = \"DeleteSubnetCidrReservation\";\nvar _DSCRe = \"DeletedSubnetCidrReservation\";\nvar _DSDS = \"DeleteSpotDatafeedSubscription\";\nvar _DSDSe = \"DescribeSpotDatafeedSubscription\";\nvar _DSFI = \"DescribeSpotFleetInstances\";\nvar _DSFR = \"DescribeSpotFleetRequests\";\nvar _DSFRH = \"DescribeSpotFleetRequestHistory\";\nvar _DSG = \"DeleteSecurityGroup\";\nvar _DSGR = \"DescribeSecurityGroupReferences\";\nvar _DSGRe = \"DescribeSecurityGroupRules\";\nvar _DSGV = \"DisassociateSecurityGroupVpc\";\nvar _DSGVA = \"DescribeSecurityGroupVpcAssociations\";\nvar _DSGe = \"DescribeSecurityGroups\";\nvar _DSI = \"DescribeScheduledInstances\";\nvar _DSIA = \"DescribeScheduledInstanceAvailability\";\nvar _DSIR = \"DescribeSpotInstanceRequests\";\nvar _DSIT = \"DescribeStoreImageTasks\";\nvar _DSLVI = \"DescribeServiceLinkVirtualInterfaces\";\nvar _DSPH = \"DescribeSpotPriceHistory\";\nvar _DSSG = \"DescribeStaleSecurityGroups\";\nvar _DSTS = \"DescribeSnapshotTierStatus\";\nvar _DSe = \"DeleteSubnet\";\nvar _DSel = \"DeliveryStream\";\nvar _DSeli = \"DeliveryStatus\";\nvar _DSes = \"DescribeSnapshots\";\nvar _DSesc = \"DescribeSubnets\";\nvar _DSn = \"DnsServers\";\nvar _DSns = \"DnsSupport\";\nvar _DT = \"DeleteTags\";\nvar _DTA = \"DpdTimeoutAction\";\nvar _DTCT = \"DefaultTargetCapacityType\";\nvar _DTG = \"DeleteTransitGateway\";\nvar _DTGA = \"DescribeTransitGatewayAttachments\";\nvar _DTGC = \"DeleteTransitGatewayConnect\";\nvar _DTGCP = \"DeleteTransitGatewayConnectPeer\";\nvar _DTGCPe = \"DescribeTransitGatewayConnectPeers\";\nvar _DTGCe = \"DescribeTransitGatewayConnects\";\nvar _DTGMD = \"DeleteTransitGatewayMulticastDomain\";\nvar _DTGMDe = \"DescribeTransitGatewayMulticastDomains\";\nvar _DTGMDi = \"DisassociateTransitGatewayMulticastDomain\";\nvar _DTGMGM = \"DeregisterTransitGatewayMulticastGroupMembers\";\nvar _DTGMGS = \"DeregisterTransitGatewayMulticastGroupSources\";\nvar _DTGPA = \"DeleteTransitGatewayPeeringAttachment\";\nvar _DTGPAe = \"DescribeTransitGatewayPeeringAttachments\";\nvar _DTGPLR = \"DeleteTransitGatewayPrefixListReference\";\nvar _DTGPT = \"DeleteTransitGatewayPolicyTable\";\nvar _DTGPTe = \"DescribeTransitGatewayPolicyTables\";\nvar _DTGPTi = \"DisassociateTransitGatewayPolicyTable\";\nvar _DTGR = \"DeleteTransitGatewayRoute\";\nvar _DTGRT = \"DeleteTransitGatewayRouteTable\";\nvar _DTGRTA = \"DeleteTransitGatewayRouteTableAnnouncement\";\nvar _DTGRTAe = \"DescribeTransitGatewayRouteTableAnnouncements\";\nvar _DTGRTP = \"DisableTransitGatewayRouteTablePropagation\";\nvar _DTGRTe = \"DescribeTransitGatewayRouteTables\";\nvar _DTGRTi = \"DisassociateTransitGatewayRouteTable\";\nvar _DTGVA = \"DeleteTransitGatewayVpcAttachment\";\nvar _DTGVAe = \"DescribeTransitGatewayVpcAttachments\";\nvar _DTGe = \"DescribeTransitGateways\";\nvar _DTI = \"DisassociateTrunkInterface\";\nvar _DTIA = \"DescribeTrunkInterfaceAssociations\";\nvar _DTMF = \"DeleteTrafficMirrorFilter\";\nvar _DTMFR = \"DeleteTrafficMirrorFilterRule\";\nvar _DTMFRe = \"DescribeTrafficMirrorFilterRules\";\nvar _DTMFe = \"DescribeTrafficMirrorFilters\";\nvar _DTMS = \"DeleteTrafficMirrorSession\";\nvar _DTMSe = \"DescribeTrafficMirrorSessions\";\nvar _DTMT = \"DeleteTrafficMirrorTarget\";\nvar _DTMTe = \"DescribeTrafficMirrorTargets\";\nvar _DTP = \"DeviceTrustProviders\";\nvar _DTPC = \"DefaultThreadsPerCore\";\nvar _DTPT = \"DeviceTrustProviderType\";\nvar _DTS = \"DpdTimeoutSeconds\";\nvar _DTe = \"DescribeTags\";\nvar _DTel = \"DeletionTime\";\nvar _DTele = \"DeleteTime\";\nvar _DTelet = \"DeletionTimestamp\";\nvar _DTep = \"DeprecationTime\";\nvar _DTi = \"DisablingTime\";\nvar _DTis = \"DisabledTime\";\nvar _DV = \"DeleteVolume\";\nvar _DVA = \"DescribeVolumeAttribute\";\nvar _DVAE = \"DeleteVerifiedAccessEndpoint\";\nvar _DVAEe = \"DescribeVerifiedAccessEndpoints\";\nvar _DVAG = \"DeleteVerifiedAccessGroup\";\nvar _DVAGe = \"DescribeVerifiedAccessGroups\";\nvar _DVAI = \"DeleteVerifiedAccessInstance\";\nvar _DVAILC = \"DescribeVerifiedAccessInstanceLoggingConfigurations\";\nvar _DVAIe = \"DescribeVerifiedAccessInstances\";\nvar _DVATP = \"DeleteVerifiedAccessTrustProvider\";\nvar _DVATPe = \"DescribeVerifiedAccessTrustProviders\";\nvar _DVATPet = \"DetachVerifiedAccessTrustProvider\";\nvar _DVAe = \"DescribeVpcAttribute\";\nvar _DVBPAE = \"DeleteVpcBlockPublicAccessExclusion\";\nvar _DVBPAEe = \"DescribeVpcBlockPublicAccessExclusions\";\nvar _DVBPAO = \"DescribeVpcBlockPublicAccessOptions\";\nvar _DVC = \"DeleteVpnConnection\";\nvar _DVCB = \"DisassociateVpcCidrBlock\";\nvar _DVCL = \"DescribeVpcClassicLink\";\nvar _DVCLDS = \"DescribeVpcClassicLinkDnsSupport\";\nvar _DVCLDSi = \"DisableVpcClassicLinkDnsSupport\";\nvar _DVCLi = \"DisableVpcClassicLink\";\nvar _DVCR = \"DeleteVpnConnectionRoute\";\nvar _DVCe = \"DescribeVpnConnections\";\nvar _DVCef = \"DefaultVCpus\";\nvar _DVD = \"DeviceValidationDomain\";\nvar _DVE = \"DeleteVpcEndpoints\";\nvar _DVEA = \"DescribeVpcEndpointAssociations\";\nvar _DVEC = \"DescribeVpcEndpointConnections\";\nvar _DVECN = \"DeleteVpcEndpointConnectionNotifications\";\nvar _DVECNe = \"DescribeVpcEndpointConnectionNotifications\";\nvar _DVES = \"DescribeVpcEndpointServices\";\nvar _DVESC = \"DeleteVpcEndpointServiceConfigurations\";\nvar _DVESCe = \"DescribeVpcEndpointServiceConfigurations\";\nvar _DVESP = \"DescribeVpcEndpointServicePermissions\";\nvar _DVEe = \"DescribeVpcEndpoints\";\nvar _DVG = \"DeleteVpnGateway\";\nvar _DVGe = \"DescribeVpnGateways\";\nvar _DVGet = \"DetachVpnGateway\";\nvar _DVM = \"DescribeVolumesModifications\";\nvar _DVN = \"DefaultVersionNumber\";\nvar _DVPC = \"DeleteVpcPeeringConnection\";\nvar _DVPCe = \"DescribeVpcPeeringConnections\";\nvar _DVRP = \"DisableVgwRoutePropagation\";\nvar _DVS = \"DescribeVolumeStatus\";\nvar _DVe = \"DeleteVpc\";\nvar _DVef = \"DefaultVersion\";\nvar _DVes = \"DescribeVolumes\";\nvar _DVesc = \"DescribeVpcs\";\nvar _DVest = \"DestinationVpc\";\nvar _DVet = \"DetachVolume\";\nvar _Da = \"Data\";\nvar _De = \"Description\";\nvar _Dea = \"Deadline\";\nvar _Des = \"Destinations\";\nvar _Det = \"Details\";\nvar _Dev = \"Device\";\nvar _Di = \"Direction\";\nvar _Dis = \"Disks\";\nvar _Do = \"Domain\";\nvar _Du = \"Duration\";\nvar _E = \"Ebs\";\nvar _EA = \"EnableAcceleration\";\nvar _EAIS = \"EnableAllowedImagesSettings\";\nvar _EANPMS = \"EnableAwsNetworkPerformanceMetricSubscription\";\nvar _EAT = \"EnableAddressTransfer\";\nvar _EAn = \"EniAddress\";\nvar _EAx = \"ExclusionsAllowed\";\nvar _EB = \"EgressBytes\";\nvar _EBV = \"ExcludeBootVolume\";\nvar _EC = \"ErrorCode\";\nvar _ECTP = \"ExcessCapacityTerminationPolicy\";\nvar _ECVCC = \"ExportClientVpnClientConfiguration\";\nvar _ECVCCRL = \"ExportClientVpnClientCertificateRevocationList\";\nvar _ECn = \"EncryptionControl\";\nvar _ECx = \"ExplanationCode\";\nvar _ED = \"EndDate\";\nvar _EDH = \"EnableDnsHostnames\";\nvar _EDP = \"EndpointDomainPrefix\";\nvar _EDR = \"EndDateRange\";\nvar _EDS = \"EnableDnsSupport\";\nvar _EDT = \"EndDateType\";\nvar _EDVI = \"ExcludeDataVolumeIds\";\nvar _EDf = \"EffectiveDate\";\nvar _EDn = \"EnableDns64\";\nvar _EDnd = \"EndpointDomain\";\nvar _EDv = \"EventDescription\";\nvar _EDx = \"ExpirationDate\";\nvar _EEA = \"EndpointEniAddress\";\nvar _EEBD = \"EbsEncryptionByDefault\";\nvar _EEEBD = \"EnableEbsEncryptionByDefault\";\nvar _EEI = \"EndpointEniId\";\nvar _EFL = \"EnableFastLaunch\";\nvar _EFR = \"EgressFilterRules\";\nvar _EFSR = \"EnableFastSnapshotRestores\";\nvar _EGA = \"ElasticGpuAssociations\";\nvar _EGAI = \"ElasticGpuAssociationId\";\nvar _EGAS = \"ElasticGpuAssociationState\";\nvar _EGAT = \"ElasticGpuAssociationTime\";\nvar _EGH = \"ElasticGpuHealth\";\nvar _EGI = \"ElasticGpuIds\";\nvar _EGIl = \"ElasticGpuId\";\nvar _EGS = \"ElasticGpuSpecifications\";\nvar _EGSl = \"ElasticGpuSpecification\";\nvar _EGSla = \"ElasticGpuSet\";\nvar _EGSlas = \"ElasticGpuState\";\nvar _EGT = \"ElasticGpuType\";\nvar _EH = \"EndHour\";\nvar _EI = \"EnableImage\";\nvar _EIA = \"ElasticInferenceAccelerators\";\nvar _EIAA = \"ElasticInferenceAcceleratorArn\";\nvar _EIAAI = \"ElasticInferenceAcceleratorAssociationId\";\nvar _EIAAS = \"ElasticInferenceAcceleratorAssociationState\";\nvar _EIAAT = \"ElasticInferenceAcceleratorAssociationTime\";\nvar _EIAAl = \"ElasticInferenceAcceleratorAssociations\";\nvar _EIBPA = \"EnableImageBlockPublicAccess\";\nvar _EID = \"EnableImageDeprecation\";\nvar _EIDP = \"EnableImageDeregistrationProtection\";\nvar _EIOAA = \"EnableIpamOrganizationAdminAccount\";\nvar _EIT = \"ExcludedInstanceTypes\";\nvar _EITI = \"ExportImageTaskIds\";\nvar _EITIx = \"ExportImageTaskId\";\nvar _EITS = \"EncryptionInTransitSupported\";\nvar _EITx = \"ExportImageTasks\";\nvar _EIb = \"EbsInfo\";\nvar _EIf = \"EfaInfo\";\nvar _EIn = \"EniId\";\nvar _EIv = \"EventInformation\";\nvar _EIve = \"EventId\";\nvar _EIx = \"ExportImage\";\nvar _EIxc = \"ExclusionId\";\nvar _EIxch = \"ExchangeId\";\nvar _EIxcl = \"ExclusionIds\";\nvar _EKKI = \"EncryptionKmsKeyId\";\nvar _ELADI = \"EnableLniAtDeviceIndex\";\nvar _ELBL = \"ElasticLoadBalancerListener\";\nvar _EM = \"ErrorMessage\";\nvar _ENAUM = \"EnableNetworkAddressUsageMetrics\";\nvar _EO = \"EbsOptimized\";\nvar _EOI = \"EbsOptimizedInfo\";\nvar _EOIG = \"EgressOnlyInternetGateway\";\nvar _EOIGI = \"EgressOnlyInternetGatewayId\";\nvar _EOIGIg = \"EgressOnlyInternetGatewayIds\";\nvar _EOIGg = \"EgressOnlyInternetGateways\";\nvar _EOS = \"EbsOptimizedSupport\";\nvar _EOn = \"EnclaveOptions\";\nvar _EP = \"ExcludePaths\";\nvar _EPG = \"EnablePrivateGua\";\nvar _EPI = \"EnablePrimaryIpv6\";\nvar _EPg = \"EgressPackets\";\nvar _EQC = \"EnaQueueCount\";\nvar _ERAOS = \"EnableReachabilityAnalyzerOrganizationSharing\";\nvar _ERNDAAAAR = \"EnableResourceNameDnsAAAARecord\";\nvar _ERNDAAAAROL = \"EnableResourceNameDnsAAAARecordOnLaunch\";\nvar _ERNDAR = \"EnableResourceNameDnsARecord\";\nvar _ERNDAROL = \"EnableResourceNameDnsARecordOnLaunch\";\nvar _ERSP = \"EnableRouteServerPropagation\";\nvar _ES = \"EphemeralStorage\";\nvar _ESBPA = \"EnableSnapshotBlockPublicAccess\";\nvar _ESCA = \"EnableSerialConsoleAccess\";\nvar _ESE = \"EnaSrdEnabled\";\nvar _ESS = \"EnaSrdSpecification\";\nvar _ESSn = \"EnaSrdSupported\";\nvar _EST = \"EventSubType\";\nvar _ESUE = \"EnaSrdUdpEnabled\";\nvar _ESUS = \"EnaSrdUdpSpecification\";\nvar _ESf = \"EfaSupported\";\nvar _ESn = \"EnaSupport\";\nvar _ESnc = \"EncryptionSupport\";\nvar _ET = \"EndpointType\";\nvar _ETGR = \"ExportTransitGatewayRoutes\";\nvar _ETGRTP = \"EnableTransitGatewayRouteTablePropagation\";\nvar _ETI = \"ExportTaskId\";\nvar _ETIx = \"ExportTaskIds\";\nvar _ETLC = \"EnableTunnelLifecycleControl\";\nvar _ETST = \"ExportToS3Task\";\nvar _ETa = \"EarliestTime\";\nvar _ETi = \"EipTags\";\nvar _ETn = \"EndTime\";\nvar _ETna = \"EnablingTime\";\nvar _ETnab = \"EnabledTime\";\nvar _ETv = \"EventType\";\nvar _ETx = \"ExpirationTime\";\nvar _ETxp = \"ExportTask\";\nvar _ETxpo = \"ExportTasks\";\nvar _EU = \"ExecutableUsers\";\nvar _EVAICC = \"ExportVerifiedAccessInstanceClientConfiguration\";\nvar _EVCL = \"EnableVpcClassicLink\";\nvar _EVCLDS = \"EnableVpcClassicLinkDnsSupport\";\nvar _EVIO = \"EnableVolumeIO\";\nvar _EVRP = \"EnableVgwRoutePropagation\";\nvar _EWD = \"EndWeekDay\";\nvar _Eg = \"Egress\";\nvar _En = \"Enabled\";\nvar _Enc = \"Encrypted\";\nvar _End = \"End\";\nvar _Endp = \"Endpoint\";\nvar _Enf = \"Enforced\";\nvar _Ent = \"Entries\";\nvar _Er = \"Error\";\nvar _Err = \"Errors\";\nvar _Ev = \"Events\";\nvar _Eve = \"Event\";\nvar _Ex = \"Explanations\";\nvar _F = \"Force\";\nvar _FA = \"FederatedAuthentication\";\nvar _FAD = \"FilterAtDestination\";\nvar _FAS = \"FilterAtSource\";\nvar _FAi = \"FirstAddress\";\nvar _FC = \"FulfilledCapacity\";\nvar _FCR = \"FleetCapacityReservations\";\nvar _FCa = \"FailureCode\";\nvar _FCi = \"FindingComponents\";\nvar _FD = \"ForceDelete\";\nvar _FDN = \"FipsDnsName\";\nvar _FE = \"FipsEnabled\";\nvar _FEQS = \"FlexibleEnaQueuesSupport\";\nvar _FF = \"FileFormat\";\nvar _FFC = \"FailedFleetCancellations\";\nvar _FFi = \"FindingsFound\";\nvar _FI = \"FleetIds\";\nvar _FIA = \"FilterInArns\";\nvar _FIAp = \"FpgaImageAttribute\";\nvar _FIGI = \"FpgaImageGlobalId\";\nvar _FII = \"FpgaImageId\";\nvar _FIIp = \"FpgaImageIds\";\nvar _FIPSE = \"FIPSEnabled\";\nvar _FIi = \"FindingId\";\nvar _FIl = \"FleetId\";\nvar _FIp = \"FpgaImages\";\nvar _FIpg = \"FpgaInfo\";\nvar _FL = \"FlowLogs\";\nvar _FLI = \"FlowLogIds\";\nvar _FLIa = \"FastLaunchImages\";\nvar _FLIl = \"FlowLogId\";\nvar _FLS = \"FlowLogStatus\";\nvar _FM = \"FailureMessage\";\nvar _FOA = \"FilterOutArns\";\nvar _FODC = \"FulfilledOnDemandCapacity\";\nvar _FP = \"FromPort\";\nvar _FPC = \"ForwardPathComponents\";\nvar _FPi = \"FixedPrice\";\nvar _FQPD = \"FailedQueuedPurchaseDeletions\";\nvar _FR = \"FailureReason\";\nvar _FRa = \"FastRestored\";\nvar _FS = \"FleetState\";\nvar _FSR = \"FastSnapshotRestores\";\nvar _FSRSE = \"FastSnapshotRestoreStateErrors\";\nvar _FSRi = \"FirewallStatelessRule\";\nvar _FSRir = \"FirewallStatefulRule\";\nvar _FSSIB = \"FullSnapshotSizeInBytes\";\nvar _FSST = \"FirstSlotStartTime\";\nvar _FSSTR = \"FirstSlotStartTimeRange\";\nvar _FTE = \"FreeTierEligible\";\nvar _Fa = \"Fault\";\nvar _Fi = \"Filters\";\nvar _Fil = \"Filter\";\nvar _Fl = \"Fleets\";\nvar _Fo = \"Format\";\nvar _Fp = \"Fpgas\";\nvar _Fr = \"From\";\nvar _Fre = \"Frequency\";\nvar _G = \"Groups\";\nvar _GA = \"GroupArn\";\nvar _GAECIR = \"GetAssociatedEnclaveCertificateIamRoles\";\nvar _GAIPC = \"GetAssociatedIpv6PoolCidrs\";\nvar _GAIS = \"GetAllowedImagesSettings\";\nvar _GANPD = \"GetAwsNetworkPerformanceData\";\nvar _GAS = \"GatewayAssociationState\";\nvar _GCO = \"GetConsoleOutput\";\nvar _GCPU = \"GetCoipPoolUsage\";\nvar _GCRU = \"GetCapacityReservationUsage\";\nvar _GCS = \"GetConsoleScreenshot\";\nvar _GD = \"GroupDescription\";\nvar _GDCS = \"GetDefaultCreditSpecification\";\nvar _GDPRS = \"GetDeclarativePoliciesReportSummary\";\nvar _GEDKKI = \"GetEbsDefaultKmsKeyId\";\nvar _GEEBD = \"GetEbsEncryptionByDefault\";\nvar _GFLIT = \"GetFlowLogsIntegrationTemplate\";\nvar _GGFCR = \"GetGroupsForCapacityReservation\";\nvar _GHRPP = \"GetHostReservationPurchasePreview\";\nvar _GI = \"GatewayId\";\nvar _GIA = \"GroupIpAddress\";\nvar _GIAH = \"GetIpamAddressHistory\";\nvar _GIBPAS = \"GetImageBlockPublicAccessState\";\nvar _GIDA = \"GetIpamDiscoveredAccounts\";\nvar _GIDPA = \"GetIpamDiscoveredPublicAddresses\";\nvar _GIDRC = \"GetIpamDiscoveredResourceCidrs\";\nvar _GIMD = \"GetInstanceMetadataDefaults\";\nvar _GIPA = \"GetIpamPoolAllocations\";\nvar _GIPC = \"GetIpamPoolCidrs\";\nvar _GIRC = \"GetIpamResourceCidrs\";\nvar _GITEP = \"GetInstanceTpmEkPub\";\nvar _GITFIR = \"GetInstanceTypesFromInstanceRequirements\";\nvar _GIUD = \"GetInstanceUefiData\";\nvar _GIp = \"GpuInfo\";\nvar _GIr = \"GroupId\";\nvar _GIro = \"GroupIds\";\nvar _GK = \"GreKey\";\nvar _GLBA = \"GatewayLoadBalancerArns\";\nvar _GLBEI = \"GatewayLoadBalancerEndpointId\";\nvar _GLN = \"GroupLongName\";\nvar _GLTD = \"GetLaunchTemplateData\";\nvar _GM = \"GroupMember\";\nvar _GMPLA = \"GetManagedPrefixListAssociations\";\nvar _GMPLE = \"GetManagedPrefixListEntries\";\nvar _GN = \"GroupName\";\nvar _GNIASAF = \"GetNetworkInsightsAccessScopeAnalysisFindings\";\nvar _GNIASC = \"GetNetworkInsightsAccessScopeContent\";\nvar _GNr = \"GroupNames\";\nvar _GOI = \"GroupOwnerId\";\nvar _GPD = \"GetPasswordData\";\nvar _GRIEQ = \"GetReservedInstancesExchangeQuote\";\nvar _GRSA = \"GetRouteServerAssociations\";\nvar _GRSP = \"GetRouteServerPropagations\";\nvar _GRSRD = \"GetRouteServerRoutingDatabase\";\nvar _GS = \"GroupSource\";\nvar _GSBPAS = \"GetSnapshotBlockPublicAccessState\";\nvar _GSCAS = \"GetSerialConsoleAccessStatus\";\nvar _GSCR = \"GetSubnetCidrReservations\";\nvar _GSGFV = \"GetSecurityGroupsForVpc\";\nvar _GSPS = \"GetSpotPlacementScores\";\nvar _GTGAP = \"GetTransitGatewayAttachmentPropagations\";\nvar _GTGMDA = \"GetTransitGatewayMulticastDomainAssociations\";\nvar _GTGPLR = \"GetTransitGatewayPrefixListReferences\";\nvar _GTGPTA = \"GetTransitGatewayPolicyTableAssociations\";\nvar _GTGPTE = \"GetTransitGatewayPolicyTableEntries\";\nvar _GTGRTA = \"GetTransitGatewayRouteTableAssociations\";\nvar _GTGRTP = \"GetTransitGatewayRouteTablePropagations\";\nvar _GVAEP = \"GetVerifiedAccessEndpointPolicy\";\nvar _GVAET = \"GetVerifiedAccessEndpointTargets\";\nvar _GVAGP = \"GetVerifiedAccessGroupPolicy\";\nvar _GVCDSC = \"GetVpnConnectionDeviceSampleConfiguration\";\nvar _GVCDT = \"GetVpnConnectionDeviceTypes\";\nvar _GVTRS = \"GetVpnTunnelReplacementStatus\";\nvar _Gp = \"Gpus\";\nvar _Gr = \"Group\";\nvar _H = \"Hypervisor\";\nvar _HCP = \"HiveCompatiblePartitions\";\nvar _HE = \"HttpEndpoint\";\nvar _HI = \"HostIds\";\nvar _HIS = \"HostIdSet\";\nvar _HIo = \"HostId\";\nvar _HM = \"HostMaintenance\";\nvar _HO = \"HibernationOptions\";\nvar _HP = \"HostProperties\";\nvar _HPI = \"HttpProtocolIpv6\";\nvar _HPRHL = \"HttpPutResponseHopLimit\";\nvar _HPo = \"HourlyPrice\";\nvar _HR = \"HostRecovery\";\nvar _HRGA = \"HostResourceGroupArn\";\nvar _HRI = \"HostReservationId\";\nvar _HRIS = \"HostReservationIdSet\";\nvar _HRS = \"HostReservationSet\";\nvar _HRi = \"HistoryRecords\";\nvar _HS = \"HibernationSupported\";\nvar _HT = \"HttpTokens\";\nvar _HTo = \"HostnameType\";\nvar _HZI = \"HostedZoneId\";\nvar _Hi = \"Hibernate\";\nvar _Ho = \"Hosts\";\nvar _I = \"Issuer\";\nvar _IA = \"Ipv6Addresses\";\nvar _IAA = \"Ipv6AddressAttribute\";\nvar _IAC = \"Ipv6AddressCount\";\nvar _IAI = \"IncludeAllInstances\";\nvar _IAIn = \"InferenceAcceleratorInfo\";\nvar _IAPI = \"Ipv4AddressesPerInterface\";\nvar _IAPIp = \"Ipv6AddressesPerInterface\";\nvar _IAT = \"IpAddressType\";\nvar _IATOI = \"IncludeAllTagsOfInstance\";\nvar _IAm = \"ImageAllowed\";\nvar _IAn = \"InterfaceAssociation\";\nvar _IAnt = \"InterfaceAssociations\";\nvar _IAp = \"IpAddress\";\nvar _IApa = \"IpamArn\";\nvar _IApv = \"Ipv6Address\";\nvar _IB = \"IngressBytes\";\nvar _IBPAS = \"ImageBlockPublicAccessState\";\nvar _IC = \"InstanceCount\";\nvar _ICA = \"Ipv6CidrAssociations\";\nvar _ICB = \"Ipv6CidrBlock\";\nvar _ICBA = \"Ipv6CidrBlockAssociation\";\nvar _ICBAS = \"Ipv6CidrBlockAssociationSet\";\nvar _ICBNBG = \"Ipv6CidrBlockNetworkBorderGroup\";\nvar _ICBS = \"Ipv6CidrBlockState\";\nvar _ICBSp = \"Ipv6CidrBlockSet\";\nvar _ICBn = \"InsideCidrBlocks\";\nvar _ICE = \"InstanceConnectEndpoint\";\nvar _ICEA = \"InstanceConnectEndpointArn\";\nvar _ICEI = \"InstanceConnectEndpointId\";\nvar _ICEIn = \"InstanceConnectEndpointIds\";\nvar _ICEn = \"InstanceConnectEndpoints\";\nvar _ICS = \"InstanceCreditSpecifications\";\nvar _ICVCCRL = \"ImportClientVpnClientCertificateRevocationList\";\nvar _ICm = \"ImageCriteria\";\nvar _ICn = \"InstanceCounts\";\nvar _ICp = \"Ipv6Cidr\";\nvar _ID = \"IncludeDeprecated\";\nvar _IDA = \"IpamDiscoveredAccounts\";\nvar _IDPA = \"IpamDiscoveredPublicAddresses\";\nvar _IDRC = \"IpamDiscoveredResourceCidrs\";\nvar _IDm = \"ImageData\";\nvar _IDn = \"IncludeDisabled\";\nvar _IDs = \"IsDefault\";\nvar _IE = \"IsEgress\";\nvar _IED = \"InstanceExportDetails\";\nvar _IEI = \"InstanceEventId\";\nvar _IERVT = \"IpamExternalResourceVerificationToken\";\nvar _IERVTA = \"IpamExternalResourceVerificationTokenArn\";\nvar _IERVTI = \"IpamExternalResourceVerificationTokenId\";\nvar _IERVTIp = \"IpamExternalResourceVerificationTokenIds\";\nvar _IERVTp = \"IpamExternalResourceVerificationTokens\";\nvar _IEW = \"InstanceEventWindow\";\nvar _IEWI = \"InstanceEventWindowId\";\nvar _IEWIn = \"InstanceEventWindowIds\";\nvar _IEWS = \"InstanceEventWindowState\";\nvar _IEWn = \"InstanceEventWindows\";\nvar _IF = \"InstanceFamily\";\nvar _IFCS = \"InstanceFamilyCreditSpecification\";\nvar _IFR = \"IamFleetRole\";\nvar _IFRn = \"IngressFilterRules\";\nvar _IG = \"InstanceGenerations\";\nvar _IGBM = \"InternetGatewayBlockMode\";\nvar _IGEM = \"InternetGatewayExclusionMode\";\nvar _IGI = \"InternetGatewayId\";\nvar _IGIn = \"InternetGatewayIds\";\nvar _IGn = \"InternetGateway\";\nvar _IGnt = \"InternetGateways\";\nvar _IH = \"InstanceHealth\";\nvar _IHn = \"InboundHeader\";\nvar _II = \"ImportImage\";\nvar _IIB = \"InstanceInterruptionBehavior\";\nvar _IIM = \"InstanceImageMetadata\";\nvar _IIP = \"IamInstanceProfile\";\nvar _IIPA = \"IamInstanceProfileAssociation\";\nvar _IIPAa = \"IamInstanceProfileAssociations\";\nvar _IIPI = \"Ipv6IpamPoolId\";\nvar _IIPIp = \"Ipv4IpamPoolId\";\nvar _IIS = \"InstanceIdSet\";\nvar _IISB = \"InstanceInitiatedShutdownBehavior\";\nvar _IIT = \"ImportImageTasks\";\nvar _IIm = \"ImportInstance\";\nvar _IIma = \"ImageId\";\nvar _IImag = \"ImageIds\";\nvar _IIn = \"InstanceId\";\nvar _IIns = \"InstanceIds\";\nvar _IIp = \"IpamId\";\nvar _IIpa = \"IpamIds\";\nvar _IKEV = \"InternetKeyExchangeVersion\";\nvar _IKEVe = \"IKEVersions\";\nvar _IKP = \"ImportKeyPair\";\nvar _IL = \"ImageLocation\";\nvar _ILn = \"InstanceLifecycle\";\nvar _IM = \"IncludeMarketplace\";\nvar _IMC = \"InstanceMatchCriteria\";\nvar _IMO = \"InstanceMarketOptions\";\nvar _IMOn = \"InstanceMetadataOptions\";\nvar _IMT = \"InstanceMetadataTags\";\nvar _IMU = \"ImportManifestUrl\";\nvar _IMm = \"ImageMetadata\";\nvar _IMn = \"InstanceMonitorings\";\nvar _IN = \"Ipv6Native\";\nvar _INL = \"Ipv6NetmaskLength\";\nvar _INLp = \"Ipv4NetmaskLength\";\nvar _IOA = \"ImageOwnerAlias\";\nvar _IOI = \"IpOwnerId\";\nvar _IOIn = \"InstanceOwnerId\";\nvar _IOS = \"InstanceOwningService\";\nvar _IP = \"Ipv6Prefixes\";\nvar _IPA = \"IpamPoolAllocation\";\nvar _IPAI = \"IpamPoolAllocationId\";\nvar _IPAp = \"IpamPoolAllocations\";\nvar _IPApa = \"IpamPoolArn\";\nvar _IPC = \"Ipv6PrefixCount\";\nvar _IPCI = \"IpamPoolCidrId\";\nvar _IPCp = \"Ipv4PrefixCount\";\nvar _IPCpa = \"IpamPoolCidr\";\nvar _IPCpam = \"IpamPoolCidrs\";\nvar _IPE = \"IpPermissionsEgress\";\nvar _IPI = \"IpamPoolId\";\nvar _IPIp = \"IpamPoolIds\";\nvar _IPIs = \"IsPrimaryIpv6\";\nvar _IPK = \"IncludePublicKey\";\nvar _IPO = \"IpamPoolOwner\";\nvar _IPR = \"IsPermanentRestore\";\nvar _IPTUC = \"InstancePoolsToUseCount\";\nvar _IPm = \"ImageProviders\";\nvar _IPn = \"InstancePlatform\";\nvar _IPng = \"IngressPackets\";\nvar _IPns = \"InstancePort\";\nvar _IPnt = \"InterfacePermission\";\nvar _IPnte = \"InterfaceProtocol\";\nvar _IPo = \"IoPerformance\";\nvar _IPp = \"Ipv4Prefixes\";\nvar _IPpa = \"IpamPool\";\nvar _IPpam = \"IpamPools\";\nvar _IPpe = \"IpPermissions\";\nvar _IPpr = \"IpProtocol\";\nvar _IPpre = \"IpPrefixes\";\nvar _IPpv = \"Ipv6Pool\";\nvar _IPpvo = \"Ipv6Pools\";\nvar _IPpvr = \"Ipv4Prefix\";\nvar _IPpvre = \"Ipv6Prefix\";\nvar _IPs = \"IsPublic\";\nvar _IPsr = \"IsPrimary\";\nvar _IR = \"InstanceRequirements\";\nvar _IRC = \"IpamResourceCidrs\";\nvar _IRCp = \"IpamResourceCidr\";\nvar _IRD = \"IpamResourceDiscovery\";\nvar _IRDA = \"IpamResourceDiscoveryAssociation\";\nvar _IRDAA = \"IpamResourceDiscoveryAssociationArn\";\nvar _IRDAI = \"IpamResourceDiscoveryAssociationIds\";\nvar _IRDAIp = \"IpamResourceDiscoveryAssociationId\";\nvar _IRDAp = \"IpamResourceDiscoveryAssociations\";\nvar _IRDApa = \"IpamResourceDiscoveryArn\";\nvar _IRDI = \"IpamResourceDiscoveryId\";\nvar _IRDIp = \"IpamResourceDiscoveryIds\";\nvar _IRDR = \"IpamResourceDiscoveryRegion\";\nvar _IRDp = \"IpamResourceDiscoveries\";\nvar _IRSDA = \"IntegrationResultS3DestinationArn\";\nvar _IRT = \"IngressRouteTable\";\nvar _IRWM = \"InstanceRequirementsWithMetadata\";\nvar _IRp = \"IpRanges\";\nvar _IRpa = \"IpamRegion\";\nvar _IRpv = \"Ipv6Ranges\";\nvar _IS = \"ImportSnapshot\";\nvar _ISA = \"IpamScopeArn\";\nvar _ISI = \"IpamScopeId\";\nvar _ISIn = \"InstanceStorageInfo\";\nvar _ISIp = \"IpamScopeIds\";\nvar _ISL = \"InputStorageLocation\";\nvar _ISS = \"InstanceStorageSupported\";\nvar _IST = \"ImportSnapshotTasks\";\nvar _ISTp = \"IpamScopeType\";\nvar _ISg = \"Igmpv2Support\";\nvar _ISm = \"ImdsSupport\";\nvar _ISmp = \"ImpairedSince\";\nvar _ISn = \"InstanceSpecification\";\nvar _ISns = \"InstanceStatuses\";\nvar _ISnst = \"InstanceState\";\nvar _ISnsta = \"InstanceStatus\";\nvar _ISnt = \"IntegrateServices\";\nvar _ISp = \"Ipv6Support\";\nvar _ISpa = \"IpamScope\";\nvar _ISpam = \"IpamScopes\";\nvar _ISpo = \"IpSource\";\nvar _ISpv = \"Ipv6Supported\";\nvar _IT = \"InstanceType\";\nvar _ITA = \"InstanceTagAttribute\";\nvar _ITC = \"IcmpTypeCode\";\nvar _ITCn = \"IncludeTrustContext\";\nvar _ITI = \"ImportTaskId\";\nvar _ITIm = \"ImportTaskIds\";\nvar _ITK = \"InstanceTagKeys\";\nvar _ITO = \"InstanceTypeOfferings\";\nvar _ITS = \"InstanceTypeSpecifications\";\nvar _ITm = \"ImageType\";\nvar _ITn = \"InterfaceType\";\nvar _ITns = \"InstanceTenancy\";\nvar _ITnst = \"InstanceTypes\";\nvar _ITnsta = \"InstanceTags\";\nvar _IU = \"InstanceUsages\";\nvar _IUp = \"IpUsage\";\nvar _IV = \"ImportVolume\";\nvar _IVE = \"IsValidExchange\";\nvar _IVk = \"IkeVersions\";\nvar _Id = \"Id\";\nvar _Im = \"Image\";\nvar _Ima = \"Images\";\nvar _In = \"Instances\";\nvar _Ins = \"Instance\";\nvar _Int = \"Interval\";\nvar _Io = \"Iops\";\nvar _Ip = \"Ipv4\";\nvar _Ipa = \"Ipam\";\nvar _Ipam = \"Ipams\";\nvar _Ipv = \"Ipv6\";\nvar _K = \"Kernel\";\nvar _KDF = \"KinesisDataFirehose\";\nvar _KF = \"KeyFormat\";\nvar _KFe = \"KeyFingerprint\";\nvar _KI = \"KernelId\";\nvar _KKA = \"KmsKeyArn\";\nvar _KKI = \"KmsKeyId\";\nvar _KM = \"KeyMaterial\";\nvar _KN = \"KeyName\";\nvar _KNe = \"KeyNames\";\nvar _KP = \"KeyPairs\";\nvar _KPI = \"KeyPairId\";\nvar _KPIe = \"KeyPairIds\";\nvar _KT = \"KeyType\";\nvar _KV = \"KeyValue\";\nvar _Ke = \"Key\";\nvar _Key = \"Keyword\";\nvar _L = \"Locale\";\nvar _LA = \"LocalAddress\";\nvar _LADT = \"LastAttemptedDiscoveryTime\";\nvar _LAZ = \"LaunchedAvailabilityZone\";\nvar _LAa = \"LastAddress\";\nvar _LB = \"LoadBalancers\";\nvar _LBA = \"LocalBgpAsn\";\nvar _LBAE = \"LocalBgpAsnExtended\";\nvar _LBAo = \"LoadBalancerArn\";\nvar _LBC = \"LoadBalancersConfig\";\nvar _LBLP = \"LoadBalancerListenerPort\";\nvar _LBO = \"LoadBalancerOptions\";\nvar _LBP = \"LoadBalancerPort\";\nvar _LBT = \"LoadBalancerTarget\";\nvar _LBTG = \"LoadBalancerTargetGroup\";\nvar _LBTGo = \"LoadBalancerTargetGroups\";\nvar _LBTP = \"LoadBalancerTargetPort\";\nvar _LC = \"LoggingConfigurations\";\nvar _LCA = \"LicenseConfigurationArn\";\nvar _LCO = \"LockCreatedOn\";\nvar _LCo = \"LoggingConfiguration\";\nvar _LD = \"LogDestination\";\nvar _LDST = \"LockDurationStartTime\";\nvar _LDT = \"LogDestinationType\";\nvar _LDo = \"LockDuration\";\nvar _LE = \"LogEnabled\";\nvar _LEO = \"LockExpiresOn\";\nvar _LET = \"LastEvaluatedTime\";\nvar _LEa = \"LastError\";\nvar _LF = \"LogFormat\";\nvar _LFA = \"LambdaFunctionArn\";\nvar _LG = \"LaunchGroup\";\nvar _LGA = \"LogGroupArn\";\nvar _LGI = \"LocalGatewayId\";\nvar _LGIo = \"LocalGatewayIds\";\nvar _LGN = \"LogGroupName\";\nvar _LGRT = \"LocalGatewayRouteTable\";\nvar _LGRTA = \"LocalGatewayRouteTableArn\";\nvar _LGRTI = \"LocalGatewayRouteTableId\";\nvar _LGRTIo = \"LocalGatewayRouteTableIds\";\nvar _LGRTVA = \"LocalGatewayRouteTableVpcAssociation\";\nvar _LGRTVAI = \"LocalGatewayRouteTableVpcAssociationId\";\nvar _LGRTVAIo = \"LocalGatewayRouteTableVpcAssociationIds\";\nvar _LGRTVAo = \"LocalGatewayRouteTableVpcAssociations\";\nvar _LGRTVIGA = \"LocalGatewayRouteTableVirtualInterfaceGroupAssociation\";\nvar _LGRTVIGAI = \"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId\";\nvar _LGRTVIGAIo = \"LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds\";\nvar _LGRTVIGAo = \"LocalGatewayRouteTableVirtualInterfaceGroupAssociations\";\nvar _LGRTo = \"LocalGatewayRouteTables\";\nvar _LGVI = \"LocalGatewayVirtualInterface\";\nvar _LGVIA = \"LocalGatewayVirtualInterfaceArn\";\nvar _LGVIG = \"LocalGatewayVirtualInterfaceGroup\";\nvar _LGVIGA = \"LocalGatewayVirtualInterfaceGroupArn\";\nvar _LGVIGI = \"LocalGatewayVirtualInterfaceGroupId\";\nvar _LGVIGIo = \"LocalGatewayVirtualInterfaceGroupIds\";\nvar _LGVIGo = \"LocalGatewayVirtualInterfaceGroups\";\nvar _LGVII = \"LocalGatewayVirtualInterfaceId\";\nvar _LGVIIo = \"LocalGatewayVirtualInterfaceIds\";\nvar _LGVIo = \"LocalGatewayVirtualInterfaces\";\nvar _LGo = \"LogGroup\";\nvar _LGoc = \"LocalGateways\";\nvar _LIIRB = \"ListImagesInRecycleBin\";\nvar _LINC = \"LocalIpv4NetworkCidr\";\nvar _LINCo = \"LocalIpv6NetworkCidr\";\nvar _LLT = \"LastLaunchedTime\";\nvar _LM = \"LockMode\";\nvar _LMA = \"LastMaintenanceApplied\";\nvar _LO = \"LogOptions\";\nvar _LOF = \"LogOutputFormat\";\nvar _LP = \"LoadPermission\";\nvar _LPa = \"LaunchPermission\";\nvar _LPau = \"LaunchPermissions\";\nvar _LPi = \"LimitPrice\";\nvar _LPo = \"LoadPermissions\";\nvar _LS = \"LockSnapshot\";\nvar _LSC = \"LastStatusChange\";\nvar _LSDT = \"LastSuccessfulDiscoveryTime\";\nvar _LSIRB = \"ListSnapshotsInRecycleBin\";\nvar _LSL = \"LogsStorageLocation\";\nvar _LST = \"LocalStorageTypes\";\nvar _LSa = \"LaunchSpecification\";\nvar _LSau = \"LaunchSpecifications\";\nvar _LSi = \"LicenseSpecifications\";\nvar _LSo = \"LocalStorage\";\nvar _LSoc = \"LockState\";\nvar _LT = \"LocationType\";\nvar _LTAO = \"LaunchTemplateAndOverrides\";\nvar _LTC = \"LaunchTemplateConfigs\";\nvar _LTD = \"LaunchTemplateData\";\nvar _LTI = \"LaunchTemplateId\";\nvar _LTIa = \"LaunchTemplateIds\";\nvar _LTN = \"LaunchTemplateName\";\nvar _LTNa = \"LaunchTemplateNames\";\nvar _LTOS = \"LastTieringOperationStatus\";\nvar _LTOSD = \"LastTieringOperationStatusDetail\";\nvar _LTP = \"LastTieringProgress\";\nvar _LTS = \"LaunchTemplateSpecification\";\nvar _LTST = \"LastTieringStartTime\";\nvar _LTV = \"LaunchTemplateVersion\";\nvar _LTVa = \"LaunchTemplateVersions\";\nvar _LTa = \"LaunchTemplate\";\nvar _LTat = \"LatestTime\";\nvar _LTau = \"LaunchTemplates\";\nvar _LTaun = \"LaunchTime\";\nvar _LTi = \"LicenseType\";\nvar _LTo = \"LocalTarget\";\nvar _LUT = \"LastUpdateTime\";\nvar _LUTa = \"LastUpdatedTime\";\nvar _LUTas = \"LastUpdateTimestamp\";\nvar _LV = \"LogVersion\";\nvar _LVN = \"LatestVersionNumber\";\nvar _La = \"Latest\";\nvar _Li = \"Lifecycle\";\nvar _Lic = \"Licenses\";\nvar _Lo = \"Location\";\nvar _M = \"Min\";\nvar _MA = \"MutualAuthentication\";\nvar _MAA = \"ModifyAddressAttribute\";\nvar _MAAA = \"MaintenanceAutoAppliedAfter\";\nvar _MAE = \"MultiAttachEnabled\";\nvar _MAI = \"MaxAggregationInterval\";\nvar _MAIe = \"MediaAcceleratorInfo\";\nvar _MAS = \"MovingAddressStatuses\";\nvar _MATV = \"MoveAddressToVpc\";\nvar _MAZG = \"ModifyAvailabilityZoneGroup\";\nvar _MAa = \"MacAddress\";\nvar _MAe = \"MeteredAccount\";\nvar _MB = \"ManagedBy\";\nvar _MBCTI = \"MoveByoipCidrToIpam\";\nvar _MBIM = \"MaximumBandwidthInMbps\";\nvar _MC = \"MaxCount\";\nvar _MCOIOL = \"MapCustomerOwnedIpOnLaunch\";\nvar _MCR = \"ModifyCapacityReservation\";\nvar _MCRF = \"ModifyCapacityReservationFleet\";\nvar _MCRI = \"MoveCapacityReservationInstances\";\nvar _MCVE = \"ModifyClientVpnEndpoint\";\nvar _MCi = \"MinCount\";\nvar _MCis = \"MissingComponent\";\nvar _MD = \"MaxDuration\";\nvar _MDA = \"MulticastDomainAssociations\";\nvar _MDCS = \"ModifyDefaultCreditSpecification\";\nvar _MDDS = \"MaxDrainDurationSeconds\";\nvar _MDK = \"MetaDataKey\";\nvar _MDV = \"MetaDataValue\";\nvar _MDa = \"MaintenanceDetails\";\nvar _MDe = \"MetaData\";\nvar _MDi = \"MinDuration\";\nvar _ME = \"MaxEntries\";\nvar _MEDKKI = \"ModifyEbsDefaultKmsKeyId\";\nvar _MEI = \"MaximumEfaInterfaces\";\nvar _MEM = \"ManagedExceptionMessage\";\nvar _MEQC = \"MaximumEnaQueueCount\";\nvar _MEQCPI = \"MaximumEnaQueueCountPerInterface\";\nvar _MF = \"ModifyFleet\";\nvar _MFIA = \"ModifyFpgaImageAttribute\";\nvar _MFV = \"MostFrequentValue\";\nvar _MG = \"MulticastGroups\";\nvar _MGBPVC = \"MemoryGiBPerVCpu\";\nvar _MH = \"ModifyHosts\";\nvar _MHa = \"MacHosts\";\nvar _MI = \"ModifyIpam\";\nvar _MIA = \"ModifyImageAttribute\";\nvar _MIAo = \"ModifyInstanceAttribute\";\nvar _MIC = \"MaxInstanceCount\";\nvar _MICO = \"ModifyInstanceCpuOptions\";\nvar _MICRA = \"ModifyInstanceCapacityReservationAttributes\";\nvar _MICS = \"ModifyInstanceCreditSpecification\";\nvar _MIEST = \"ModifyInstanceEventStartTime\";\nvar _MIEW = \"ModifyInstanceEventWindow\";\nvar _MIF = \"ModifyIdFormat\";\nvar _MIIF = \"ModifyIdentityIdFormat\";\nvar _MIMD = \"ModifyInstanceMetadataDefaults\";\nvar _MIMO = \"ModifyInstanceMaintenanceOptions\";\nvar _MIMOo = \"ModifyInstanceMetadataOptions\";\nvar _MINPO = \"ModifyInstanceNetworkPerformanceOptions\";\nvar _MIP = \"ModifyInstancePlacement\";\nvar _MIPo = \"ModifyIpamPool\";\nvar _MIRC = \"ModifyIpamResourceCidr\";\nvar _MIRD = \"ModifyIpamResourceDiscovery\";\nvar _MIS = \"ModifyIpamScope\";\nvar _MIa = \"MaximumIops\";\nvar _MIe = \"MemoryInfo\";\nvar _MIo = \"MonitorInstances\";\nvar _MLGR = \"ModifyLocalGatewayRoute\";\nvar _MLT = \"ModifyLaunchTemplate\";\nvar _MMB = \"MemoryMiB\";\nvar _MMPL = \"ModifyManagedPrefixList\";\nvar _MNC = \"MaximumNetworkCards\";\nvar _MNI = \"MaximumNetworkInterfaces\";\nvar _MNIA = \"ModifyNetworkInterfaceAttribute\";\nvar _MO = \"MetadataOptions\";\nvar _MOSLRG = \"MemberOfServiceLinkedResourceGroup\";\nvar _MOSLSV = \"MacOSLatestSupportedVersions\";\nvar _MOa = \"MaintenanceOptions\";\nvar _MP = \"MatchPaths\";\nvar _MPDNO = \"ModifyPrivateDnsNameOptions\";\nvar _MPIOL = \"MapPublicIpOnLaunch\";\nvar _MPL = \"MaxParallelLaunches\";\nvar _MPa = \"MaxPrice\";\nvar _MPe = \"MetricPoints\";\nvar _MR = \"MaxResults\";\nvar _MRI = \"ModifyReservedInstances\";\nvar _MRS = \"ModifyRouteServer\";\nvar _MRo = \"ModificationResults\";\nvar _MRu = \"MultiRegion\";\nvar _MS = \"MaintenanceStrategies\";\nvar _MSA = \"ModifySnapshotAttribute\";\nvar _MSAo = \"ModifySubnetAttribute\";\nvar _MSDIH = \"MaxSlotDurationInHours\";\nvar _MSDIHi = \"MinSlotDurationInHours\";\nvar _MSFR = \"ModifySpotFleetRequest\";\nvar _MSGR = \"ModifySecurityGroupRules\";\nvar _MSPAPOOODP = \"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice\";\nvar _MST = \"ModifySnapshotTier\";\nvar _MSa = \"ManagementState\";\nvar _MSo = \"MoveStatus\";\nvar _MSod = \"ModificationState\";\nvar _MSu = \"MulticastSupport\";\nvar _MT = \"MarketType\";\nvar _MTC = \"MinTargetCapacity\";\nvar _MTDID = \"MaxTermDurationInDays\";\nvar _MTDIDi = \"MinTermDurationInDays\";\nvar _MTG = \"ModifyTransitGateway\";\nvar _MTGPLR = \"ModifyTransitGatewayPrefixListReference\";\nvar _MTGVA = \"ModifyTransitGatewayVpcAttachment\";\nvar _MTIMB = \"MaximumThroughputInMBps\";\nvar _MTMFNS = \"ModifyTrafficMirrorFilterNetworkServices\";\nvar _MTMFR = \"ModifyTrafficMirrorFilterRule\";\nvar _MTMS = \"ModifyTrafficMirrorSession\";\nvar _MTP = \"MaxTotalPrice\";\nvar _MTe = \"MemberType\";\nvar _MV = \"ModifyVolume\";\nvar _MVA = \"ModifyVolumeAttribute\";\nvar _MVAE = \"ModifyVerifiedAccessEndpoint\";\nvar _MVAEP = \"ModifyVerifiedAccessEndpointPolicy\";\nvar _MVAG = \"ModifyVerifiedAccessGroup\";\nvar _MVAGP = \"ModifyVerifiedAccessGroupPolicy\";\nvar _MVAI = \"ModifyVerifiedAccessInstance\";\nvar _MVAILC = \"ModifyVerifiedAccessInstanceLoggingConfiguration\";\nvar _MVATP = \"ModifyVerifiedAccessTrustProvider\";\nvar _MVAo = \"ModifyVpcAttribute\";\nvar _MVBPAE = \"ModifyVpcBlockPublicAccessExclusion\";\nvar _MVBPAO = \"ModifyVpcBlockPublicAccessOptions\";\nvar _MVC = \"ModifyVpnConnection\";\nvar _MVCO = \"ModifyVpnConnectionOptions\";\nvar _MVE = \"ModifyVpcEndpoint\";\nvar _MVECN = \"ModifyVpcEndpointConnectionNotification\";\nvar _MVESC = \"ModifyVpcEndpointServiceConfiguration\";\nvar _MVESP = \"ModifyVpcEndpointServicePermissions\";\nvar _MVESPR = \"ModifyVpcEndpointServicePayerResponsibility\";\nvar _MVEa = \"ManagesVpcEndpoints\";\nvar _MVPCO = \"ModifyVpcPeeringConnectionOptions\";\nvar _MVT = \"ModifyVpcTenancy\";\nvar _MVTC = \"ModifyVpnTunnelCertificate\";\nvar _MVTO = \"ModifyVpnTunnelOptions\";\nvar _MVa = \"MaxVersion\";\nvar _MVi = \"MinVersion\";\nvar _Ma = \"Max\";\nvar _Mai = \"Main\";\nvar _Man = \"Manufacturer\";\nvar _Mana = \"Managed\";\nvar _Mar = \"Marketplace\";\nvar _Me = \"Message\";\nvar _Med = \"Med\";\nvar _Mes = \"Messages\";\nvar _Met = \"Metric\";\nvar _Mo = \"Mode\";\nvar _Mon = \"Monitoring\";\nvar _Moni = \"Monitored\";\nvar _N = \"Name\";\nvar _NA = \"NetworkAcl\";\nvar _NAAI = \"NetworkAclAssociationId\";\nvar _NAI = \"NetworkAclId\";\nvar _NAIe = \"NetworkAclIds\";\nvar _NAIew = \"NewAssociationId\";\nvar _NAOO = \"NativeApplicationOidcOptions\";\nvar _NAe = \"NetworkAcls\";\nvar _NAo = \"NotAfter\";\nvar _NB = \"NotBefore\";\nvar _NBD = \"NotBeforeDeadline\";\nvar _NBG = \"NetworkBorderGroup\";\nvar _NBGe = \"NetworkBandwidthGbps\";\nvar _NC = \"NetworkCards\";\nvar _NCI = \"NetworkCardIndex\";\nvar _ND = \"NoDevice\";\nvar _NDe = \"NeuronDevices\";\nvar _NES = \"NitroEnclavesSupport\";\nvar _NG = \"NatGateway\";\nvar _NGA = \"NatGatewayAddresses\";\nvar _NGI = \"NatGatewayId\";\nvar _NGIa = \"NatGatewayIds\";\nvar _NGa = \"NatGateways\";\nvar _NHI = \"NextHopIp\";\nvar _NI = \"NetworkInterfaces\";\nvar _NIA = \"NetworkInsightsAnalyses\";\nvar _NIAA = \"NetworkInsightsAnalysisArn\";\nvar _NIAI = \"NetworkInsightsAnalysisId\";\nvar _NIAIe = \"NetworkInsightsAnalysisIds\";\nvar _NIAS = \"NetworkInsightsAccessScope\";\nvar _NIASA = \"NetworkInsightsAccessScopeAnalyses\";\nvar _NIASAA = \"NetworkInsightsAccessScopeAnalysisArn\";\nvar _NIASAI = \"NetworkInsightsAccessScopeAnalysisId\";\nvar _NIASAIe = \"NetworkInsightsAccessScopeAnalysisIds\";\nvar _NIASAe = \"NetworkInsightsAccessScopeArn\";\nvar _NIASAet = \"NetworkInsightsAccessScopeAnalysis\";\nvar _NIASC = \"NetworkInsightsAccessScopeContent\";\nvar _NIASI = \"NetworkInsightsAccessScopeId\";\nvar _NIASIe = \"NetworkInsightsAccessScopeIds\";\nvar _NIASe = \"NetworkInsightsAccessScopes\";\nvar _NIASet = \"NetworkInterfaceAttachmentStatus\";\nvar _NIAe = \"NetworkInsightsAnalysis\";\nvar _NIC = \"NetworkInterfaceCount\";\nvar _NID = \"NetworkInterfaceDescription\";\nvar _NII = \"NetworkInterfaceId\";\nvar _NIIe = \"NetworkInterfaceIds\";\nvar _NIO = \"NetworkInterfaceOptions\";\nvar _NIOI = \"NetworkInterfaceOwnerId\";\nvar _NIP = \"NetworkInsightsPath\";\nvar _NIPA = \"NetworkInsightsPathArn\";\nvar _NIPI = \"NetworkInsightsPathId\";\nvar _NIPIe = \"NetworkInterfacePermissionId\";\nvar _NIPIet = \"NetworkInsightsPathIds\";\nvar _NIPIetw = \"NetworkInterfacePermissionIds\";\nvar _NIPe = \"NetworkInsightsPaths\";\nvar _NIPet = \"NetworkInterfacePermissions\";\nvar _NIe = \"NetworkId\";\nvar _NIet = \"NetworkInterface\";\nvar _NIetw = \"NetworkInfo\";\nvar _NIeu = \"NeuronInfo\";\nvar _NL = \"NetmaskLength\";\nvar _NLBA = \"NetworkLoadBalancerArn\";\nvar _NLBAe = \"NetworkLoadBalancerArns\";\nvar _NN = \"NetworkNodes\";\nvar _NOA = \"NumberOfAccounts\";\nvar _NOFA = \"NumberOfFailedAccounts\";\nvar _NOMA = \"NumberOfMatchedAccounts\";\nvar _NOUA = \"NumberOfUnmatchedAccounts\";\nvar _NP = \"NetworkPerformance\";\nvar _NPF = \"NetworkPathFound\";\nvar _NPO = \"NetworkPerformanceOptions\";\nvar _NPe = \"NetworkPlatform\";\nvar _NR = \"NoReboot\";\nvar _NS = \"NvmeSupport\";\nvar _NSST = \"NextSlotStartTime\";\nvar _NSe = \"NetworkServices\";\nvar _NT = \"NextToken\";\nvar _NTI = \"NitroTpmInfo\";\nvar _NTS = \"NitroTpmSupport\";\nvar _NTe = \"NetworkType\";\nvar _Na = \"Nameservers\";\nvar _O = \"Operator\";\nvar _OA = \"OutpostArn\";\nvar _OAr = \"OrganizationArn\";\nvar _OArg = \"OrganizationArns\";\nvar _OAw = \"OwnerAlias\";\nvar _OC = \"OfferingClass\";\nvar _OD = \"OccurrenceDays\";\nvar _ODAS = \"OnDemandAllocationStrategy\";\nvar _ODFC = \"OnDemandFulfilledCapacity\";\nvar _ODMPPOLP = \"OnDemandMaxPricePercentageOverLowestPrice\";\nvar _ODMTP = \"OnDemandMaxTotalPrice\";\nvar _ODO = \"OnDemandOptions\";\nvar _ODS = \"OccurrenceDaySet\";\nvar _ODTC = \"OnDemandTargetCapacity\";\nvar _OEP = \"OrganizationsEntityPath\";\nvar _OH = \"OutboundHeader\";\nvar _OI = \"OfferingId\";\nvar _OIA = \"OutsideIpAddress\";\nvar _OIAT = \"OutsideIpAddressType\";\nvar _OIS = \"OptInStatus\";\nvar _OIr = \"OriginalIops\";\nvar _OIu = \"OutpostId\";\nvar _OIw = \"OwnerIds\";\nvar _OIwn = \"OwnerId\";\nvar _OK = \"ObjectKey\";\nvar _OL = \"OutpostLags\";\nvar _OLI = \"OutpostLagId\";\nvar _OLIu = \"OutpostLagIds\";\nvar _OMAE = \"OriginalMultiAttachEnabled\";\nvar _OO = \"OidcOptions\";\nvar _OR = \"OperatingRegions\";\nvar _ORIWEA = \"OutputReservedInstancesWillExpireAt\";\nvar _ORTE = \"OccurrenceRelativeToEnd\";\nvar _OS = \"OfferingSet\";\nvar _OST = \"OldestSampleTime\";\nvar _OSr = \"OriginalSize\";\nvar _OSv = \"OverlapStatus\";\nvar _OT = \"OfferingType\";\nvar _OTp = \"OperationType\";\nvar _OTpt = \"OptimizingTime\";\nvar _OTr = \"OriginalThroughput\";\nvar _OU = \"OccurrenceUnit\";\nvar _OUA = \"OrganizationalUnitArn\";\nvar _OUAr = \"OrganizationalUnitArns\";\nvar _OUE = \"OrganizationalUnitExclusions\";\nvar _OUI = \"OrganizationalUnitId\";\nvar _OVC = \"OpenVpnConfigurations\";\nvar _OVT = \"OriginalVolumeType\";\nvar _Op = \"Options\";\nvar _Or = \"Origin\";\nvar _Ou = \"Output\";\nvar _Ov = \"Overrides\";\nvar _Ow = \"Owners\";\nvar _Own = \"Owner\";\nvar _P = \"Protocol\";\nvar _PA = \"PubliclyAdvertisable\";\nvar _PAI = \"PeerAccountId\";\nvar _PAIe = \"PeeringAttachmentId\";\nvar _PAR = \"PoolAddressRange\";\nvar _PARo = \"PoolAddressRanges\";\nvar _PAe = \"PeerAddress\";\nvar _PAee = \"PeerAsn\";\nvar _PAo = \"PoolArn\";\nvar _PAr = \"PrincipalArn\";\nvar _PB = \"ProvisionedBandwidth\";\nvar _PBA = \"PeerBgpAsn\";\nvar _PBAE = \"PeerBgpAsnExtended\";\nvar _PBC = \"ProvisionByoipCidr\";\nvar _PBIG = \"PeakBandwidthInGbps\";\nvar _PC = \"ProductCode\";\nvar _PCB = \"PurchaseCapacityBlock\";\nvar _PCBE = \"PurchaseCapacityBlockExtension\";\nvar _PCBo = \"PoolCidrBlocks\";\nvar _PCI = \"PreserveClientIp\";\nvar _PCIr = \"ProductCodeId\";\nvar _PCNI = \"PeerCoreNetworkId\";\nvar _PCS = \"PostureComplianceStatuses\";\nvar _PCT = \"ProductCodeType\";\nvar _PCa = \"PartitionCount\";\nvar _PCo = \"PoolCidrs\";\nvar _PCoo = \"PoolCount\";\nvar _PCr = \"ProductCodes\";\nvar _PD = \"PolicyDocument\";\nvar _PDE = \"PrivateDnsEnabled\";\nvar _PDEr = \"PrivateDnsEntry\";\nvar _PDHGN = \"Phase1DHGroupNumbers\";\nvar _PDHGNh = \"Phase2DHGroupNumbers\";\nvar _PDHT = \"PrivateDnsHostnameType\";\nvar _PDHTOL = \"PrivateDnsHostnameTypeOnLaunch\";\nvar _PDN = \"PrivateDnsName\";\nvar _PDNC = \"PrivateDnsNameConfiguration\";\nvar _PDNO = \"PrivateDnsNameOptions\";\nvar _PDNOOL = \"PrivateDnsNameOptionsOnLaunch\";\nvar _PDNVS = \"PrivateDnsNameVerificationState\";\nvar _PDNr = \"PrivateDnsNames\";\nvar _PDNu = \"PublicDnsName\";\nvar _PDOFIRE = \"PrivateDnsOnlyForInboundResolverEndpoint\";\nvar _PDRTI = \"PropagationDefaultRouteTableId\";\nvar _PDSI = \"PublicDefaultScopeId\";\nvar _PDSIr = \"PrivateDefaultScopeId\";\nvar _PDa = \"PasswordData\";\nvar _PDay = \"PaymentDue\";\nvar _PDl = \"PlatformDetails\";\nvar _PDo = \"PoolDepth\";\nvar _PDr = \"ProductDescription\";\nvar _PDri = \"PricingDetails\";\nvar _PDro = \"ProductDescriptions\";\nvar _PE = \"PolicyEnabled\";\nvar _PEA = \"Phase1EncryptionAlgorithms\";\nvar _PEAh = \"Phase2EncryptionAlgorithms\";\nvar _PED = \"PartitionEndDate\";\nvar _PEk = \"PkceEnabled\";\nvar _PF = \"PacketField\";\nvar _PFS = \"PreviousFleetState\";\nvar _PG = \"PlacementGroup\";\nvar _PGA = \"PlacementGroupArn\";\nvar _PGI = \"PlacementGroupInfo\";\nvar _PGl = \"PlacementGroups\";\nvar _PHP = \"PerHourPartition\";\nvar _PHR = \"PurchaseHostReservation\";\nvar _PHS = \"PacketHeaderStatement\";\nvar _PI = \"PublicIp\";\nvar _PIA = \"PrivateIpAddresses\";\nvar _PIAC = \"PrivateIpAddressCount\";\nvar _PIACr = \"PrivateIpAddressConfigs\";\nvar _PIAh = \"Phase1IntegrityAlgorithms\";\nvar _PIAha = \"Phase2IntegrityAlgorithms\";\nvar _PIAr = \"PrivateIpAddress\";\nvar _PIAu = \"PublicIpAddress\";\nvar _PIB = \"ProvisionIpamByoasn\";\nvar _PIP = \"PublicIpv4Pool\";\nvar _PIPC = \"ProvisionIpamPoolCidr\";\nvar _PIPI = \"PublicIpv4PoolId\";\nvar _PIPu = \"PublicIpv4Pools\";\nvar _PIS = \"PublicIpSource\";\nvar _PIc = \"PciId\";\nvar _PIo = \"PoolId\";\nvar _PIoo = \"PoolIds\";\nvar _PIr = \"PrimaryIpv6\";\nvar _PIri = \"PrivateIp\";\nvar _PIro = \"ProcessorInfo\";\nvar _PIu = \"PublicIps\";\nvar _PK = \"PublicKey\";\nvar _PKM = \"PublicKeyMaterial\";\nvar _PL = \"PacketLength\";\nvar _PLA = \"PrefixListAssociations\";\nvar _PLAr = \"PrefixListArn\";\nvar _PLD = \"PeerLivenessDetection\";\nvar _PLF = \"PartitionLoadFrequency\";\nvar _PLI = \"PrefixListId\";\nvar _PLIr = \"PrefixListIds\";\nvar _PLN = \"PrefixListName\";\nvar _PLOI = \"PrefixListOwnerId\";\nvar _PLS = \"Phase1LifetimeSeconds\";\nvar _PLSh = \"Phase2LifetimeSeconds\";\nvar _PLr = \"PrefixList\";\nvar _PLre = \"PrefixLists\";\nvar _PM = \"PendingMaintenance\";\nvar _PN = \"PartitionNumber\";\nvar _PNC = \"PreviewNextCidr\";\nvar _PO = \"PaymentOption\";\nvar _POI = \"PeerOwnerId\";\nvar _POe = \"PeeringOptions\";\nvar _PP = \"ProgressPercentage\";\nvar _PPIPC = \"ProvisionPublicIpv4PoolCidr\";\nvar _PR = \"PortRange\";\nvar _PRD = \"PersistRoutesDuration\";\nvar _PRIO = \"PurchaseReservedInstancesOffering\";\nvar _PRN = \"PolicyReferenceName\";\nvar _PRNo = \"PolicyRuleNumber\";\nvar _PRS = \"PersistRoutesState\";\nvar _PRU = \"PtrRecordUpdate\";\nvar _PRa = \"PayerResponsibility\";\nvar _PRe = \"PersistRoutes\";\nvar _PRee = \"PeerRegion\";\nvar _PRer = \"PermanentRestore\";\nvar _PRo = \"PortRanges\";\nvar _PRol = \"PolicyRule\";\nvar _PRt = \"PtrRecord\";\nvar _PRu = \"PurchaseRequests\";\nvar _PS = \"PriceSchedules\";\nvar _PSD = \"PartitionStartDate\";\nvar _PSET = \"PreviousSlotEndTime\";\nvar _PSFRS = \"PreviousSpotFleetRequestState\";\nvar _PSI = \"PurchaseScheduledInstances\";\nvar _PSK = \"PreSharedKey\";\nvar _PSKE = \"PublicSigningKeyEndpoint\";\nvar _PSKU = \"PublicSigningKeyUrl\";\nvar _PSe = \"PeeringStatus\";\nvar _PSer = \"PermissionState\";\nvar _PSh = \"PhcSupport\";\nvar _PSr = \"PreviousState\";\nvar _PSre = \"PreviousStatus\";\nvar _PT = \"PurchaseToken\";\nvar _PTGI = \"PeerTransitGatewayId\";\nvar _PTS = \"PoolTagSpecifications\";\nvar _PTr = \"PrincipalType\";\nvar _PTro = \"ProvisionTime\";\nvar _PTu = \"PurchaseTime\";\nvar _PU = \"PresignedUrl\";\nvar _PV = \"PreviousVersion\";\nvar _PVI = \"PeerVpcId\";\nvar _PVIr = \"PrimaryVpcId\";\nvar _PVr = \"PropagatingVgws\";\nvar _PZI = \"ParentZoneId\";\nvar _PZN = \"ParentZoneName\";\nvar _Pe = \"Permission\";\nvar _Per = \"Period\";\nvar _Pl = \"Placement\";\nvar _Pla = \"Platform\";\nvar _Po = \"Port\";\nvar _Pr = \"Prefix\";\nvar _Pri = \"Priority\";\nvar _Pric = \"Price\";\nvar _Prim = \"Primary\";\nvar _Prin = \"Principal\";\nvar _Princ = \"Principals\";\nvar _Pro = \"Protocols\";\nvar _Prog = \"Progress\";\nvar _Prop = \"Propagation\";\nvar _Prov = \"Provisioned\";\nvar _Pu = \"Public\";\nvar _Pur = \"Purchase\";\nvar _Q = \"Quantity\";\nvar _R = \"References\";\nvar _RA = \"ReleaseAddress\";\nvar _RAA = \"ResetAddressAttribute\";\nvar _RAE = \"RemoteAccessEnabled\";\nvar _RAG = \"RevokeAllGroups\";\nvar _RAP = \"RemoveAllowedPrincipals\";\nvar _RART = \"RemoveAllocationResourceTags\";\nvar _RATC = \"RestoreAddressToClassic\";\nvar _RAe = \"ResolveAlias\";\nvar _RAes = \"ResourceArn\";\nvar _RAo = \"RoleArn\";\nvar _RAu = \"RuleAction\";\nvar _RB = \"RequestedBy\";\nvar _RBET = \"RecycleBinEnterTime\";\nvar _RBETe = \"RecycleBinExitTime\";\nvar _RBUI = \"RestorableByUserIds\";\nvar _RC = \"ResourceCidr\";\nvar _RCA = \"ResourceConfigurationArn\";\nvar _RCGA = \"ResourceConfigurationGroupArn\";\nvar _RCRBO = \"RejectCapacityReservationBillingOwnership\";\nvar _RCS = \"ResourceComplianceStatus\";\nvar _RCVI = \"RevokeClientVpnIngress\";\nvar _RCe = \"ReasonCodes\";\nvar _RCec = \"RecurringCharges\";\nvar _RCet = \"ReturnCode\";\nvar _RD = \"RestoreDuration\";\nvar _RDAC = \"ResourceDiscoveryAssociationCount\";\nvar _RDCA = \"RdsDbClusterArn\";\nvar _RDI = \"RamDiskId\";\nvar _RDIA = \"RdsDbInstanceArn\";\nvar _RDN = \"RootDeviceName\";\nvar _RDPA = \"RdsDbProxyArn\";\nvar _RDS = \"ResourceDiscoveryStatus\";\nvar _RDT = \"RootDeviceType\";\nvar _RE = \"RdsEndpoint\";\nvar _RED = \"RemoveEndDate\";\nvar _REDKKI = \"ResetEbsDefaultKmsKeyId\";\nvar _RET = \"RestoreExpiryTime\";\nvar _REe = \"RemoveEntries\";\nvar _REes = \"ResponseError\";\nvar _REeso = \"ResourceExclusions\";\nvar _RF = \"RemoveFields\";\nvar _RFIA = \"ResetFpgaImageAttribute\";\nvar _RFP = \"RekeyFuzzPercentage\";\nvar _RGA = \"RuleGroupArn\";\nvar _RGI = \"ReferencedGroupId\";\nvar _RGIe = \"ReferencedGroupInfo\";\nvar _RGLBA = \"RemoveGatewayLoadBalancerArns\";\nvar _RGROP = \"RuleGroupRuleOptionsPairs\";\nvar _RGT = \"RuleGroupType\";\nvar _RGTP = \"RuleGroupTypePairs\";\nvar _RH = \"ReleaseHosts\";\nvar _RHS = \"RequireHibernateSupport\";\nvar _RI = \"RebootInstances\";\nvar _RIA = \"ResetImageAttribute\";\nvar _RIAe = \"ResetInstanceAttribute\";\nvar _RICIAIS = \"ReplaceImageCriteriaInAllowedImagesSettings\";\nvar _RID = \"RouteInstallationDetails\";\nvar _RIENA = \"RegisterInstanceEventNotificationAttributes\";\nvar _RIFRB = \"RestoreImageFromRecycleBin\";\nvar _RII = \"ReservedInstanceIds\";\nvar _RIIPA = \"ReplaceIamInstanceProfileAssociation\";\nvar _RIIe = \"ReservedInstancesId\";\nvar _RIIes = \"ReservedInstancesIds\";\nvar _RIIese = \"ReservedInstanceId\";\nvar _RIL = \"ReservedInstancesListings\";\nvar _RILI = \"ReservedInstancesListingId\";\nvar _RIM = \"ReservedInstancesModifications\";\nvar _RIMI = \"ReservedInstancesModificationIds\";\nvar _RIMIe = \"ReservedInstancesModificationId\";\nvar _RINC = \"RemoteIpv4NetworkCidr\";\nvar _RINCe = \"RemoteIpv6NetworkCidr\";\nvar _RIO = \"ReservedInstancesOfferings\";\nvar _RIOI = \"ReservedInstancesOfferingIds\";\nvar _RIOIe = \"ReservedInstancesOfferingId\";\nvar _RIPA = \"ReleaseIpamPoolAllocation\";\nvar _RIS = \"ReportInstanceStatus\";\nvar _RISR = \"RouteInstallationStatusReason\";\nvar _RISo = \"RouteInstallationStatus\";\nvar _RIVR = \"ReservedInstanceValueRollup\";\nvar _RIVS = \"ReservedInstanceValueSet\";\nvar _RIa = \"RamdiskId\";\nvar _RIe = \"RegisterImage\";\nvar _RIep = \"ReportId\";\nvar _RIepo = \"ReportIds\";\nvar _RIeq = \"RequesterId\";\nvar _RIes = \"ResourceIds\";\nvar _RIese = \"ReservedInstances\";\nvar _RIeser = \"ReservationId\";\nvar _RIeso = \"ResourceId\";\nvar _RIu = \"RunInstances\";\nvar _RM = \"ReasonMessage\";\nvar _RMGM = \"RegisteredMulticastGroupMembers\";\nvar _RMGS = \"RegisteredMulticastGroupSources\";\nvar _RMPLV = \"RestoreManagedPrefixListVersion\";\nvar _RMTS = \"RekeyMarginTimeSeconds\";\nvar _RMe = \"RequesterManaged\";\nvar _RN = \"RegionName\";\nvar _RNAA = \"ReplaceNetworkAclAssociation\";\nvar _RNAE = \"ReplaceNetworkAclEntry\";\nvar _RNIA = \"ResetNetworkInterfaceAttribute\";\nvar _RNII = \"RegisteredNetworkInterfaceIds\";\nvar _RNLBA = \"RemoveNetworkLoadBalancerArns\";\nvar _RNS = \"RemoveNetworkServices\";\nvar _RNe = \"RegionNames\";\nvar _RNes = \"ResourceName\";\nvar _RNo = \"RoleName\";\nvar _RNu = \"RuleNumber\";\nvar _RO = \"RdsOptions\";\nvar _ROI = \"ResourceOwnerId\";\nvar _ROR = \"RemoveOperatingRegions\";\nvar _ROS = \"ResourceOverlapStatus\";\nvar _ROUE = \"RemoveOrganizationalUnitExclusions\";\nvar _ROe = \"ResourceOwner\";\nvar _ROo = \"RouteOrigin\";\nvar _ROu = \"RuleOptions\";\nvar _RP = \"ResetPolicy\";\nvar _RPC = \"ReturnPathComponents\";\nvar _RPCO = \"RequesterPeeringConnectionOptions\";\nvar _RPDN = \"RemovePrivateDnsName\";\nvar _RR = \"ReplaceRoute\";\nvar _RRTA = \"ReplaceRouteTableAssociation\";\nvar _RRTI = \"RemoveRouteTableIds\";\nvar _RRVT = \"ReplaceRootVolumeTask\";\nvar _RRVTI = \"ReplaceRootVolumeTaskIds\";\nvar _RRVTIe = \"ReplaceRootVolumeTaskId\";\nvar _RRVTe = \"ReplaceRootVolumeTasks\";\nvar _RRe = \"ResourceRegion\";\nvar _RS = \"ReplacementStrategy\";\nvar _RSA = \"ResetSnapshotAttribute\";\nvar _RSAo = \"RouteServerAssociation\";\nvar _RSAou = \"RouteServerAssociations\";\nvar _RSE = \"RouteServerEndpoint\";\nvar _RSEI = \"RouteServerEndpointId\";\nvar _RSEIo = \"RouteServerEndpointIds\";\nvar _RSEo = \"RouteServerEndpoints\";\nvar _RSF = \"RequestSpotFleet\";\nvar _RSFRB = \"RestoreSnapshotFromRecycleBin\";\nvar _RSGE = \"RevokeSecurityGroupEgress\";\nvar _RSGI = \"RevokeSecurityGroupIngress\";\nvar _RSGIe = \"RemoveSecurityGroupIds\";\nvar _RSGR = \"RevokedSecurityGroupRules\";\nvar _RSI = \"RequestSpotInstances\";\nvar _RSIAT = \"RemoveSupportedIpAddressTypes\";\nvar _RSIe = \"RemoveSubnetIds\";\nvar _RSIo = \"RouteServerId\";\nvar _RSIou = \"RouteServerIds\";\nvar _RSIu = \"RunScheduledInstances\";\nvar _RSP = \"RouteServerPeer\";\nvar _RSPI = \"RouteServerPeerId\";\nvar _RSPIo = \"RouteServerPeerIds\";\nvar _RSPo = \"RouteServerPeers\";\nvar _RSPou = \"RouteServerPropagation\";\nvar _RSPout = \"RouteServerPropagations\";\nvar _RSR = \"RemoveSupportedRegions\";\nvar _RST = \"RestoreSnapshotTier\";\nvar _RSTe = \"RestoreStartTime\";\nvar _RSe = \"ResourceStatement\";\nvar _RSeg = \"RegionalSummaries\";\nvar _RSo = \"RouteServer\";\nvar _RSou = \"RouteServers\";\nvar _RSout = \"RouteStatus\";\nvar _RT = \"ResourceType\";\nvar _RTAI = \"RouteTableAssociationId\";\nvar _RTGCB = \"RemoveTransitGatewayCidrBlocks\";\nvar _RTGMDA = \"RejectTransitGatewayMulticastDomainAssociations\";\nvar _RTGMGM = \"RegisterTransitGatewayMulticastGroupMembers\";\nvar _RTGMGS = \"RegisterTransitGatewayMulticastGroupSources\";\nvar _RTGPA = \"RejectTransitGatewayPeeringAttachment\";\nvar _RTGR = \"ReplaceTransitGatewayRoute\";\nvar _RTGVA = \"RejectTransitGatewayVpcAttachment\";\nvar _RTI = \"RouteTableId\";\nvar _RTIe = \"RequesterTgwInfo\";\nvar _RTIo = \"RouteTableIds\";\nvar _RTR = \"RouteTableRoute\";\nvar _RTV = \"RemainingTotalValue\";\nvar _RTe = \"ReservationType\";\nvar _RTel = \"ReleaseTime\";\nvar _RTeq = \"RequestTime\";\nvar _RTes = \"ResourceTag\";\nvar _RTeso = \"ResourceTypes\";\nvar _RTesou = \"ResourceTags\";\nvar _RTo = \"RouteTable\";\nvar _RTou = \"RouteTables\";\nvar _RUI = \"ReplaceUnhealthyInstances\";\nvar _RUV = \"RemainingUpfrontValue\";\nvar _RV = \"ReturnValue\";\nvar _RVEC = \"RejectVpcEndpointConnections\";\nvar _RVI = \"ReferencingVpcId\";\nvar _RVIe = \"RequesterVpcInfo\";\nvar _RVPC = \"RejectVpcPeeringConnection\";\nvar _RVT = \"ReplaceVpnTunnel\";\nvar _RVe = \"ReservationValue\";\nvar _RWS = \"ReplayWindowSize\";\nvar _Ra = \"Ramdisk\";\nvar _Re = \"Resources\";\nvar _Rea = \"Reason\";\nvar _Rec = \"Recurrence\";\nvar _Reg = \"Regions\";\nvar _Regi = \"Region\";\nvar _Rem = \"Remove\";\nvar _Rep = \"Reports\";\nvar _Req = \"Requested\";\nvar _Res = \"Resource\";\nvar _Rese = \"Reservations\";\nvar _Resu = \"Result\";\nvar _Ret = \"Return\";\nvar _Ro = \"Role\";\nvar _Rou = \"Route\";\nvar _Rout = \"Routes\";\nvar _S = \"Source\";\nvar _SA = \"StartupAction\";\nvar _SAI = \"SecondaryAllocationIds\";\nvar _SAMLPA = \"SAMLProviderArn\";\nvar _SAZ = \"SingleAvailabilityZone\";\nvar _SAo = \"SourceAddresses\";\nvar _SAou = \"SourceAddress\";\nvar _SAour = \"SourceArn\";\nvar _SAu = \"SuggestedAccounts\";\nvar _SAub = \"SubnetArn\";\nvar _SAup = \"SupportedArchitectures\";\nvar _SB = \"S3Bucket\";\nvar _SBM = \"SupportedBootModes\";\nvar _SC = \"SubnetConfigurations\";\nvar _SCA = \"ServerCertificateArn\";\nvar _SCAE = \"SerialConsoleAccessEnabled\";\nvar _SCB = \"SourceCidrBlock\";\nvar _SCCDM = \"SnapshotCopyCompletionDurationMinutes\";\nvar _SCR = \"SourceCapacityReservation\";\nvar _SCRI = \"SourceCapacityReservationId\";\nvar _SCRIu = \"SubnetCidrReservationId\";\nvar _SCRu = \"SubnetCidrReservation\";\nvar _SCSIG = \"SustainedClockSpeedInGhz\";\nvar _SCc = \"ScopeCount\";\nvar _SCe = \"ServiceConfiguration\";\nvar _SCer = \"ServiceConfigurations\";\nvar _SCn = \"SnapshotConfiguration\";\nvar _SD = \"StartDate\";\nvar _SDC = \"SourceDestCheck\";\nvar _SDI = \"SendDiagnosticInterrupt\";\nvar _SDIH = \"SlotDurationInHours\";\nvar _SDLTV = \"SuccessfullyDeletedLaunchTemplateVersions\";\nvar _SDPR = \"StartDeclarativePoliciesReport\";\nvar _SDR = \"StartDateRange\";\nvar _SDS = \"SpotDatafeedSubscription\";\nvar _SDV = \"SetDefaultVersion\";\nvar _SDe = \"ServiceDetails\";\nvar _SDn = \"SnapshotDetails\";\nvar _SDp = \"SpreadDomain\";\nvar _SDu = \"SubDomain\";\nvar _SEL = \"S3ExportLocation\";\nvar _SET = \"SampledEndTime\";\nvar _SF = \"SupportedFeatures\";\nvar _SFC = \"SuccessfulFleetCancellations\";\nvar _SFD = \"SuccessfulFleetDeletions\";\nvar _SFII = \"SourceFpgaImageId\";\nvar _SFR = \"SuccessfulFleetRequests\";\nvar _SFRC = \"SpotFleetRequestConfig\";\nvar _SFRCp = \"SpotFleetRequestConfigs\";\nvar _SFRI = \"SpotFleetRequestIds\";\nvar _SFRIp = \"SpotFleetRequestId\";\nvar _SFRS = \"SpotFleetRequestState\";\nvar _SG = \"SecurityGroups\";\nvar _SGA = \"SecurityGroupArn\";\nvar _SGFV = \"SecurityGroupForVpcs\";\nvar _SGI = \"SecurityGroupIds\";\nvar _SGIe = \"SecurityGroupId\";\nvar _SGR = \"SecurityGroupRules\";\nvar _SGRA = \"SecurityGroupRuleArn\";\nvar _SGRD = \"SecurityGroupRuleDescriptions\";\nvar _SGRI = \"SecurityGroupRuleIds\";\nvar _SGRIe = \"SecurityGroupRuleId\";\nvar _SGRS = \"SecurityGroupReferencingSupport\";\nvar _SGRSe = \"SecurityGroupReferenceSet\";\nvar _SGRe = \"SecurityGroupRule\";\nvar _SGVA = \"SecurityGroupVpcAssociations\";\nvar _SGe = \"SecurityGroup\";\nvar _SH = \"StartHour\";\nvar _SI = \"StartInstances\";\nvar _SIAS = \"ScheduledInstanceAvailabilitySet\";\nvar _SIAT = \"SupportedIpAddressTypes\";\nvar _SICR = \"SubnetIpv4CidrReservations\";\nvar _SICRu = \"SubnetIpv6CidrReservations\";\nvar _SICS = \"SuccessfulInstanceCreditSpecifications\";\nvar _SIGB = \"SizeInGB\";\nvar _SII = \"SourceImageId\";\nvar _SIIc = \"ScheduledInstanceIds\";\nvar _SIIch = \"ScheduledInstanceId\";\nvar _SIIo = \"SourceInstanceId\";\nvar _SIMB = \"SizeInMiB\";\nvar _SIP = \"StaleIpPermissions\";\nvar _SIPE = \"StaleIpPermissionsEgress\";\nvar _SIPI = \"SourceIpamPoolId\";\nvar _SIR = \"SpotInstanceRequests\";\nvar _SIRI = \"SpotInstanceRequestIds\";\nvar _SIRIp = \"SpotInstanceRequestId\";\nvar _SIRo = \"SourceImageRegion\";\nvar _SIS = \"ScheduledInstanceSet\";\nvar _SIT = \"SpotInstanceType\";\nvar _SITR = \"StoreImageTaskResults\";\nvar _SITi = \"SingleInstanceType\";\nvar _SIe = \"ServiceId\";\nvar _SIer = \"ServiceIds\";\nvar _SIn = \"SnapshotId\";\nvar _SIna = \"SnapshotIds\";\nvar _SIo = \"SourceIp\";\nvar _SIt = \"StopInstances\";\nvar _SIta = \"StartingInstances\";\nvar _SIto = \"StoppingInstances\";\nvar _SIu = \"SubnetIds\";\nvar _SIub = \"SubnetId\";\nvar _SIubs = \"SubsystemId\";\nvar _SK = \"S3Key\";\nvar _SKo = \"S3objectKey\";\nvar _SL = \"SpreadLevel\";\nvar _SLGR = \"SearchLocalGatewayRoutes\";\nvar _SLVI = \"ServiceLinkVirtualInterfaces\";\nvar _SLVIA = \"ServiceLinkVirtualInterfaceArn\";\nvar _SLVII = \"ServiceLinkVirtualInterfaceIds\";\nvar _SLVIIe = \"ServiceLinkVirtualInterfaceId\";\nvar _SLo = \"S3Location\";\nvar _SM = \"ServiceManaged\";\nvar _SMPPOLP = \"SpotMaxPricePercentageOverLowestPrice\";\nvar _SMS = \"SpotMaintenanceStrategies\";\nvar _SMTP = \"SpotMaxTotalPrice\";\nvar _SMt = \"StatusMessage\";\nvar _SMta = \"StateMessage\";\nvar _SN = \"SessionNumber\";\nvar _SNA = \"ServiceNetworkArn\";\nvar _SNE = \"SnsNotificationsEnabled\";\nvar _SNIA = \"StartNetworkInsightsAnalysis\";\nvar _SNIASA = \"StartNetworkInsightsAccessScopeAnalysis\";\nvar _SNN = \"ServiceNetworkName\";\nvar _SNS = \"SriovNetSupport\";\nvar _SNe = \"ServiceName\";\nvar _SNeq = \"SequenceNumber\";\nvar _SNer = \"ServiceNames\";\nvar _SO = \"SpotOptions\";\nvar _SOT = \"S3ObjectTags\";\nvar _SP = \"S3Prefix\";\nvar _SPA = \"SamlProviderArn\";\nvar _SPH = \"SpotPriceHistory\";\nvar _SPI = \"ServicePermissionId\";\nvar _SPIA = \"SecondaryPrivateIpAddresses\";\nvar _SPIAC = \"SecondaryPrivateIpAddressCount\";\nvar _SPL = \"SourcePrefixLists\";\nvar _SPR = \"SourcePortRange\";\nvar _SPRo = \"SourcePortRanges\";\nvar _SPS = \"SpotPlacementScores\";\nvar _SPo = \"SourcePorts\";\nvar _SPp = \"SpotPrice\";\nvar _SQPD = \"SuccessfulQueuedPurchaseDeletions\";\nvar _SR = \"SourceRegion\";\nvar _SRDT = \"SupportedRootDeviceTypes\";\nvar _SRO = \"StaticRoutesOnly\";\nvar _SRT = \"SubnetRouteTable\";\nvar _SRe = \"ServiceRegion\";\nvar _SRer = \"ServiceRegions\";\nvar _SRerv = \"ServiceResource\";\nvar _SRo = \"SourceResource\";\nvar _SRt = \"StateReason\";\nvar _SRu = \"SupportedRegions\";\nvar _SS = \"SseSpecification\";\nvar _SSGN = \"SourceSecurityGroupName\";\nvar _SSGOI = \"SourceSecurityGroupOwnerId\";\nvar _SSGS = \"StaleSecurityGroupSet\";\nvar _SSI = \"SourceSnapshotId\";\nvar _SSIo = \"SourceSnapshotIds\";\nvar _SSP = \"SelfServicePortal\";\nvar _SSPU = \"SelfServicePortalUrl\";\nvar _SSS = \"StaticSourcesSupport\";\nvar _SSSAMLPA = \"SelfServiceSAMLProviderArn\";\nvar _SSSPA = \"SelfServiceSamlProviderArn\";\nvar _SST = \"SampledStartTime\";\nvar _SSTR = \"SlotStartTimeRange\";\nvar _SSe = \"ServiceState\";\nvar _SSu = \"SupportedStrategies\";\nvar _SSy = \"SystemStatus\";\nvar _ST = \"SplitTunnel\";\nvar _STA = \"SnsTopicArn\";\nvar _STC = \"SpotTargetCapacity\";\nvar _STD = \"SnapshotTaskDetail\";\nvar _STFR = \"StoreTaskFailureReason\";\nvar _STGMG = \"SearchTransitGatewayMulticastGroups\";\nvar _STGR = \"SearchTransitGatewayRoutes\";\nvar _STH = \"SessionTimeoutHours\";\nvar _STR = \"SkipTunnelReplacement\";\nvar _STRt = \"StateTransitionReason\";\nvar _STS = \"SnapshotTierStatuses\";\nvar _STSt = \"StoreTaskState\";\nvar _STT = \"StateTransitionTime\";\nvar _STa = \"SampleTime\";\nvar _STe = \"ServiceType\";\nvar _STo = \"SourceType\";\nvar _STs = \"SseType\";\nvar _STt = \"StartTime\";\nvar _STto = \"StorageTier\";\nvar _SUC = \"SupportedUsageClasses\";\nvar _SV = \"SourceVersion\";\nvar _SVESPDV = \"StartVpcEndpointServicePrivateDnsVerification\";\nvar _SVI = \"SubsystemVendorId\";\nvar _SVT = \"SupportedVirtualizationTypes\";\nvar _SVh = \"ShellVersion\";\nvar _SVo = \"SourceVpc\";\nvar _SVu = \"SupportedVersions\";\nvar _SWD = \"StartWeekDay\";\nvar _S_ = \"S3\";\nvar _Sc = \"Scope\";\nvar _Sco = \"Score\";\nvar _Scop = \"Scopes\";\nvar _Se = \"Service\";\nvar _Set = \"Settings\";\nvar _Si = \"Signature\";\nvar _Siz = \"Size\";\nvar _Sn = \"Snapshots\";\nvar _So = \"Sources\";\nvar _Soc = \"Sockets\";\nvar _Sof = \"Software\";\nvar _St = \"Storage\";\nvar _Sta = \"Statistic\";\nvar _Star = \"Start\";\nvar _Stat = \"State\";\nvar _Statu = \"Status\";\nvar _Status = \"Statuses\";\nvar _Str = \"Strategy\";\nvar _Su = \"Subnet\";\nvar _Sub = \"Subscriptions\";\nvar _Subn = \"Subnets\";\nvar _Suc = \"Successful\";\nvar _Succ = \"Success\";\nvar _T = \"Type\";\nvar _TAAC = \"TotalAvailableAddressCount\";\nvar _TAC = \"TotalAddressCount\";\nvar _TAI = \"TransferAccountId\";\nvar _TC = \"TargetConfigurations\";\nvar _TCS = \"TargetCapacitySpecification\";\nvar _TCUT = \"TargetCapacityUnitType\";\nvar _TCVC = \"TerminateClientVpnConnections\";\nvar _TCVR = \"TargetConfigurationValueRollup\";\nvar _TCVS = \"TargetConfigurationValueSet\";\nvar _TCa = \"TargetCapacity\";\nvar _TCar = \"TargetConfiguration\";\nvar _TCo = \"TotalCapacity\";\nvar _TD = \"TrafficDirection\";\nvar _TDe = \"TerminationDelay\";\nvar _TE = \"TargetEnvironment\";\nvar _TED = \"TermEndDate\";\nvar _TET = \"TcpEstablishedTimeout\";\nvar _TEo = \"TokenEndpoint\";\nvar _TFC = \"TotalFulfilledCapacity\";\nvar _TFMIMB = \"TotalFpgaMemoryInMiB\";\nvar _TG = \"TargetGroups\";\nvar _TGA = \"TransitGatewayAddress\";\nvar _TGAI = \"TransitGatewayAttachmentId\";\nvar _TGAIr = \"TransitGatewayAttachmentIds\";\nvar _TGAP = \"TransitGatewayAttachmentPropagations\";\nvar _TGAr = \"TransitGatewayAttachments\";\nvar _TGAra = \"TransitGatewayAttachment\";\nvar _TGAran = \"TransitGatewayArn\";\nvar _TGArans = \"TransitGatewayAsn\";\nvar _TGC = \"TargetGroupsConfig\";\nvar _TGCB = \"TransitGatewayCidrBlocks\";\nvar _TGCP = \"TransitGatewayConnectPeer\";\nvar _TGCPI = \"TransitGatewayConnectPeerId\";\nvar _TGCPIr = \"TransitGatewayConnectPeerIds\";\nvar _TGCPr = \"TransitGatewayConnectPeers\";\nvar _TGCr = \"TransitGatewayConnect\";\nvar _TGCra = \"TransitGatewayConnects\";\nvar _TGI = \"TransitGatewayId\";\nvar _TGIr = \"TransitGatewayIds\";\nvar _TGMD = \"TransitGatewayMulticastDomain\";\nvar _TGMDA = \"TransitGatewayMulticastDomainArn\";\nvar _TGMDI = \"TransitGatewayMulticastDomainId\";\nvar _TGMDIr = \"TransitGatewayMulticastDomainIds\";\nvar _TGMDr = \"TransitGatewayMulticastDomains\";\nvar _TGMIMB = \"TotalGpuMemoryInMiB\";\nvar _TGOI = \"TransitGatewayOwnerId\";\nvar _TGPA = \"TransitGatewayPeeringAttachment\";\nvar _TGPAr = \"TransitGatewayPeeringAttachments\";\nvar _TGPLR = \"TransitGatewayPrefixListReference\";\nvar _TGPLRr = \"TransitGatewayPrefixListReferences\";\nvar _TGPT = \"TransitGatewayPolicyTable\";\nvar _TGPTE = \"TransitGatewayPolicyTableEntries\";\nvar _TGPTI = \"TransitGatewayPolicyTableId\";\nvar _TGPTIr = \"TransitGatewayPolicyTableIds\";\nvar _TGPTr = \"TransitGatewayPolicyTables\";\nvar _TGRT = \"TransitGatewayRouteTable\";\nvar _TGRTA = \"TransitGatewayRouteTableAnnouncement\";\nvar _TGRTAI = \"TransitGatewayRouteTableAnnouncementId\";\nvar _TGRTAIr = \"TransitGatewayRouteTableAnnouncementIds\";\nvar _TGRTAr = \"TransitGatewayRouteTableAnnouncements\";\nvar _TGRTI = \"TransitGatewayRouteTableId\";\nvar _TGRTIr = \"TransitGatewayRouteTableIds\";\nvar _TGRTP = \"TransitGatewayRouteTablePropagations\";\nvar _TGRTR = \"TransitGatewayRouteTableRoute\";\nvar _TGRTr = \"TransitGatewayRouteTables\";\nvar _TGVA = \"TransitGatewayVpcAttachment\";\nvar _TGVAr = \"TransitGatewayVpcAttachments\";\nvar _TGr = \"TransitGateway\";\nvar _TGra = \"TransitGateways\";\nvar _THP = \"TotalHourlyPrice\";\nvar _TI = \"TerminateInstances\";\nvar _TIC = \"TunnelInsideCidr\";\nvar _TICo = \"TotalInstanceCount\";\nvar _TII = \"TrunkInterfaceId\";\nvar _TIIC = \"TunnelInsideIpv6Cidr\";\nvar _TIIV = \"TunnelInsideIpVersion\";\nvar _TIMIMB = \"TotalInferenceMemoryInMiB\";\nvar _TIWE = \"TerminateInstancesWithExpiration\";\nvar _TIa = \"TargetId\";\nvar _TIar = \"TargetIops\";\nvar _TIe = \"TenantId\";\nvar _TIer = \"TerminatingInstances\";\nvar _TLSGB = \"TotalLocalStorageGB\";\nvar _TMAE = \"TargetMultiAttachEnabled\";\nvar _TMF = \"TrafficMirrorFilter\";\nvar _TMFI = \"TrafficMirrorFilterId\";\nvar _TMFIr = \"TrafficMirrorFilterIds\";\nvar _TMFR = \"TrafficMirrorFilterRule\";\nvar _TMFRI = \"TrafficMirrorFilterRuleId\";\nvar _TMFRIr = \"TrafficMirrorFilterRuleIds\";\nvar _TMFRr = \"TrafficMirrorFilterRules\";\nvar _TMFr = \"TrafficMirrorFilters\";\nvar _TMMIMB = \"TotalMediaMemoryInMiB\";\nvar _TMS = \"TrafficMirrorSession\";\nvar _TMSI = \"TrafficMirrorSessionId\";\nvar _TMSIr = \"TrafficMirrorSessionIds\";\nvar _TMSr = \"TrafficMirrorSessions\";\nvar _TMT = \"TrafficMirrorTarget\";\nvar _TMTI = \"TrafficMirrorTargetId\";\nvar _TMTIr = \"TrafficMirrorTargetIds\";\nvar _TMTr = \"TrafficMirrorTargets\";\nvar _TN = \"TokenName\";\nvar _TNC = \"TargetNetworkCidr\";\nvar _TNDMIMB = \"TotalNeuronDeviceMemoryInMiB\";\nvar _TNI = \"TargetNetworkId\";\nvar _TO = \"TunnelOptions\";\nvar _TOAT = \"TransferOfferAcceptedTimestamp\";\nvar _TOET = \"TransferOfferExpirationTimestamp\";\nvar _TP = \"ToPort\";\nvar _TPC = \"ThreadsPerCore\";\nvar _TPT = \"TrustProviderType\";\nvar _TPr = \"TransportProtocol\";\nvar _TR = \"ThroughResources\";\nvar _TRC = \"TargetResourceCount\";\nvar _TRD = \"TemporaryRestoreDays\";\nvar _TRTI = \"TargetRouteTableId\";\nvar _TRi = \"TimeRanges\";\nvar _TS = \"TagSpecifications\";\nvar _TSD = \"TermStartDate\";\nvar _TSIGB = \"TotalSizeInGB\";\nvar _TSIH = \"TotalScheduledInstanceHours\";\nvar _TST = \"TieringStartTime\";\nvar _TSTa = \"TaskStartTime\";\nvar _TSa = \"TargetSubnet\";\nvar _TSag = \"TagSet\";\nvar _TSagp = \"TagSpecification\";\nvar _TSar = \"TargetSize\";\nvar _TSas = \"TaskState\";\nvar _TSp = \"TpmSupport\";\nvar _TT = \"TrafficType\";\nvar _TTC = \"TotalTargetCapacity\";\nvar _TTGAI = \"TransportTransitGatewayAttachmentId\";\nvar _TTa = \"TargetThroughput\";\nvar _TTr = \"TransferType\";\nvar _TUP = \"TotalUpfrontPrice\";\nvar _TV = \"TargetVersion\";\nvar _TVC = \"TotalVCpus\";\nvar _TVSI = \"TargetVpcSubnetId\";\nvar _TVT = \"TargetVolumeType\";\nvar _TVo = \"TokenValue\";\nvar _Ta = \"Tags\";\nvar _Tag = \"Tag\";\nvar _Te = \"Tenancy\";\nvar _Ter = \"Term\";\nvar _Th = \"Throughput\";\nvar _Ti = \"Tier\";\nvar _Tim = \"Timestamp\";\nvar _To = \"To\";\nvar _U = \"Url\";\nvar _UB = \"UserBucket\";\nvar _UD = \"UserData\";\nvar _UDLTV = \"UnsuccessfullyDeletedLaunchTemplateVersions\";\nvar _UDe = \"UefiData\";\nvar _UDp = \"UpdatedDate\";\nvar _UDpd = \"UpdateDate\";\nvar _UE = \"UploadEnd\";\nvar _UF = \"UpfrontFee\";\nvar _UFD = \"UnsuccessfulFleetDeletions\";\nvar _UFR = \"UnsuccessfulFleetRequests\";\nvar _UG = \"UserGroups\";\nvar _UI = \"UnmonitorInstances\";\nvar _UIA = \"UnassignIpv6Addresses\";\nvar _UIAn = \"UnassignedIpv6Addresses\";\nvar _UIC = \"UsedInstanceCount\";\nvar _UICS = \"UnsuccessfulInstanceCreditSpecifications\";\nvar _UIE = \"UserInfoEndpoint\";\nvar _UIGP = \"UserIdGroupPairs\";\nvar _UIP = \"UnknownIpPermissions\";\nvar _UIPn = \"UnassignedIpv6Prefixes\";\nvar _UIs = \"UserId\";\nvar _UIse = \"UserIds\";\nvar _ULI = \"UseLongIds\";\nvar _ULIA = \"UseLongIdsAggregated\";\nvar _UO = \"UsageOperation\";\nvar _UOUT = \"UsageOperationUpdateTime\";\nvar _UP = \"UploadPolicy\";\nvar _UPIA = \"UnassignPrivateIpAddresses\";\nvar _UPNGA = \"UnassignPrivateNatGatewayAddress\";\nvar _UPS = \"UploadPolicySignature\";\nvar _UPp = \"UpfrontPrice\";\nvar _UPs = \"UsagePrice\";\nvar _URBOI = \"UnusedReservationBillingOwnerId\";\nvar _US = \"UnlockSnapshot\";\nvar _USGRDE = \"UpdateSecurityGroupRuleDescriptionsEgress\";\nvar _USGRDI = \"UpdateSecurityGroupRuleDescriptionsIngress\";\nvar _UST = \"UdpStreamTimeout\";\nvar _USp = \"UploadSize\";\nvar _USpl = \"UploadStart\";\nvar _USs = \"UsageStrategy\";\nvar _UT = \"UdpTimeout\";\nvar _UTP = \"UserTrustProvider\";\nvar _UTPT = \"UserTrustProviderType\";\nvar _UTp = \"UpdateTime\";\nvar _Un = \"Unsuccessful\";\nvar _Us = \"Username\";\nvar _V = \"Version\";\nvar _VA = \"VpcAttachment\";\nvar _VAE = \"VerifiedAccessEndpoint\";\nvar _VAEI = \"VerifiedAccessEndpointId\";\nvar _VAEIe = \"VerifiedAccessEndpointIds\";\nvar _VAET = \"VerifiedAccessEndpointTargets\";\nvar _VAETD = \"VerifiedAccessEndpointTargetDns\";\nvar _VAETIA = \"VerifiedAccessEndpointTargetIpAddress\";\nvar _VAEe = \"VerifiedAccessEndpoints\";\nvar _VAG = \"VerifiedAccessGroup\";\nvar _VAGA = \"VerifiedAccessGroupArn\";\nvar _VAGI = \"VerifiedAccessGroupId\";\nvar _VAGIe = \"VerifiedAccessGroupIds\";\nvar _VAGe = \"VerifiedAccessGroups\";\nvar _VAI = \"VerifiedAccessInstance\";\nvar _VAII = \"VerifiedAccessInstanceId\";\nvar _VAIIe = \"VerifiedAccessInstanceIds\";\nvar _VAIe = \"VerifiedAccessInstances\";\nvar _VATP = \"VerifiedAccessTrustProvider\";\nvar _VATPI = \"VerifiedAccessTrustProviderId\";\nvar _VATPIe = \"VerifiedAccessTrustProviderIds\";\nvar _VATPe = \"VerifiedAccessTrustProviders\";\nvar _VAp = \"VpcAttachments\";\nvar _VBPAE = \"VpcBlockPublicAccessExclusion\";\nvar _VBPAEp = \"VpcBlockPublicAccessExclusions\";\nvar _VBPAO = \"VpcBlockPublicAccessOptions\";\nvar _VC = \"VpnConnection\";\nvar _VCC = \"VCpuCount\";\nvar _VCDSC = \"VpnConnectionDeviceSampleConfiguration\";\nvar _VCDT = \"VpnConnectionDeviceTypes\";\nvar _VCDTI = \"VpnConnectionDeviceTypeId\";\nvar _VCI = \"VpnConnectionId\";\nvar _VCIp = \"VpnConnectionIds\";\nvar _VCIpu = \"VCpuInfo\";\nvar _VCa = \"ValidCores\";\nvar _VCp = \"VpnConnections\";\nvar _VD = \"VersionDescription\";\nvar _VE = \"VpcEndpoint\";\nvar _VEA = \"VpcEndpointAssociations\";\nvar _VEC = \"VpcEndpointConnections\";\nvar _VECI = \"VpcEncryptionControlId\";\nvar _VECIp = \"VpcEndpointConnectionId\";\nvar _VEI = \"VpcEndpointIds\";\nvar _VEIp = \"VpcEndpointId\";\nvar _VEO = \"VpcEndpointOwner\";\nvar _VEPS = \"VpcEndpointPolicySupported\";\nvar _VER = \"VpcEndpointRegion\";\nvar _VES = \"VpnEcmpSupport\";\nvar _VESp = \"VpcEndpointService\";\nvar _VESpc = \"VpcEndpointState\";\nvar _VET = \"VpcEndpointType\";\nvar _VEp = \"VpcEndpoints\";\nvar _VF = \"ValidFrom\";\nvar _VFR = \"ValidationFailureReason\";\nvar _VG = \"VpnGateway\";\nvar _VGI = \"VpnGatewayId\";\nvar _VGIp = \"VpnGatewayIds\";\nvar _VGp = \"VpnGateways\";\nvar _VI = \"VpcId\";\nvar _VIR = \"VolumeInitializationRate\";\nvar _VIe = \"VendorId\";\nvar _VIl = \"VlanId\";\nvar _VIo = \"VolumeId\";\nvar _VIol = \"VolumeIds\";\nvar _VIp = \"VpcIds\";\nvar _VM = \"VerificationMethod\";\nvar _VMo = \"VolumesModifications\";\nvar _VMol = \"VolumeModification\";\nvar _VN = \"VirtualName\";\nvar _VNI = \"VirtualNetworkId\";\nvar _VNe = \"VersionNumber\";\nvar _VOI = \"VolumeOwnerId\";\nvar _VOIp = \"VpcOwnerId\";\nvar _VP = \"VpnPort\";\nvar _VPC = \"VpcPeeringConnection\";\nvar _VPCI = \"VpcPeeringConnectionId\";\nvar _VPCIp = \"VpcPeeringConnectionIds\";\nvar _VPCp = \"VpcPeeringConnections\";\nvar _VPG = \"VirtualPrivateGateway\";\nvar _VPp = \"VpnProtocol\";\nvar _VPpc = \"VpcPeering\";\nvar _VS = \"VolumeSize\";\nvar _VSo = \"VolumeStatuses\";\nvar _VSol = \"VolumeStatus\";\nvar _VT = \"VolumeType\";\nvar _VTOIA = \"VpnTunnelOutsideIpAddress\";\nvar _VTPC = \"ValidThreadsPerCore\";\nvar _VTg = \"VgwTelemetry\";\nvar _VTi = \"VirtualizationTypes\";\nvar _VTir = \"VirtualizationType\";\nvar _VU = \"ValidUntil\";\nvar _Va = \"Value\";\nvar _Val = \"Values\";\nvar _Ve = \"Versions\";\nvar _Ven = \"Vendor\";\nvar _Vl = \"Vlan\";\nvar _Vo = \"Volume\";\nvar _Vol = \"Volumes\";\nvar _Vp = \"Vpc\";\nvar _Vpc = \"Vpcs\";\nvar _W = \"Weight\";\nvar _WBC = \"WithdrawByoipCidr\";\nvar _WC = \"WithCooldown\";\nvar _WCe = \"WeightedCapacity\";\nvar _WM = \"WarningMessage\";\nvar _WU = \"WakeUp\";\nvar _Wa = \"Warning\";\nvar _ZI = \"ZoneIds\";\nvar _ZIo = \"ZoneId\";\nvar _ZN = \"ZoneNames\";\nvar _ZNo = \"ZoneName\";\nvar _ZT = \"ZoneType\";\nvar _a = \"associations\";\nvar _aA = \"asnAssociation\";\nvar _aAC = \"availableAddressCount\";\nvar _aAI = \"awsAccountId\";\nvar _aAId = \"addressAllocationId\";\nvar _aAS = \"asnAssociationSet\";\nvar _aASA = \"autoAcceptSharedAssociations\";\nvar _aASAu = \"autoAcceptSharedAttachments\";\nvar _aASc = \"accountAttributeSet\";\nvar _aASd = \"additionalAccountSet\";\nvar _aAc = \"accessAll\";\nvar _aBHP = \"actualBlockHourlyPrice\";\nvar _aC = \"availableCapacity\";\nvar _aCIA = \"associateCarrierIpAddress\";\nvar _aCT = \"archivalCompleteTime\";\nvar _aCc = \"acceleratorCount\";\nvar _aCd = \"addressCount\";\nvar _aD = \"activeDirectory\";\nvar _aDNL = \"allocationDefaultNetmaskLength\";\nvar _aDRFRV = \"allowDnsResolutionFromRemoteVpc\";\nvar _aDRTI = \"associationDefaultRouteTableId\";\nvar _aDS = \"additionalDetailSet\";\nvar _aDT = \"additionalDetailType\";\nvar _aDn = \"announcementDirection\";\nvar _aDp = \"applicationDomain\";\nvar _aE = \"authorizationEndpoint\";\nvar _aEC = \"analyzedEniCount\";\nvar _aEFLCLTRV = \"allowEgressFromLocalClassicLinkToRemoteVpc\";\nvar _aEFLVTRCL = \"allowEgressFromLocalVpcToRemoteClassicLink\";\nvar _aEIO = \"autoEnableIO\";\nvar _aES = \"attachedEbsStatus\";\nvar _aF = \"addressFamily\";\nvar _aFS = \"analysisFindingSet\";\nvar _aI = \"allocationId\";\nvar _aIA = \"assignedIpv6Addresses\";\nvar _aIAC = \"availableIpAddressCount\";\nvar _aIAOC = \"assignIpv6AddressOnCreation\";\nvar _aIC = \"availableInstanceCapacity\";\nvar _aICv = \"availableInstanceCount\";\nvar _aIPS = \"assignedIpv6PrefixSet\";\nvar _aIPSs = \"assignedIpv4PrefixSet\";\nvar _aIS = \"activeInstanceSet\";\nvar _aISS = \"allowedImagesSettingsState\";\nvar _aITS = \"allowedInstanceTypeSet\";\nvar _aIc = \"accountId\";\nvar _aIm = \"amiId\";\nvar _aIs = \"associationId\";\nvar _aIss = \"assetId\";\nvar _aIt = \"attachmentId\";\nvar _aIu = \"autoImport\";\nvar _aL = \"accountLevel\";\nvar _aLI = \"amiLaunchIndex\";\nvar _aLc = \"accessLogs\";\nvar _aMIT = \"allowsMultipleInstanceTypes\";\nvar _aMNL = \"allocationMinNetmaskLength\";\nvar _aMNLl = \"allocationMaxNetmaskLength\";\nvar _aMS = \"acceleratorManufacturerSet\";\nvar _aMSp = \"applianceModeSupport\";\nvar _aN = \"attributeName\";\nvar _aNS = \"acceleratorNameSet\";\nvar _aO = \"authenticationOptions\";\nvar _aOI = \"addressOwnerId\";\nvar _aP = \"allowedPrincipals\";\nvar _aPCO = \"accepterPeeringConnectionOptions\";\nvar _aPHS = \"alternatePathHintSet\";\nvar _aPIA = \"associatePublicIpAddress\";\nvar _aPIAS = \"assignedPrivateIpAddressesSet\";\nvar _aPS = \"addedPrincipalSet\";\nvar _aPSs = \"asPathSet\";\nvar _aPu = \"autoPlacement\";\nvar _aR = \"authorizationRule\";\nvar _aRA = \"associatedRoleArn\";\nvar _aRAd = \"additionalRoutesAvailable\";\nvar _aRAs = \"associatedResourceAccessibility\";\nvar _aRAss = \"associatedResourceArn\";\nvar _aRC = \"acceptedRouteCount\";\nvar _aRP = \"areRoutesPersisted\";\nvar _aRS = \"associatedRoleSet\";\nvar _aRSu = \"autoRecoverySupported\";\nvar _aRTS = \"allocationResourceTagSet\";\nvar _aRc = \"aclRule\";\nvar _aRcc = \"acceptanceRequired\";\nvar _aRd = \"addressRegion\";\nvar _aRs = \"associatedResource\";\nvar _aRu = \"autoRecovery\";\nvar _aRw = \"awsRegion\";\nvar _aS = \"associationState\";\nvar _aSA = \"amazonSideAsn\";\nvar _aSS = \"amdSevSnp\";\nvar _aSSt = \"attributeSummarySet\";\nvar _aSc = \"activityStatus\";\nvar _aSct = \"actionsSet\";\nvar _aSd = \"addressSet\";\nvar _aSdd = \"addressesSet\";\nvar _aSl = \"allocationStrategy\";\nvar _aSn = \"analysisStatus\";\nvar _aSs = \"associationStatus\";\nvar _aSss = \"associationSet\";\nvar _aSt = \"attachmentSet\";\nvar _aStt = \"attachmentStatuses\";\nvar _aSw = \"awsService\";\nvar _aT = \"addressTransfer\";\nvar _aTGAI = \"accepterTransitGatewayAttachmentId\";\nvar _aTI = \"accepterTgwInfo\";\nvar _aTMMB = \"acceleratorTotalMemoryMiB\";\nvar _aTN = \"associatedTargetNetwork\";\nvar _aTS = \"addressTransferStatus\";\nvar _aTSc = \"acceleratorTypeSet\";\nvar _aTSd = \"addressTransferSet\";\nvar _aTd = \"addressType\";\nvar _aTdd = \"addressingType\";\nvar _aTl = \"allocationType\";\nvar _aTll = \"allocationTime\";\nvar _aTs = \"associationTarget\";\nvar _aTt = \"attachTime\";\nvar _aTtt = \"attachedTo\";\nvar _aTtta = \"attachmentType\";\nvar _aV = \"attributeValue\";\nvar _aVC = \"availableVCpus\";\nvar _aVI = \"accepterVpcInfo\";\nvar _aVS = \"attributeValueSet\";\nvar _aZ = \"availabilityZone\";\nvar _aZG = \"availabilityZoneGroup\";\nvar _aZI = \"availabilityZoneId\";\nvar _aZIS = \"availabilityZoneIdSet\";\nvar _aZIv = \"availabilityZoneInfo\";\nvar _aZS = \"availabilityZoneSet\";\nvar _ac = \"acl\";\nvar _acc = \"accelerators\";\nvar _act = \"active\";\nvar _ad = \"address\";\nvar _af = \"affinity\";\nvar _am = \"amount\";\nvar _ar = \"arn\";\nvar _arc = \"architecture\";\nvar _as = \"asn\";\nvar _ass = \"association\";\nvar _at = \"attachment\";\nvar _att = \"attachments\";\nvar _b = \"byoasn\";\nvar _bA = \"bgpAsn\";\nvar _bAE = \"bgpAsnExtended\";\nvar _bBIG = \"baselineBandwidthInGbps\";\nvar _bBIM = \"baselineBandwidthInMbps\";\nvar _bC = \"byoipCidr\";\nvar _bCS = \"byoipCidrSet\";\nvar _bCg = \"bgpConfigurations\";\nvar _bCy = \"bytesConverted\";\nvar _bDM = \"blockDeviceMapping\";\nvar _bDMS = \"blockDeviceMappingSet\";\nvar _bDMl = \"blockDurationMinutes\";\nvar _bEBM = \"baselineEbsBandwidthMbps\";\nvar _bEDNS = \"baseEndpointDnsNameSet\";\nvar _bI = \"bundleId\";\nvar _bII = \"branchInterfaceId\";\nvar _bIT = \"bundleInstanceTask\";\nvar _bITS = \"bundleInstanceTasksSet\";\nvar _bIa = \"baselineIops\";\nvar _bM = \"bootMode\";\nvar _bMa = \"bareMetal\";\nvar _bN = \"bucketName\";\nvar _bO = \"bgpOptions\";\nvar _bOu = \"bucketOwner\";\nvar _bP = \"burstablePerformance\";\nvar _bPAS = \"blockPublicAccessStates\";\nvar _bPF = \"baselinePerformanceFactors\";\nvar _bPS = \"burstablePerformanceSupported\";\nvar _bS = \"byoasnSet\";\nvar _bSf = \"bfdStatus\";\nvar _bSg = \"bgpStatus\";\nvar _bT = \"bannerText\";\nvar _bTIMB = \"baselineThroughputInMBps\";\nvar _bW = \"bandwidthWeighting\";\nvar _bWa = \"bandwidthWeightings\";\nvar _bl = \"blackhole\";\nvar _bu = \"bucket\";\nvar _c = \"component\";\nvar _cA = \"componentArn\";\nvar _cAS = \"capacityAllocationSet\";\nvar _cAUS = \"coipAddressUsageSet\";\nvar _cAe = \"certificateArn\";\nvar _cAo = \"componentAccount\";\nvar _cAr = \"createdAt\";\nvar _cB = \"cidrBlock\";\nvar _cBA = \"cidrBlockAssociation\";\nvar _cBAS = \"cidrBlockAssociationSet\";\nvar _cBDH = \"capacityBlockDurationHours\";\nvar _cBDM = \"capacityBlockDurationMinutes\";\nvar _cBEDH = \"capacityBlockExtensionDurationHours\";\nvar _cBEED = \"capacityBlockExtensionEndDate\";\nvar _cBEOI = \"capacityBlockExtensionOfferingId\";\nvar _cBEOS = \"capacityBlockExtensionOfferingSet\";\nvar _cBEPD = \"capacityBlockExtensionPurchaseDate\";\nvar _cBES = \"capacityBlockExtensionStatus\";\nvar _cBESD = \"capacityBlockExtensionStartDate\";\nvar _cBESa = \"capacityBlockExtensionSet\";\nvar _cBOI = \"capacityBlockOfferingId\";\nvar _cBOS = \"capacityBlockOfferingSet\";\nvar _cBS = \"cidrBlockState\";\nvar _cBSi = \"cidrBlockSet\";\nvar _cBr = \"createdBy\";\nvar _cC = \"currencyCode\";\nvar _cCB = \"clientCidrBlock\";\nvar _cCO = \"clientConnectOptions\";\nvar _cCRFE = \"cancelCapacityReservationFleetError\";\nvar _cCl = \"clientConfiguration\";\nvar _cCo = \"coreCount\";\nvar _cCoi = \"coipCidr\";\nvar _cCp = \"cpuCredits\";\nvar _cD = \"createDate\";\nvar _cDM = \"completionDurationMinutes\";\nvar _cDr = \"creationDate\";\nvar _cDre = \"createdDate\";\nvar _cE = \"connectionEvents\";\nvar _cECSD = \"cidrEndpointsCustomSubDomain\";\nvar _cED = \"commitmentEndDate\";\nvar _cET = \"connectionEstablishedTime\";\nvar _cETo = \"connectionEndTime\";\nvar _cEr = \"cronExpression\";\nvar _cF = \"containerFormat\";\nvar _cFS = \"currentFleetState\";\nvar _cG = \"carrierGateway\";\nvar _cGC = \"customerGatewayConfiguration\";\nvar _cGI = \"carrierGatewayId\";\nvar _cGIu = \"customerGatewayId\";\nvar _cGS = \"carrierGatewaySet\";\nvar _cGSu = \"customerGatewaySet\";\nvar _cGu = \"customerGateway\";\nvar _cGur = \"currentGeneration\";\nvar _cI = \"carrierIp\";\nvar _cIBM = \"currentInstanceBootMode\";\nvar _cIC = \"committedInstanceCount\";\nvar _cIi = \"cidrIp\";\nvar _cIid = \"cidrIpv6\";\nvar _cIidr = \"cidrIpv4\";\nvar _cIl = \"clientIp\";\nvar _cIli = \"clientId\";\nvar _cIo = \"componentId\";\nvar _cIom = \"commitmentInfo\";\nvar _cIon = \"connectionId\";\nvar _cIop = \"coIp\";\nvar _cIor = \"coreInfo\";\nvar _cLB = \"classicLoadBalancers\";\nvar _cLBC = \"classicLoadBalancersConfig\";\nvar _cLBL = \"classicLoadBalancerListener\";\nvar _cLBO = \"clientLoginBannerOptions\";\nvar _cLDS = \"classicLinkDnsSupported\";\nvar _cLE = \"classicLinkEnabled\";\nvar _cLO = \"connectionLogOptions\";\nvar _cMKE = \"customerManagedKeyEnabled\";\nvar _cMS = \"cpuManufacturerSet\";\nvar _cN = \"commonName\";\nvar _cNA = \"coreNetworkArn\";\nvar _cNAA = \"coreNetworkAttachmentArn\";\nvar _cNAo = \"connectionNotificationArn\";\nvar _cNI = \"connectionNotificationId\";\nvar _cNIo = \"coreNetworkId\";\nvar _cNS = \"connectionNotificationState\";\nvar _cNSo = \"connectionNotificationSet\";\nvar _cNT = \"connectionNotificationType\";\nvar _cNo = \"connectionNotification\";\nvar _cO = \"cpuOptions\";\nvar _cOI = \"customerOwnedIp\";\nvar _cOIP = \"customerOwnedIpv4Pool\";\nvar _cOP = \"coolOffPeriod\";\nvar _cOPEO = \"coolOffPeriodExpiresOn\";\nvar _cOi = \"cidrOptions\";\nvar _cP = \"coipPool\";\nvar _cPC = \"connectPeerConfiguration\";\nvar _cPI = \"coipPoolId\";\nvar _cPS = \"coipPoolSet\";\nvar _cR = \"capacityReservation\";\nvar _cRA = \"capacityReservationArn\";\nvar _cRBRS = \"capacityReservationBillingRequestSet\";\nvar _cRCC = \"clientRootCertificateChain\";\nvar _cREO = \"clientRouteEnforcementOptions\";\nvar _cRFA = \"capacityReservationFleetArn\";\nvar _cRFI = \"capacityReservationFleetId\";\nvar _cRFS = \"capacityReservationFleetSet\";\nvar _cRGS = \"capacityReservationGroupSet\";\nvar _cRI = \"capacityReservationId\";\nvar _cRIa = \"capacityReservationInfo\";\nvar _cRL = \"certificateRevocationList\";\nvar _cRO = \"capacityReservationOptions\";\nvar _cRP = \"capacityReservationPreference\";\nvar _cRRGA = \"capacityReservationResourceGroupArn\";\nvar _cRS = \"capacityReservationSet\";\nvar _cRSa = \"capacityReservationSpecification\";\nvar _cRT = \"capacityReservationTarget\";\nvar _cRa = \"capacityRebalance\";\nvar _cRo = \"componentRegion\";\nvar _cS = \"cidrSet\";\nvar _cSBN = \"certificateS3BucketName\";\nvar _cSFRS = \"currentSpotFleetRequestState\";\nvar _cSOK = \"certificateS3ObjectKey\";\nvar _cSl = \"clientSecret\";\nvar _cSo = \"complianceStatus\";\nvar _cSon = \"configurationState\";\nvar _cSonn = \"connectionStatuses\";\nvar _cSr = \"creditSpecification\";\nvar _cSu = \"currentState\";\nvar _cSur = \"currentStatus\";\nvar _cT = \"clientToken\";\nvar _cTC = \"connectionTrackingConfiguration\";\nvar _cTI = \"conversionTaskId\";\nvar _cTS = \"connectionTrackingSpecification\";\nvar _cTo = \"conversionTasks\";\nvar _cTom = \"completeTime\";\nvar _cTomp = \"completionTime\";\nvar _cTon = \"conversionTask\";\nvar _cTonn = \"connectivityType\";\nvar _cTr = \"createTime\";\nvar _cTre = \"creationTime\";\nvar _cTrea = \"creationTimestamp\";\nvar _cVE = \"clientVpnEndpoint\";\nvar _cVEI = \"clientVpnEndpointId\";\nvar _cVP = \"createVolumePermission\";\nvar _cVTN = \"clientVpnTargetNetworks\";\nvar _cWL = \"cloudWatchLogs\";\nvar _cWLO = \"cloudWatchLogOptions\";\nvar _ca = \"category\";\nvar _ch = \"checksum\";\nvar _ci = \"cidr\";\nvar _co = \"code\";\nvar _con = \"connections\";\nvar _conf = \"configured\";\nvar _confi = \"config\";\nvar _cont = \"context\";\nvar _cor = \"cores\";\nvar _cou = \"count\";\nvar _cp = \"cpu\";\nvar _d = \"destination\";\nvar _dA = \"destinationArn\";\nvar _dAIT = \"denyAllIgwTraffic\";\nvar _dART = \"defaultAssociationRouteTable\";\nvar _dAS = \"destinationAddressSet\";\nvar _dASe = \"deprovisionedAddressSet\";\nvar _dASi = \"disableApiStop\";\nvar _dAT = \"disableApiTermination\";\nvar _dAe = \"destinationAddress\";\nvar _dC = \"destinationCidr\";\nvar _dCA = \"domainCertificateArn\";\nvar _dCAR = \"deliverCrossAccountRole\";\nvar _dCB = \"destinationCidrBlock\";\nvar _dCR = \"destinationCapacityReservation\";\nvar _dCS = \"dhcpConfigurationSet\";\nvar _dCe = \"defaultCores\";\nvar _dE = \"dnsEntry\";\nvar _dEKI = \"dataEncryptionKeyId\";\nvar _dEQCPI = \"defaultEnaQueueCountPerInterface\";\nvar _dES = \"dnsEntrySet\";\nvar _dFA = \"defaultForAz\";\nvar _dHIS = \"dedicatedHostIdSet\";\nvar _dHS = \"dedicatedHostsSupported\";\nvar _dI = \"directoryId\";\nvar _dICB = \"destinationIpv6CidrBlock\";\nvar _dIF = \"diskImageFormat\";\nvar _dIS = \"diskImageSize\";\nvar _dIe = \"deviceIndex\";\nvar _dIes = \"destinationIp\";\nvar _dLEM = \"deliverLogsErrorMessage\";\nvar _dLPA = \"deliverLogsPermissionArn\";\nvar _dLS = \"deliverLogsStatus\";\nvar _dMGM = \"deregisteredMulticastGroupMembers\";\nvar _dMGS = \"deregisteredMulticastGroupSources\";\nvar _dN = \"deviceName\";\nvar _dNCI = \"defaultNetworkCardIndex\";\nvar _dNII = \"deregisteredNetworkInterfaceIds\";\nvar _dNn = \"dnsName\";\nvar _dO = \"dhcpOptions\";\nvar _dOI = \"dhcpOptionsId\";\nvar _dOS = \"dhcpOptionsSet\";\nvar _dOST = \"disconnectOnSessionTimeout\";\nvar _dOT = \"deleteOnTermination\";\nvar _dOe = \"destinationOptions\";\nvar _dOev = \"deviceOptions\";\nvar _dOn = \"dnsOptions\";\nvar _dP = \"deliveryPreference\";\nvar _dPLI = \"destinationPrefixListId\";\nvar _dPLS = \"destinationPrefixListSet\";\nvar _dPR = \"destinationPortRange\";\nvar _dPRS = \"destinationPortRangeSet\";\nvar _dPRT = \"defaultPropagationRouteTable\";\nvar _dPS = \"destinationPortSet\";\nvar _dPe = \"deregistrationProtection\";\nvar _dPes = \"destinationPort\";\nvar _dR = \"discoveryRegion\";\nvar _dRDAI = \"defaultResourceDiscoveryAssociationId\";\nvar _dRDI = \"defaultResourceDiscoveryId\";\nvar _dRIT = \"dnsRecordIpType\";\nvar _dRRV = \"deleteReplacedRootVolume\";\nvar _dRS = \"dataRetentionSupport\";\nvar _dRSa = \"dataResponseSet\";\nvar _dRTA = \"defaultRouteTableAssociation\";\nvar _dRTP = \"defaultRouteTablePropagation\";\nvar _dRy = \"dynamicRouting\";\nvar _dS = \"dnsServer\";\nvar _dSCR = \"deletedSubnetCidrReservation\";\nvar _dSe = \"destinationSet\";\nvar _dSel = \"deliveryStatus\";\nvar _dSeli = \"deliveryStream\";\nvar _dSn = \"dnsSupport\";\nvar _dT = \"deletionTime\";\nvar _dTA = \"dpdTimeoutAction\";\nvar _dTCT = \"defaultTargetCapacityType\";\nvar _dTPC = \"defaultThreadsPerCore\";\nvar _dTPS = \"deviceTrustProviderSet\";\nvar _dTPT = \"deviceTrustProviderType\";\nvar _dTS = \"dpdTimeoutSeconds\";\nvar _dTe = \"deprecationTime\";\nvar _dTel = \"deleteTime\";\nvar _dTele = \"deletionTimestamp\";\nvar _dTi = \"disablingTime\";\nvar _dTis = \"disabledTime\";\nvar _dV = \"destinationVpc\";\nvar _dVC = \"defaultVCpus\";\nvar _dVD = \"deviceValidationDomain\";\nvar _dVN = \"defaultVersionNumber\";\nvar _dVe = \"defaultVersion\";\nvar _de = \"description\";\nvar _dea = \"deadline\";\nvar _def = \"default\";\nvar _det = \"details\";\nvar _dev = \"device\";\nvar _di = \"direction\";\nvar _dis = \"disks\";\nvar _do = \"domain\";\nvar _du = \"duration\";\nvar _e = \"egress\";\nvar _eA = \"eniAddress\";\nvar _eAn = \"enableAcceleration\";\nvar _eAx = \"exclusionsAllowed\";\nvar _eB = \"egressBytes\";\nvar _eC = \"errorCode\";\nvar _eCTP = \"excessCapacityTerminationPolicy\";\nvar _eCn = \"encryptionControl\";\nvar _eCx = \"explanationCode\";\nvar _eD = \"endDate\";\nvar _eDH = \"enableDnsHostnames\";\nvar _eDS = \"enableDnsSupport\";\nvar _eDT = \"endDateType\";\nvar _eDf = \"effectiveDate\";\nvar _eDn = \"enableDns64\";\nvar _eDnd = \"endpointDomain\";\nvar _eDv = \"eventDescription\";\nvar _eEA = \"endpointEniAddress\";\nvar _eEBD = \"ebsEncryptionByDefault\";\nvar _eEI = \"endpointEniId\";\nvar _eFRS = \"egressFilterRuleSet\";\nvar _eGAI = \"elasticGpuAssociationId\";\nvar _eGAS = \"elasticGpuAssociationState\";\nvar _eGASl = \"elasticGpuAssociationSet\";\nvar _eGAT = \"elasticGpuAssociationTime\";\nvar _eGH = \"elasticGpuHealth\";\nvar _eGI = \"elasticGpuId\";\nvar _eGS = \"elasticGpuSet\";\nvar _eGSS = \"elasticGpuSpecificationSet\";\nvar _eGSl = \"elasticGpuState\";\nvar _eGT = \"elasticGpuType\";\nvar _eH = \"endHour\";\nvar _eI = \"exchangeId\";\nvar _eIAA = \"elasticInferenceAcceleratorArn\";\nvar _eIAAI = \"elasticInferenceAcceleratorAssociationId\";\nvar _eIAAS = \"elasticInferenceAcceleratorAssociationState\";\nvar _eIAASl = \"elasticInferenceAcceleratorAssociationSet\";\nvar _eIAAT = \"elasticInferenceAcceleratorAssociationTime\";\nvar _eIAS = \"elasticInferenceAcceleratorSet\";\nvar _eITI = \"exportImageTaskId\";\nvar _eITS = \"exportImageTaskSet\";\nvar _eITSn = \"encryptionInTransitSupported\";\nvar _eITSx = \"excludedInstanceTypeSet\";\nvar _eIb = \"ebsInfo\";\nvar _eIf = \"efaInfo\";\nvar _eIn = \"eniId\";\nvar _eIv = \"eventInformation\";\nvar _eIve = \"eventId\";\nvar _eIx = \"exclusionId\";\nvar _eKKI = \"encryptionKmsKeyId\";\nvar _eLADI = \"enableLniAtDeviceIndex\";\nvar _eLBL = \"elasticLoadBalancerListener\";\nvar _eM = \"errorMessage\";\nvar _eNAUM = \"enableNetworkAddressUsageMetrics\";\nvar _eO = \"ebsOptimized\";\nvar _eOI = \"ebsOptimizedInfo\";\nvar _eOIG = \"egressOnlyInternetGateway\";\nvar _eOIGI = \"egressOnlyInternetGatewayId\";\nvar _eOIGS = \"egressOnlyInternetGatewaySet\";\nvar _eOS = \"ebsOptimizedSupport\";\nvar _eOn = \"enclaveOptions\";\nvar _eP = \"egressPackets\";\nvar _ePG = \"enablePrivateGua\";\nvar _ePS = \"excludePathSet\";\nvar _eQC = \"enaQueueCount\";\nvar _eRNDAAAAR = \"enableResourceNameDnsAAAARecord\";\nvar _eRNDAR = \"enableResourceNameDnsARecord\";\nvar _eS = \"ephemeralStorage\";\nvar _eSE = \"enaSrdEnabled\";\nvar _eSS = \"enaSrdSpecification\";\nvar _eSSn = \"enaSrdSupported\";\nvar _eST = \"eventSubType\";\nvar _eSUE = \"enaSrdUdpEnabled\";\nvar _eSUS = \"enaSrdUdpSpecification\";\nvar _eSf = \"efaSupported\";\nvar _eSn = \"encryptionSupport\";\nvar _eSna = \"enaSupport\";\nvar _eSnt = \"entrySet\";\nvar _eSr = \"errorSet\";\nvar _eSv = \"eventsSet\";\nvar _eSx = \"explanationSet\";\nvar _eT = \"expirationTime\";\nvar _eTI = \"exportTaskId\";\nvar _eTLC = \"enableTunnelLifecycleControl\";\nvar _eTS = \"exportTaskSet\";\nvar _eTSi = \"eipTagSet\";\nvar _eTSx = \"exportToS3\";\nvar _eTn = \"endTime\";\nvar _eTna = \"enablingTime\";\nvar _eTnab = \"enabledTime\";\nvar _eTnd = \"endpointType\";\nvar _eTv = \"eventType\";\nvar _eTx = \"exportTask\";\nvar _eWD = \"endWeekDay\";\nvar _eb = \"ebs\";\nvar _en = \"enabled\";\nvar _enc = \"encrypted\";\nvar _end = \"end\";\nvar _enf = \"enforced\";\nvar _er = \"error\";\nvar _ev = \"event\";\nvar _f = \"format\";\nvar _fA = \"federatedAuthentication\";\nvar _fAD = \"filterAtDestination\";\nvar _fAS = \"filterAtSource\";\nvar _fAi = \"firstAddress\";\nvar _fC = \"fulfilledCapacity\";\nvar _fCRS = \"fleetCapacityReservationSet\";\nvar _fCS = \"findingComponentSet\";\nvar _fCa = \"failureCode\";\nvar _fDN = \"fipsDnsName\";\nvar _fE = \"fipsEnabled\";\nvar _fEQS = \"flexibleEnaQueuesSupport\";\nvar _fF = \"fileFormat\";\nvar _fFCS = \"failedFleetCancellationSet\";\nvar _fFi = \"findingsFound\";\nvar _fI = \"findingId\";\nvar _fIA = \"fpgaImageAttribute\";\nvar _fIAS = \"filterInArnSet\";\nvar _fIGI = \"fpgaImageGlobalId\";\nvar _fII = \"fpgaImageId\";\nvar _fIS = \"fleetInstanceSet\";\nvar _fISp = \"fpgaImageSet\";\nvar _fIl = \"fleetId\";\nvar _fIp = \"fpgaInfo\";\nvar _fLI = \"flowLogId\";\nvar _fLIS = \"flowLogIdSet\";\nvar _fLISa = \"fastLaunchImageSet\";\nvar _fLS = \"flowLogSet\";\nvar _fLSl = \"flowLogStatus\";\nvar _fM = \"failureMessage\";\nvar _fOAS = \"filterOutArnSet\";\nvar _fODC = \"fulfilledOnDemandCapacity\";\nvar _fP = \"fromPort\";\nvar _fPCS = \"forwardPathComponentSet\";\nvar _fPi = \"fixedPrice\";\nvar _fQPDS = \"failedQueuedPurchaseDeletionSet\";\nvar _fR = \"failureReason\";\nvar _fRa = \"fastRestored\";\nvar _fS = \"fleetSet\";\nvar _fSR = \"firewallStatelessRule\";\nvar _fSRS = \"fastSnapshotRestoreSet\";\nvar _fSRSES = \"fastSnapshotRestoreStateErrorSet\";\nvar _fSRi = \"firewallStatefulRule\";\nvar _fSSIB = \"fullSnapshotSizeInBytes\";\nvar _fSST = \"firstSlotStartTime\";\nvar _fSl = \"fleetState\";\nvar _fTE = \"freeTierEligible\";\nvar _fa = \"fault\";\nvar _fp = \"fpgas\";\nvar _fr = \"from\";\nvar _fre = \"frequency\";\nvar _g = \"group\";\nvar _gA = \"groupArn\";\nvar _gAS = \"gatewayAssociationState\";\nvar _gD = \"groupDescription\";\nvar _gI = \"gatewayId\";\nvar _gIA = \"groupIpAddress\";\nvar _gIp = \"gpuInfo\";\nvar _gIr = \"groupId\";\nvar _gK = \"greKey\";\nvar _gLBAS = \"gatewayLoadBalancerArnSet\";\nvar _gLBEI = \"gatewayLoadBalancerEndpointId\";\nvar _gLN = \"groupLongName\";\nvar _gM = \"groupMember\";\nvar _gN = \"groupName\";\nvar _gOI = \"groupOwnerId\";\nvar _gS = \"groupSet\";\nvar _gSr = \"groupSource\";\nvar _gp = \"gpus\";\nvar _gr = \"groups\";\nvar _h = \"hypervisor\";\nvar _hCP = \"hiveCompatiblePartitions\";\nvar _hE = \"httpEndpoint\";\nvar _hI = \"hostId\";\nvar _hIS = \"hostIdSet\";\nvar _hM = \"hostMaintenance\";\nvar _hO = \"hibernationOptions\";\nvar _hP = \"hostProperties\";\nvar _hPI = \"httpProtocolIpv6\";\nvar _hPRHL = \"httpPutResponseHopLimit\";\nvar _hPo = \"hourlyPrice\";\nvar _hR = \"hostRecovery\";\nvar _hRGA = \"hostResourceGroupArn\";\nvar _hRI = \"hostReservationId\";\nvar _hRS = \"historyRecordSet\";\nvar _hRSo = \"hostReservationSet\";\nvar _hS = \"hostSet\";\nvar _hSi = \"hibernationSupported\";\nvar _hT = \"httpTokens\";\nvar _hTo = \"hostnameType\";\nvar _hZI = \"hostedZoneId\";\nvar _i = \"item\";\nvar _iA = \"interfaceAssociation\";\nvar _iAA = \"ipv6AddressAttribute\";\nvar _iAC = \"ipv6AddressCount\";\nvar _iAI = \"inferenceAcceleratorInfo\";\nvar _iAPI = \"ipv4AddressesPerInterface\";\nvar _iAPIp = \"ipv6AddressesPerInterface\";\nvar _iAS = \"interfaceAssociationSet\";\nvar _iASp = \"ipv6AddressesSet\";\nvar _iAT = \"ipAddressType\";\nvar _iATOI = \"includeAllTagsOfInstance\";\nvar _iAm = \"imageAllowed\";\nvar _iAp = \"ipAddress\";\nvar _iApa = \"ipamArn\";\nvar _iApv = \"ipv6Address\";\nvar _iB = \"ingressBytes\";\nvar _iBPAS = \"imageBlockPublicAccessState\";\nvar _iC = \"instanceCount\";\nvar _iCAS = \"ipv6CidrAssociationSet\";\nvar _iCB = \"ipv6CidrBlock\";\nvar _iCBA = \"ipv6CidrBlockAssociation\";\nvar _iCBAS = \"ipv6CidrBlockAssociationSet\";\nvar _iCBS = \"ipv6CidrBlockState\";\nvar _iCBSp = \"ipv6CidrBlockSet\";\nvar _iCBn = \"insideCidrBlocks\";\nvar _iCE = \"instanceConnectEndpoint\";\nvar _iCEA = \"instanceConnectEndpointArn\";\nvar _iCEI = \"instanceConnectEndpointId\";\nvar _iCES = \"instanceConnectEndpointSet\";\nvar _iCS = \"imageCriterionSet\";\nvar _iCSS = \"instanceCreditSpecificationSet\";\nvar _iCn = \"instanceCounts\";\nvar _iCp = \"ipv6Cidr\";\nvar _iD = \"imageData\";\nvar _iDAS = \"ipamDiscoveredAccountSet\";\nvar _iDPAS = \"ipamDiscoveredPublicAddressSet\";\nvar _iDRCS = \"ipamDiscoveredResourceCidrSet\";\nvar _iDs = \"isDefault\";\nvar _iE = \"instanceExport\";\nvar _iEI = \"instanceEventId\";\nvar _iERVT = \"ipamExternalResourceVerificationToken\";\nvar _iERVTA = \"ipamExternalResourceVerificationTokenArn\";\nvar _iERVTI = \"ipamExternalResourceVerificationTokenId\";\nvar _iERVTS = \"ipamExternalResourceVerificationTokenSet\";\nvar _iEW = \"instanceEventWindow\";\nvar _iEWI = \"instanceEventWindowId\";\nvar _iEWS = \"instanceEventWindowState\";\nvar _iEWSn = \"instanceEventWindowSet\";\nvar _iEs = \"isEgress\";\nvar _iF = \"instanceFamily\";\nvar _iFCS = \"instanceFamilyCreditSpecification\";\nvar _iFR = \"iamFleetRole\";\nvar _iFRS = \"ingressFilterRuleSet\";\nvar _iG = \"internetGateway\";\nvar _iGBM = \"internetGatewayBlockMode\";\nvar _iGEM = \"internetGatewayExclusionMode\";\nvar _iGI = \"internetGatewayId\";\nvar _iGS = \"internetGatewaySet\";\nvar _iGSn = \"instanceGenerationSet\";\nvar _iH = \"instanceHealth\";\nvar _iHn = \"inboundHeader\";\nvar _iI = \"instanceId\";\nvar _iIB = \"instanceInterruptionBehavior\";\nvar _iIMS = \"instanceImageMetadataSet\";\nvar _iIP = \"iamInstanceProfile\";\nvar _iIPA = \"iamInstanceProfileAssociation\";\nvar _iIPAS = \"iamInstanceProfileAssociationSet\";\nvar _iIS = \"instanceIdSet\";\nvar _iISB = \"instanceInitiatedShutdownBehavior\";\nvar _iITS = \"importImageTaskSet\";\nvar _iIm = \"importInstance\";\nvar _iIma = \"imageId\";\nvar _iIn = \"instanceIds\";\nvar _iIp = \"ipamId\";\nvar _iL = \"imageLocation\";\nvar _iLn = \"instanceLifecycle\";\nvar _iM = \"imageMetadata\";\nvar _iMC = \"instanceMatchCriteria\";\nvar _iMO = \"instanceMetadataOptions\";\nvar _iMOn = \"instanceMarketOptions\";\nvar _iMT = \"instanceMetadataTags\";\nvar _iMU = \"importManifestUrl\";\nvar _iN = \"ipv6Native\";\nvar _iOA = \"imageOwnerAlias\";\nvar _iOI = \"imageOwnerId\";\nvar _iOIn = \"instanceOwnerId\";\nvar _iOIp = \"ipOwnerId\";\nvar _iOS = \"instanceOwningService\";\nvar _iP = \"instancePort\";\nvar _iPA = \"ipamPoolAllocation\";\nvar _iPAI = \"ipamPoolAllocationId\";\nvar _iPAS = \"ipamPoolAllocationSet\";\nvar _iPAp = \"ipamPoolArn\";\nvar _iPC = \"ipamPoolCidr\";\nvar _iPCI = \"ipamPoolCidrId\";\nvar _iPCS = \"ipamPoolCidrSet\";\nvar _iPCp = \"ipv4PrefixCount\";\nvar _iPCpv = \"ipv6PrefixCount\";\nvar _iPE = \"ipPermissionsEgress\";\nvar _iPI = \"isPrimaryIpv6\";\nvar _iPIp = \"ipamPoolId\";\nvar _iPR = \"isPermanentRestore\";\nvar _iPS = \"ipamPoolSet\";\nvar _iPSm = \"imageProviderSet\";\nvar _iPSp = \"ipv6PoolSet\";\nvar _iPSpr = \"ipPrefixSet\";\nvar _iPSpv = \"ipv4PrefixSet\";\nvar _iPSpvr = \"ipv6PrefixSet\";\nvar _iPTUC = \"instancePoolsToUseCount\";\nvar _iPn = \"instancePlatform\";\nvar _iPng = \"ingressPackets\";\nvar _iPnt = \"interfacePermission\";\nvar _iPnte = \"interfaceProtocol\";\nvar _iPo = \"ioPerformance\";\nvar _iPp = \"ipamPool\";\nvar _iPpe = \"ipPermissions\";\nvar _iPpr = \"ipProtocol\";\nvar _iPpv = \"ipv4Prefix\";\nvar _iPpvo = \"ipv6Pool\";\nvar _iPpvr = \"ipv6Prefix\";\nvar _iPs = \"isPublic\";\nvar _iPsr = \"isPrimary\";\nvar _iR = \"instanceRequirements\";\nvar _iRC = \"ipamResourceCidr\";\nvar _iRCS = \"ipamResourceCidrSet\";\nvar _iRD = \"ipamResourceDiscovery\";\nvar _iRDA = \"ipamResourceDiscoveryAssociation\";\nvar _iRDAA = \"ipamResourceDiscoveryAssociationArn\";\nvar _iRDAI = \"ipamResourceDiscoveryAssociationId\";\nvar _iRDAS = \"ipamResourceDiscoveryAssociationSet\";\nvar _iRDAp = \"ipamResourceDiscoveryArn\";\nvar _iRDI = \"ipamResourceDiscoveryId\";\nvar _iRDR = \"ipamResourceDiscoveryRegion\";\nvar _iRDS = \"ipamResourceDiscoverySet\";\nvar _iRT = \"ingressRouteTable\";\nvar _iRp = \"ipamRegion\";\nvar _iRpa = \"ipRanges\";\nvar _iRpv = \"ipv6Ranges\";\nvar _iS = \"ipamScope\";\nvar _iSA = \"ipamScopeArn\";\nvar _iSI = \"instanceStorageInfo\";\nvar _iSIp = \"ipamScopeId\";\nvar _iSS = \"instanceStatusSet\";\nvar _iSSn = \"instanceStorageSupported\";\nvar _iSSp = \"ipamScopeSet\";\nvar _iST = \"ipamScopeType\";\nvar _iSTS = \"importSnapshotTaskSet\";\nvar _iSg = \"igmpv2Support\";\nvar _iSm = \"imagesSet\";\nvar _iSma = \"imageState\";\nvar _iSmag = \"imageSet\";\nvar _iSmd = \"imdsSupport\";\nvar _iSmp = \"impairedSince\";\nvar _iSn = \"instancesSet\";\nvar _iSns = \"instanceSet\";\nvar _iSnst = \"instanceState\";\nvar _iSnsta = \"instanceStatus\";\nvar _iSp = \"ipamSet\";\nvar _iSpo = \"ipSource\";\nvar _iSpv = \"ipv6Supported\";\nvar _iSpvu = \"ipv6Support\";\nvar _iT = \"instanceType\";\nvar _iTA = \"instanceTagAttribute\";\nvar _iTC = \"icmpTypeCode\";\nvar _iTCn = \"includeTrustContext\";\nvar _iTI = \"importTaskId\";\nvar _iTKS = \"instanceTagKeySet\";\nvar _iTOS = \"instanceTypeOfferingSet\";\nvar _iTS = \"instanceTypeSet\";\nvar _iTSS = \"instanceTypeSpecificationSet\";\nvar _iTm = \"imageType\";\nvar _iTn = \"instanceTypes\";\nvar _iTns = \"instanceTenancy\";\nvar _iTnt = \"interfaceType\";\nvar _iU = \"ipUsage\";\nvar _iUS = \"instanceUsageSet\";\nvar _iV = \"importVolume\";\nvar _iVE = \"isValidExchange\";\nvar _iVS = \"ikeVersionSet\";\nvar _id = \"id\";\nvar _im = \"image\";\nvar _in = \"instance\";\nvar _ins = \"instances\";\nvar _int = \"interval\";\nvar _io = \"iops\";\nvar _ip = \"ipam\";\nvar _is = \"issuer\";\nvar _k = \"key\";\nvar _kDF = \"kinesisDataFirehose\";\nvar _kF = \"keyFormat\";\nvar _kFe = \"keyFingerprint\";\nvar _kI = \"kernelId\";\nvar _kKA = \"kmsKeyArn\";\nvar _kKI = \"kmsKeyId\";\nvar _kM = \"keyMaterial\";\nvar _kN = \"keyName\";\nvar _kPI = \"keyPairId\";\nvar _kS = \"keySet\";\nvar _kT = \"keyType\";\nvar _kV = \"keyValue\";\nvar _ke = \"kernel\";\nvar _key = \"keyword\";\nvar _l = \"lifecycle\";\nvar _lA = \"localAddress\";\nvar _lADT = \"lastAttemptedDiscoveryTime\";\nvar _lAZ = \"launchedAvailabilityZone\";\nvar _lAa = \"lastAddress\";\nvar _lBA = \"loadBalancerArn\";\nvar _lBAE = \"localBgpAsnExtended\";\nvar _lBAo = \"localBgpAsn\";\nvar _lBC = \"loadBalancersConfig\";\nvar _lBLP = \"loadBalancerListenerPort\";\nvar _lBO = \"loadBalancerOptions\";\nvar _lBP = \"loadBalancerPort\";\nvar _lBS = \"loadBalancerSet\";\nvar _lBT = \"loadBalancerTarget\";\nvar _lBTG = \"loadBalancerTargetGroup\";\nvar _lBTGS = \"loadBalancerTargetGroupSet\";\nvar _lBTP = \"loadBalancerTargetPort\";\nvar _lC = \"loggingConfiguration\";\nvar _lCA = \"licenseConfigurationArn\";\nvar _lCO = \"lockCreatedOn\";\nvar _lCS = \"loggingConfigurationSet\";\nvar _lD = \"logDestination\";\nvar _lDST = \"lockDurationStartTime\";\nvar _lDT = \"logDestinationType\";\nvar _lDo = \"lockDuration\";\nvar _lE = \"logEnabled\";\nvar _lEO = \"lockExpiresOn\";\nvar _lET = \"lastEvaluatedTime\";\nvar _lEa = \"lastError\";\nvar _lF = \"logFormat\";\nvar _lFA = \"lambdaFunctionArn\";\nvar _lG = \"launchGroup\";\nvar _lGA = \"logGroupArn\";\nvar _lGI = \"localGatewayId\";\nvar _lGN = \"logGroupName\";\nvar _lGRT = \"localGatewayRouteTable\";\nvar _lGRTA = \"localGatewayRouteTableArn\";\nvar _lGRTI = \"localGatewayRouteTableId\";\nvar _lGRTS = \"localGatewayRouteTableSet\";\nvar _lGRTVA = \"localGatewayRouteTableVpcAssociation\";\nvar _lGRTVAI = \"localGatewayRouteTableVpcAssociationId\";\nvar _lGRTVAS = \"localGatewayRouteTableVpcAssociationSet\";\nvar _lGRTVIGA = \"localGatewayRouteTableVirtualInterfaceGroupAssociation\";\nvar _lGRTVIGAI = \"localGatewayRouteTableVirtualInterfaceGroupAssociationId\";\nvar _lGRTVIGAS = \"localGatewayRouteTableVirtualInterfaceGroupAssociationSet\";\nvar _lGS = \"localGatewaySet\";\nvar _lGVI = \"localGatewayVirtualInterface\";\nvar _lGVIA = \"localGatewayVirtualInterfaceArn\";\nvar _lGVIG = \"localGatewayVirtualInterfaceGroup\";\nvar _lGVIGA = \"localGatewayVirtualInterfaceGroupArn\";\nvar _lGVIGI = \"localGatewayVirtualInterfaceGroupId\";\nvar _lGVIGS = \"localGatewayVirtualInterfaceGroupSet\";\nvar _lGVII = \"localGatewayVirtualInterfaceId\";\nvar _lGVIIS = \"localGatewayVirtualInterfaceIdSet\";\nvar _lGVIS = \"localGatewayVirtualInterfaceSet\";\nvar _lGo = \"logGroup\";\nvar _lINC = \"localIpv4NetworkCidr\";\nvar _lINCo = \"localIpv6NetworkCidr\";\nvar _lLT = \"lastLaunchedTime\";\nvar _lMA = \"lastMaintenanceApplied\";\nvar _lO = \"logOptions\";\nvar _lOF = \"logOutputFormat\";\nvar _lP = \"loadPermissions\";\nvar _lPa = \"launchPermission\";\nvar _lS = \"licenseSpecifications\";\nvar _lSC = \"lastStatusChange\";\nvar _lSDT = \"lastSuccessfulDiscoveryTime\";\nvar _lSTS = \"localStorageTypeSet\";\nvar _lSa = \"launchSpecifications\";\nvar _lSau = \"launchSpecification\";\nvar _lSi = \"licenseSet\";\nvar _lSo = \"localStorage\";\nvar _lSoc = \"lockState\";\nvar _lT = \"launchTemplate\";\nvar _lTAO = \"launchTemplateAndOverrides\";\nvar _lTC = \"launchTemplateConfigs\";\nvar _lTD = \"launchTemplateData\";\nvar _lTI = \"launchTemplateId\";\nvar _lTN = \"launchTemplateName\";\nvar _lTOS = \"lastTieringOperationStatus\";\nvar _lTOSD = \"lastTieringOperationStatusDetail\";\nvar _lTP = \"lastTieringProgress\";\nvar _lTS = \"launchTemplateSpecification\";\nvar _lTST = \"lastTieringStartTime\";\nvar _lTV = \"launchTemplateVersion\";\nvar _lTVS = \"launchTemplateVersionSet\";\nvar _lTa = \"launchTemplates\";\nvar _lTau = \"launchTime\";\nvar _lTi = \"licenseType\";\nvar _lTo = \"locationType\";\nvar _lUT = \"lastUpdateTime\";\nvar _lUTa = \"lastUpdatedTime\";\nvar _lUTas = \"lastUpdateTimestamp\";\nvar _lV = \"logVersion\";\nvar _lVN = \"latestVersionNumber\";\nvar _lo = \"location\";\nvar _loc = \"locale\";\nvar _m = \"min\";\nvar _mA = \"mutualAuthentication\";\nvar _mAAA = \"maintenanceAutoAppliedAfter\";\nvar _mAE = \"multiAttachEnabled\";\nvar _mAI = \"maxAggregationInterval\";\nvar _mAIe = \"mediaAcceleratorInfo\";\nvar _mASS = \"movingAddressStatusSet\";\nvar _mAa = \"macAddress\";\nvar _mAe = \"meteredAccount\";\nvar _mB = \"managedBy\";\nvar _mBIM = \"maximumBandwidthInMbps\";\nvar _mC = \"missingComponent\";\nvar _mCOIOL = \"mapCustomerOwnedIpOnLaunch\";\nvar _mD = \"maintenanceDetails\";\nvar _mDA = \"multicastDomainAssociations\";\nvar _mDK = \"metaDataKey\";\nvar _mDV = \"metaDataValue\";\nvar _mDe = \"metaData\";\nvar _mE = \"maxEntries\";\nvar _mEI = \"maximumEfaInterfaces\";\nvar _mEM = \"managedExceptionMessage\";\nvar _mEQC = \"maximumEnaQueueCount\";\nvar _mEQCPI = \"maximumEnaQueueCountPerInterface\";\nvar _mFV = \"mostFrequentValue\";\nvar _mG = \"multicastGroups\";\nvar _mGBPVC = \"memoryGiBPerVCpu\";\nvar _mHS = \"macHostSet\";\nvar _mI = \"maximumIops\";\nvar _mIe = \"memoryInfo\";\nvar _mMB = \"memoryMiB\";\nvar _mNC = \"maximumNetworkCards\";\nvar _mNI = \"maximumNetworkInterfaces\";\nvar _mO = \"metadataOptions\";\nvar _mOSLRG = \"memberOfServiceLinkedResourceGroup\";\nvar _mOSLSVS = \"macOSLatestSupportedVersionSet\";\nvar _mOa = \"maintenanceOptions\";\nvar _mP = \"maxPrice\";\nvar _mPIOL = \"mapPublicIpOnLaunch\";\nvar _mPL = \"maxParallelLaunches\";\nvar _mPS = \"metricPointSet\";\nvar _mPSa = \"matchPathSet\";\nvar _mR = \"maxResults\";\nvar _mRS = \"modificationResultSet\";\nvar _mS = \"messageSet\";\nvar _mSPAPOOODP = \"maxSpotPriceAsPercentageOfOptimalOnDemandPrice\";\nvar _mSa = \"managementState\";\nvar _mSai = \"maintenanceStrategies\";\nvar _mSo = \"moveStatus\";\nvar _mSod = \"modificationState\";\nvar _mSu = \"multicastSupport\";\nvar _mT = \"marketType\";\nvar _mTC = \"minTargetCapacity\";\nvar _mTDID = \"maxTermDurationInDays\";\nvar _mTDIDi = \"minTermDurationInDays\";\nvar _mTIMB = \"maximumThroughputInMBps\";\nvar _mTP = \"maxTotalPrice\";\nvar _mTe = \"memberType\";\nvar _mVE = \"managesVpcEndpoints\";\nvar _ma = \"max\";\nvar _mai = \"main\";\nvar _man = \"manufacturer\";\nvar _mana = \"managed\";\nvar _mar = \"marketplace\";\nvar _me = \"message\";\nvar _med = \"med\";\nvar _mem = \"member\";\nvar _met = \"metric\";\nvar _mo = \"monitoring\";\nvar _mod = \"mode\";\nvar _n = \"name\";\nvar _nA = \"networkAcl\";\nvar _nAAI = \"networkAclAssociationId\";\nvar _nAI = \"networkAclId\";\nvar _nAIe = \"newAssociationId\";\nvar _nAOO = \"nativeApplicationOidcOptions\";\nvar _nAS = \"networkAclSet\";\nvar _nAo = \"notAfter\";\nvar _nB = \"notBefore\";\nvar _nBD = \"notBeforeDeadline\";\nvar _nBG = \"networkBorderGroup\";\nvar _nBGe = \"networkBandwidthGbps\";\nvar _nC = \"networkCards\";\nvar _nCI = \"networkCardIndex\";\nvar _nD = \"noDevice\";\nvar _nDe = \"neuronDevices\";\nvar _nES = \"nitroEnclavesSupport\";\nvar _nG = \"natGateway\";\nvar _nGAS = \"natGatewayAddressSet\";\nvar _nGI = \"natGatewayId\";\nvar _nGS = \"natGatewaySet\";\nvar _nHI = \"nextHopIp\";\nvar _nI = \"networkId\";\nvar _nIA = \"networkInsightsAnalysis\";\nvar _nIAA = \"networkInsightsAnalysisArn\";\nvar _nIAI = \"networkInsightsAnalysisId\";\nvar _nIAS = \"networkInsightsAccessScope\";\nvar _nIASA = \"networkInsightsAccessScopeArn\";\nvar _nIASAA = \"networkInsightsAccessScopeAnalysisArn\";\nvar _nIASAI = \"networkInsightsAccessScopeAnalysisId\";\nvar _nIASAS = \"networkInsightsAccessScopeAnalysisSet\";\nvar _nIASAe = \"networkInsightsAccessScopeAnalysis\";\nvar _nIASC = \"networkInsightsAccessScopeContent\";\nvar _nIASI = \"networkInsightsAccessScopeId\";\nvar _nIASS = \"networkInsightsAccessScopeSet\";\nvar _nIASe = \"networkInsightsAnalysisSet\";\nvar _nIASet = \"networkInterfaceAttachmentStatus\";\nvar _nIC = \"networkInterfaceCount\";\nvar _nID = \"networkInterfaceDescription\";\nvar _nII = \"networkInterfaceId\";\nvar _nIIS = \"networkInterfaceIdSet\";\nvar _nIO = \"networkInterfaceOptions\";\nvar _nIOI = \"networkInterfaceOwnerId\";\nvar _nIP = \"networkInsightsPath\";\nvar _nIPA = \"networkInsightsPathArn\";\nvar _nIPI = \"networkInsightsPathId\";\nvar _nIPIe = \"networkInterfacePermissionId\";\nvar _nIPS = \"networkInsightsPathSet\";\nvar _nIPe = \"networkInterfacePermissions\";\nvar _nIS = \"networkInterfaceSet\";\nvar _nIe = \"networkInterface\";\nvar _nIet = \"networkInfo\";\nvar _nIeu = \"neuronInfo\";\nvar _nL = \"netmaskLength\";\nvar _nLBA = \"networkLoadBalancerArn\";\nvar _nLBAS = \"networkLoadBalancerArnSet\";\nvar _nNS = \"networkNodeSet\";\nvar _nOA = \"numberOfAccounts\";\nvar _nOFA = \"numberOfFailedAccounts\";\nvar _nOMA = \"numberOfMatchedAccounts\";\nvar _nOUA = \"numberOfUnmatchedAccounts\";\nvar _nP = \"networkPerformance\";\nvar _nPF = \"networkPathFound\";\nvar _nPO = \"networkPerformanceOptions\";\nvar _nPe = \"networkPlatform\";\nvar _nS = \"nvmeSupport\";\nvar _nSS = \"networkServiceSet\";\nvar _nSST = \"nextSlotStartTime\";\nvar _nSa = \"nameserverSet\";\nvar _nT = \"networkType\";\nvar _nTI = \"nitroTpmInfo\";\nvar _nTS = \"nitroTpmSupport\";\nvar _nTe = \"nextToken\";\nvar _o = \"origin\";\nvar _oA = \"outpostArn\";\nvar _oAr = \"organizationArn\";\nvar _oAw = \"ownerAlias\";\nvar _oC = \"offeringClass\";\nvar _oDAS = \"onDemandAllocationStrategy\";\nvar _oDFC = \"onDemandFulfilledCapacity\";\nvar _oDMPPOLP = \"onDemandMaxPricePercentageOverLowestPrice\";\nvar _oDMTP = \"onDemandMaxTotalPrice\";\nvar _oDO = \"onDemandOptions\";\nvar _oDS = \"occurrenceDaySet\";\nvar _oDTC = \"onDemandTargetCapacity\";\nvar _oEP = \"organizationsEntityPath\";\nvar _oH = \"outboundHeader\";\nvar _oI = \"ownerId\";\nvar _oIA = \"outsideIpAddress\";\nvar _oIAT = \"outsideIpAddressType\";\nvar _oIS = \"optInStatus\";\nvar _oIf = \"offeringId\";\nvar _oIr = \"originalIops\";\nvar _oIu = \"outpostId\";\nvar _oK = \"objectKey\";\nvar _oLI = \"outpostLagId\";\nvar _oLS = \"outpostLagSet\";\nvar _oMAE = \"originalMultiAttachEnabled\";\nvar _oO = \"oidcOptions\";\nvar _oRIWEA = \"outputReservedInstancesWillExpireAt\";\nvar _oRS = \"operatingRegionSet\";\nvar _oRTE = \"occurrenceRelativeToEnd\";\nvar _oS = \"offeringSet\";\nvar _oST = \"oldestSampleTime\";\nvar _oSr = \"originalSize\";\nvar _oSv = \"overlapStatus\";\nvar _oT = \"optimizingTime\";\nvar _oTf = \"offeringType\";\nvar _oTr = \"originalThroughput\";\nvar _oU = \"occurrenceUnit\";\nvar _oUA = \"organizationalUnitArn\";\nvar _oUES = \"organizationalUnitExclusionSet\";\nvar _oUI = \"organizationalUnitId\";\nvar _oVCS = \"openVpnConfigurationSet\";\nvar _oVT = \"originalVolumeType\";\nvar _op = \"operator\";\nvar _opt = \"options\";\nvar _ou = \"output\";\nvar _ov = \"overrides\";\nvar _ow = \"owner\";\nvar _p = \"principal\";\nvar _pA = \"poolArn\";\nvar _pAI = \"peeringAttachmentId\";\nvar _pAR = \"poolAddressRange\";\nvar _pARS = \"poolAddressRangeSet\";\nvar _pAe = \"peerAddress\";\nvar _pAee = \"peerAsn\";\nvar _pAu = \"publiclyAdvertisable\";\nvar _pB = \"provisionedBandwidth\";\nvar _pBA = \"peerBgpAsn\";\nvar _pBAE = \"peerBgpAsnExtended\";\nvar _pBIG = \"peakBandwidthInGbps\";\nvar _pC = \"productCodes\";\nvar _pCB = \"poolCidrBlock\";\nvar _pCBS = \"poolCidrBlockSet\";\nvar _pCI = \"preserveClientIp\";\nvar _pCNI = \"peerCoreNetworkId\";\nvar _pCS = \"poolCidrSet\";\nvar _pCSS = \"postureComplianceStatusSet\";\nvar _pCa = \"partitionCount\";\nvar _pCo = \"poolCount\";\nvar _pCr = \"productCode\";\nvar _pD = \"passwordData\";\nvar _pDE = \"privateDnsEnabled\";\nvar _pDEr = \"privateDnsEntry\";\nvar _pDHGNS = \"phase1DHGroupNumberSet\";\nvar _pDHGNSh = \"phase2DHGroupNumberSet\";\nvar _pDN = \"privateDnsName\";\nvar _pDNC = \"privateDnsNameConfiguration\";\nvar _pDNO = \"privateDnsNameOptions\";\nvar _pDNOOL = \"privateDnsNameOptionsOnLaunch\";\nvar _pDNS = \"privateDnsNameSet\";\nvar _pDNVS = \"privateDnsNameVerificationState\";\nvar _pDNu = \"publicDnsName\";\nvar _pDOFIRE = \"privateDnsOnlyForInboundResolverEndpoint\";\nvar _pDRTI = \"propagationDefaultRouteTableId\";\nvar _pDS = \"pricingDetailsSet\";\nvar _pDSI = \"publicDefaultScopeId\";\nvar _pDSIr = \"privateDefaultScopeId\";\nvar _pDa = \"paymentDue\";\nvar _pDl = \"platformDetails\";\nvar _pDo = \"policyDocument\";\nvar _pDoo = \"poolDepth\";\nvar _pDr = \"productDescription\";\nvar _pE = \"policyEnabled\";\nvar _pEAS = \"phase1EncryptionAlgorithmSet\";\nvar _pEASh = \"phase2EncryptionAlgorithmSet\";\nvar _pEk = \"pkceEnabled\";\nvar _pF = \"packetField\";\nvar _pFS = \"previousFleetState\";\nvar _pG = \"placementGroup\";\nvar _pGA = \"placementGroupArn\";\nvar _pGI = \"placementGroupInfo\";\nvar _pGS = \"placementGroupSet\";\nvar _pHP = \"perHourPartition\";\nvar _pHS = \"packetHeaderStatement\";\nvar _pI = \"publicIp\";\nvar _pIA = \"privateIpAddress\";\nvar _pIAS = \"privateIpAddressesSet\";\nvar _pIASh = \"phase1IntegrityAlgorithmSet\";\nvar _pIASha = \"phase2IntegrityAlgorithmSet\";\nvar _pIP = \"publicIpv4Pool\";\nvar _pIPI = \"publicIpv4PoolId\";\nvar _pIPS = \"publicIpv4PoolSet\";\nvar _pIS = \"publicIpSource\";\nvar _pIc = \"pciId\";\nvar _pIo = \"poolId\";\nvar _pIr = \"processorInfo\";\nvar _pIri = \"primaryIpv6\";\nvar _pIriv = \"privateIp\";\nvar _pK = \"publicKey\";\nvar _pL = \"prefixList\";\nvar _pLA = \"prefixListArn\";\nvar _pLAS = \"prefixListAssociationSet\";\nvar _pLD = \"peerLivenessDetection\";\nvar _pLI = \"prefixListId\";\nvar _pLIr = \"prefixListIds\";\nvar _pLN = \"prefixListName\";\nvar _pLOI = \"prefixListOwnerId\";\nvar _pLS = \"prefixListSet\";\nvar _pLSh = \"phase1LifetimeSeconds\";\nvar _pLSha = \"phase2LifetimeSeconds\";\nvar _pLa = \"packetLength\";\nvar _pM = \"pendingMaintenance\";\nvar _pN = \"partitionNumber\";\nvar _pO = \"paymentOption\";\nvar _pOe = \"peeringOptions\";\nvar _pP = \"progressPercentage\";\nvar _pR = \"ptrRecord\";\nvar _pRD = \"persistRoutesDuration\";\nvar _pRN = \"policyRuleNumber\";\nvar _pRNo = \"policyReferenceName\";\nvar _pRS = \"portRangeSet\";\nvar _pRSe = \"persistRoutesState\";\nvar _pRU = \"ptrRecordUpdate\";\nvar _pRa = \"payerResponsibility\";\nvar _pRo = \"portRange\";\nvar _pRol = \"policyRule\";\nvar _pS = \"previousState\";\nvar _pSET = \"previousSlotEndTime\";\nvar _pSFRS = \"previousSpotFleetRequestState\";\nvar _pSK = \"preSharedKey\";\nvar _pSKE = \"publicSigningKeyEndpoint\";\nvar _pSKU = \"publicSigningKeyUrl\";\nvar _pSe = \"permissionState\";\nvar _pSee = \"peeringStatus\";\nvar _pSh = \"phcSupport\";\nvar _pSr = \"principalSet\";\nvar _pSre = \"previousStatus\";\nvar _pSri = \"priceSchedules\";\nvar _pSro = \"protocolSet\";\nvar _pT = \"principalType\";\nvar _pTGI = \"peerTransitGatewayId\";\nvar _pTr = \"provisionTime\";\nvar _pTu = \"purchaseToken\";\nvar _pVI = \"primaryVpcId\";\nvar _pVS = \"propagatingVgwSet\";\nvar _pZI = \"parentZoneId\";\nvar _pZN = \"parentZoneName\";\nvar _pe = \"period\";\nvar _per = \"permission\";\nvar _pl = \"platform\";\nvar _pla = \"placement\";\nvar _po = \"port\";\nvar _pr = \"protocol\";\nvar _pre = \"prefix\";\nvar _pri = \"priority\";\nvar _pric = \"price\";\nvar _prim = \"primary\";\nvar _pro = \"progress\";\nvar _prop = \"propagation\";\nvar _prov = \"provisioned\";\nvar _pu = \"public\";\nvar _pur = \"purchase\";\nvar _r = \"return\";\nvar _rA = \"ruleAction\";\nvar _rAE = \"remoteAccessEnabled\";\nvar _rAe = \"resourceArn\";\nvar _rB = \"requestedBy\";\nvar _rBET = \"recycleBinEnterTime\";\nvar _rBETe = \"recycleBinExitTime\";\nvar _rC = \"returnCode\";\nvar _rCA = \"resourceConfigurationArn\";\nvar _rCGA = \"resourceConfigurationGroupArn\";\nvar _rCS = \"resourceComplianceStatus\";\nvar _rCe = \"resourceCidr\";\nvar _rCec = \"recurringCharges\";\nvar _rD = \"restoreDuration\";\nvar _rDAC = \"resourceDiscoveryAssociationCount\";\nvar _rDCA = \"rdsDbClusterArn\";\nvar _rDI = \"ramDiskId\";\nvar _rDIA = \"rdsDbInstanceArn\";\nvar _rDN = \"rootDeviceName\";\nvar _rDPA = \"rdsDbProxyArn\";\nvar _rDS = \"resourceDiscoveryStatus\";\nvar _rDT = \"rootDeviceType\";\nvar _rE = \"responseError\";\nvar _rET = \"restoreExpiryTime\";\nvar _rEd = \"rdsEndpoint\";\nvar _rEe = \"regionEndpoint\";\nvar _rEes = \"resourceExclusions\";\nvar _rFP = \"rekeyFuzzPercentage\";\nvar _rGA = \"ruleGroupArn\";\nvar _rGI = \"referencedGroupId\";\nvar _rGIe = \"referencedGroupInfo\";\nvar _rGROPS = \"ruleGroupRuleOptionsPairSet\";\nvar _rGT = \"ruleGroupType\";\nvar _rGTPS = \"ruleGroupTypePairSet\";\nvar _rHS = \"requireHibernateSupport\";\nvar _rI = \"reportId\";\nvar _rIDS = \"routeInstallationDetailSet\";\nvar _rII = \"reservedInstancesId\";\nvar _rIIe = \"reservedInstanceId\";\nvar _rILI = \"reservedInstancesListingId\";\nvar _rILS = \"reservedInstancesListingsSet\";\nvar _rIMI = \"reservedInstancesModificationId\";\nvar _rIMS = \"reservedInstancesModificationsSet\";\nvar _rINC = \"remoteIpv4NetworkCidr\";\nvar _rINCe = \"remoteIpv6NetworkCidr\";\nvar _rIOI = \"reservedInstancesOfferingId\";\nvar _rIOS = \"reservedInstancesOfferingsSet\";\nvar _rIS = \"reservedInstancesSet\";\nvar _rISR = \"routeInstallationStatusReason\";\nvar _rISo = \"routeInstallationStatus\";\nvar _rIVR = \"reservedInstanceValueRollup\";\nvar _rIVS = \"reservedInstanceValueSet\";\nvar _rIa = \"ramdiskId\";\nvar _rIe = \"regionInfo\";\nvar _rIeq = \"requesterId\";\nvar _rIes = \"resourceId\";\nvar _rIese = \"reservationId\";\nvar _rM = \"requesterManaged\";\nvar _rMGM = \"registeredMulticastGroupMembers\";\nvar _rMGS = \"registeredMulticastGroupSources\";\nvar _rMTS = \"rekeyMarginTimeSeconds\";\nvar _rN = \"ruleNumber\";\nvar _rNII = \"registeredNetworkInterfaceIds\";\nvar _rNe = \"regionName\";\nvar _rNes = \"resourceName\";\nvar _rNo = \"roleName\";\nvar _rO = \"resourceOwner\";\nvar _rOI = \"resourceOwnerId\";\nvar _rOS = \"ruleOptionSet\";\nvar _rOSe = \"resourceOverlapStatus\";\nvar _rOd = \"rdsOptions\";\nvar _rOo = \"routeOrigin\";\nvar _rPCO = \"requesterPeeringConnectionOptions\";\nvar _rPCS = \"returnPathComponentSet\";\nvar _rR = \"resourceRegion\";\nvar _rRVT = \"replaceRootVolumeTask\";\nvar _rRVTI = \"replaceRootVolumeTaskId\";\nvar _rRVTS = \"replaceRootVolumeTaskSet\";\nvar _rS = \"referenceSet\";\nvar _rSA = \"routeServerAssociation\";\nvar _rSAS = \"routeServerAssociationSet\";\nvar _rSE = \"routeServerEndpoint\";\nvar _rSEI = \"routeServerEndpointId\";\nvar _rSES = \"routeServerEndpointSet\";\nvar _rSGRS = \"revokedSecurityGroupRuleSet\";\nvar _rSI = \"routeServerId\";\nvar _rSP = \"routeServerPeer\";\nvar _rSPI = \"routeServerPeerId\";\nvar _rSPS = \"routeServerPeerSet\";\nvar _rSPSo = \"routeServerPropagationSet\";\nvar _rSPo = \"routeServerPropagation\";\nvar _rSS = \"regionalSummarySet\";\nvar _rSSo = \"routeServerSet\";\nvar _rST = \"restoreStartTime\";\nvar _rSe = \"reportSet\";\nvar _rSep = \"replacementStrategy\";\nvar _rSes = \"reservationSet\";\nvar _rSeso = \"resourceStatement\";\nvar _rSesou = \"resourceSet\";\nvar _rSo = \"routeServer\";\nvar _rSou = \"routeSet\";\nvar _rSout = \"routeStatus\";\nvar _rT = \"reservationType\";\nvar _rTAI = \"routeTableAssociationId\";\nvar _rTI = \"routeTableId\";\nvar _rTIS = \"routeTableIdSet\";\nvar _rTIe = \"requesterTgwInfo\";\nvar _rTR = \"routeTableRoute\";\nvar _rTS = \"routeTableSet\";\nvar _rTSe = \"resourceTagSet\";\nvar _rTSes = \"resourceTypeSet\";\nvar _rTV = \"remainingTotalValue\";\nvar _rTe = \"resourceType\";\nvar _rTel = \"releaseTime\";\nvar _rTeq = \"requestTime\";\nvar _rTo = \"routeTable\";\nvar _rUI = \"replaceUnhealthyInstances\";\nvar _rUV = \"remainingUpfrontValue\";\nvar _rV = \"returnValue\";\nvar _rVI = \"referencingVpcId\";\nvar _rVIe = \"requesterVpcInfo\";\nvar _rVe = \"reservationValue\";\nvar _rWS = \"replayWindowSize\";\nvar _ra = \"ramdisk\";\nvar _re = \"region\";\nvar _rea = \"reason\";\nvar _rec = \"recurrence\";\nvar _req = \"requested\";\nvar _res = \"result\";\nvar _reso = \"resource\";\nvar _ro = \"route\";\nvar _rou = \"routes\";\nvar _s = \"source\";\nvar _sA = \"sourceArn\";\nvar _sAS = \"sourceAddressSet\";\nvar _sASu = \"suggestedAccountSet\";\nvar _sAZ = \"singleAvailabilityZone\";\nvar _sAo = \"sourceAddress\";\nvar _sAt = \"startupAction\";\nvar _sAu = \"supportedArchitectures\";\nvar _sAub = \"subnetArn\";\nvar _sB = \"s3Bucket\";\nvar _sBM = \"supportedBootModes\";\nvar _sC = \"serviceConfiguration\";\nvar _sCA = \"serverCertificateArn\";\nvar _sCAE = \"serialConsoleAccessEnabled\";\nvar _sCB = \"sourceCidrBlock\";\nvar _sCR = \"sourceCapacityReservation\";\nvar _sCRI = \"subnetCidrReservationId\";\nvar _sCRu = \"subnetCidrReservation\";\nvar _sCS = \"serviceConfigurationSet\";\nvar _sCSIG = \"sustainedClockSpeedInGhz\";\nvar _sCc = \"scopeCount\";\nvar _sCn = \"snapshotConfiguration\";\nvar _sD = \"startDate\";\nvar _sDC = \"sourceDestCheck\";\nvar _sDIH = \"slotDurationInHours\";\nvar _sDLTVS = \"successfullyDeletedLaunchTemplateVersionSet\";\nvar _sDS = \"spotDatafeedSubscription\";\nvar _sDSe = \"serviceDetailSet\";\nvar _sDSn = \"snapshotDetailSet\";\nvar _sDp = \"spreadDomain\";\nvar _sDu = \"subDomain\";\nvar _sEL = \"s3ExportLocation\";\nvar _sET = \"sampledEndTime\";\nvar _sF = \"supportedFeatures\";\nvar _sFCS = \"successfulFleetCancellationSet\";\nvar _sFDS = \"successfulFleetDeletionSet\";\nvar _sFRC = \"spotFleetRequestConfig\";\nvar _sFRCS = \"spotFleetRequestConfigSet\";\nvar _sFRI = \"spotFleetRequestId\";\nvar _sFRS = \"successfulFleetRequestSet\";\nvar _sFRSp = \"spotFleetRequestState\";\nvar _sG = \"securityGroup\";\nvar _sGA = \"securityGroupArn\";\nvar _sGFVS = \"securityGroupForVpcSet\";\nvar _sGI = \"securityGroupId\";\nvar _sGIS = \"securityGroupIdSet\";\nvar _sGIe = \"securityGroupIds\";\nvar _sGIec = \"securityGroupInfo\";\nvar _sGR = \"securityGroupRule\";\nvar _sGRA = \"securityGroupRuleArn\";\nvar _sGRI = \"securityGroupRuleId\";\nvar _sGRS = \"securityGroupRuleSet\";\nvar _sGRSe = \"securityGroupReferenceSet\";\nvar _sGRSec = \"securityGroupReferencingSupport\";\nvar _sGS = \"securityGroupSet\";\nvar _sGVAS = \"securityGroupVpcAssociationSet\";\nvar _sGe = \"securityGroups\";\nvar _sH = \"startHour\";\nvar _sI = \"serviceId\";\nvar _sIAS = \"scheduledInstanceAvailabilitySet\";\nvar _sIATS = \"supportedIpAddressTypeSet\";\nvar _sICRS = \"subnetIpv4CidrReservationSet\";\nvar _sICRSu = \"subnetIpv6CidrReservationSet\";\nvar _sICSS = \"successfulInstanceCreditSpecificationSet\";\nvar _sIGB = \"sizeInGB\";\nvar _sII = \"sourceInstanceId\";\nvar _sIIc = \"scheduledInstanceId\";\nvar _sIIo = \"sourceImageId\";\nvar _sIMB = \"sizeInMiB\";\nvar _sIP = \"staleIpPermissions\";\nvar _sIPE = \"staleIpPermissionsEgress\";\nvar _sIPI = \"sourceIpamPoolId\";\nvar _sIR = \"sourceImageRegion\";\nvar _sIRI = \"spotInstanceRequestId\";\nvar _sIRS = \"spotInstanceRequestSet\";\nvar _sIS = \"scheduledInstanceSet\";\nvar _sISu = \"subnetIdSet\";\nvar _sIT = \"spotInstanceType\";\nvar _sITRS = \"storeImageTaskResultSet\";\nvar _sITi = \"singleInstanceType\";\nvar _sIn = \"snapshotId\";\nvar _sIo = \"sourceIp\";\nvar _sIu = \"subnetId\";\nvar _sIub = \"subnetIds\";\nvar _sK = \"s3Key\";\nvar _sKo = \"s3objectKey\";\nvar _sL = \"s3Location\";\nvar _sLVIA = \"serviceLinkVirtualInterfaceArn\";\nvar _sLVII = \"serviceLinkVirtualInterfaceId\";\nvar _sLVIIS = \"serviceLinkVirtualInterfaceIdSet\";\nvar _sLVIS = \"serviceLinkVirtualInterfaceSet\";\nvar _sLp = \"spreadLevel\";\nvar _sM = \"serviceManaged\";\nvar _sMPPOLP = \"spotMaxPricePercentageOverLowestPrice\";\nvar _sMS = \"spotMaintenanceStrategies\";\nvar _sMTP = \"spotMaxTotalPrice\";\nvar _sMt = \"statusMessage\";\nvar _sMta = \"stateMessage\";\nvar _sN = \"serviceName\";\nvar _sNA = \"serviceNetworkArn\";\nvar _sNE = \"snsNotificationsEnabled\";\nvar _sNN = \"serviceNetworkName\";\nvar _sNS = \"serviceNameSet\";\nvar _sNSr = \"sriovNetSupport\";\nvar _sNe = \"sequenceNumber\";\nvar _sNes = \"sessionNumber\";\nvar _sO = \"spotOptions\";\nvar _sP = \"s3Prefix\";\nvar _sPA = \"samlProviderArn\";\nvar _sPHS = \"spotPriceHistorySet\";\nvar _sPI = \"servicePermissionId\";\nvar _sPIAC = \"secondaryPrivateIpAddressCount\";\nvar _sPLS = \"sourcePrefixListSet\";\nvar _sPR = \"sourcePortRange\";\nvar _sPRS = \"sourcePortRangeSet\";\nvar _sPS = \"sourcePortSet\";\nvar _sPSS = \"spotPlacementScoreSet\";\nvar _sPp = \"spotPrice\";\nvar _sQPDS = \"successfulQueuedPurchaseDeletionSet\";\nvar _sR = \"serviceRegion\";\nvar _sRDT = \"supportedRootDeviceTypes\";\nvar _sRO = \"staticRoutesOnly\";\nvar _sRS = \"supportedRegionSet\";\nvar _sRT = \"subnetRouteTable\";\nvar _sRe = \"serviceResource\";\nvar _sRo = \"sourceResource\";\nvar _sRt = \"stateReason\";\nvar _sS = \"snapshotSet\";\nvar _sSGS = \"staleSecurityGroupSet\";\nvar _sSPU = \"selfServicePortalUrl\";\nvar _sSS = \"staticSourcesSupport\";\nvar _sSSPA = \"selfServiceSamlProviderArn\";\nvar _sST = \"sampledStartTime\";\nvar _sSe = \"settingSet\";\nvar _sSer = \"serviceState\";\nvar _sSo = \"sourceSet\";\nvar _sSs = \"sseSpecification\";\nvar _sSt = \"statusSet\";\nvar _sSu = \"subscriptionSet\";\nvar _sSub = \"subnetSet\";\nvar _sSup = \"supportedStrategies\";\nvar _sSy = \"systemStatus\";\nvar _sT = \"startTime\";\nvar _sTA = \"snsTopicArn\";\nvar _sTC = \"spotTargetCapacity\";\nvar _sTD = \"snapshotTaskDetail\";\nvar _sTFR = \"storeTaskFailureReason\";\nvar _sTH = \"sessionTimeoutHours\";\nvar _sTR = \"stateTransitionReason\";\nvar _sTS = \"storeTaskState\";\nvar _sTSS = \"snapshotTierStatusSet\";\nvar _sTT = \"stateTransitionTime\";\nvar _sTa = \"sampleTime\";\nvar _sTe = \"serviceType\";\nvar _sTo = \"sourceType\";\nvar _sTp = \"splitTunnel\";\nvar _sTs = \"sseType\";\nvar _sTt = \"storageTier\";\nvar _sUC = \"supportedUsageClasses\";\nvar _sV = \"sourceVpc\";\nvar _sVT = \"supportedVirtualizationTypes\";\nvar _sVh = \"shellVersion\";\nvar _sVu = \"supportedVersions\";\nvar _sWD = \"startWeekDay\";\nvar _s_ = \"s3\";\nvar _sc = \"scope\";\nvar _sco = \"score\";\nvar _scop = \"scopes\";\nvar _se = \"service\";\nvar _si = \"size\";\nvar _so = \"sockets\";\nvar _sof = \"software\";\nvar _st = \"state\";\nvar _sta = \"status\";\nvar _star = \"start\";\nvar _stat = \"statistic\";\nvar _sto = \"storage\";\nvar _str = \"strategy\";\nvar _su = \"subnet\";\nvar _sub = \"subnets\";\nvar _suc = \"successful\";\nvar _succ = \"success\";\nvar _t = \"tenancy\";\nvar _tAAC = \"totalAvailableAddressCount\";\nvar _tAC = \"totalAddressCount\";\nvar _tAI = \"transferAccountId\";\nvar _tC = \"totalCapacity\";\nvar _tCS = \"targetCapacitySpecification\";\nvar _tCUT = \"targetCapacityUnitType\";\nvar _tCVR = \"targetConfigurationValueRollup\";\nvar _tCVS = \"targetConfigurationValueSet\";\nvar _tCa = \"targetConfiguration\";\nvar _tCar = \"targetCapacity\";\nvar _tD = \"terminationDelay\";\nvar _tDr = \"trafficDirection\";\nvar _tE = \"targetEnvironment\";\nvar _tED = \"termEndDate\";\nvar _tET = \"tcpEstablishedTimeout\";\nvar _tEo = \"tokenEndpoint\";\nvar _tFC = \"totalFulfilledCapacity\";\nvar _tFMIMB = \"totalFpgaMemoryInMiB\";\nvar _tG = \"transitGateway\";\nvar _tGA = \"transitGatewayAttachments\";\nvar _tGAI = \"transitGatewayAttachmentId\";\nvar _tGAP = \"transitGatewayAttachmentPropagations\";\nvar _tGAr = \"transitGatewayAttachment\";\nvar _tGAra = \"transitGatewayArn\";\nvar _tGAran = \"transitGatewayAsn\";\nvar _tGArans = \"transitGatewayAddress\";\nvar _tGC = \"transitGatewayConnect\";\nvar _tGCB = \"transitGatewayCidrBlocks\";\nvar _tGCP = \"transitGatewayConnectPeer\";\nvar _tGCPI = \"transitGatewayConnectPeerId\";\nvar _tGCPS = \"transitGatewayConnectPeerSet\";\nvar _tGCS = \"transitGatewayConnectSet\";\nvar _tGCa = \"targetGroupsConfig\";\nvar _tGI = \"transitGatewayId\";\nvar _tGMD = \"transitGatewayMulticastDomain\";\nvar _tGMDA = \"transitGatewayMulticastDomainArn\";\nvar _tGMDI = \"transitGatewayMulticastDomainId\";\nvar _tGMDr = \"transitGatewayMulticastDomains\";\nvar _tGMIMB = \"totalGpuMemoryInMiB\";\nvar _tGOI = \"transitGatewayOwnerId\";\nvar _tGPA = \"transitGatewayPeeringAttachment\";\nvar _tGPAr = \"transitGatewayPeeringAttachments\";\nvar _tGPLR = \"transitGatewayPrefixListReference\";\nvar _tGPLRS = \"transitGatewayPrefixListReferenceSet\";\nvar _tGPT = \"transitGatewayPolicyTable\";\nvar _tGPTE = \"transitGatewayPolicyTableEntries\";\nvar _tGPTI = \"transitGatewayPolicyTableId\";\nvar _tGPTr = \"transitGatewayPolicyTables\";\nvar _tGRT = \"transitGatewayRouteTable\";\nvar _tGRTA = \"transitGatewayRouteTableAnnouncement\";\nvar _tGRTAI = \"transitGatewayRouteTableAnnouncementId\";\nvar _tGRTAr = \"transitGatewayRouteTableAnnouncements\";\nvar _tGRTI = \"transitGatewayRouteTableId\";\nvar _tGRTP = \"transitGatewayRouteTablePropagations\";\nvar _tGRTR = \"transitGatewayRouteTableRoute\";\nvar _tGRTr = \"transitGatewayRouteTables\";\nvar _tGS = \"transitGatewaySet\";\nvar _tGVA = \"transitGatewayVpcAttachment\";\nvar _tGVAr = \"transitGatewayVpcAttachments\";\nvar _tGa = \"targetGroups\";\nvar _tHP = \"totalHourlyPrice\";\nvar _tI = \"targetId\";\nvar _tIC = \"totalInstanceCount\";\nvar _tICu = \"tunnelInsideCidr\";\nvar _tII = \"trunkInterfaceId\";\nvar _tIIC = \"tunnelInsideIpv6Cidr\";\nvar _tIIV = \"tunnelInsideIpVersion\";\nvar _tIMIMB = \"totalInferenceMemoryInMiB\";\nvar _tIWE = \"terminateInstancesWithExpiration\";\nvar _tIa = \"targetIops\";\nvar _tIe = \"tenantId\";\nvar _tLSGB = \"totalLocalStorageGB\";\nvar _tMAE = \"targetMultiAttachEnabled\";\nvar _tMF = \"trafficMirrorFilter\";\nvar _tMFI = \"trafficMirrorFilterId\";\nvar _tMFR = \"trafficMirrorFilterRule\";\nvar _tMFRI = \"trafficMirrorFilterRuleId\";\nvar _tMFRS = \"trafficMirrorFilterRuleSet\";\nvar _tMFS = \"trafficMirrorFilterSet\";\nvar _tMMIMB = \"totalMediaMemoryInMiB\";\nvar _tMS = \"trafficMirrorSession\";\nvar _tMSI = \"trafficMirrorSessionId\";\nvar _tMSS = \"trafficMirrorSessionSet\";\nvar _tMT = \"trafficMirrorTarget\";\nvar _tMTI = \"trafficMirrorTargetId\";\nvar _tMTS = \"trafficMirrorTargetSet\";\nvar _tN = \"tokenName\";\nvar _tNDMIMB = \"totalNeuronDeviceMemoryInMiB\";\nvar _tNI = \"targetNetworkId\";\nvar _tOAT = \"transferOfferAcceptedTimestamp\";\nvar _tOET = \"transferOfferExpirationTimestamp\";\nvar _tOS = \"tunnelOptionSet\";\nvar _tP = \"transportProtocol\";\nvar _tPC = \"threadsPerCore\";\nvar _tPT = \"trustProviderType\";\nvar _tPo = \"toPort\";\nvar _tRC = \"targetResourceCount\";\nvar _tRS = \"throughResourceSet\";\nvar _tRSi = \"timeRangeSet\";\nvar _tRTI = \"targetRouteTableId\";\nvar _tS = \"tagSet\";\nvar _tSD = \"termStartDate\";\nvar _tSIGB = \"totalSizeInGB\";\nvar _tSIH = \"totalScheduledInstanceHours\";\nvar _tSS = \"tagSpecificationSet\";\nvar _tST = \"tieringStartTime\";\nvar _tSTa = \"taskStartTime\";\nvar _tSa = \"targetSubnet\";\nvar _tSar = \"targetSize\";\nvar _tSas = \"taskState\";\nvar _tSp = \"tpmSupport\";\nvar _tT = \"trafficType\";\nvar _tTC = \"totalTargetCapacity\";\nvar _tTGAI = \"transportTransitGatewayAttachmentId\";\nvar _tTa = \"targetThroughput\";\nvar _tTr = \"transferType\";\nvar _tUP = \"totalUpfrontPrice\";\nvar _tV = \"tokenValue\";\nvar _tVC = \"totalVCpus\";\nvar _tVT = \"targetVolumeType\";\nvar _ta = \"tags\";\nvar _tag = \"tag\";\nvar _te = \"term\";\nvar _th = \"throughput\";\nvar _ti = \"timestamp\";\nvar _tie = \"tier\";\nvar _to = \"to\";\nvar _ty = \"type\";\nvar _u = \"unsuccessful\";\nvar _uB = \"userBucket\";\nvar _uD = \"uefiData\";\nvar _uDLTVS = \"unsuccessfullyDeletedLaunchTemplateVersionSet\";\nvar _uDp = \"updatedDate\";\nvar _uDpd = \"updateDate\";\nvar _uDs = \"userData\";\nvar _uF = \"upfrontFee\";\nvar _uFDS = \"unsuccessfulFleetDeletionSet\";\nvar _uFRS = \"unsuccessfulFleetRequestSet\";\nvar _uI = \"userId\";\nvar _uIA = \"unassignedIpv6Addresses\";\nvar _uIC = \"usedInstanceCount\";\nvar _uICSS = \"unsuccessfulInstanceCreditSpecificationSet\";\nvar _uIE = \"userInfoEndpoint\";\nvar _uIPS = \"unknownIpPermissionSet\";\nvar _uIPSn = \"unassignedIpv6PrefixSet\";\nvar _uLI = \"useLongIds\";\nvar _uLIA = \"useLongIdsAggregated\";\nvar _uO = \"usageOperation\";\nvar _uOUT = \"usageOperationUpdateTime\";\nvar _uP = \"upfrontPrice\";\nvar _uPS = \"uploadPolicySignature\";\nvar _uPp = \"uploadPolicy\";\nvar _uPs = \"usagePrice\";\nvar _uRBOI = \"unusedReservationBillingOwnerId\";\nvar _uS = \"usageStrategy\";\nvar _uST = \"udpStreamTimeout\";\nvar _uT = \"updateTime\";\nvar _uTP = \"userTrustProvider\";\nvar _uTPT = \"userTrustProviderType\";\nvar _uTd = \"udpTimeout\";\nvar _ur = \"url\";\nvar _us = \"username\";\nvar _v = \"value\";\nvar _vAE = \"verifiedAccessEndpoint\";\nvar _vAEI = \"verifiedAccessEndpointId\";\nvar _vAES = \"verifiedAccessEndpointSet\";\nvar _vAETD = \"verifiedAccessEndpointTargetDns\";\nvar _vAETIA = \"verifiedAccessEndpointTargetIpAddress\";\nvar _vAETS = \"verifiedAccessEndpointTargetSet\";\nvar _vAG = \"verifiedAccessGroup\";\nvar _vAGA = \"verifiedAccessGroupArn\";\nvar _vAGI = \"verifiedAccessGroupId\";\nvar _vAGS = \"verifiedAccessGroupSet\";\nvar _vAI = \"verifiedAccessInstance\";\nvar _vAII = \"verifiedAccessInstanceId\";\nvar _vAIS = \"verifiedAccessInstanceSet\";\nvar _vATP = \"verifiedAccessTrustProvider\";\nvar _vATPI = \"verifiedAccessTrustProviderId\";\nvar _vATPS = \"verifiedAccessTrustProviderSet\";\nvar _vBPAE = \"vpcBlockPublicAccessExclusion\";\nvar _vBPAES = \"vpcBlockPublicAccessExclusionSet\";\nvar _vBPAO = \"vpcBlockPublicAccessOptions\";\nvar _vC = \"vpnConnection\";\nvar _vCC = \"vCpuCount\";\nvar _vCDSC = \"vpnConnectionDeviceSampleConfiguration\";\nvar _vCDTI = \"vpnConnectionDeviceTypeId\";\nvar _vCDTS = \"vpnConnectionDeviceTypeSet\";\nvar _vCI = \"vpnConnectionId\";\nvar _vCIp = \"vCpuInfo\";\nvar _vCS = \"vpnConnectionSet\";\nvar _vCa = \"validCores\";\nvar _vD = \"versionDescription\";\nvar _vE = \"vpcEndpoint\";\nvar _vEAS = \"vpcEndpointAssociationSet\";\nvar _vECI = \"vpcEncryptionControlId\";\nvar _vECIp = \"vpcEndpointConnectionId\";\nvar _vECS = \"vpcEndpointConnectionSet\";\nvar _vEI = \"vpcEndpointId\";\nvar _vEO = \"vpcEndpointOwner\";\nvar _vEPS = \"vpcEndpointPolicySupported\";\nvar _vER = \"vpcEndpointRegion\";\nvar _vES = \"vpcEndpointService\";\nvar _vESp = \"vpcEndpointSet\";\nvar _vESpc = \"vpcEndpointState\";\nvar _vESpn = \"vpnEcmpSupport\";\nvar _vET = \"vpcEndpointType\";\nvar _vF = \"validFrom\";\nvar _vFR = \"validationFailureReason\";\nvar _vG = \"vpnGateway\";\nvar _vGI = \"vpnGatewayId\";\nvar _vGS = \"vpnGatewaySet\";\nvar _vI = \"vpcId\";\nvar _vIR = \"volumeInitializationRate\";\nvar _vIl = \"vlanId\";\nvar _vIo = \"volumeId\";\nvar _vM = \"volumeModification\";\nvar _vMS = \"volumeModificationSet\";\nvar _vN = \"virtualName\";\nvar _vNI = \"virtualNetworkId\";\nvar _vNe = \"versionNumber\";\nvar _vOI = \"volumeOwnerId\";\nvar _vOIp = \"vpcOwnerId\";\nvar _vP = \"vpnProtocol\";\nvar _vPC = \"vpcPeeringConnection\";\nvar _vPCI = \"vpcPeeringConnectionId\";\nvar _vPCS = \"vpcPeeringConnectionSet\";\nvar _vPG = \"virtualPrivateGateway\";\nvar _vPp = \"vpnPort\";\nvar _vPpc = \"vpcPeering\";\nvar _vS = \"volumeSet\";\nvar _vSS = \"volumeStatusSet\";\nvar _vSa = \"valueSet\";\nvar _vSo = \"volumeSize\";\nvar _vSol = \"volumeStatus\";\nvar _vSp = \"vpcSet\";\nvar _vT = \"volumeType\";\nvar _vTOIA = \"vpnTunnelOutsideIpAddress\";\nvar _vTPC = \"validThreadsPerCore\";\nvar _vTg = \"vgwTelemetry\";\nvar _vTi = \"virtualizationType\";\nvar _vU = \"validUntil\";\nvar _ve = \"version\";\nvar _ven = \"vendor\";\nvar _vl = \"vlan\";\nvar _vo = \"volumes\";\nvar _vol = \"volume\";\nvar _vp = \"vpc\";\nvar _vpc = \"vpcs\";\nvar _w = \"warning\";\nvar _wC = \"weightedCapacity\";\nvar _wM = \"warningMessage\";\nvar _we = \"weight\";\nvar _zI = \"zoneId\";\nvar _zN = \"zoneName\";\nvar _zS = \"zoneState\";\nvar _zT = \"zoneType\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadEc2ErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Errors.Error?.Code !== void 0) {\n return data.Errors.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadEc2ErrorCode\");\n\n// src/commands/AcceptAddressTransferCommand.ts\nvar AcceptAddressTransferCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptAddressTransfer\", {}).n(\"EC2Client\", \"AcceptAddressTransferCommand\").f(void 0, void 0).ser(se_AcceptAddressTransferCommand).de(de_AcceptAddressTransferCommand).build() {\n static {\n __name(this, \"AcceptAddressTransferCommand\");\n }\n};\n\n// src/commands/AcceptCapacityReservationBillingOwnershipCommand.ts\n\n\n\nvar AcceptCapacityReservationBillingOwnershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptCapacityReservationBillingOwnership\", {}).n(\"EC2Client\", \"AcceptCapacityReservationBillingOwnershipCommand\").f(void 0, void 0).ser(se_AcceptCapacityReservationBillingOwnershipCommand).de(de_AcceptCapacityReservationBillingOwnershipCommand).build() {\n static {\n __name(this, \"AcceptCapacityReservationBillingOwnershipCommand\");\n }\n};\n\n// src/commands/AcceptReservedInstancesExchangeQuoteCommand.ts\n\n\n\nvar AcceptReservedInstancesExchangeQuoteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptReservedInstancesExchangeQuote\", {}).n(\"EC2Client\", \"AcceptReservedInstancesExchangeQuoteCommand\").f(void 0, void 0).ser(se_AcceptReservedInstancesExchangeQuoteCommand).de(de_AcceptReservedInstancesExchangeQuoteCommand).build() {\n static {\n __name(this, \"AcceptReservedInstancesExchangeQuoteCommand\");\n }\n};\n\n// src/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts\n\n\n\nvar AcceptTransitGatewayMulticastDomainAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptTransitGatewayMulticastDomainAssociations\", {}).n(\"EC2Client\", \"AcceptTransitGatewayMulticastDomainAssociationsCommand\").f(void 0, void 0).ser(se_AcceptTransitGatewayMulticastDomainAssociationsCommand).de(de_AcceptTransitGatewayMulticastDomainAssociationsCommand).build() {\n static {\n __name(this, \"AcceptTransitGatewayMulticastDomainAssociationsCommand\");\n }\n};\n\n// src/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts\n\n\n\nvar AcceptTransitGatewayPeeringAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptTransitGatewayPeeringAttachment\", {}).n(\"EC2Client\", \"AcceptTransitGatewayPeeringAttachmentCommand\").f(void 0, void 0).ser(se_AcceptTransitGatewayPeeringAttachmentCommand).de(de_AcceptTransitGatewayPeeringAttachmentCommand).build() {\n static {\n __name(this, \"AcceptTransitGatewayPeeringAttachmentCommand\");\n }\n};\n\n// src/commands/AcceptTransitGatewayVpcAttachmentCommand.ts\n\n\n\nvar AcceptTransitGatewayVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptTransitGatewayVpcAttachment\", {}).n(\"EC2Client\", \"AcceptTransitGatewayVpcAttachmentCommand\").f(void 0, void 0).ser(se_AcceptTransitGatewayVpcAttachmentCommand).de(de_AcceptTransitGatewayVpcAttachmentCommand).build() {\n static {\n __name(this, \"AcceptTransitGatewayVpcAttachmentCommand\");\n }\n};\n\n// src/commands/AcceptVpcEndpointConnectionsCommand.ts\n\n\n\nvar AcceptVpcEndpointConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptVpcEndpointConnections\", {}).n(\"EC2Client\", \"AcceptVpcEndpointConnectionsCommand\").f(void 0, void 0).ser(se_AcceptVpcEndpointConnectionsCommand).de(de_AcceptVpcEndpointConnectionsCommand).build() {\n static {\n __name(this, \"AcceptVpcEndpointConnectionsCommand\");\n }\n};\n\n// src/commands/AcceptVpcPeeringConnectionCommand.ts\n\n\n\nvar AcceptVpcPeeringConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AcceptVpcPeeringConnection\", {}).n(\"EC2Client\", \"AcceptVpcPeeringConnectionCommand\").f(void 0, void 0).ser(se_AcceptVpcPeeringConnectionCommand).de(de_AcceptVpcPeeringConnectionCommand).build() {\n static {\n __name(this, \"AcceptVpcPeeringConnectionCommand\");\n }\n};\n\n// src/commands/AdvertiseByoipCidrCommand.ts\n\n\n\nvar AdvertiseByoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AdvertiseByoipCidr\", {}).n(\"EC2Client\", \"AdvertiseByoipCidrCommand\").f(void 0, void 0).ser(se_AdvertiseByoipCidrCommand).de(de_AdvertiseByoipCidrCommand).build() {\n static {\n __name(this, \"AdvertiseByoipCidrCommand\");\n }\n};\n\n// src/commands/AllocateAddressCommand.ts\n\n\n\nvar AllocateAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AllocateAddress\", {}).n(\"EC2Client\", \"AllocateAddressCommand\").f(void 0, void 0).ser(se_AllocateAddressCommand).de(de_AllocateAddressCommand).build() {\n static {\n __name(this, \"AllocateAddressCommand\");\n }\n};\n\n// src/commands/AllocateHostsCommand.ts\n\n\n\nvar AllocateHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AllocateHosts\", {}).n(\"EC2Client\", \"AllocateHostsCommand\").f(void 0, void 0).ser(se_AllocateHostsCommand).de(de_AllocateHostsCommand).build() {\n static {\n __name(this, \"AllocateHostsCommand\");\n }\n};\n\n// src/commands/AllocateIpamPoolCidrCommand.ts\n\n\n\nvar AllocateIpamPoolCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AllocateIpamPoolCidr\", {}).n(\"EC2Client\", \"AllocateIpamPoolCidrCommand\").f(void 0, void 0).ser(se_AllocateIpamPoolCidrCommand).de(de_AllocateIpamPoolCidrCommand).build() {\n static {\n __name(this, \"AllocateIpamPoolCidrCommand\");\n }\n};\n\n// src/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts\n\n\n\nvar ApplySecurityGroupsToClientVpnTargetNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ApplySecurityGroupsToClientVpnTargetNetwork\", {}).n(\"EC2Client\", \"ApplySecurityGroupsToClientVpnTargetNetworkCommand\").f(void 0, void 0).ser(se_ApplySecurityGroupsToClientVpnTargetNetworkCommand).de(de_ApplySecurityGroupsToClientVpnTargetNetworkCommand).build() {\n static {\n __name(this, \"ApplySecurityGroupsToClientVpnTargetNetworkCommand\");\n }\n};\n\n// src/commands/AssignIpv6AddressesCommand.ts\n\n\n\nvar AssignIpv6AddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssignIpv6Addresses\", {}).n(\"EC2Client\", \"AssignIpv6AddressesCommand\").f(void 0, void 0).ser(se_AssignIpv6AddressesCommand).de(de_AssignIpv6AddressesCommand).build() {\n static {\n __name(this, \"AssignIpv6AddressesCommand\");\n }\n};\n\n// src/commands/AssignPrivateIpAddressesCommand.ts\n\n\n\nvar AssignPrivateIpAddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssignPrivateIpAddresses\", {}).n(\"EC2Client\", \"AssignPrivateIpAddressesCommand\").f(void 0, void 0).ser(se_AssignPrivateIpAddressesCommand).de(de_AssignPrivateIpAddressesCommand).build() {\n static {\n __name(this, \"AssignPrivateIpAddressesCommand\");\n }\n};\n\n// src/commands/AssignPrivateNatGatewayAddressCommand.ts\n\n\n\nvar AssignPrivateNatGatewayAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssignPrivateNatGatewayAddress\", {}).n(\"EC2Client\", \"AssignPrivateNatGatewayAddressCommand\").f(void 0, void 0).ser(se_AssignPrivateNatGatewayAddressCommand).de(de_AssignPrivateNatGatewayAddressCommand).build() {\n static {\n __name(this, \"AssignPrivateNatGatewayAddressCommand\");\n }\n};\n\n// src/commands/AssociateAddressCommand.ts\n\n\n\nvar AssociateAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateAddress\", {}).n(\"EC2Client\", \"AssociateAddressCommand\").f(void 0, void 0).ser(se_AssociateAddressCommand).de(de_AssociateAddressCommand).build() {\n static {\n __name(this, \"AssociateAddressCommand\");\n }\n};\n\n// src/commands/AssociateCapacityReservationBillingOwnerCommand.ts\n\n\n\nvar AssociateCapacityReservationBillingOwnerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateCapacityReservationBillingOwner\", {}).n(\"EC2Client\", \"AssociateCapacityReservationBillingOwnerCommand\").f(void 0, void 0).ser(se_AssociateCapacityReservationBillingOwnerCommand).de(de_AssociateCapacityReservationBillingOwnerCommand).build() {\n static {\n __name(this, \"AssociateCapacityReservationBillingOwnerCommand\");\n }\n};\n\n// src/commands/AssociateClientVpnTargetNetworkCommand.ts\n\n\n\nvar AssociateClientVpnTargetNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateClientVpnTargetNetwork\", {}).n(\"EC2Client\", \"AssociateClientVpnTargetNetworkCommand\").f(void 0, void 0).ser(se_AssociateClientVpnTargetNetworkCommand).de(de_AssociateClientVpnTargetNetworkCommand).build() {\n static {\n __name(this, \"AssociateClientVpnTargetNetworkCommand\");\n }\n};\n\n// src/commands/AssociateDhcpOptionsCommand.ts\n\n\n\nvar AssociateDhcpOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateDhcpOptions\", {}).n(\"EC2Client\", \"AssociateDhcpOptionsCommand\").f(void 0, void 0).ser(se_AssociateDhcpOptionsCommand).de(de_AssociateDhcpOptionsCommand).build() {\n static {\n __name(this, \"AssociateDhcpOptionsCommand\");\n }\n};\n\n// src/commands/AssociateEnclaveCertificateIamRoleCommand.ts\n\n\n\nvar AssociateEnclaveCertificateIamRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateEnclaveCertificateIamRole\", {}).n(\"EC2Client\", \"AssociateEnclaveCertificateIamRoleCommand\").f(void 0, void 0).ser(se_AssociateEnclaveCertificateIamRoleCommand).de(de_AssociateEnclaveCertificateIamRoleCommand).build() {\n static {\n __name(this, \"AssociateEnclaveCertificateIamRoleCommand\");\n }\n};\n\n// src/commands/AssociateIamInstanceProfileCommand.ts\n\n\n\nvar AssociateIamInstanceProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateIamInstanceProfile\", {}).n(\"EC2Client\", \"AssociateIamInstanceProfileCommand\").f(void 0, void 0).ser(se_AssociateIamInstanceProfileCommand).de(de_AssociateIamInstanceProfileCommand).build() {\n static {\n __name(this, \"AssociateIamInstanceProfileCommand\");\n }\n};\n\n// src/commands/AssociateInstanceEventWindowCommand.ts\n\n\n\nvar AssociateInstanceEventWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateInstanceEventWindow\", {}).n(\"EC2Client\", \"AssociateInstanceEventWindowCommand\").f(void 0, void 0).ser(se_AssociateInstanceEventWindowCommand).de(de_AssociateInstanceEventWindowCommand).build() {\n static {\n __name(this, \"AssociateInstanceEventWindowCommand\");\n }\n};\n\n// src/commands/AssociateIpamByoasnCommand.ts\n\n\n\nvar AssociateIpamByoasnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateIpamByoasn\", {}).n(\"EC2Client\", \"AssociateIpamByoasnCommand\").f(void 0, void 0).ser(se_AssociateIpamByoasnCommand).de(de_AssociateIpamByoasnCommand).build() {\n static {\n __name(this, \"AssociateIpamByoasnCommand\");\n }\n};\n\n// src/commands/AssociateIpamResourceDiscoveryCommand.ts\n\n\n\nvar AssociateIpamResourceDiscoveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateIpamResourceDiscovery\", {}).n(\"EC2Client\", \"AssociateIpamResourceDiscoveryCommand\").f(void 0, void 0).ser(se_AssociateIpamResourceDiscoveryCommand).de(de_AssociateIpamResourceDiscoveryCommand).build() {\n static {\n __name(this, \"AssociateIpamResourceDiscoveryCommand\");\n }\n};\n\n// src/commands/AssociateNatGatewayAddressCommand.ts\n\n\n\nvar AssociateNatGatewayAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateNatGatewayAddress\", {}).n(\"EC2Client\", \"AssociateNatGatewayAddressCommand\").f(void 0, void 0).ser(se_AssociateNatGatewayAddressCommand).de(de_AssociateNatGatewayAddressCommand).build() {\n static {\n __name(this, \"AssociateNatGatewayAddressCommand\");\n }\n};\n\n// src/commands/AssociateRouteServerCommand.ts\n\n\n\nvar AssociateRouteServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateRouteServer\", {}).n(\"EC2Client\", \"AssociateRouteServerCommand\").f(void 0, void 0).ser(se_AssociateRouteServerCommand).de(de_AssociateRouteServerCommand).build() {\n static {\n __name(this, \"AssociateRouteServerCommand\");\n }\n};\n\n// src/commands/AssociateRouteTableCommand.ts\n\n\n\nvar AssociateRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateRouteTable\", {}).n(\"EC2Client\", \"AssociateRouteTableCommand\").f(void 0, void 0).ser(se_AssociateRouteTableCommand).de(de_AssociateRouteTableCommand).build() {\n static {\n __name(this, \"AssociateRouteTableCommand\");\n }\n};\n\n// src/commands/AssociateSecurityGroupVpcCommand.ts\n\n\n\nvar AssociateSecurityGroupVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateSecurityGroupVpc\", {}).n(\"EC2Client\", \"AssociateSecurityGroupVpcCommand\").f(void 0, void 0).ser(se_AssociateSecurityGroupVpcCommand).de(de_AssociateSecurityGroupVpcCommand).build() {\n static {\n __name(this, \"AssociateSecurityGroupVpcCommand\");\n }\n};\n\n// src/commands/AssociateSubnetCidrBlockCommand.ts\n\n\n\nvar AssociateSubnetCidrBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateSubnetCidrBlock\", {}).n(\"EC2Client\", \"AssociateSubnetCidrBlockCommand\").f(void 0, void 0).ser(se_AssociateSubnetCidrBlockCommand).de(de_AssociateSubnetCidrBlockCommand).build() {\n static {\n __name(this, \"AssociateSubnetCidrBlockCommand\");\n }\n};\n\n// src/commands/AssociateTransitGatewayMulticastDomainCommand.ts\n\n\n\nvar AssociateTransitGatewayMulticastDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateTransitGatewayMulticastDomain\", {}).n(\"EC2Client\", \"AssociateTransitGatewayMulticastDomainCommand\").f(void 0, void 0).ser(se_AssociateTransitGatewayMulticastDomainCommand).de(de_AssociateTransitGatewayMulticastDomainCommand).build() {\n static {\n __name(this, \"AssociateTransitGatewayMulticastDomainCommand\");\n }\n};\n\n// src/commands/AssociateTransitGatewayPolicyTableCommand.ts\n\n\n\nvar AssociateTransitGatewayPolicyTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateTransitGatewayPolicyTable\", {}).n(\"EC2Client\", \"AssociateTransitGatewayPolicyTableCommand\").f(void 0, void 0).ser(se_AssociateTransitGatewayPolicyTableCommand).de(de_AssociateTransitGatewayPolicyTableCommand).build() {\n static {\n __name(this, \"AssociateTransitGatewayPolicyTableCommand\");\n }\n};\n\n// src/commands/AssociateTransitGatewayRouteTableCommand.ts\n\n\n\nvar AssociateTransitGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateTransitGatewayRouteTable\", {}).n(\"EC2Client\", \"AssociateTransitGatewayRouteTableCommand\").f(void 0, void 0).ser(se_AssociateTransitGatewayRouteTableCommand).de(de_AssociateTransitGatewayRouteTableCommand).build() {\n static {\n __name(this, \"AssociateTransitGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/AssociateTrunkInterfaceCommand.ts\n\n\n\nvar AssociateTrunkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateTrunkInterface\", {}).n(\"EC2Client\", \"AssociateTrunkInterfaceCommand\").f(void 0, void 0).ser(se_AssociateTrunkInterfaceCommand).de(de_AssociateTrunkInterfaceCommand).build() {\n static {\n __name(this, \"AssociateTrunkInterfaceCommand\");\n }\n};\n\n// src/commands/AssociateVpcCidrBlockCommand.ts\n\n\n\nvar AssociateVpcCidrBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AssociateVpcCidrBlock\", {}).n(\"EC2Client\", \"AssociateVpcCidrBlockCommand\").f(void 0, void 0).ser(se_AssociateVpcCidrBlockCommand).de(de_AssociateVpcCidrBlockCommand).build() {\n static {\n __name(this, \"AssociateVpcCidrBlockCommand\");\n }\n};\n\n// src/commands/AttachClassicLinkVpcCommand.ts\n\n\n\nvar AttachClassicLinkVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachClassicLinkVpc\", {}).n(\"EC2Client\", \"AttachClassicLinkVpcCommand\").f(void 0, void 0).ser(se_AttachClassicLinkVpcCommand).de(de_AttachClassicLinkVpcCommand).build() {\n static {\n __name(this, \"AttachClassicLinkVpcCommand\");\n }\n};\n\n// src/commands/AttachInternetGatewayCommand.ts\n\n\n\nvar AttachInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachInternetGateway\", {}).n(\"EC2Client\", \"AttachInternetGatewayCommand\").f(void 0, void 0).ser(se_AttachInternetGatewayCommand).de(de_AttachInternetGatewayCommand).build() {\n static {\n __name(this, \"AttachInternetGatewayCommand\");\n }\n};\n\n// src/commands/AttachNetworkInterfaceCommand.ts\n\n\n\nvar AttachNetworkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachNetworkInterface\", {}).n(\"EC2Client\", \"AttachNetworkInterfaceCommand\").f(void 0, void 0).ser(se_AttachNetworkInterfaceCommand).de(de_AttachNetworkInterfaceCommand).build() {\n static {\n __name(this, \"AttachNetworkInterfaceCommand\");\n }\n};\n\n// src/commands/AttachVerifiedAccessTrustProviderCommand.ts\n\n\n\n\n// src/models/models_0.ts\n\nvar AcceleratorManufacturer = {\n AMAZON_WEB_SERVICES: \"amazon-web-services\",\n AMD: \"amd\",\n HABANA: \"habana\",\n NVIDIA: \"nvidia\",\n XILINX: \"xilinx\"\n};\nvar AcceleratorName = {\n A100: \"a100\",\n A10G: \"a10g\",\n H100: \"h100\",\n INFERENTIA: \"inferentia\",\n K520: \"k520\",\n K80: \"k80\",\n M60: \"m60\",\n RADEON_PRO_V520: \"radeon-pro-v520\",\n T4: \"t4\",\n T4G: \"t4g\",\n V100: \"v100\",\n VU9P: \"vu9p\"\n};\nvar AcceleratorType = {\n FPGA: \"fpga\",\n GPU: \"gpu\",\n INFERENCE: \"inference\"\n};\nvar ResourceType = {\n capacity_reservation: \"capacity-reservation\",\n capacity_reservation_fleet: \"capacity-reservation-fleet\",\n carrier_gateway: \"carrier-gateway\",\n client_vpn_endpoint: \"client-vpn-endpoint\",\n coip_pool: \"coip-pool\",\n customer_gateway: \"customer-gateway\",\n declarative_policies_report: \"declarative-policies-report\",\n dedicated_host: \"dedicated-host\",\n dhcp_options: \"dhcp-options\",\n egress_only_internet_gateway: \"egress-only-internet-gateway\",\n elastic_gpu: \"elastic-gpu\",\n elastic_ip: \"elastic-ip\",\n export_image_task: \"export-image-task\",\n export_instance_task: \"export-instance-task\",\n fleet: \"fleet\",\n fpga_image: \"fpga-image\",\n host_reservation: \"host-reservation\",\n image: \"image\",\n import_image_task: \"import-image-task\",\n import_snapshot_task: \"import-snapshot-task\",\n instance: \"instance\",\n instance_connect_endpoint: \"instance-connect-endpoint\",\n instance_event_window: \"instance-event-window\",\n internet_gateway: \"internet-gateway\",\n ipam: \"ipam\",\n ipam_external_resource_verification_token: \"ipam-external-resource-verification-token\",\n ipam_pool: \"ipam-pool\",\n ipam_resource_discovery: \"ipam-resource-discovery\",\n ipam_resource_discovery_association: \"ipam-resource-discovery-association\",\n ipam_scope: \"ipam-scope\",\n ipv4pool_ec2: \"ipv4pool-ec2\",\n ipv6pool_ec2: \"ipv6pool-ec2\",\n key_pair: \"key-pair\",\n launch_template: \"launch-template\",\n local_gateway: \"local-gateway\",\n local_gateway_route_table: \"local-gateway-route-table\",\n local_gateway_route_table_virtual_interface_group_association: \"local-gateway-route-table-virtual-interface-group-association\",\n local_gateway_route_table_vpc_association: \"local-gateway-route-table-vpc-association\",\n local_gateway_virtual_interface: \"local-gateway-virtual-interface\",\n local_gateway_virtual_interface_group: \"local-gateway-virtual-interface-group\",\n natgateway: \"natgateway\",\n network_acl: \"network-acl\",\n network_insights_access_scope: \"network-insights-access-scope\",\n network_insights_access_scope_analysis: \"network-insights-access-scope-analysis\",\n network_insights_analysis: \"network-insights-analysis\",\n network_insights_path: \"network-insights-path\",\n network_interface: \"network-interface\",\n outpost_lag: \"outpost-lag\",\n placement_group: \"placement-group\",\n prefix_list: \"prefix-list\",\n replace_root_volume_task: \"replace-root-volume-task\",\n reserved_instances: \"reserved-instances\",\n route_server: \"route-server\",\n route_server_endpoint: \"route-server-endpoint\",\n route_server_peer: \"route-server-peer\",\n route_table: \"route-table\",\n security_group: \"security-group\",\n security_group_rule: \"security-group-rule\",\n service_link_virtual_interface: \"service-link-virtual-interface\",\n snapshot: \"snapshot\",\n spot_fleet_request: \"spot-fleet-request\",\n spot_instances_request: \"spot-instances-request\",\n subnet: \"subnet\",\n subnet_cidr_reservation: \"subnet-cidr-reservation\",\n traffic_mirror_filter: \"traffic-mirror-filter\",\n traffic_mirror_filter_rule: \"traffic-mirror-filter-rule\",\n traffic_mirror_session: \"traffic-mirror-session\",\n traffic_mirror_target: \"traffic-mirror-target\",\n transit_gateway: \"transit-gateway\",\n transit_gateway_attachment: \"transit-gateway-attachment\",\n transit_gateway_connect_peer: \"transit-gateway-connect-peer\",\n transit_gateway_multicast_domain: \"transit-gateway-multicast-domain\",\n transit_gateway_policy_table: \"transit-gateway-policy-table\",\n transit_gateway_route_table: \"transit-gateway-route-table\",\n transit_gateway_route_table_announcement: \"transit-gateway-route-table-announcement\",\n verified_access_endpoint: \"verified-access-endpoint\",\n verified_access_endpoint_target: \"verified-access-endpoint-target\",\n verified_access_group: \"verified-access-group\",\n verified_access_instance: \"verified-access-instance\",\n verified_access_policy: \"verified-access-policy\",\n verified_access_trust_provider: \"verified-access-trust-provider\",\n volume: \"volume\",\n vpc: \"vpc\",\n vpc_block_public_access_exclusion: \"vpc-block-public-access-exclusion\",\n vpc_endpoint: \"vpc-endpoint\",\n vpc_endpoint_connection: \"vpc-endpoint-connection\",\n vpc_endpoint_connection_device_type: \"vpc-endpoint-connection-device-type\",\n vpc_endpoint_service: \"vpc-endpoint-service\",\n vpc_endpoint_service_permission: \"vpc-endpoint-service-permission\",\n vpc_flow_log: \"vpc-flow-log\",\n vpc_peering_connection: \"vpc-peering-connection\",\n vpn_connection: \"vpn-connection\",\n vpn_connection_device_type: \"vpn-connection-device-type\",\n vpn_gateway: \"vpn-gateway\"\n};\nvar AddressTransferStatus = {\n accepted: \"accepted\",\n disabled: \"disabled\",\n pending: \"pending\"\n};\nvar TransitGatewayAttachmentResourceType = {\n connect: \"connect\",\n direct_connect_gateway: \"direct-connect-gateway\",\n peering: \"peering\",\n tgw_peering: \"tgw-peering\",\n vpc: \"vpc\",\n vpn: \"vpn\"\n};\nvar TransitGatewayMulitcastDomainAssociationState = {\n associated: \"associated\",\n associating: \"associating\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\",\n failed: \"failed\",\n pendingAcceptance: \"pendingAcceptance\",\n rejected: \"rejected\"\n};\nvar DynamicRoutingValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar TransitGatewayAttachmentState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n failed: \"failed\",\n failing: \"failing\",\n initiating: \"initiating\",\n initiatingRequest: \"initiatingRequest\",\n modifying: \"modifying\",\n pending: \"pending\",\n pendingAcceptance: \"pendingAcceptance\",\n rejected: \"rejected\",\n rejecting: \"rejecting\",\n rollingBack: \"rollingBack\"\n};\nvar ApplianceModeSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar DnsSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar Ipv6SupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar SecurityGroupReferencingSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar VpcPeeringConnectionStateReasonCode = {\n active: \"active\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n expired: \"expired\",\n failed: \"failed\",\n initiating_request: \"initiating-request\",\n pending_acceptance: \"pending-acceptance\",\n provisioning: \"provisioning\",\n rejected: \"rejected\"\n};\nvar Protocol = {\n tcp: \"tcp\",\n udp: \"udp\"\n};\nvar AccountAttributeName = {\n default_vpc: \"default-vpc\",\n supported_platforms: \"supported-platforms\"\n};\nvar InstanceHealthStatus = {\n HEALTHY_STATUS: \"healthy\",\n UNHEALTHY_STATUS: \"unhealthy\"\n};\nvar ActivityStatus = {\n ERROR: \"error\",\n FULFILLED: \"fulfilled\",\n PENDING_FULFILLMENT: \"pending_fulfillment\",\n PENDING_TERMINATION: \"pending_termination\"\n};\nvar PrincipalType = {\n Account: \"Account\",\n All: \"All\",\n OrganizationUnit: \"OrganizationUnit\",\n Role: \"Role\",\n Service: \"Service\",\n User: \"User\"\n};\nvar DomainType = {\n standard: \"standard\",\n vpc: \"vpc\"\n};\nvar ServiceManaged = {\n alb: \"alb\",\n nlb: \"nlb\",\n rnat: \"rnat\"\n};\nvar AddressAttributeName = {\n domain_name: \"domain-name\"\n};\nvar AddressFamily = {\n ipv4: \"ipv4\",\n ipv6: \"ipv6\"\n};\nvar AsnAssociationState = {\n associated: \"associated\",\n disassociated: \"disassociated\",\n failed_association: \"failed-association\",\n failed_disassociation: \"failed-disassociation\",\n pending_association: \"pending-association\",\n pending_disassociation: \"pending-disassociation\"\n};\nvar ByoipCidrState = {\n advertised: \"advertised\",\n deprovisioned: \"deprovisioned\",\n failed_deprovision: \"failed-deprovision\",\n failed_provision: \"failed-provision\",\n pending_deprovision: \"pending-deprovision\",\n pending_provision: \"pending-provision\",\n provisioned: \"provisioned\",\n provisioned_not_publicly_advertisable: \"provisioned-not-publicly-advertisable\"\n};\nvar Affinity = {\n default: \"default\",\n host: \"host\"\n};\nvar AutoPlacement = {\n off: \"off\",\n on: \"on\"\n};\nvar HostMaintenance = {\n off: \"off\",\n on: \"on\"\n};\nvar HostRecovery = {\n off: \"off\",\n on: \"on\"\n};\nvar IpamPoolAllocationResourceType = {\n custom: \"custom\",\n ec2_public_ipv4_pool: \"ec2-public-ipv4-pool\",\n eip: \"eip\",\n ipam_pool: \"ipam-pool\",\n subnet: \"subnet\",\n vpc: \"vpc\"\n};\nvar AllocationState = {\n available: \"available\",\n pending: \"pending\",\n permanent_failure: \"permanent-failure\",\n released: \"released\",\n released_permanent_failure: \"released-permanent-failure\",\n under_assessment: \"under-assessment\"\n};\nvar AllocationStrategy = {\n CAPACITY_OPTIMIZED: \"capacityOptimized\",\n CAPACITY_OPTIMIZED_PRIORITIZED: \"capacityOptimizedPrioritized\",\n DIVERSIFIED: \"diversified\",\n LOWEST_PRICE: \"lowestPrice\",\n PRICE_CAPACITY_OPTIMIZED: \"priceCapacityOptimized\"\n};\nvar AllocationType = {\n future: \"future\",\n used: \"used\"\n};\nvar AllowedImagesSettingsDisabledState = {\n disabled: \"disabled\"\n};\nvar AllowedImagesSettingsEnabledState = {\n audit_mode: \"audit-mode\",\n enabled: \"enabled\"\n};\nvar AllowsMultipleInstanceTypes = {\n off: \"off\",\n on: \"on\"\n};\nvar NatGatewayAddressStatus = {\n ASSIGNING: \"assigning\",\n ASSOCIATING: \"associating\",\n DISASSOCIATING: \"disassociating\",\n FAILED: \"failed\",\n SUCCEEDED: \"succeeded\",\n UNASSIGNING: \"unassigning\"\n};\nvar AssociationStatusCode = {\n associated: \"associated\",\n associating: \"associating\",\n association_failed: \"association-failed\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\"\n};\nvar IamInstanceProfileAssociationState = {\n ASSOCIATED: \"associated\",\n ASSOCIATING: \"associating\",\n DISASSOCIATED: \"disassociated\",\n DISASSOCIATING: \"disassociating\"\n};\nvar InstanceEventWindowState = {\n active: \"active\",\n creating: \"creating\",\n deleted: \"deleted\",\n deleting: \"deleting\"\n};\nvar WeekDay = {\n friday: \"friday\",\n monday: \"monday\",\n saturday: \"saturday\",\n sunday: \"sunday\",\n thursday: \"thursday\",\n tuesday: \"tuesday\",\n wednesday: \"wednesday\"\n};\nvar IpamAssociatedResourceDiscoveryStatus = {\n ACTIVE: \"active\",\n NOT_FOUND: \"not-found\"\n};\nvar IpamResourceDiscoveryAssociationState = {\n ASSOCIATE_COMPLETE: \"associate-complete\",\n ASSOCIATE_FAILED: \"associate-failed\",\n ASSOCIATE_IN_PROGRESS: \"associate-in-progress\",\n DISASSOCIATE_COMPLETE: \"disassociate-complete\",\n DISASSOCIATE_FAILED: \"disassociate-failed\",\n DISASSOCIATE_IN_PROGRESS: \"disassociate-in-progress\",\n ISOLATE_COMPLETE: \"isolate-complete\",\n ISOLATE_IN_PROGRESS: \"isolate-in-progress\",\n RESTORE_IN_PROGRESS: \"restore-in-progress\"\n};\nvar RouteServerAssociationState = {\n ASSOCIATED: \"associated\",\n ASSOCIATING: \"associating\",\n DISASSOCIATING: \"disassociating\"\n};\nvar RouteTableAssociationStateCode = {\n associated: \"associated\",\n associating: \"associating\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\",\n failed: \"failed\"\n};\nvar SecurityGroupVpcAssociationState = {\n associated: \"associated\",\n associating: \"associating\",\n association_failed: \"association-failed\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\",\n disassociation_failed: \"disassociation-failed\"\n};\nvar IpSource = {\n amazon: \"amazon\",\n byoip: \"byoip\",\n none: \"none\"\n};\nvar Ipv6AddressAttribute = {\n private: \"private\",\n public: \"public\"\n};\nvar SubnetCidrBlockStateCode = {\n associated: \"associated\",\n associating: \"associating\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\",\n failed: \"failed\",\n failing: \"failing\"\n};\nvar TransitGatewayAssociationState = {\n associated: \"associated\",\n associating: \"associating\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\"\n};\nvar InterfaceProtocolType = {\n GRE: \"GRE\",\n VLAN: \"VLAN\"\n};\nvar VpcCidrBlockStateCode = {\n associated: \"associated\",\n associating: \"associating\",\n disassociated: \"disassociated\",\n disassociating: \"disassociating\",\n failed: \"failed\",\n failing: \"failing\"\n};\nvar DeviceTrustProviderType = {\n crowdstrike: \"crowdstrike\",\n jamf: \"jamf\",\n jumpcloud: \"jumpcloud\"\n};\nvar TrustProviderType = {\n device: \"device\",\n user: \"user\"\n};\nvar UserTrustProviderType = {\n iam_identity_center: \"iam-identity-center\",\n oidc: \"oidc\"\n};\nvar VolumeAttachmentState = {\n attached: \"attached\",\n attaching: \"attaching\",\n busy: \"busy\",\n detached: \"detached\",\n detaching: \"detaching\"\n};\nvar AttachmentStatus = {\n attached: \"attached\",\n attaching: \"attaching\",\n detached: \"detached\",\n detaching: \"detaching\"\n};\nvar ClientVpnAuthorizationRuleStatusCode = {\n active: \"active\",\n authorizing: \"authorizing\",\n failed: \"failed\",\n revoking: \"revoking\"\n};\nvar BundleTaskState = {\n bundling: \"bundling\",\n cancelling: \"cancelling\",\n complete: \"complete\",\n failed: \"failed\",\n pending: \"pending\",\n storing: \"storing\",\n waiting_for_shutdown: \"waiting-for-shutdown\"\n};\nvar CapacityReservationFleetState = {\n ACTIVE: \"active\",\n CANCELLED: \"cancelled\",\n CANCELLING: \"cancelling\",\n EXPIRED: \"expired\",\n EXPIRING: \"expiring\",\n FAILED: \"failed\",\n MODIFYING: \"modifying\",\n PARTIALLY_FULFILLED: \"partially_fulfilled\",\n SUBMITTED: \"submitted\"\n};\nvar ListingState = {\n available: \"available\",\n cancelled: \"cancelled\",\n pending: \"pending\",\n sold: \"sold\"\n};\nvar CurrencyCodeValues = {\n USD: \"USD\"\n};\nvar ListingStatus = {\n active: \"active\",\n cancelled: \"cancelled\",\n closed: \"closed\",\n pending: \"pending\"\n};\nvar BatchState = {\n ACTIVE: \"active\",\n CANCELLED: \"cancelled\",\n CANCELLED_RUNNING: \"cancelled_running\",\n CANCELLED_TERMINATING_INSTANCES: \"cancelled_terminating\",\n FAILED: \"failed\",\n MODIFYING: \"modifying\",\n SUBMITTED: \"submitted\"\n};\nvar CancelBatchErrorCode = {\n FLEET_REQUEST_ID_DOES_NOT_EXIST: \"fleetRequestIdDoesNotExist\",\n FLEET_REQUEST_ID_MALFORMED: \"fleetRequestIdMalformed\",\n FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE: \"fleetRequestNotInCancellableState\",\n UNEXPECTED_ERROR: \"unexpectedError\"\n};\nvar CancelSpotInstanceRequestState = {\n active: \"active\",\n cancelled: \"cancelled\",\n closed: \"closed\",\n completed: \"completed\",\n open: \"open\"\n};\nvar OidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"OidcOptionsFilterSensitiveLog\");\nvar VerifiedAccessTrustProviderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OidcOptions && { OidcOptions: OidcOptionsFilterSensitiveLog(obj.OidcOptions) }\n}), \"VerifiedAccessTrustProviderFilterSensitiveLog\");\nvar AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProvider && {\n VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)\n }\n}), \"AttachVerifiedAccessTrustProviderResultFilterSensitiveLog\");\nvar S3StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UploadPolicySignature && { UploadPolicySignature: import_smithy_client.SENSITIVE_STRING }\n}), \"S3StorageFilterSensitiveLog\");\nvar StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.S3 && { S3: S3StorageFilterSensitiveLog(obj.S3) }\n}), \"StorageFilterSensitiveLog\");\nvar BundleInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) }\n}), \"BundleInstanceRequestFilterSensitiveLog\");\nvar BundleTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) }\n}), \"BundleTaskFilterSensitiveLog\");\nvar BundleInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) }\n}), \"BundleInstanceResultFilterSensitiveLog\");\nvar CancelBundleTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) }\n}), \"CancelBundleTaskResultFilterSensitiveLog\");\n\n// src/commands/AttachVerifiedAccessTrustProviderCommand.ts\nvar AttachVerifiedAccessTrustProviderCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachVerifiedAccessTrustProvider\", {}).n(\"EC2Client\", \"AttachVerifiedAccessTrustProviderCommand\").f(void 0, AttachVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_AttachVerifiedAccessTrustProviderCommand).de(de_AttachVerifiedAccessTrustProviderCommand).build() {\n static {\n __name(this, \"AttachVerifiedAccessTrustProviderCommand\");\n }\n};\n\n// src/commands/AttachVolumeCommand.ts\n\n\n\nvar AttachVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachVolume\", {}).n(\"EC2Client\", \"AttachVolumeCommand\").f(void 0, void 0).ser(se_AttachVolumeCommand).de(de_AttachVolumeCommand).build() {\n static {\n __name(this, \"AttachVolumeCommand\");\n }\n};\n\n// src/commands/AttachVpnGatewayCommand.ts\n\n\n\nvar AttachVpnGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AttachVpnGateway\", {}).n(\"EC2Client\", \"AttachVpnGatewayCommand\").f(void 0, void 0).ser(se_AttachVpnGatewayCommand).de(de_AttachVpnGatewayCommand).build() {\n static {\n __name(this, \"AttachVpnGatewayCommand\");\n }\n};\n\n// src/commands/AuthorizeClientVpnIngressCommand.ts\n\n\n\nvar AuthorizeClientVpnIngressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AuthorizeClientVpnIngress\", {}).n(\"EC2Client\", \"AuthorizeClientVpnIngressCommand\").f(void 0, void 0).ser(se_AuthorizeClientVpnIngressCommand).de(de_AuthorizeClientVpnIngressCommand).build() {\n static {\n __name(this, \"AuthorizeClientVpnIngressCommand\");\n }\n};\n\n// src/commands/AuthorizeSecurityGroupEgressCommand.ts\n\n\n\nvar AuthorizeSecurityGroupEgressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AuthorizeSecurityGroupEgress\", {}).n(\"EC2Client\", \"AuthorizeSecurityGroupEgressCommand\").f(void 0, void 0).ser(se_AuthorizeSecurityGroupEgressCommand).de(de_AuthorizeSecurityGroupEgressCommand).build() {\n static {\n __name(this, \"AuthorizeSecurityGroupEgressCommand\");\n }\n};\n\n// src/commands/AuthorizeSecurityGroupIngressCommand.ts\n\n\n\nvar AuthorizeSecurityGroupIngressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"AuthorizeSecurityGroupIngress\", {}).n(\"EC2Client\", \"AuthorizeSecurityGroupIngressCommand\").f(void 0, void 0).ser(se_AuthorizeSecurityGroupIngressCommand).de(de_AuthorizeSecurityGroupIngressCommand).build() {\n static {\n __name(this, \"AuthorizeSecurityGroupIngressCommand\");\n }\n};\n\n// src/commands/BundleInstanceCommand.ts\n\n\n\nvar BundleInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"BundleInstance\", {}).n(\"EC2Client\", \"BundleInstanceCommand\").f(BundleInstanceRequestFilterSensitiveLog, BundleInstanceResultFilterSensitiveLog).ser(se_BundleInstanceCommand).de(de_BundleInstanceCommand).build() {\n static {\n __name(this, \"BundleInstanceCommand\");\n }\n};\n\n// src/commands/CancelBundleTaskCommand.ts\n\n\n\nvar CancelBundleTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelBundleTask\", {}).n(\"EC2Client\", \"CancelBundleTaskCommand\").f(void 0, CancelBundleTaskResultFilterSensitiveLog).ser(se_CancelBundleTaskCommand).de(de_CancelBundleTaskCommand).build() {\n static {\n __name(this, \"CancelBundleTaskCommand\");\n }\n};\n\n// src/commands/CancelCapacityReservationCommand.ts\n\n\n\nvar CancelCapacityReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelCapacityReservation\", {}).n(\"EC2Client\", \"CancelCapacityReservationCommand\").f(void 0, void 0).ser(se_CancelCapacityReservationCommand).de(de_CancelCapacityReservationCommand).build() {\n static {\n __name(this, \"CancelCapacityReservationCommand\");\n }\n};\n\n// src/commands/CancelCapacityReservationFleetsCommand.ts\n\n\n\nvar CancelCapacityReservationFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelCapacityReservationFleets\", {}).n(\"EC2Client\", \"CancelCapacityReservationFleetsCommand\").f(void 0, void 0).ser(se_CancelCapacityReservationFleetsCommand).de(de_CancelCapacityReservationFleetsCommand).build() {\n static {\n __name(this, \"CancelCapacityReservationFleetsCommand\");\n }\n};\n\n// src/commands/CancelConversionTaskCommand.ts\n\n\n\nvar CancelConversionTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelConversionTask\", {}).n(\"EC2Client\", \"CancelConversionTaskCommand\").f(void 0, void 0).ser(se_CancelConversionTaskCommand).de(de_CancelConversionTaskCommand).build() {\n static {\n __name(this, \"CancelConversionTaskCommand\");\n }\n};\n\n// src/commands/CancelDeclarativePoliciesReportCommand.ts\n\n\n\nvar CancelDeclarativePoliciesReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelDeclarativePoliciesReport\", {}).n(\"EC2Client\", \"CancelDeclarativePoliciesReportCommand\").f(void 0, void 0).ser(se_CancelDeclarativePoliciesReportCommand).de(de_CancelDeclarativePoliciesReportCommand).build() {\n static {\n __name(this, \"CancelDeclarativePoliciesReportCommand\");\n }\n};\n\n// src/commands/CancelExportTaskCommand.ts\n\n\n\nvar CancelExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelExportTask\", {}).n(\"EC2Client\", \"CancelExportTaskCommand\").f(void 0, void 0).ser(se_CancelExportTaskCommand).de(de_CancelExportTaskCommand).build() {\n static {\n __name(this, \"CancelExportTaskCommand\");\n }\n};\n\n// src/commands/CancelImageLaunchPermissionCommand.ts\n\n\n\nvar CancelImageLaunchPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelImageLaunchPermission\", {}).n(\"EC2Client\", \"CancelImageLaunchPermissionCommand\").f(void 0, void 0).ser(se_CancelImageLaunchPermissionCommand).de(de_CancelImageLaunchPermissionCommand).build() {\n static {\n __name(this, \"CancelImageLaunchPermissionCommand\");\n }\n};\n\n// src/commands/CancelImportTaskCommand.ts\n\n\n\nvar CancelImportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelImportTask\", {}).n(\"EC2Client\", \"CancelImportTaskCommand\").f(void 0, void 0).ser(se_CancelImportTaskCommand).de(de_CancelImportTaskCommand).build() {\n static {\n __name(this, \"CancelImportTaskCommand\");\n }\n};\n\n// src/commands/CancelReservedInstancesListingCommand.ts\n\n\n\nvar CancelReservedInstancesListingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelReservedInstancesListing\", {}).n(\"EC2Client\", \"CancelReservedInstancesListingCommand\").f(void 0, void 0).ser(se_CancelReservedInstancesListingCommand).de(de_CancelReservedInstancesListingCommand).build() {\n static {\n __name(this, \"CancelReservedInstancesListingCommand\");\n }\n};\n\n// src/commands/CancelSpotFleetRequestsCommand.ts\n\n\n\nvar CancelSpotFleetRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelSpotFleetRequests\", {}).n(\"EC2Client\", \"CancelSpotFleetRequestsCommand\").f(void 0, void 0).ser(se_CancelSpotFleetRequestsCommand).de(de_CancelSpotFleetRequestsCommand).build() {\n static {\n __name(this, \"CancelSpotFleetRequestsCommand\");\n }\n};\n\n// src/commands/CancelSpotInstanceRequestsCommand.ts\n\n\n\nvar CancelSpotInstanceRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CancelSpotInstanceRequests\", {}).n(\"EC2Client\", \"CancelSpotInstanceRequestsCommand\").f(void 0, void 0).ser(se_CancelSpotInstanceRequestsCommand).de(de_CancelSpotInstanceRequestsCommand).build() {\n static {\n __name(this, \"CancelSpotInstanceRequestsCommand\");\n }\n};\n\n// src/commands/ConfirmProductInstanceCommand.ts\n\n\n\nvar ConfirmProductInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ConfirmProductInstance\", {}).n(\"EC2Client\", \"ConfirmProductInstanceCommand\").f(void 0, void 0).ser(se_ConfirmProductInstanceCommand).de(de_ConfirmProductInstanceCommand).build() {\n static {\n __name(this, \"ConfirmProductInstanceCommand\");\n }\n};\n\n// src/commands/CopyFpgaImageCommand.ts\n\n\n\nvar CopyFpgaImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CopyFpgaImage\", {}).n(\"EC2Client\", \"CopyFpgaImageCommand\").f(void 0, void 0).ser(se_CopyFpgaImageCommand).de(de_CopyFpgaImageCommand).build() {\n static {\n __name(this, \"CopyFpgaImageCommand\");\n }\n};\n\n// src/commands/CopyImageCommand.ts\n\n\n\nvar CopyImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CopyImage\", {}).n(\"EC2Client\", \"CopyImageCommand\").f(void 0, void 0).ser(se_CopyImageCommand).de(de_CopyImageCommand).build() {\n static {\n __name(this, \"CopyImageCommand\");\n }\n};\n\n// src/commands/CopySnapshotCommand.ts\nvar import_middleware_sdk_ec2 = require(\"@aws-sdk/middleware-sdk-ec2\");\n\n\n\n\n// src/models/models_1.ts\n\nvar CapacityReservationDeliveryPreference = {\n FIXED: \"fixed\",\n INCREMENTAL: \"incremental\"\n};\nvar EndDateType = {\n limited: \"limited\",\n unlimited: \"unlimited\"\n};\nvar InstanceMatchCriteria = {\n open: \"open\",\n targeted: \"targeted\"\n};\nvar CapacityReservationInstancePlatform = {\n LINUX_UNIX: \"Linux/UNIX\",\n LINUX_WITH_SQL_SERVER_ENTERPRISE: \"Linux with SQL Server Enterprise\",\n LINUX_WITH_SQL_SERVER_STANDARD: \"Linux with SQL Server Standard\",\n LINUX_WITH_SQL_SERVER_WEB: \"Linux with SQL Server Web\",\n RED_HAT_ENTERPRISE_LINUX: \"Red Hat Enterprise Linux\",\n RHEL_WITH_HA: \"RHEL with HA\",\n RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE: \"RHEL with HA and SQL Server Enterprise\",\n RHEL_WITH_HA_AND_SQL_SERVER_STANDARD: \"RHEL with HA and SQL Server Standard\",\n RHEL_WITH_SQL_SERVER_ENTERPRISE: \"RHEL with SQL Server Enterprise\",\n RHEL_WITH_SQL_SERVER_STANDARD: \"RHEL with SQL Server Standard\",\n RHEL_WITH_SQL_SERVER_WEB: \"RHEL with SQL Server Web\",\n SUSE_LINUX: \"SUSE Linux\",\n UBUNTU_PRO_LINUX: \"Ubuntu Pro\",\n WINDOWS: \"Windows\",\n WINDOWS_WITH_SQL_SERVER: \"Windows with SQL Server\",\n WINDOWS_WITH_SQL_SERVER_ENTERPRISE: \"Windows with SQL Server Enterprise\",\n WINDOWS_WITH_SQL_SERVER_STANDARD: \"Windows with SQL Server Standard\",\n WINDOWS_WITH_SQL_SERVER_WEB: \"Windows with SQL Server Web\"\n};\nvar CapacityReservationTenancy = {\n dedicated: \"dedicated\",\n default: \"default\"\n};\nvar CapacityReservationType = {\n CAPACITY_BLOCK: \"capacity-block\",\n DEFAULT: \"default\"\n};\nvar CapacityReservationState = {\n active: \"active\",\n assessing: \"assessing\",\n cancelled: \"cancelled\",\n delayed: \"delayed\",\n expired: \"expired\",\n failed: \"failed\",\n payment_failed: \"payment-failed\",\n payment_pending: \"payment-pending\",\n pending: \"pending\",\n scheduled: \"scheduled\",\n unsupported: \"unsupported\"\n};\nvar FleetInstanceMatchCriteria = {\n open: \"open\"\n};\nvar _InstanceType = {\n a1_2xlarge: \"a1.2xlarge\",\n a1_4xlarge: \"a1.4xlarge\",\n a1_large: \"a1.large\",\n a1_medium: \"a1.medium\",\n a1_metal: \"a1.metal\",\n a1_xlarge: \"a1.xlarge\",\n c1_medium: \"c1.medium\",\n c1_xlarge: \"c1.xlarge\",\n c3_2xlarge: \"c3.2xlarge\",\n c3_4xlarge: \"c3.4xlarge\",\n c3_8xlarge: \"c3.8xlarge\",\n c3_large: \"c3.large\",\n c3_xlarge: \"c3.xlarge\",\n c4_2xlarge: \"c4.2xlarge\",\n c4_4xlarge: \"c4.4xlarge\",\n c4_8xlarge: \"c4.8xlarge\",\n c4_large: \"c4.large\",\n c4_xlarge: \"c4.xlarge\",\n c5_12xlarge: \"c5.12xlarge\",\n c5_18xlarge: \"c5.18xlarge\",\n c5_24xlarge: \"c5.24xlarge\",\n c5_2xlarge: \"c5.2xlarge\",\n c5_4xlarge: \"c5.4xlarge\",\n c5_9xlarge: \"c5.9xlarge\",\n c5_large: \"c5.large\",\n c5_metal: \"c5.metal\",\n c5_xlarge: \"c5.xlarge\",\n c5a_12xlarge: \"c5a.12xlarge\",\n c5a_16xlarge: \"c5a.16xlarge\",\n c5a_24xlarge: \"c5a.24xlarge\",\n c5a_2xlarge: \"c5a.2xlarge\",\n c5a_4xlarge: \"c5a.4xlarge\",\n c5a_8xlarge: \"c5a.8xlarge\",\n c5a_large: \"c5a.large\",\n c5a_xlarge: \"c5a.xlarge\",\n c5ad_12xlarge: \"c5ad.12xlarge\",\n c5ad_16xlarge: \"c5ad.16xlarge\",\n c5ad_24xlarge: \"c5ad.24xlarge\",\n c5ad_2xlarge: \"c5ad.2xlarge\",\n c5ad_4xlarge: \"c5ad.4xlarge\",\n c5ad_8xlarge: \"c5ad.8xlarge\",\n c5ad_large: \"c5ad.large\",\n c5ad_xlarge: \"c5ad.xlarge\",\n c5d_12xlarge: \"c5d.12xlarge\",\n c5d_18xlarge: \"c5d.18xlarge\",\n c5d_24xlarge: \"c5d.24xlarge\",\n c5d_2xlarge: \"c5d.2xlarge\",\n c5d_4xlarge: \"c5d.4xlarge\",\n c5d_9xlarge: \"c5d.9xlarge\",\n c5d_large: \"c5d.large\",\n c5d_metal: \"c5d.metal\",\n c5d_xlarge: \"c5d.xlarge\",\n c5n_18xlarge: \"c5n.18xlarge\",\n c5n_2xlarge: \"c5n.2xlarge\",\n c5n_4xlarge: \"c5n.4xlarge\",\n c5n_9xlarge: \"c5n.9xlarge\",\n c5n_large: \"c5n.large\",\n c5n_metal: \"c5n.metal\",\n c5n_xlarge: \"c5n.xlarge\",\n c6a_12xlarge: \"c6a.12xlarge\",\n c6a_16xlarge: \"c6a.16xlarge\",\n c6a_24xlarge: \"c6a.24xlarge\",\n c6a_2xlarge: \"c6a.2xlarge\",\n c6a_32xlarge: \"c6a.32xlarge\",\n c6a_48xlarge: \"c6a.48xlarge\",\n c6a_4xlarge: \"c6a.4xlarge\",\n c6a_8xlarge: \"c6a.8xlarge\",\n c6a_large: \"c6a.large\",\n c6a_metal: \"c6a.metal\",\n c6a_xlarge: \"c6a.xlarge\",\n c6g_12xlarge: \"c6g.12xlarge\",\n c6g_16xlarge: \"c6g.16xlarge\",\n c6g_2xlarge: \"c6g.2xlarge\",\n c6g_4xlarge: \"c6g.4xlarge\",\n c6g_8xlarge: \"c6g.8xlarge\",\n c6g_large: \"c6g.large\",\n c6g_medium: \"c6g.medium\",\n c6g_metal: \"c6g.metal\",\n c6g_xlarge: \"c6g.xlarge\",\n c6gd_12xlarge: \"c6gd.12xlarge\",\n c6gd_16xlarge: \"c6gd.16xlarge\",\n c6gd_2xlarge: \"c6gd.2xlarge\",\n c6gd_4xlarge: \"c6gd.4xlarge\",\n c6gd_8xlarge: \"c6gd.8xlarge\",\n c6gd_large: \"c6gd.large\",\n c6gd_medium: \"c6gd.medium\",\n c6gd_metal: \"c6gd.metal\",\n c6gd_xlarge: \"c6gd.xlarge\",\n c6gn_12xlarge: \"c6gn.12xlarge\",\n c6gn_16xlarge: \"c6gn.16xlarge\",\n c6gn_2xlarge: \"c6gn.2xlarge\",\n c6gn_4xlarge: \"c6gn.4xlarge\",\n c6gn_8xlarge: \"c6gn.8xlarge\",\n c6gn_large: \"c6gn.large\",\n c6gn_medium: \"c6gn.medium\",\n c6gn_xlarge: \"c6gn.xlarge\",\n c6i_12xlarge: \"c6i.12xlarge\",\n c6i_16xlarge: \"c6i.16xlarge\",\n c6i_24xlarge: \"c6i.24xlarge\",\n c6i_2xlarge: \"c6i.2xlarge\",\n c6i_32xlarge: \"c6i.32xlarge\",\n c6i_4xlarge: \"c6i.4xlarge\",\n c6i_8xlarge: \"c6i.8xlarge\",\n c6i_large: \"c6i.large\",\n c6i_metal: \"c6i.metal\",\n c6i_xlarge: \"c6i.xlarge\",\n c6id_12xlarge: \"c6id.12xlarge\",\n c6id_16xlarge: \"c6id.16xlarge\",\n c6id_24xlarge: \"c6id.24xlarge\",\n c6id_2xlarge: \"c6id.2xlarge\",\n c6id_32xlarge: \"c6id.32xlarge\",\n c6id_4xlarge: \"c6id.4xlarge\",\n c6id_8xlarge: \"c6id.8xlarge\",\n c6id_large: \"c6id.large\",\n c6id_metal: \"c6id.metal\",\n c6id_xlarge: \"c6id.xlarge\",\n c6in_12xlarge: \"c6in.12xlarge\",\n c6in_16xlarge: \"c6in.16xlarge\",\n c6in_24xlarge: \"c6in.24xlarge\",\n c6in_2xlarge: \"c6in.2xlarge\",\n c6in_32xlarge: \"c6in.32xlarge\",\n c6in_4xlarge: \"c6in.4xlarge\",\n c6in_8xlarge: \"c6in.8xlarge\",\n c6in_large: \"c6in.large\",\n c6in_metal: \"c6in.metal\",\n c6in_xlarge: \"c6in.xlarge\",\n c7a_12xlarge: \"c7a.12xlarge\",\n c7a_16xlarge: \"c7a.16xlarge\",\n c7a_24xlarge: \"c7a.24xlarge\",\n c7a_2xlarge: \"c7a.2xlarge\",\n c7a_32xlarge: \"c7a.32xlarge\",\n c7a_48xlarge: \"c7a.48xlarge\",\n c7a_4xlarge: \"c7a.4xlarge\",\n c7a_8xlarge: \"c7a.8xlarge\",\n c7a_large: \"c7a.large\",\n c7a_medium: \"c7a.medium\",\n c7a_metal_48xl: \"c7a.metal-48xl\",\n c7a_xlarge: \"c7a.xlarge\",\n c7g_12xlarge: \"c7g.12xlarge\",\n c7g_16xlarge: \"c7g.16xlarge\",\n c7g_2xlarge: \"c7g.2xlarge\",\n c7g_4xlarge: \"c7g.4xlarge\",\n c7g_8xlarge: \"c7g.8xlarge\",\n c7g_large: \"c7g.large\",\n c7g_medium: \"c7g.medium\",\n c7g_metal: \"c7g.metal\",\n c7g_xlarge: \"c7g.xlarge\",\n c7gd_12xlarge: \"c7gd.12xlarge\",\n c7gd_16xlarge: \"c7gd.16xlarge\",\n c7gd_2xlarge: \"c7gd.2xlarge\",\n c7gd_4xlarge: \"c7gd.4xlarge\",\n c7gd_8xlarge: \"c7gd.8xlarge\",\n c7gd_large: \"c7gd.large\",\n c7gd_medium: \"c7gd.medium\",\n c7gd_metal: \"c7gd.metal\",\n c7gd_xlarge: \"c7gd.xlarge\",\n c7gn_12xlarge: \"c7gn.12xlarge\",\n c7gn_16xlarge: \"c7gn.16xlarge\",\n c7gn_2xlarge: \"c7gn.2xlarge\",\n c7gn_4xlarge: \"c7gn.4xlarge\",\n c7gn_8xlarge: \"c7gn.8xlarge\",\n c7gn_large: \"c7gn.large\",\n c7gn_medium: \"c7gn.medium\",\n c7gn_metal: \"c7gn.metal\",\n c7gn_xlarge: \"c7gn.xlarge\",\n c7i_12xlarge: \"c7i.12xlarge\",\n c7i_16xlarge: \"c7i.16xlarge\",\n c7i_24xlarge: \"c7i.24xlarge\",\n c7i_2xlarge: \"c7i.2xlarge\",\n c7i_48xlarge: \"c7i.48xlarge\",\n c7i_4xlarge: \"c7i.4xlarge\",\n c7i_8xlarge: \"c7i.8xlarge\",\n c7i_flex_2xlarge: \"c7i-flex.2xlarge\",\n c7i_flex_4xlarge: \"c7i-flex.4xlarge\",\n c7i_flex_8xlarge: \"c7i-flex.8xlarge\",\n c7i_flex_large: \"c7i-flex.large\",\n c7i_flex_xlarge: \"c7i-flex.xlarge\",\n c7i_large: \"c7i.large\",\n c7i_metal_24xl: \"c7i.metal-24xl\",\n c7i_metal_48xl: \"c7i.metal-48xl\",\n c7i_xlarge: \"c7i.xlarge\",\n c8g_12xlarge: \"c8g.12xlarge\",\n c8g_16xlarge: \"c8g.16xlarge\",\n c8g_24xlarge: \"c8g.24xlarge\",\n c8g_2xlarge: \"c8g.2xlarge\",\n c8g_48xlarge: \"c8g.48xlarge\",\n c8g_4xlarge: \"c8g.4xlarge\",\n c8g_8xlarge: \"c8g.8xlarge\",\n c8g_large: \"c8g.large\",\n c8g_medium: \"c8g.medium\",\n c8g_metal_24xl: \"c8g.metal-24xl\",\n c8g_metal_48xl: \"c8g.metal-48xl\",\n c8g_xlarge: \"c8g.xlarge\",\n cc1_4xlarge: \"cc1.4xlarge\",\n cc2_8xlarge: \"cc2.8xlarge\",\n cg1_4xlarge: \"cg1.4xlarge\",\n cr1_8xlarge: \"cr1.8xlarge\",\n d2_2xlarge: \"d2.2xlarge\",\n d2_4xlarge: \"d2.4xlarge\",\n d2_8xlarge: \"d2.8xlarge\",\n d2_xlarge: \"d2.xlarge\",\n d3_2xlarge: \"d3.2xlarge\",\n d3_4xlarge: \"d3.4xlarge\",\n d3_8xlarge: \"d3.8xlarge\",\n d3_xlarge: \"d3.xlarge\",\n d3en_12xlarge: \"d3en.12xlarge\",\n d3en_2xlarge: \"d3en.2xlarge\",\n d3en_4xlarge: \"d3en.4xlarge\",\n d3en_6xlarge: \"d3en.6xlarge\",\n d3en_8xlarge: \"d3en.8xlarge\",\n d3en_xlarge: \"d3en.xlarge\",\n dl1_24xlarge: \"dl1.24xlarge\",\n dl2q_24xlarge: \"dl2q.24xlarge\",\n f1_16xlarge: \"f1.16xlarge\",\n f1_2xlarge: \"f1.2xlarge\",\n f1_4xlarge: \"f1.4xlarge\",\n f2_12xlarge: \"f2.12xlarge\",\n f2_48xlarge: \"f2.48xlarge\",\n g2_2xlarge: \"g2.2xlarge\",\n g2_8xlarge: \"g2.8xlarge\",\n g3_16xlarge: \"g3.16xlarge\",\n g3_4xlarge: \"g3.4xlarge\",\n g3_8xlarge: \"g3.8xlarge\",\n g3s_xlarge: \"g3s.xlarge\",\n g4ad_16xlarge: \"g4ad.16xlarge\",\n g4ad_2xlarge: \"g4ad.2xlarge\",\n g4ad_4xlarge: \"g4ad.4xlarge\",\n g4ad_8xlarge: \"g4ad.8xlarge\",\n g4ad_xlarge: \"g4ad.xlarge\",\n g4dn_12xlarge: \"g4dn.12xlarge\",\n g4dn_16xlarge: \"g4dn.16xlarge\",\n g4dn_2xlarge: \"g4dn.2xlarge\",\n g4dn_4xlarge: \"g4dn.4xlarge\",\n g4dn_8xlarge: \"g4dn.8xlarge\",\n g4dn_metal: \"g4dn.metal\",\n g4dn_xlarge: \"g4dn.xlarge\",\n g5_12xlarge: \"g5.12xlarge\",\n g5_16xlarge: \"g5.16xlarge\",\n g5_24xlarge: \"g5.24xlarge\",\n g5_2xlarge: \"g5.2xlarge\",\n g5_48xlarge: \"g5.48xlarge\",\n g5_4xlarge: \"g5.4xlarge\",\n g5_8xlarge: \"g5.8xlarge\",\n g5_xlarge: \"g5.xlarge\",\n g5g_16xlarge: \"g5g.16xlarge\",\n g5g_2xlarge: \"g5g.2xlarge\",\n g5g_4xlarge: \"g5g.4xlarge\",\n g5g_8xlarge: \"g5g.8xlarge\",\n g5g_metal: \"g5g.metal\",\n g5g_xlarge: \"g5g.xlarge\",\n g6_12xlarge: \"g6.12xlarge\",\n g6_16xlarge: \"g6.16xlarge\",\n g6_24xlarge: \"g6.24xlarge\",\n g6_2xlarge: \"g6.2xlarge\",\n g6_48xlarge: \"g6.48xlarge\",\n g6_4xlarge: \"g6.4xlarge\",\n g6_8xlarge: \"g6.8xlarge\",\n g6_xlarge: \"g6.xlarge\",\n g6e_12xlarge: \"g6e.12xlarge\",\n g6e_16xlarge: \"g6e.16xlarge\",\n g6e_24xlarge: \"g6e.24xlarge\",\n g6e_2xlarge: \"g6e.2xlarge\",\n g6e_48xlarge: \"g6e.48xlarge\",\n g6e_4xlarge: \"g6e.4xlarge\",\n g6e_8xlarge: \"g6e.8xlarge\",\n g6e_xlarge: \"g6e.xlarge\",\n gr6_4xlarge: \"gr6.4xlarge\",\n gr6_8xlarge: \"gr6.8xlarge\",\n h1_16xlarge: \"h1.16xlarge\",\n h1_2xlarge: \"h1.2xlarge\",\n h1_4xlarge: \"h1.4xlarge\",\n h1_8xlarge: \"h1.8xlarge\",\n hi1_4xlarge: \"hi1.4xlarge\",\n hpc6a_48xlarge: \"hpc6a.48xlarge\",\n hpc6id_32xlarge: \"hpc6id.32xlarge\",\n hpc7a_12xlarge: \"hpc7a.12xlarge\",\n hpc7a_24xlarge: \"hpc7a.24xlarge\",\n hpc7a_48xlarge: \"hpc7a.48xlarge\",\n hpc7a_96xlarge: \"hpc7a.96xlarge\",\n hpc7g_16xlarge: \"hpc7g.16xlarge\",\n hpc7g_4xlarge: \"hpc7g.4xlarge\",\n hpc7g_8xlarge: \"hpc7g.8xlarge\",\n hs1_8xlarge: \"hs1.8xlarge\",\n i2_2xlarge: \"i2.2xlarge\",\n i2_4xlarge: \"i2.4xlarge\",\n i2_8xlarge: \"i2.8xlarge\",\n i2_xlarge: \"i2.xlarge\",\n i3_16xlarge: \"i3.16xlarge\",\n i3_2xlarge: \"i3.2xlarge\",\n i3_4xlarge: \"i3.4xlarge\",\n i3_8xlarge: \"i3.8xlarge\",\n i3_large: \"i3.large\",\n i3_metal: \"i3.metal\",\n i3_xlarge: \"i3.xlarge\",\n i3en_12xlarge: \"i3en.12xlarge\",\n i3en_24xlarge: \"i3en.24xlarge\",\n i3en_2xlarge: \"i3en.2xlarge\",\n i3en_3xlarge: \"i3en.3xlarge\",\n i3en_6xlarge: \"i3en.6xlarge\",\n i3en_large: \"i3en.large\",\n i3en_metal: \"i3en.metal\",\n i3en_xlarge: \"i3en.xlarge\",\n i4g_16xlarge: \"i4g.16xlarge\",\n i4g_2xlarge: \"i4g.2xlarge\",\n i4g_4xlarge: \"i4g.4xlarge\",\n i4g_8xlarge: \"i4g.8xlarge\",\n i4g_large: \"i4g.large\",\n i4g_xlarge: \"i4g.xlarge\",\n i4i_12xlarge: \"i4i.12xlarge\",\n i4i_16xlarge: \"i4i.16xlarge\",\n i4i_24xlarge: \"i4i.24xlarge\",\n i4i_2xlarge: \"i4i.2xlarge\",\n i4i_32xlarge: \"i4i.32xlarge\",\n i4i_4xlarge: \"i4i.4xlarge\",\n i4i_8xlarge: \"i4i.8xlarge\",\n i4i_large: \"i4i.large\",\n i4i_metal: \"i4i.metal\",\n i4i_xlarge: \"i4i.xlarge\",\n i7ie_12xlarge: \"i7ie.12xlarge\",\n i7ie_18xlarge: \"i7ie.18xlarge\",\n i7ie_24xlarge: \"i7ie.24xlarge\",\n i7ie_2xlarge: \"i7ie.2xlarge\",\n i7ie_3xlarge: \"i7ie.3xlarge\",\n i7ie_48xlarge: \"i7ie.48xlarge\",\n i7ie_6xlarge: \"i7ie.6xlarge\",\n i7ie_large: \"i7ie.large\",\n i7ie_xlarge: \"i7ie.xlarge\",\n i8g_12xlarge: \"i8g.12xlarge\",\n i8g_16xlarge: \"i8g.16xlarge\",\n i8g_24xlarge: \"i8g.24xlarge\",\n i8g_2xlarge: \"i8g.2xlarge\",\n i8g_4xlarge: \"i8g.4xlarge\",\n i8g_8xlarge: \"i8g.8xlarge\",\n i8g_large: \"i8g.large\",\n i8g_metal_24xl: \"i8g.metal-24xl\",\n i8g_xlarge: \"i8g.xlarge\",\n im4gn_16xlarge: \"im4gn.16xlarge\",\n im4gn_2xlarge: \"im4gn.2xlarge\",\n im4gn_4xlarge: \"im4gn.4xlarge\",\n im4gn_8xlarge: \"im4gn.8xlarge\",\n im4gn_large: \"im4gn.large\",\n im4gn_xlarge: \"im4gn.xlarge\",\n inf1_24xlarge: \"inf1.24xlarge\",\n inf1_2xlarge: \"inf1.2xlarge\",\n inf1_6xlarge: \"inf1.6xlarge\",\n inf1_xlarge: \"inf1.xlarge\",\n inf2_24xlarge: \"inf2.24xlarge\",\n inf2_48xlarge: \"inf2.48xlarge\",\n inf2_8xlarge: \"inf2.8xlarge\",\n inf2_xlarge: \"inf2.xlarge\",\n is4gen_2xlarge: \"is4gen.2xlarge\",\n is4gen_4xlarge: \"is4gen.4xlarge\",\n is4gen_8xlarge: \"is4gen.8xlarge\",\n is4gen_large: \"is4gen.large\",\n is4gen_medium: \"is4gen.medium\",\n is4gen_xlarge: \"is4gen.xlarge\",\n m1_large: \"m1.large\",\n m1_medium: \"m1.medium\",\n m1_small: \"m1.small\",\n m1_xlarge: \"m1.xlarge\",\n m2_2xlarge: \"m2.2xlarge\",\n m2_4xlarge: \"m2.4xlarge\",\n m2_xlarge: \"m2.xlarge\",\n m3_2xlarge: \"m3.2xlarge\",\n m3_large: \"m3.large\",\n m3_medium: \"m3.medium\",\n m3_xlarge: \"m3.xlarge\",\n m4_10xlarge: \"m4.10xlarge\",\n m4_16xlarge: \"m4.16xlarge\",\n m4_2xlarge: \"m4.2xlarge\",\n m4_4xlarge: \"m4.4xlarge\",\n m4_large: \"m4.large\",\n m4_xlarge: \"m4.xlarge\",\n m5_12xlarge: \"m5.12xlarge\",\n m5_16xlarge: \"m5.16xlarge\",\n m5_24xlarge: \"m5.24xlarge\",\n m5_2xlarge: \"m5.2xlarge\",\n m5_4xlarge: \"m5.4xlarge\",\n m5_8xlarge: \"m5.8xlarge\",\n m5_large: \"m5.large\",\n m5_metal: \"m5.metal\",\n m5_xlarge: \"m5.xlarge\",\n m5a_12xlarge: \"m5a.12xlarge\",\n m5a_16xlarge: \"m5a.16xlarge\",\n m5a_24xlarge: \"m5a.24xlarge\",\n m5a_2xlarge: \"m5a.2xlarge\",\n m5a_4xlarge: \"m5a.4xlarge\",\n m5a_8xlarge: \"m5a.8xlarge\",\n m5a_large: \"m5a.large\",\n m5a_xlarge: \"m5a.xlarge\",\n m5ad_12xlarge: \"m5ad.12xlarge\",\n m5ad_16xlarge: \"m5ad.16xlarge\",\n m5ad_24xlarge: \"m5ad.24xlarge\",\n m5ad_2xlarge: \"m5ad.2xlarge\",\n m5ad_4xlarge: \"m5ad.4xlarge\",\n m5ad_8xlarge: \"m5ad.8xlarge\",\n m5ad_large: \"m5ad.large\",\n m5ad_xlarge: \"m5ad.xlarge\",\n m5d_12xlarge: \"m5d.12xlarge\",\n m5d_16xlarge: \"m5d.16xlarge\",\n m5d_24xlarge: \"m5d.24xlarge\",\n m5d_2xlarge: \"m5d.2xlarge\",\n m5d_4xlarge: \"m5d.4xlarge\",\n m5d_8xlarge: \"m5d.8xlarge\",\n m5d_large: \"m5d.large\",\n m5d_metal: \"m5d.metal\",\n m5d_xlarge: \"m5d.xlarge\",\n m5dn_12xlarge: \"m5dn.12xlarge\",\n m5dn_16xlarge: \"m5dn.16xlarge\",\n m5dn_24xlarge: \"m5dn.24xlarge\",\n m5dn_2xlarge: \"m5dn.2xlarge\",\n m5dn_4xlarge: \"m5dn.4xlarge\",\n m5dn_8xlarge: \"m5dn.8xlarge\",\n m5dn_large: \"m5dn.large\",\n m5dn_metal: \"m5dn.metal\",\n m5dn_xlarge: \"m5dn.xlarge\",\n m5n_12xlarge: \"m5n.12xlarge\",\n m5n_16xlarge: \"m5n.16xlarge\",\n m5n_24xlarge: \"m5n.24xlarge\",\n m5n_2xlarge: \"m5n.2xlarge\",\n m5n_4xlarge: \"m5n.4xlarge\",\n m5n_8xlarge: \"m5n.8xlarge\",\n m5n_large: \"m5n.large\",\n m5n_metal: \"m5n.metal\",\n m5n_xlarge: \"m5n.xlarge\",\n m5zn_12xlarge: \"m5zn.12xlarge\",\n m5zn_2xlarge: \"m5zn.2xlarge\",\n m5zn_3xlarge: \"m5zn.3xlarge\",\n m5zn_6xlarge: \"m5zn.6xlarge\",\n m5zn_large: \"m5zn.large\",\n m5zn_metal: \"m5zn.metal\",\n m5zn_xlarge: \"m5zn.xlarge\",\n m6a_12xlarge: \"m6a.12xlarge\",\n m6a_16xlarge: \"m6a.16xlarge\",\n m6a_24xlarge: \"m6a.24xlarge\",\n m6a_2xlarge: \"m6a.2xlarge\",\n m6a_32xlarge: \"m6a.32xlarge\",\n m6a_48xlarge: \"m6a.48xlarge\",\n m6a_4xlarge: \"m6a.4xlarge\",\n m6a_8xlarge: \"m6a.8xlarge\",\n m6a_large: \"m6a.large\",\n m6a_metal: \"m6a.metal\",\n m6a_xlarge: \"m6a.xlarge\",\n m6g_12xlarge: \"m6g.12xlarge\",\n m6g_16xlarge: \"m6g.16xlarge\",\n m6g_2xlarge: \"m6g.2xlarge\",\n m6g_4xlarge: \"m6g.4xlarge\",\n m6g_8xlarge: \"m6g.8xlarge\",\n m6g_large: \"m6g.large\",\n m6g_medium: \"m6g.medium\",\n m6g_metal: \"m6g.metal\",\n m6g_xlarge: \"m6g.xlarge\",\n m6gd_12xlarge: \"m6gd.12xlarge\",\n m6gd_16xlarge: \"m6gd.16xlarge\",\n m6gd_2xlarge: \"m6gd.2xlarge\",\n m6gd_4xlarge: \"m6gd.4xlarge\",\n m6gd_8xlarge: \"m6gd.8xlarge\",\n m6gd_large: \"m6gd.large\",\n m6gd_medium: \"m6gd.medium\",\n m6gd_metal: \"m6gd.metal\",\n m6gd_xlarge: \"m6gd.xlarge\",\n m6i_12xlarge: \"m6i.12xlarge\",\n m6i_16xlarge: \"m6i.16xlarge\",\n m6i_24xlarge: \"m6i.24xlarge\",\n m6i_2xlarge: \"m6i.2xlarge\",\n m6i_32xlarge: \"m6i.32xlarge\",\n m6i_4xlarge: \"m6i.4xlarge\",\n m6i_8xlarge: \"m6i.8xlarge\",\n m6i_large: \"m6i.large\",\n m6i_metal: \"m6i.metal\",\n m6i_xlarge: \"m6i.xlarge\",\n m6id_12xlarge: \"m6id.12xlarge\",\n m6id_16xlarge: \"m6id.16xlarge\",\n m6id_24xlarge: \"m6id.24xlarge\",\n m6id_2xlarge: \"m6id.2xlarge\",\n m6id_32xlarge: \"m6id.32xlarge\",\n m6id_4xlarge: \"m6id.4xlarge\",\n m6id_8xlarge: \"m6id.8xlarge\",\n m6id_large: \"m6id.large\",\n m6id_metal: \"m6id.metal\",\n m6id_xlarge: \"m6id.xlarge\",\n m6idn_12xlarge: \"m6idn.12xlarge\",\n m6idn_16xlarge: \"m6idn.16xlarge\",\n m6idn_24xlarge: \"m6idn.24xlarge\",\n m6idn_2xlarge: \"m6idn.2xlarge\",\n m6idn_32xlarge: \"m6idn.32xlarge\",\n m6idn_4xlarge: \"m6idn.4xlarge\",\n m6idn_8xlarge: \"m6idn.8xlarge\",\n m6idn_large: \"m6idn.large\",\n m6idn_metal: \"m6idn.metal\",\n m6idn_xlarge: \"m6idn.xlarge\",\n m6in_12xlarge: \"m6in.12xlarge\",\n m6in_16xlarge: \"m6in.16xlarge\",\n m6in_24xlarge: \"m6in.24xlarge\",\n m6in_2xlarge: \"m6in.2xlarge\",\n m6in_32xlarge: \"m6in.32xlarge\",\n m6in_4xlarge: \"m6in.4xlarge\",\n m6in_8xlarge: \"m6in.8xlarge\",\n m6in_large: \"m6in.large\",\n m6in_metal: \"m6in.metal\",\n m6in_xlarge: \"m6in.xlarge\",\n m7a_12xlarge: \"m7a.12xlarge\",\n m7a_16xlarge: \"m7a.16xlarge\",\n m7a_24xlarge: \"m7a.24xlarge\",\n m7a_2xlarge: \"m7a.2xlarge\",\n m7a_32xlarge: \"m7a.32xlarge\",\n m7a_48xlarge: \"m7a.48xlarge\",\n m7a_4xlarge: \"m7a.4xlarge\",\n m7a_8xlarge: \"m7a.8xlarge\",\n m7a_large: \"m7a.large\",\n m7a_medium: \"m7a.medium\",\n m7a_metal_48xl: \"m7a.metal-48xl\",\n m7a_xlarge: \"m7a.xlarge\",\n m7g_12xlarge: \"m7g.12xlarge\",\n m7g_16xlarge: \"m7g.16xlarge\",\n m7g_2xlarge: \"m7g.2xlarge\",\n m7g_4xlarge: \"m7g.4xlarge\",\n m7g_8xlarge: \"m7g.8xlarge\",\n m7g_large: \"m7g.large\",\n m7g_medium: \"m7g.medium\",\n m7g_metal: \"m7g.metal\",\n m7g_xlarge: \"m7g.xlarge\",\n m7gd_12xlarge: \"m7gd.12xlarge\",\n m7gd_16xlarge: \"m7gd.16xlarge\",\n m7gd_2xlarge: \"m7gd.2xlarge\",\n m7gd_4xlarge: \"m7gd.4xlarge\",\n m7gd_8xlarge: \"m7gd.8xlarge\",\n m7gd_large: \"m7gd.large\",\n m7gd_medium: \"m7gd.medium\",\n m7gd_metal: \"m7gd.metal\",\n m7gd_xlarge: \"m7gd.xlarge\",\n m7i_12xlarge: \"m7i.12xlarge\",\n m7i_16xlarge: \"m7i.16xlarge\",\n m7i_24xlarge: \"m7i.24xlarge\",\n m7i_2xlarge: \"m7i.2xlarge\",\n m7i_48xlarge: \"m7i.48xlarge\",\n m7i_4xlarge: \"m7i.4xlarge\",\n m7i_8xlarge: \"m7i.8xlarge\",\n m7i_flex_2xlarge: \"m7i-flex.2xlarge\",\n m7i_flex_4xlarge: \"m7i-flex.4xlarge\",\n m7i_flex_8xlarge: \"m7i-flex.8xlarge\",\n m7i_flex_large: \"m7i-flex.large\",\n m7i_flex_xlarge: \"m7i-flex.xlarge\",\n m7i_large: \"m7i.large\",\n m7i_metal_24xl: \"m7i.metal-24xl\",\n m7i_metal_48xl: \"m7i.metal-48xl\",\n m7i_xlarge: \"m7i.xlarge\",\n m8g_12xlarge: \"m8g.12xlarge\",\n m8g_16xlarge: \"m8g.16xlarge\",\n m8g_24xlarge: \"m8g.24xlarge\",\n m8g_2xlarge: \"m8g.2xlarge\",\n m8g_48xlarge: \"m8g.48xlarge\",\n m8g_4xlarge: \"m8g.4xlarge\",\n m8g_8xlarge: \"m8g.8xlarge\",\n m8g_large: \"m8g.large\",\n m8g_medium: \"m8g.medium\",\n m8g_metal_24xl: \"m8g.metal-24xl\",\n m8g_metal_48xl: \"m8g.metal-48xl\",\n m8g_xlarge: \"m8g.xlarge\",\n mac1_metal: \"mac1.metal\",\n mac2_m1ultra_metal: \"mac2-m1ultra.metal\",\n mac2_m2_metal: \"mac2-m2.metal\",\n mac2_m2pro_metal: \"mac2-m2pro.metal\",\n mac2_metal: \"mac2.metal\",\n p2_16xlarge: \"p2.16xlarge\",\n p2_8xlarge: \"p2.8xlarge\",\n p2_xlarge: \"p2.xlarge\",\n p3_16xlarge: \"p3.16xlarge\",\n p3_2xlarge: \"p3.2xlarge\",\n p3_8xlarge: \"p3.8xlarge\",\n p3dn_24xlarge: \"p3dn.24xlarge\",\n p4d_24xlarge: \"p4d.24xlarge\",\n p4de_24xlarge: \"p4de.24xlarge\",\n p5_48xlarge: \"p5.48xlarge\",\n p5e_48xlarge: \"p5e.48xlarge\",\n p5en_48xlarge: \"p5en.48xlarge\",\n r3_2xlarge: \"r3.2xlarge\",\n r3_4xlarge: \"r3.4xlarge\",\n r3_8xlarge: \"r3.8xlarge\",\n r3_large: \"r3.large\",\n r3_xlarge: \"r3.xlarge\",\n r4_16xlarge: \"r4.16xlarge\",\n r4_2xlarge: \"r4.2xlarge\",\n r4_4xlarge: \"r4.4xlarge\",\n r4_8xlarge: \"r4.8xlarge\",\n r4_large: \"r4.large\",\n r4_xlarge: \"r4.xlarge\",\n r5_12xlarge: \"r5.12xlarge\",\n r5_16xlarge: \"r5.16xlarge\",\n r5_24xlarge: \"r5.24xlarge\",\n r5_2xlarge: \"r5.2xlarge\",\n r5_4xlarge: \"r5.4xlarge\",\n r5_8xlarge: \"r5.8xlarge\",\n r5_large: \"r5.large\",\n r5_metal: \"r5.metal\",\n r5_xlarge: \"r5.xlarge\",\n r5a_12xlarge: \"r5a.12xlarge\",\n r5a_16xlarge: \"r5a.16xlarge\",\n r5a_24xlarge: \"r5a.24xlarge\",\n r5a_2xlarge: \"r5a.2xlarge\",\n r5a_4xlarge: \"r5a.4xlarge\",\n r5a_8xlarge: \"r5a.8xlarge\",\n r5a_large: \"r5a.large\",\n r5a_xlarge: \"r5a.xlarge\",\n r5ad_12xlarge: \"r5ad.12xlarge\",\n r5ad_16xlarge: \"r5ad.16xlarge\",\n r5ad_24xlarge: \"r5ad.24xlarge\",\n r5ad_2xlarge: \"r5ad.2xlarge\",\n r5ad_4xlarge: \"r5ad.4xlarge\",\n r5ad_8xlarge: \"r5ad.8xlarge\",\n r5ad_large: \"r5ad.large\",\n r5ad_xlarge: \"r5ad.xlarge\",\n r5b_12xlarge: \"r5b.12xlarge\",\n r5b_16xlarge: \"r5b.16xlarge\",\n r5b_24xlarge: \"r5b.24xlarge\",\n r5b_2xlarge: \"r5b.2xlarge\",\n r5b_4xlarge: \"r5b.4xlarge\",\n r5b_8xlarge: \"r5b.8xlarge\",\n r5b_large: \"r5b.large\",\n r5b_metal: \"r5b.metal\",\n r5b_xlarge: \"r5b.xlarge\",\n r5d_12xlarge: \"r5d.12xlarge\",\n r5d_16xlarge: \"r5d.16xlarge\",\n r5d_24xlarge: \"r5d.24xlarge\",\n r5d_2xlarge: \"r5d.2xlarge\",\n r5d_4xlarge: \"r5d.4xlarge\",\n r5d_8xlarge: \"r5d.8xlarge\",\n r5d_large: \"r5d.large\",\n r5d_metal: \"r5d.metal\",\n r5d_xlarge: \"r5d.xlarge\",\n r5dn_12xlarge: \"r5dn.12xlarge\",\n r5dn_16xlarge: \"r5dn.16xlarge\",\n r5dn_24xlarge: \"r5dn.24xlarge\",\n r5dn_2xlarge: \"r5dn.2xlarge\",\n r5dn_4xlarge: \"r5dn.4xlarge\",\n r5dn_8xlarge: \"r5dn.8xlarge\",\n r5dn_large: \"r5dn.large\",\n r5dn_metal: \"r5dn.metal\",\n r5dn_xlarge: \"r5dn.xlarge\",\n r5n_12xlarge: \"r5n.12xlarge\",\n r5n_16xlarge: \"r5n.16xlarge\",\n r5n_24xlarge: \"r5n.24xlarge\",\n r5n_2xlarge: \"r5n.2xlarge\",\n r5n_4xlarge: \"r5n.4xlarge\",\n r5n_8xlarge: \"r5n.8xlarge\",\n r5n_large: \"r5n.large\",\n r5n_metal: \"r5n.metal\",\n r5n_xlarge: \"r5n.xlarge\",\n r6a_12xlarge: \"r6a.12xlarge\",\n r6a_16xlarge: \"r6a.16xlarge\",\n r6a_24xlarge: \"r6a.24xlarge\",\n r6a_2xlarge: \"r6a.2xlarge\",\n r6a_32xlarge: \"r6a.32xlarge\",\n r6a_48xlarge: \"r6a.48xlarge\",\n r6a_4xlarge: \"r6a.4xlarge\",\n r6a_8xlarge: \"r6a.8xlarge\",\n r6a_large: \"r6a.large\",\n r6a_metal: \"r6a.metal\",\n r6a_xlarge: \"r6a.xlarge\",\n r6g_12xlarge: \"r6g.12xlarge\",\n r6g_16xlarge: \"r6g.16xlarge\",\n r6g_2xlarge: \"r6g.2xlarge\",\n r6g_4xlarge: \"r6g.4xlarge\",\n r6g_8xlarge: \"r6g.8xlarge\",\n r6g_large: \"r6g.large\",\n r6g_medium: \"r6g.medium\",\n r6g_metal: \"r6g.metal\",\n r6g_xlarge: \"r6g.xlarge\",\n r6gd_12xlarge: \"r6gd.12xlarge\",\n r6gd_16xlarge: \"r6gd.16xlarge\",\n r6gd_2xlarge: \"r6gd.2xlarge\",\n r6gd_4xlarge: \"r6gd.4xlarge\",\n r6gd_8xlarge: \"r6gd.8xlarge\",\n r6gd_large: \"r6gd.large\",\n r6gd_medium: \"r6gd.medium\",\n r6gd_metal: \"r6gd.metal\",\n r6gd_xlarge: \"r6gd.xlarge\",\n r6i_12xlarge: \"r6i.12xlarge\",\n r6i_16xlarge: \"r6i.16xlarge\",\n r6i_24xlarge: \"r6i.24xlarge\",\n r6i_2xlarge: \"r6i.2xlarge\",\n r6i_32xlarge: \"r6i.32xlarge\",\n r6i_4xlarge: \"r6i.4xlarge\",\n r6i_8xlarge: \"r6i.8xlarge\",\n r6i_large: \"r6i.large\",\n r6i_metal: \"r6i.metal\",\n r6i_xlarge: \"r6i.xlarge\",\n r6id_12xlarge: \"r6id.12xlarge\",\n r6id_16xlarge: \"r6id.16xlarge\",\n r6id_24xlarge: \"r6id.24xlarge\",\n r6id_2xlarge: \"r6id.2xlarge\",\n r6id_32xlarge: \"r6id.32xlarge\",\n r6id_4xlarge: \"r6id.4xlarge\",\n r6id_8xlarge: \"r6id.8xlarge\",\n r6id_large: \"r6id.large\",\n r6id_metal: \"r6id.metal\",\n r6id_xlarge: \"r6id.xlarge\",\n r6idn_12xlarge: \"r6idn.12xlarge\",\n r6idn_16xlarge: \"r6idn.16xlarge\",\n r6idn_24xlarge: \"r6idn.24xlarge\",\n r6idn_2xlarge: \"r6idn.2xlarge\",\n r6idn_32xlarge: \"r6idn.32xlarge\",\n r6idn_4xlarge: \"r6idn.4xlarge\",\n r6idn_8xlarge: \"r6idn.8xlarge\",\n r6idn_large: \"r6idn.large\",\n r6idn_metal: \"r6idn.metal\",\n r6idn_xlarge: \"r6idn.xlarge\",\n r6in_12xlarge: \"r6in.12xlarge\",\n r6in_16xlarge: \"r6in.16xlarge\",\n r6in_24xlarge: \"r6in.24xlarge\",\n r6in_2xlarge: \"r6in.2xlarge\",\n r6in_32xlarge: \"r6in.32xlarge\",\n r6in_4xlarge: \"r6in.4xlarge\",\n r6in_8xlarge: \"r6in.8xlarge\",\n r6in_large: \"r6in.large\",\n r6in_metal: \"r6in.metal\",\n r6in_xlarge: \"r6in.xlarge\",\n r7a_12xlarge: \"r7a.12xlarge\",\n r7a_16xlarge: \"r7a.16xlarge\",\n r7a_24xlarge: \"r7a.24xlarge\",\n r7a_2xlarge: \"r7a.2xlarge\",\n r7a_32xlarge: \"r7a.32xlarge\",\n r7a_48xlarge: \"r7a.48xlarge\",\n r7a_4xlarge: \"r7a.4xlarge\",\n r7a_8xlarge: \"r7a.8xlarge\",\n r7a_large: \"r7a.large\",\n r7a_medium: \"r7a.medium\",\n r7a_metal_48xl: \"r7a.metal-48xl\",\n r7a_xlarge: \"r7a.xlarge\",\n r7g_12xlarge: \"r7g.12xlarge\",\n r7g_16xlarge: \"r7g.16xlarge\",\n r7g_2xlarge: \"r7g.2xlarge\",\n r7g_4xlarge: \"r7g.4xlarge\",\n r7g_8xlarge: \"r7g.8xlarge\",\n r7g_large: \"r7g.large\",\n r7g_medium: \"r7g.medium\",\n r7g_metal: \"r7g.metal\",\n r7g_xlarge: \"r7g.xlarge\",\n r7gd_12xlarge: \"r7gd.12xlarge\",\n r7gd_16xlarge: \"r7gd.16xlarge\",\n r7gd_2xlarge: \"r7gd.2xlarge\",\n r7gd_4xlarge: \"r7gd.4xlarge\",\n r7gd_8xlarge: \"r7gd.8xlarge\",\n r7gd_large: \"r7gd.large\",\n r7gd_medium: \"r7gd.medium\",\n r7gd_metal: \"r7gd.metal\",\n r7gd_xlarge: \"r7gd.xlarge\",\n r7i_12xlarge: \"r7i.12xlarge\",\n r7i_16xlarge: \"r7i.16xlarge\",\n r7i_24xlarge: \"r7i.24xlarge\",\n r7i_2xlarge: \"r7i.2xlarge\",\n r7i_48xlarge: \"r7i.48xlarge\",\n r7i_4xlarge: \"r7i.4xlarge\",\n r7i_8xlarge: \"r7i.8xlarge\",\n r7i_large: \"r7i.large\",\n r7i_metal_24xl: \"r7i.metal-24xl\",\n r7i_metal_48xl: \"r7i.metal-48xl\",\n r7i_xlarge: \"r7i.xlarge\",\n r7iz_12xlarge: \"r7iz.12xlarge\",\n r7iz_16xlarge: \"r7iz.16xlarge\",\n r7iz_2xlarge: \"r7iz.2xlarge\",\n r7iz_32xlarge: \"r7iz.32xlarge\",\n r7iz_4xlarge: \"r7iz.4xlarge\",\n r7iz_8xlarge: \"r7iz.8xlarge\",\n r7iz_large: \"r7iz.large\",\n r7iz_metal_16xl: \"r7iz.metal-16xl\",\n r7iz_metal_32xl: \"r7iz.metal-32xl\",\n r7iz_xlarge: \"r7iz.xlarge\",\n r8g_12xlarge: \"r8g.12xlarge\",\n r8g_16xlarge: \"r8g.16xlarge\",\n r8g_24xlarge: \"r8g.24xlarge\",\n r8g_2xlarge: \"r8g.2xlarge\",\n r8g_48xlarge: \"r8g.48xlarge\",\n r8g_4xlarge: \"r8g.4xlarge\",\n r8g_8xlarge: \"r8g.8xlarge\",\n r8g_large: \"r8g.large\",\n r8g_medium: \"r8g.medium\",\n r8g_metal_24xl: \"r8g.metal-24xl\",\n r8g_metal_48xl: \"r8g.metal-48xl\",\n r8g_xlarge: \"r8g.xlarge\",\n t1_micro: \"t1.micro\",\n t2_2xlarge: \"t2.2xlarge\",\n t2_large: \"t2.large\",\n t2_medium: \"t2.medium\",\n t2_micro: \"t2.micro\",\n t2_nano: \"t2.nano\",\n t2_small: \"t2.small\",\n t2_xlarge: \"t2.xlarge\",\n t3_2xlarge: \"t3.2xlarge\",\n t3_large: \"t3.large\",\n t3_medium: \"t3.medium\",\n t3_micro: \"t3.micro\",\n t3_nano: \"t3.nano\",\n t3_small: \"t3.small\",\n t3_xlarge: \"t3.xlarge\",\n t3a_2xlarge: \"t3a.2xlarge\",\n t3a_large: \"t3a.large\",\n t3a_medium: \"t3a.medium\",\n t3a_micro: \"t3a.micro\",\n t3a_nano: \"t3a.nano\",\n t3a_small: \"t3a.small\",\n t3a_xlarge: \"t3a.xlarge\",\n t4g_2xlarge: \"t4g.2xlarge\",\n t4g_large: \"t4g.large\",\n t4g_medium: \"t4g.medium\",\n t4g_micro: \"t4g.micro\",\n t4g_nano: \"t4g.nano\",\n t4g_small: \"t4g.small\",\n t4g_xlarge: \"t4g.xlarge\",\n trn1_2xlarge: \"trn1.2xlarge\",\n trn1_32xlarge: \"trn1.32xlarge\",\n trn1n_32xlarge: \"trn1n.32xlarge\",\n trn2_48xlarge: \"trn2.48xlarge\",\n u7i_12tb_224xlarge: \"u7i-12tb.224xlarge\",\n u7i_6tb_112xlarge: \"u7i-6tb.112xlarge\",\n u7i_8tb_112xlarge: \"u7i-8tb.112xlarge\",\n u7ib_12tb_224xlarge: \"u7ib-12tb.224xlarge\",\n u7in_16tb_224xlarge: \"u7in-16tb.224xlarge\",\n u7in_24tb_224xlarge: \"u7in-24tb.224xlarge\",\n u7in_32tb_224xlarge: \"u7in-32tb.224xlarge\",\n u7inh_32tb_480xlarge: \"u7inh-32tb.480xlarge\",\n u_12tb1_112xlarge: \"u-12tb1.112xlarge\",\n u_12tb1_metal: \"u-12tb1.metal\",\n u_18tb1_112xlarge: \"u-18tb1.112xlarge\",\n u_18tb1_metal: \"u-18tb1.metal\",\n u_24tb1_112xlarge: \"u-24tb1.112xlarge\",\n u_24tb1_metal: \"u-24tb1.metal\",\n u_3tb1_56xlarge: \"u-3tb1.56xlarge\",\n u_6tb1_112xlarge: \"u-6tb1.112xlarge\",\n u_6tb1_56xlarge: \"u-6tb1.56xlarge\",\n u_6tb1_metal: \"u-6tb1.metal\",\n u_9tb1_112xlarge: \"u-9tb1.112xlarge\",\n u_9tb1_metal: \"u-9tb1.metal\",\n vt1_24xlarge: \"vt1.24xlarge\",\n vt1_3xlarge: \"vt1.3xlarge\",\n vt1_6xlarge: \"vt1.6xlarge\",\n x1_16xlarge: \"x1.16xlarge\",\n x1_32xlarge: \"x1.32xlarge\",\n x1e_16xlarge: \"x1e.16xlarge\",\n x1e_2xlarge: \"x1e.2xlarge\",\n x1e_32xlarge: \"x1e.32xlarge\",\n x1e_4xlarge: \"x1e.4xlarge\",\n x1e_8xlarge: \"x1e.8xlarge\",\n x1e_xlarge: \"x1e.xlarge\",\n x2gd_12xlarge: \"x2gd.12xlarge\",\n x2gd_16xlarge: \"x2gd.16xlarge\",\n x2gd_2xlarge: \"x2gd.2xlarge\",\n x2gd_4xlarge: \"x2gd.4xlarge\",\n x2gd_8xlarge: \"x2gd.8xlarge\",\n x2gd_large: \"x2gd.large\",\n x2gd_medium: \"x2gd.medium\",\n x2gd_metal: \"x2gd.metal\",\n x2gd_xlarge: \"x2gd.xlarge\",\n x2idn_16xlarge: \"x2idn.16xlarge\",\n x2idn_24xlarge: \"x2idn.24xlarge\",\n x2idn_32xlarge: \"x2idn.32xlarge\",\n x2idn_metal: \"x2idn.metal\",\n x2iedn_16xlarge: \"x2iedn.16xlarge\",\n x2iedn_24xlarge: \"x2iedn.24xlarge\",\n x2iedn_2xlarge: \"x2iedn.2xlarge\",\n x2iedn_32xlarge: \"x2iedn.32xlarge\",\n x2iedn_4xlarge: \"x2iedn.4xlarge\",\n x2iedn_8xlarge: \"x2iedn.8xlarge\",\n x2iedn_metal: \"x2iedn.metal\",\n x2iedn_xlarge: \"x2iedn.xlarge\",\n x2iezn_12xlarge: \"x2iezn.12xlarge\",\n x2iezn_2xlarge: \"x2iezn.2xlarge\",\n x2iezn_4xlarge: \"x2iezn.4xlarge\",\n x2iezn_6xlarge: \"x2iezn.6xlarge\",\n x2iezn_8xlarge: \"x2iezn.8xlarge\",\n x2iezn_metal: \"x2iezn.metal\",\n x8g_12xlarge: \"x8g.12xlarge\",\n x8g_16xlarge: \"x8g.16xlarge\",\n x8g_24xlarge: \"x8g.24xlarge\",\n x8g_2xlarge: \"x8g.2xlarge\",\n x8g_48xlarge: \"x8g.48xlarge\",\n x8g_4xlarge: \"x8g.4xlarge\",\n x8g_8xlarge: \"x8g.8xlarge\",\n x8g_large: \"x8g.large\",\n x8g_medium: \"x8g.medium\",\n x8g_metal_24xl: \"x8g.metal-24xl\",\n x8g_metal_48xl: \"x8g.metal-48xl\",\n x8g_xlarge: \"x8g.xlarge\",\n z1d_12xlarge: \"z1d.12xlarge\",\n z1d_2xlarge: \"z1d.2xlarge\",\n z1d_3xlarge: \"z1d.3xlarge\",\n z1d_6xlarge: \"z1d.6xlarge\",\n z1d_large: \"z1d.large\",\n z1d_metal: \"z1d.metal\",\n z1d_xlarge: \"z1d.xlarge\"\n};\nvar FleetCapacityReservationTenancy = {\n default: \"default\"\n};\nvar CarrierGatewayState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar ClientVpnAuthenticationType = {\n certificate_authentication: \"certificate-authentication\",\n directory_service_authentication: \"directory-service-authentication\",\n federated_authentication: \"federated-authentication\"\n};\nvar SelfServicePortal = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar TransportProtocol = {\n tcp: \"tcp\",\n udp: \"udp\"\n};\nvar ClientVpnEndpointStatusCode = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending_associate: \"pending-associate\"\n};\nvar ClientVpnRouteStatusCode = {\n active: \"active\",\n creating: \"creating\",\n deleting: \"deleting\",\n failed: \"failed\"\n};\nvar GatewayType = {\n ipsec_1: \"ipsec.1\"\n};\nvar BlockPublicAccessMode = {\n block_bidirectional: \"block-bidirectional\",\n block_ingress: \"block-ingress\",\n off: \"off\"\n};\nvar HostnameType = {\n ip_name: \"ip-name\",\n resource_name: \"resource-name\"\n};\nvar SubnetState = {\n available: \"available\",\n pending: \"pending\",\n unavailable: \"unavailable\"\n};\nvar VpcEncryptionControlMode = {\n enforce: \"enforce\",\n monitor: \"monitor\"\n};\nvar VpcEncryptionControlExclusionState = {\n disabled: \"disabled\",\n disabling: \"disabling\",\n enabled: \"enabled\",\n enabling: \"enabling\"\n};\nvar VpcEncryptionControlState = {\n available: \"available\",\n creating: \"creating\",\n delete_failed: \"delete-failed\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n enforce_failed: \"enforce-failed\",\n enforce_in_progress: \"enforce-in-progress\",\n monitor_failed: \"monitor-failed\",\n monitor_in_progress: \"monitor-in-progress\"\n};\nvar Tenancy = {\n dedicated: \"dedicated\",\n default: \"default\",\n host: \"host\"\n};\nvar VpcState = {\n available: \"available\",\n pending: \"pending\"\n};\nvar FleetExcessCapacityTerminationPolicy = {\n NO_TERMINATION: \"no-termination\",\n TERMINATION: \"termination\"\n};\nvar VolumeType = {\n gp2: \"gp2\",\n gp3: \"gp3\",\n io1: \"io1\",\n io2: \"io2\",\n sc1: \"sc1\",\n st1: \"st1\",\n standard: \"standard\"\n};\nvar BareMetal = {\n EXCLUDED: \"excluded\",\n INCLUDED: \"included\",\n REQUIRED: \"required\"\n};\nvar BurstablePerformance = {\n EXCLUDED: \"excluded\",\n INCLUDED: \"included\",\n REQUIRED: \"required\"\n};\nvar CpuManufacturer = {\n AMAZON_WEB_SERVICES: \"amazon-web-services\",\n AMD: \"amd\",\n APPLE: \"apple\",\n INTEL: \"intel\"\n};\nvar InstanceGeneration = {\n CURRENT: \"current\",\n PREVIOUS: \"previous\"\n};\nvar LocalStorage = {\n EXCLUDED: \"excluded\",\n INCLUDED: \"included\",\n REQUIRED: \"required\"\n};\nvar LocalStorageType = {\n HDD: \"hdd\",\n SSD: \"ssd\"\n};\nvar FleetOnDemandAllocationStrategy = {\n LOWEST_PRICE: \"lowest-price\",\n PRIORITIZED: \"prioritized\"\n};\nvar FleetCapacityReservationUsageStrategy = {\n USE_CAPACITY_RESERVATIONS_FIRST: \"use-capacity-reservations-first\"\n};\nvar SpotAllocationStrategy = {\n CAPACITY_OPTIMIZED: \"capacity-optimized\",\n CAPACITY_OPTIMIZED_PRIORITIZED: \"capacity-optimized-prioritized\",\n DIVERSIFIED: \"diversified\",\n LOWEST_PRICE: \"lowest-price\",\n PRICE_CAPACITY_OPTIMIZED: \"price-capacity-optimized\"\n};\nvar SpotInstanceInterruptionBehavior = {\n hibernate: \"hibernate\",\n stop: \"stop\",\n terminate: \"terminate\"\n};\nvar FleetReplacementStrategy = {\n LAUNCH: \"launch\",\n LAUNCH_BEFORE_TERMINATE: \"launch-before-terminate\"\n};\nvar DefaultTargetCapacityType = {\n CAPACITY_BLOCK: \"capacity-block\",\n ON_DEMAND: \"on-demand\",\n SPOT: \"spot\"\n};\nvar TargetCapacityUnitType = {\n MEMORY_MIB: \"memory-mib\",\n UNITS: \"units\",\n VCPU: \"vcpu\"\n};\nvar FleetType = {\n INSTANT: \"instant\",\n MAINTAIN: \"maintain\",\n REQUEST: \"request\"\n};\nvar InstanceLifecycle = {\n ON_DEMAND: \"on-demand\",\n SPOT: \"spot\"\n};\nvar PlatformValues = {\n Windows: \"Windows\"\n};\nvar DestinationFileFormat = {\n parquet: \"parquet\",\n plain_text: \"plain-text\"\n};\nvar LogDestinationType = {\n cloud_watch_logs: \"cloud-watch-logs\",\n kinesis_data_firehose: \"kinesis-data-firehose\",\n s3: \"s3\"\n};\nvar FlowLogsResourceType = {\n NetworkInterface: \"NetworkInterface\",\n Subnet: \"Subnet\",\n TransitGateway: \"TransitGateway\",\n TransitGatewayAttachment: \"TransitGatewayAttachment\",\n VPC: \"VPC\"\n};\nvar TrafficType = {\n ACCEPT: \"ACCEPT\",\n ALL: \"ALL\",\n REJECT: \"REJECT\"\n};\nvar Ec2InstanceConnectEndpointState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_failed: \"delete-failed\",\n delete_in_progress: \"delete-in-progress\"\n};\nvar ContainerFormat = {\n ova: \"ova\"\n};\nvar DiskImageFormat = {\n RAW: \"RAW\",\n VHD: \"VHD\",\n VMDK: \"VMDK\"\n};\nvar ExportEnvironment = {\n citrix: \"citrix\",\n microsoft: \"microsoft\",\n vmware: \"vmware\"\n};\nvar ExportTaskState = {\n active: \"active\",\n cancelled: \"cancelled\",\n cancelling: \"cancelling\",\n completed: \"completed\"\n};\nvar IpamMeteredAccount = {\n ipam_owner: \"ipam-owner\",\n resource_owner: \"resource-owner\"\n};\nvar IpamTier = {\n advanced: \"advanced\",\n free: \"free\"\n};\nvar IpamState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_failed: \"delete-failed\",\n delete_in_progress: \"delete-in-progress\",\n isolate_complete: \"isolate-complete\",\n isolate_in_progress: \"isolate-in-progress\",\n modify_complete: \"modify-complete\",\n modify_failed: \"modify-failed\",\n modify_in_progress: \"modify-in-progress\",\n restore_in_progress: \"restore-in-progress\"\n};\nvar IpamExternalResourceVerificationTokenState = {\n CREATE_COMPLETE: \"create-complete\",\n CREATE_FAILED: \"create-failed\",\n CREATE_IN_PROGRESS: \"create-in-progress\",\n DELETE_COMPLETE: \"delete-complete\",\n DELETE_FAILED: \"delete-failed\",\n DELETE_IN_PROGRESS: \"delete-in-progress\"\n};\nvar TokenState = {\n expired: \"expired\",\n valid: \"valid\"\n};\nvar IpamPoolAwsService = {\n ec2: \"ec2\"\n};\nvar IpamPoolPublicIpSource = {\n amazon: \"amazon\",\n byoip: \"byoip\"\n};\nvar IpamPoolSourceResourceType = {\n vpc: \"vpc\"\n};\nvar IpamScopeType = {\n private: \"private\",\n public: \"public\"\n};\nvar IpamPoolState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_failed: \"delete-failed\",\n delete_in_progress: \"delete-in-progress\",\n isolate_complete: \"isolate-complete\",\n isolate_in_progress: \"isolate-in-progress\",\n modify_complete: \"modify-complete\",\n modify_failed: \"modify-failed\",\n modify_in_progress: \"modify-in-progress\",\n restore_in_progress: \"restore-in-progress\"\n};\nvar IpamResourceDiscoveryState = {\n CREATE_COMPLETE: \"create-complete\",\n CREATE_FAILED: \"create-failed\",\n CREATE_IN_PROGRESS: \"create-in-progress\",\n DELETE_COMPLETE: \"delete-complete\",\n DELETE_FAILED: \"delete-failed\",\n DELETE_IN_PROGRESS: \"delete-in-progress\",\n ISOLATE_COMPLETE: \"isolate-complete\",\n ISOLATE_IN_PROGRESS: \"isolate-in-progress\",\n MODIFY_COMPLETE: \"modify-complete\",\n MODIFY_FAILED: \"modify-failed\",\n MODIFY_IN_PROGRESS: \"modify-in-progress\",\n RESTORE_IN_PROGRESS: \"restore-in-progress\"\n};\nvar IpamScopeState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_failed: \"delete-failed\",\n delete_in_progress: \"delete-in-progress\",\n isolate_complete: \"isolate-complete\",\n isolate_in_progress: \"isolate-in-progress\",\n modify_complete: \"modify-complete\",\n modify_failed: \"modify-failed\",\n modify_in_progress: \"modify-in-progress\",\n restore_in_progress: \"restore-in-progress\"\n};\nvar KeyFormat = {\n pem: \"pem\",\n ppk: \"ppk\"\n};\nvar KeyType = {\n ed25519: \"ed25519\",\n rsa: \"rsa\"\n};\nvar CapacityReservationPreference = {\n capacity_reservations_only: \"capacity-reservations-only\",\n none: \"none\",\n open: \"open\"\n};\nvar AmdSevSnpSpecification = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar ShutdownBehavior = {\n stop: \"stop\",\n terminate: \"terminate\"\n};\nvar MarketType = {\n capacity_block: \"capacity-block\",\n spot: \"spot\"\n};\nvar InstanceInterruptionBehavior = {\n hibernate: \"hibernate\",\n stop: \"stop\",\n terminate: \"terminate\"\n};\nvar SpotInstanceType = {\n one_time: \"one-time\",\n persistent: \"persistent\"\n};\nvar LaunchTemplateAutoRecoveryState = {\n default: \"default\",\n disabled: \"disabled\"\n};\nvar LaunchTemplateInstanceMetadataEndpointState = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar LaunchTemplateInstanceMetadataProtocolIpv6 = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar LaunchTemplateHttpTokensState = {\n optional: \"optional\",\n required: \"required\"\n};\nvar LaunchTemplateInstanceMetadataTagsState = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar InstanceBandwidthWeighting = {\n DEFAULT: \"default\",\n EBS_1: \"ebs-1\",\n VPC_1: \"vpc-1\"\n};\nvar LaunchTemplateInstanceMetadataOptionsState = {\n applied: \"applied\",\n pending: \"pending\"\n};\nvar CopySnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.PresignedUrl && { PresignedUrl: import_smithy_client.SENSITIVE_STRING }\n}), \"CopySnapshotRequestFilterSensitiveLog\");\nvar KeyPairFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.KeyMaterial && { KeyMaterial: import_smithy_client.SENSITIVE_STRING }\n}), \"KeyPairFilterSensitiveLog\");\nvar RequestLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"RequestLaunchTemplateDataFilterSensitiveLog\");\nvar CreateLaunchTemplateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateData && {\n LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)\n }\n}), \"CreateLaunchTemplateRequestFilterSensitiveLog\");\nvar CreateLaunchTemplateVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateData && {\n LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)\n }\n}), \"CreateLaunchTemplateVersionRequestFilterSensitiveLog\");\nvar ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"ResponseLaunchTemplateDataFilterSensitiveLog\");\n\n// src/commands/CopySnapshotCommand.ts\nvar CopySnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_ec2.getCopySnapshotPresignedUrlPlugin)(config)\n ];\n}).s(\"AmazonEC2\", \"CopySnapshot\", {}).n(\"EC2Client\", \"CopySnapshotCommand\").f(CopySnapshotRequestFilterSensitiveLog, void 0).ser(se_CopySnapshotCommand).de(de_CopySnapshotCommand).build() {\n static {\n __name(this, \"CopySnapshotCommand\");\n }\n};\n\n// src/commands/CreateCapacityReservationBySplittingCommand.ts\n\n\n\nvar CreateCapacityReservationBySplittingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCapacityReservationBySplitting\", {}).n(\"EC2Client\", \"CreateCapacityReservationBySplittingCommand\").f(void 0, void 0).ser(se_CreateCapacityReservationBySplittingCommand).de(de_CreateCapacityReservationBySplittingCommand).build() {\n static {\n __name(this, \"CreateCapacityReservationBySplittingCommand\");\n }\n};\n\n// src/commands/CreateCapacityReservationCommand.ts\n\n\n\nvar CreateCapacityReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCapacityReservation\", {}).n(\"EC2Client\", \"CreateCapacityReservationCommand\").f(void 0, void 0).ser(se_CreateCapacityReservationCommand).de(de_CreateCapacityReservationCommand).build() {\n static {\n __name(this, \"CreateCapacityReservationCommand\");\n }\n};\n\n// src/commands/CreateCapacityReservationFleetCommand.ts\n\n\n\nvar CreateCapacityReservationFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCapacityReservationFleet\", {}).n(\"EC2Client\", \"CreateCapacityReservationFleetCommand\").f(void 0, void 0).ser(se_CreateCapacityReservationFleetCommand).de(de_CreateCapacityReservationFleetCommand).build() {\n static {\n __name(this, \"CreateCapacityReservationFleetCommand\");\n }\n};\n\n// src/commands/CreateCarrierGatewayCommand.ts\n\n\n\nvar CreateCarrierGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCarrierGateway\", {}).n(\"EC2Client\", \"CreateCarrierGatewayCommand\").f(void 0, void 0).ser(se_CreateCarrierGatewayCommand).de(de_CreateCarrierGatewayCommand).build() {\n static {\n __name(this, \"CreateCarrierGatewayCommand\");\n }\n};\n\n// src/commands/CreateClientVpnEndpointCommand.ts\n\n\n\nvar CreateClientVpnEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateClientVpnEndpoint\", {}).n(\"EC2Client\", \"CreateClientVpnEndpointCommand\").f(void 0, void 0).ser(se_CreateClientVpnEndpointCommand).de(de_CreateClientVpnEndpointCommand).build() {\n static {\n __name(this, \"CreateClientVpnEndpointCommand\");\n }\n};\n\n// src/commands/CreateClientVpnRouteCommand.ts\n\n\n\nvar CreateClientVpnRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateClientVpnRoute\", {}).n(\"EC2Client\", \"CreateClientVpnRouteCommand\").f(void 0, void 0).ser(se_CreateClientVpnRouteCommand).de(de_CreateClientVpnRouteCommand).build() {\n static {\n __name(this, \"CreateClientVpnRouteCommand\");\n }\n};\n\n// src/commands/CreateCoipCidrCommand.ts\n\n\n\nvar CreateCoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCoipCidr\", {}).n(\"EC2Client\", \"CreateCoipCidrCommand\").f(void 0, void 0).ser(se_CreateCoipCidrCommand).de(de_CreateCoipCidrCommand).build() {\n static {\n __name(this, \"CreateCoipCidrCommand\");\n }\n};\n\n// src/commands/CreateCoipPoolCommand.ts\n\n\n\nvar CreateCoipPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCoipPool\", {}).n(\"EC2Client\", \"CreateCoipPoolCommand\").f(void 0, void 0).ser(se_CreateCoipPoolCommand).de(de_CreateCoipPoolCommand).build() {\n static {\n __name(this, \"CreateCoipPoolCommand\");\n }\n};\n\n// src/commands/CreateCustomerGatewayCommand.ts\n\n\n\nvar CreateCustomerGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateCustomerGateway\", {}).n(\"EC2Client\", \"CreateCustomerGatewayCommand\").f(void 0, void 0).ser(se_CreateCustomerGatewayCommand).de(de_CreateCustomerGatewayCommand).build() {\n static {\n __name(this, \"CreateCustomerGatewayCommand\");\n }\n};\n\n// src/commands/CreateDefaultSubnetCommand.ts\n\n\n\nvar CreateDefaultSubnetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateDefaultSubnet\", {}).n(\"EC2Client\", \"CreateDefaultSubnetCommand\").f(void 0, void 0).ser(se_CreateDefaultSubnetCommand).de(de_CreateDefaultSubnetCommand).build() {\n static {\n __name(this, \"CreateDefaultSubnetCommand\");\n }\n};\n\n// src/commands/CreateDefaultVpcCommand.ts\n\n\n\nvar CreateDefaultVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateDefaultVpc\", {}).n(\"EC2Client\", \"CreateDefaultVpcCommand\").f(void 0, void 0).ser(se_CreateDefaultVpcCommand).de(de_CreateDefaultVpcCommand).build() {\n static {\n __name(this, \"CreateDefaultVpcCommand\");\n }\n};\n\n// src/commands/CreateDhcpOptionsCommand.ts\n\n\n\nvar CreateDhcpOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateDhcpOptions\", {}).n(\"EC2Client\", \"CreateDhcpOptionsCommand\").f(void 0, void 0).ser(se_CreateDhcpOptionsCommand).de(de_CreateDhcpOptionsCommand).build() {\n static {\n __name(this, \"CreateDhcpOptionsCommand\");\n }\n};\n\n// src/commands/CreateEgressOnlyInternetGatewayCommand.ts\n\n\n\nvar CreateEgressOnlyInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateEgressOnlyInternetGateway\", {}).n(\"EC2Client\", \"CreateEgressOnlyInternetGatewayCommand\").f(void 0, void 0).ser(se_CreateEgressOnlyInternetGatewayCommand).de(de_CreateEgressOnlyInternetGatewayCommand).build() {\n static {\n __name(this, \"CreateEgressOnlyInternetGatewayCommand\");\n }\n};\n\n// src/commands/CreateFleetCommand.ts\n\n\n\nvar CreateFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateFleet\", {}).n(\"EC2Client\", \"CreateFleetCommand\").f(void 0, void 0).ser(se_CreateFleetCommand).de(de_CreateFleetCommand).build() {\n static {\n __name(this, \"CreateFleetCommand\");\n }\n};\n\n// src/commands/CreateFlowLogsCommand.ts\n\n\n\nvar CreateFlowLogsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateFlowLogs\", {}).n(\"EC2Client\", \"CreateFlowLogsCommand\").f(void 0, void 0).ser(se_CreateFlowLogsCommand).de(de_CreateFlowLogsCommand).build() {\n static {\n __name(this, \"CreateFlowLogsCommand\");\n }\n};\n\n// src/commands/CreateFpgaImageCommand.ts\n\n\n\nvar CreateFpgaImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateFpgaImage\", {}).n(\"EC2Client\", \"CreateFpgaImageCommand\").f(void 0, void 0).ser(se_CreateFpgaImageCommand).de(de_CreateFpgaImageCommand).build() {\n static {\n __name(this, \"CreateFpgaImageCommand\");\n }\n};\n\n// src/commands/CreateImageCommand.ts\n\n\n\nvar CreateImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateImage\", {}).n(\"EC2Client\", \"CreateImageCommand\").f(void 0, void 0).ser(se_CreateImageCommand).de(de_CreateImageCommand).build() {\n static {\n __name(this, \"CreateImageCommand\");\n }\n};\n\n// src/commands/CreateInstanceConnectEndpointCommand.ts\n\n\n\nvar CreateInstanceConnectEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateInstanceConnectEndpoint\", {}).n(\"EC2Client\", \"CreateInstanceConnectEndpointCommand\").f(void 0, void 0).ser(se_CreateInstanceConnectEndpointCommand).de(de_CreateInstanceConnectEndpointCommand).build() {\n static {\n __name(this, \"CreateInstanceConnectEndpointCommand\");\n }\n};\n\n// src/commands/CreateInstanceEventWindowCommand.ts\n\n\n\nvar CreateInstanceEventWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateInstanceEventWindow\", {}).n(\"EC2Client\", \"CreateInstanceEventWindowCommand\").f(void 0, void 0).ser(se_CreateInstanceEventWindowCommand).de(de_CreateInstanceEventWindowCommand).build() {\n static {\n __name(this, \"CreateInstanceEventWindowCommand\");\n }\n};\n\n// src/commands/CreateInstanceExportTaskCommand.ts\n\n\n\nvar CreateInstanceExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateInstanceExportTask\", {}).n(\"EC2Client\", \"CreateInstanceExportTaskCommand\").f(void 0, void 0).ser(se_CreateInstanceExportTaskCommand).de(de_CreateInstanceExportTaskCommand).build() {\n static {\n __name(this, \"CreateInstanceExportTaskCommand\");\n }\n};\n\n// src/commands/CreateInternetGatewayCommand.ts\n\n\n\nvar CreateInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateInternetGateway\", {}).n(\"EC2Client\", \"CreateInternetGatewayCommand\").f(void 0, void 0).ser(se_CreateInternetGatewayCommand).de(de_CreateInternetGatewayCommand).build() {\n static {\n __name(this, \"CreateInternetGatewayCommand\");\n }\n};\n\n// src/commands/CreateIpamCommand.ts\n\n\n\nvar CreateIpamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateIpam\", {}).n(\"EC2Client\", \"CreateIpamCommand\").f(void 0, void 0).ser(se_CreateIpamCommand).de(de_CreateIpamCommand).build() {\n static {\n __name(this, \"CreateIpamCommand\");\n }\n};\n\n// src/commands/CreateIpamExternalResourceVerificationTokenCommand.ts\n\n\n\nvar CreateIpamExternalResourceVerificationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateIpamExternalResourceVerificationToken\", {}).n(\"EC2Client\", \"CreateIpamExternalResourceVerificationTokenCommand\").f(void 0, void 0).ser(se_CreateIpamExternalResourceVerificationTokenCommand).de(de_CreateIpamExternalResourceVerificationTokenCommand).build() {\n static {\n __name(this, \"CreateIpamExternalResourceVerificationTokenCommand\");\n }\n};\n\n// src/commands/CreateIpamPoolCommand.ts\n\n\n\nvar CreateIpamPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateIpamPool\", {}).n(\"EC2Client\", \"CreateIpamPoolCommand\").f(void 0, void 0).ser(se_CreateIpamPoolCommand).de(de_CreateIpamPoolCommand).build() {\n static {\n __name(this, \"CreateIpamPoolCommand\");\n }\n};\n\n// src/commands/CreateIpamResourceDiscoveryCommand.ts\n\n\n\nvar CreateIpamResourceDiscoveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateIpamResourceDiscovery\", {}).n(\"EC2Client\", \"CreateIpamResourceDiscoveryCommand\").f(void 0, void 0).ser(se_CreateIpamResourceDiscoveryCommand).de(de_CreateIpamResourceDiscoveryCommand).build() {\n static {\n __name(this, \"CreateIpamResourceDiscoveryCommand\");\n }\n};\n\n// src/commands/CreateIpamScopeCommand.ts\n\n\n\nvar CreateIpamScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateIpamScope\", {}).n(\"EC2Client\", \"CreateIpamScopeCommand\").f(void 0, void 0).ser(se_CreateIpamScopeCommand).de(de_CreateIpamScopeCommand).build() {\n static {\n __name(this, \"CreateIpamScopeCommand\");\n }\n};\n\n// src/commands/CreateKeyPairCommand.ts\n\n\n\nvar CreateKeyPairCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateKeyPair\", {}).n(\"EC2Client\", \"CreateKeyPairCommand\").f(void 0, KeyPairFilterSensitiveLog).ser(se_CreateKeyPairCommand).de(de_CreateKeyPairCommand).build() {\n static {\n __name(this, \"CreateKeyPairCommand\");\n }\n};\n\n// src/commands/CreateLaunchTemplateCommand.ts\n\n\n\nvar CreateLaunchTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLaunchTemplate\", {}).n(\"EC2Client\", \"CreateLaunchTemplateCommand\").f(CreateLaunchTemplateRequestFilterSensitiveLog, void 0).ser(se_CreateLaunchTemplateCommand).de(de_CreateLaunchTemplateCommand).build() {\n static {\n __name(this, \"CreateLaunchTemplateCommand\");\n }\n};\n\n// src/commands/CreateLaunchTemplateVersionCommand.ts\n\n\n\n\n// src/models/models_2.ts\n\nvar LocalGatewayRouteState = {\n active: \"active\",\n blackhole: \"blackhole\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar LocalGatewayRouteType = {\n propagated: \"propagated\",\n static: \"static\"\n};\nvar LocalGatewayRouteTableMode = {\n coip: \"coip\",\n direct_vpc_routing: \"direct-vpc-routing\"\n};\nvar LocalGatewayVirtualInterfaceConfigurationState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar LocalGatewayVirtualInterfaceGroupConfigurationState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n incomplete: \"incomplete\",\n pending: \"pending\"\n};\nvar PrefixListState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_failed: \"delete-failed\",\n delete_in_progress: \"delete-in-progress\",\n modify_complete: \"modify-complete\",\n modify_failed: \"modify-failed\",\n modify_in_progress: \"modify-in-progress\",\n restore_complete: \"restore-complete\",\n restore_failed: \"restore-failed\",\n restore_in_progress: \"restore-in-progress\"\n};\nvar ConnectivityType = {\n PRIVATE: \"private\",\n PUBLIC: \"public\"\n};\nvar NatGatewayState = {\n AVAILABLE: \"available\",\n DELETED: \"deleted\",\n DELETING: \"deleting\",\n FAILED: \"failed\",\n PENDING: \"pending\"\n};\nvar RuleAction = {\n allow: \"allow\",\n deny: \"deny\"\n};\nvar NetworkInterfaceCreationType = {\n branch: \"branch\",\n efa: \"efa\",\n efa_only: \"efa-only\",\n trunk: \"trunk\"\n};\nvar NetworkInterfaceType = {\n api_gateway_managed: \"api_gateway_managed\",\n aws_codestar_connections_managed: \"aws_codestar_connections_managed\",\n branch: \"branch\",\n efa: \"efa\",\n efa_only: \"efa-only\",\n gateway_load_balancer: \"gateway_load_balancer\",\n gateway_load_balancer_endpoint: \"gateway_load_balancer_endpoint\",\n global_accelerator_managed: \"global_accelerator_managed\",\n interface: \"interface\",\n iot_rules_managed: \"iot_rules_managed\",\n lambda: \"lambda\",\n load_balancer: \"load_balancer\",\n natGateway: \"natGateway\",\n network_load_balancer: \"network_load_balancer\",\n quicksight: \"quicksight\",\n transit_gateway: \"transit_gateway\",\n trunk: \"trunk\",\n vpc_endpoint: \"vpc_endpoint\"\n};\nvar NetworkInterfaceStatus = {\n associated: \"associated\",\n attaching: \"attaching\",\n available: \"available\",\n detaching: \"detaching\",\n in_use: \"in-use\"\n};\nvar InterfacePermissionType = {\n EIP_ASSOCIATE: \"EIP-ASSOCIATE\",\n INSTANCE_ATTACH: \"INSTANCE-ATTACH\"\n};\nvar NetworkInterfacePermissionStateCode = {\n granted: \"granted\",\n pending: \"pending\",\n revoked: \"revoked\",\n revoking: \"revoking\"\n};\nvar SpreadLevel = {\n host: \"host\",\n rack: \"rack\"\n};\nvar PlacementStrategy = {\n cluster: \"cluster\",\n partition: \"partition\",\n spread: \"spread\"\n};\nvar PlacementGroupState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar ReplaceRootVolumeTaskState = {\n failed: \"failed\",\n failed_detached: \"failed-detached\",\n failing: \"failing\",\n in_progress: \"in-progress\",\n pending: \"pending\",\n succeeded: \"succeeded\"\n};\nvar RouteServerPersistRoutesAction = {\n DISABLE: \"disable\",\n ENABLE: \"enable\",\n RESET: \"reset\"\n};\nvar RouteServerPersistRoutesState = {\n DISABLED: \"disabled\",\n DISABLING: \"disabling\",\n ENABLED: \"enabled\",\n ENABLING: \"enabling\",\n MODIFYING: \"modifying\",\n RESETTING: \"resetting\"\n};\nvar RouteServerState = {\n AVAILABLE: \"available\",\n DELETED: \"deleted\",\n DELETING: \"deleting\",\n MODIFYING: \"modifying\",\n PENDING: \"pending\"\n};\nvar RouteServerEndpointState = {\n AVAILABLE: \"available\",\n DELETED: \"deleted\",\n DELETE_FAILED: \"delete-failed\",\n DELETING: \"deleting\",\n FAILED: \"failed\",\n FAILING: \"failing\",\n PENDING: \"pending\"\n};\nvar RouteServerPeerLivenessMode = {\n BFD: \"bfd\",\n BGP_KEEPALIVE: \"bgp-keepalive\"\n};\nvar RouteServerBfdState = {\n DOWN: \"down\",\n UP: \"up\"\n};\nvar RouteServerBgpState = {\n DOWN: \"down\",\n UP: \"up\"\n};\nvar RouteServerPeerState = {\n AVAILABLE: \"available\",\n DELETED: \"deleted\",\n DELETING: \"deleting\",\n FAILED: \"failed\",\n FAILING: \"failing\",\n PENDING: \"pending\"\n};\nvar RouteOrigin = {\n CreateRoute: \"CreateRoute\",\n CreateRouteTable: \"CreateRouteTable\",\n EnableVgwRoutePropagation: \"EnableVgwRoutePropagation\"\n};\nvar RouteState = {\n active: \"active\",\n blackhole: \"blackhole\"\n};\nvar SnapshotLocationEnum = {\n LOCAL: \"local\",\n REGIONAL: \"regional\"\n};\nvar SSEType = {\n none: \"none\",\n sse_ebs: \"sse-ebs\",\n sse_kms: \"sse-kms\"\n};\nvar SnapshotState = {\n completed: \"completed\",\n error: \"error\",\n pending: \"pending\",\n recoverable: \"recoverable\",\n recovering: \"recovering\"\n};\nvar StorageTier = {\n archive: \"archive\",\n standard: \"standard\"\n};\nvar TransferType = {\n standard: \"standard\",\n time_based: \"time-based\"\n};\nvar CopyTagsFromSource = {\n volume: \"volume\"\n};\nvar DatafeedSubscriptionState = {\n Active: \"Active\",\n Inactive: \"Inactive\"\n};\nvar SubnetCidrReservationType = {\n explicit: \"explicit\",\n prefix: \"prefix\"\n};\nvar TrafficMirrorRuleAction = {\n accept: \"accept\",\n reject: \"reject\"\n};\nvar TrafficDirection = {\n egress: \"egress\",\n ingress: \"ingress\"\n};\nvar TrafficMirrorNetworkService = {\n amazon_dns: \"amazon-dns\"\n};\nvar TrafficMirrorTargetType = {\n gateway_load_balancer_endpoint: \"gateway-load-balancer-endpoint\",\n network_interface: \"network-interface\",\n network_load_balancer: \"network-load-balancer\"\n};\nvar AutoAcceptSharedAttachmentsValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar DefaultRouteTableAssociationValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar DefaultRouteTablePropagationValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar MulticastSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar VpnEcmpSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar TransitGatewayState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n modifying: \"modifying\",\n pending: \"pending\"\n};\nvar ProtocolValue = {\n gre: \"gre\"\n};\nvar BgpStatus = {\n down: \"down\",\n up: \"up\"\n};\nvar TransitGatewayConnectPeerState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar AutoAcceptSharedAssociationsValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar Igmpv2SupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar StaticSourcesSupportValue = {\n disable: \"disable\",\n enable: \"enable\"\n};\nvar TransitGatewayMulticastDomainState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar TransitGatewayPolicyTableState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar TransitGatewayPrefixListReferenceState = {\n available: \"available\",\n deleting: \"deleting\",\n modifying: \"modifying\",\n pending: \"pending\"\n};\nvar TransitGatewayRouteState = {\n active: \"active\",\n blackhole: \"blackhole\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar TransitGatewayRouteType = {\n propagated: \"propagated\",\n static: \"static\"\n};\nvar TransitGatewayRouteTableState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar TransitGatewayRouteTableAnnouncementDirection = {\n incoming: \"incoming\",\n outgoing: \"outgoing\"\n};\nvar TransitGatewayRouteTableAnnouncementState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n failed: \"failed\",\n failing: \"failing\",\n pending: \"pending\"\n};\nvar VerifiedAccessEndpointAttachmentType = {\n vpc: \"vpc\"\n};\nvar VerifiedAccessEndpointProtocol = {\n http: \"http\",\n https: \"https\",\n tcp: \"tcp\"\n};\nvar VerifiedAccessEndpointType = {\n cidr: \"cidr\",\n load_balancer: \"load-balancer\",\n network_interface: \"network-interface\",\n rds: \"rds\"\n};\nvar VerifiedAccessEndpointStatusCode = {\n active: \"active\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\",\n updating: \"updating\"\n};\nvar VolumeState = {\n available: \"available\",\n creating: \"creating\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n error: \"error\",\n in_use: \"in-use\"\n};\nvar InternetGatewayExclusionMode = {\n allow_bidirectional: \"allow-bidirectional\",\n allow_egress: \"allow-egress\"\n};\nvar VpcBlockPublicAccessExclusionState = {\n create_complete: \"create-complete\",\n create_failed: \"create-failed\",\n create_in_progress: \"create-in-progress\",\n delete_complete: \"delete-complete\",\n delete_in_progress: \"delete-in-progress\",\n disable_complete: \"disable-complete\",\n disable_in_progress: \"disable-in-progress\",\n update_complete: \"update-complete\",\n update_failed: \"update-failed\",\n update_in_progress: \"update-in-progress\"\n};\nvar DnsRecordIpType = {\n dualstack: \"dualstack\",\n ipv4: \"ipv4\",\n ipv6: \"ipv6\",\n service_defined: \"service-defined\"\n};\nvar IpAddressType = {\n dualstack: \"dualstack\",\n ipv4: \"ipv4\",\n ipv6: \"ipv6\"\n};\nvar VpcEndpointType = {\n Gateway: \"Gateway\",\n GatewayLoadBalancer: \"GatewayLoadBalancer\",\n Interface: \"Interface\",\n Resource: \"Resource\",\n ServiceNetwork: \"ServiceNetwork\"\n};\nvar State = {\n Available: \"Available\",\n Deleted: \"Deleted\",\n Deleting: \"Deleting\",\n Expired: \"Expired\",\n Failed: \"Failed\",\n Partial: \"Partial\",\n Pending: \"Pending\",\n PendingAcceptance: \"PendingAcceptance\",\n Rejected: \"Rejected\"\n};\nvar ConnectionNotificationState = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\"\n};\nvar ConnectionNotificationType = {\n Topic: \"Topic\"\n};\nvar PayerResponsibility = {\n ServiceOwner: \"ServiceOwner\"\n};\nvar DnsNameState = {\n Failed: \"failed\",\n PendingVerification: \"pendingVerification\",\n Verified: \"verified\"\n};\nvar ServiceState = {\n Available: \"Available\",\n Deleted: \"Deleted\",\n Deleting: \"Deleting\",\n Failed: \"Failed\",\n Pending: \"Pending\"\n};\nvar ServiceType = {\n Gateway: \"Gateway\",\n GatewayLoadBalancer: \"GatewayLoadBalancer\",\n Interface: \"Interface\"\n};\nvar LaunchTemplateVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateData && {\n LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)\n }\n}), \"LaunchTemplateVersionFilterSensitiveLog\");\nvar CreateLaunchTemplateVersionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateVersion && {\n LaunchTemplateVersion: LaunchTemplateVersionFilterSensitiveLog(obj.LaunchTemplateVersion)\n }\n}), \"CreateLaunchTemplateVersionResultFilterSensitiveLog\");\nvar CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog\");\nvar CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog\");\nvar CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OidcOptions && {\n OidcOptions: CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions)\n },\n ...obj.NativeApplicationOidcOptions && {\n NativeApplicationOidcOptions: CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog(\n obj.NativeApplicationOidcOptions\n )\n }\n}), \"CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog\");\nvar CreateVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProvider && {\n VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)\n }\n}), \"CreateVerifiedAccessTrustProviderResultFilterSensitiveLog\");\n\n// src/commands/CreateLaunchTemplateVersionCommand.ts\nvar CreateLaunchTemplateVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLaunchTemplateVersion\", {}).n(\"EC2Client\", \"CreateLaunchTemplateVersionCommand\").f(CreateLaunchTemplateVersionRequestFilterSensitiveLog, CreateLaunchTemplateVersionResultFilterSensitiveLog).ser(se_CreateLaunchTemplateVersionCommand).de(de_CreateLaunchTemplateVersionCommand).build() {\n static {\n __name(this, \"CreateLaunchTemplateVersionCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayRouteCommand.ts\n\n\n\nvar CreateLocalGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayRoute\", {}).n(\"EC2Client\", \"CreateLocalGatewayRouteCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayRouteCommand).de(de_CreateLocalGatewayRouteCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayRouteCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayRouteTableCommand.ts\n\n\n\nvar CreateLocalGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayRouteTable\", {}).n(\"EC2Client\", \"CreateLocalGatewayRouteTableCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableCommand).de(de_CreateLocalGatewayRouteTableCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts\n\n\n\nvar CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation\", {}).n(\"EC2Client\", \"CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).de(de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts\n\n\n\nvar CreateLocalGatewayRouteTableVpcAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayRouteTableVpcAssociation\", {}).n(\"EC2Client\", \"CreateLocalGatewayRouteTableVpcAssociationCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableVpcAssociationCommand).de(de_CreateLocalGatewayRouteTableVpcAssociationCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayRouteTableVpcAssociationCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayVirtualInterfaceCommand.ts\n\n\n\nvar CreateLocalGatewayVirtualInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayVirtualInterface\", {}).n(\"EC2Client\", \"CreateLocalGatewayVirtualInterfaceCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayVirtualInterfaceCommand).de(de_CreateLocalGatewayVirtualInterfaceCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayVirtualInterfaceCommand\");\n }\n};\n\n// src/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.ts\n\n\n\nvar CreateLocalGatewayVirtualInterfaceGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateLocalGatewayVirtualInterfaceGroup\", {}).n(\"EC2Client\", \"CreateLocalGatewayVirtualInterfaceGroupCommand\").f(void 0, void 0).ser(se_CreateLocalGatewayVirtualInterfaceGroupCommand).de(de_CreateLocalGatewayVirtualInterfaceGroupCommand).build() {\n static {\n __name(this, \"CreateLocalGatewayVirtualInterfaceGroupCommand\");\n }\n};\n\n// src/commands/CreateManagedPrefixListCommand.ts\n\n\n\nvar CreateManagedPrefixListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateManagedPrefixList\", {}).n(\"EC2Client\", \"CreateManagedPrefixListCommand\").f(void 0, void 0).ser(se_CreateManagedPrefixListCommand).de(de_CreateManagedPrefixListCommand).build() {\n static {\n __name(this, \"CreateManagedPrefixListCommand\");\n }\n};\n\n// src/commands/CreateNatGatewayCommand.ts\n\n\n\nvar CreateNatGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNatGateway\", {}).n(\"EC2Client\", \"CreateNatGatewayCommand\").f(void 0, void 0).ser(se_CreateNatGatewayCommand).de(de_CreateNatGatewayCommand).build() {\n static {\n __name(this, \"CreateNatGatewayCommand\");\n }\n};\n\n// src/commands/CreateNetworkAclCommand.ts\n\n\n\nvar CreateNetworkAclCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkAcl\", {}).n(\"EC2Client\", \"CreateNetworkAclCommand\").f(void 0, void 0).ser(se_CreateNetworkAclCommand).de(de_CreateNetworkAclCommand).build() {\n static {\n __name(this, \"CreateNetworkAclCommand\");\n }\n};\n\n// src/commands/CreateNetworkAclEntryCommand.ts\n\n\n\nvar CreateNetworkAclEntryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkAclEntry\", {}).n(\"EC2Client\", \"CreateNetworkAclEntryCommand\").f(void 0, void 0).ser(se_CreateNetworkAclEntryCommand).de(de_CreateNetworkAclEntryCommand).build() {\n static {\n __name(this, \"CreateNetworkAclEntryCommand\");\n }\n};\n\n// src/commands/CreateNetworkInsightsAccessScopeCommand.ts\n\n\n\nvar CreateNetworkInsightsAccessScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkInsightsAccessScope\", {}).n(\"EC2Client\", \"CreateNetworkInsightsAccessScopeCommand\").f(void 0, void 0).ser(se_CreateNetworkInsightsAccessScopeCommand).de(de_CreateNetworkInsightsAccessScopeCommand).build() {\n static {\n __name(this, \"CreateNetworkInsightsAccessScopeCommand\");\n }\n};\n\n// src/commands/CreateNetworkInsightsPathCommand.ts\n\n\n\nvar CreateNetworkInsightsPathCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkInsightsPath\", {}).n(\"EC2Client\", \"CreateNetworkInsightsPathCommand\").f(void 0, void 0).ser(se_CreateNetworkInsightsPathCommand).de(de_CreateNetworkInsightsPathCommand).build() {\n static {\n __name(this, \"CreateNetworkInsightsPathCommand\");\n }\n};\n\n// src/commands/CreateNetworkInterfaceCommand.ts\n\n\n\nvar CreateNetworkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkInterface\", {}).n(\"EC2Client\", \"CreateNetworkInterfaceCommand\").f(void 0, void 0).ser(se_CreateNetworkInterfaceCommand).de(de_CreateNetworkInterfaceCommand).build() {\n static {\n __name(this, \"CreateNetworkInterfaceCommand\");\n }\n};\n\n// src/commands/CreateNetworkInterfacePermissionCommand.ts\n\n\n\nvar CreateNetworkInterfacePermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateNetworkInterfacePermission\", {}).n(\"EC2Client\", \"CreateNetworkInterfacePermissionCommand\").f(void 0, void 0).ser(se_CreateNetworkInterfacePermissionCommand).de(de_CreateNetworkInterfacePermissionCommand).build() {\n static {\n __name(this, \"CreateNetworkInterfacePermissionCommand\");\n }\n};\n\n// src/commands/CreatePlacementGroupCommand.ts\n\n\n\nvar CreatePlacementGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreatePlacementGroup\", {}).n(\"EC2Client\", \"CreatePlacementGroupCommand\").f(void 0, void 0).ser(se_CreatePlacementGroupCommand).de(de_CreatePlacementGroupCommand).build() {\n static {\n __name(this, \"CreatePlacementGroupCommand\");\n }\n};\n\n// src/commands/CreatePublicIpv4PoolCommand.ts\n\n\n\nvar CreatePublicIpv4PoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreatePublicIpv4Pool\", {}).n(\"EC2Client\", \"CreatePublicIpv4PoolCommand\").f(void 0, void 0).ser(se_CreatePublicIpv4PoolCommand).de(de_CreatePublicIpv4PoolCommand).build() {\n static {\n __name(this, \"CreatePublicIpv4PoolCommand\");\n }\n};\n\n// src/commands/CreateReplaceRootVolumeTaskCommand.ts\n\n\n\nvar CreateReplaceRootVolumeTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateReplaceRootVolumeTask\", {}).n(\"EC2Client\", \"CreateReplaceRootVolumeTaskCommand\").f(void 0, void 0).ser(se_CreateReplaceRootVolumeTaskCommand).de(de_CreateReplaceRootVolumeTaskCommand).build() {\n static {\n __name(this, \"CreateReplaceRootVolumeTaskCommand\");\n }\n};\n\n// src/commands/CreateReservedInstancesListingCommand.ts\n\n\n\nvar CreateReservedInstancesListingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateReservedInstancesListing\", {}).n(\"EC2Client\", \"CreateReservedInstancesListingCommand\").f(void 0, void 0).ser(se_CreateReservedInstancesListingCommand).de(de_CreateReservedInstancesListingCommand).build() {\n static {\n __name(this, \"CreateReservedInstancesListingCommand\");\n }\n};\n\n// src/commands/CreateRestoreImageTaskCommand.ts\n\n\n\nvar CreateRestoreImageTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRestoreImageTask\", {}).n(\"EC2Client\", \"CreateRestoreImageTaskCommand\").f(void 0, void 0).ser(se_CreateRestoreImageTaskCommand).de(de_CreateRestoreImageTaskCommand).build() {\n static {\n __name(this, \"CreateRestoreImageTaskCommand\");\n }\n};\n\n// src/commands/CreateRouteCommand.ts\n\n\n\nvar CreateRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRoute\", {}).n(\"EC2Client\", \"CreateRouteCommand\").f(void 0, void 0).ser(se_CreateRouteCommand).de(de_CreateRouteCommand).build() {\n static {\n __name(this, \"CreateRouteCommand\");\n }\n};\n\n// src/commands/CreateRouteServerCommand.ts\n\n\n\nvar CreateRouteServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRouteServer\", {}).n(\"EC2Client\", \"CreateRouteServerCommand\").f(void 0, void 0).ser(se_CreateRouteServerCommand).de(de_CreateRouteServerCommand).build() {\n static {\n __name(this, \"CreateRouteServerCommand\");\n }\n};\n\n// src/commands/CreateRouteServerEndpointCommand.ts\n\n\n\nvar CreateRouteServerEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRouteServerEndpoint\", {}).n(\"EC2Client\", \"CreateRouteServerEndpointCommand\").f(void 0, void 0).ser(se_CreateRouteServerEndpointCommand).de(de_CreateRouteServerEndpointCommand).build() {\n static {\n __name(this, \"CreateRouteServerEndpointCommand\");\n }\n};\n\n// src/commands/CreateRouteServerPeerCommand.ts\n\n\n\nvar CreateRouteServerPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRouteServerPeer\", {}).n(\"EC2Client\", \"CreateRouteServerPeerCommand\").f(void 0, void 0).ser(se_CreateRouteServerPeerCommand).de(de_CreateRouteServerPeerCommand).build() {\n static {\n __name(this, \"CreateRouteServerPeerCommand\");\n }\n};\n\n// src/commands/CreateRouteTableCommand.ts\n\n\n\nvar CreateRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateRouteTable\", {}).n(\"EC2Client\", \"CreateRouteTableCommand\").f(void 0, void 0).ser(se_CreateRouteTableCommand).de(de_CreateRouteTableCommand).build() {\n static {\n __name(this, \"CreateRouteTableCommand\");\n }\n};\n\n// src/commands/CreateSecurityGroupCommand.ts\n\n\n\nvar CreateSecurityGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSecurityGroup\", {}).n(\"EC2Client\", \"CreateSecurityGroupCommand\").f(void 0, void 0).ser(se_CreateSecurityGroupCommand).de(de_CreateSecurityGroupCommand).build() {\n static {\n __name(this, \"CreateSecurityGroupCommand\");\n }\n};\n\n// src/commands/CreateSnapshotCommand.ts\n\n\n\nvar CreateSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSnapshot\", {}).n(\"EC2Client\", \"CreateSnapshotCommand\").f(void 0, void 0).ser(se_CreateSnapshotCommand).de(de_CreateSnapshotCommand).build() {\n static {\n __name(this, \"CreateSnapshotCommand\");\n }\n};\n\n// src/commands/CreateSnapshotsCommand.ts\n\n\n\nvar CreateSnapshotsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSnapshots\", {}).n(\"EC2Client\", \"CreateSnapshotsCommand\").f(void 0, void 0).ser(se_CreateSnapshotsCommand).de(de_CreateSnapshotsCommand).build() {\n static {\n __name(this, \"CreateSnapshotsCommand\");\n }\n};\n\n// src/commands/CreateSpotDatafeedSubscriptionCommand.ts\n\n\n\nvar CreateSpotDatafeedSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSpotDatafeedSubscription\", {}).n(\"EC2Client\", \"CreateSpotDatafeedSubscriptionCommand\").f(void 0, void 0).ser(se_CreateSpotDatafeedSubscriptionCommand).de(de_CreateSpotDatafeedSubscriptionCommand).build() {\n static {\n __name(this, \"CreateSpotDatafeedSubscriptionCommand\");\n }\n};\n\n// src/commands/CreateStoreImageTaskCommand.ts\n\n\n\nvar CreateStoreImageTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateStoreImageTask\", {}).n(\"EC2Client\", \"CreateStoreImageTaskCommand\").f(void 0, void 0).ser(se_CreateStoreImageTaskCommand).de(de_CreateStoreImageTaskCommand).build() {\n static {\n __name(this, \"CreateStoreImageTaskCommand\");\n }\n};\n\n// src/commands/CreateSubnetCidrReservationCommand.ts\n\n\n\nvar CreateSubnetCidrReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSubnetCidrReservation\", {}).n(\"EC2Client\", \"CreateSubnetCidrReservationCommand\").f(void 0, void 0).ser(se_CreateSubnetCidrReservationCommand).de(de_CreateSubnetCidrReservationCommand).build() {\n static {\n __name(this, \"CreateSubnetCidrReservationCommand\");\n }\n};\n\n// src/commands/CreateSubnetCommand.ts\n\n\n\nvar CreateSubnetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateSubnet\", {}).n(\"EC2Client\", \"CreateSubnetCommand\").f(void 0, void 0).ser(se_CreateSubnetCommand).de(de_CreateSubnetCommand).build() {\n static {\n __name(this, \"CreateSubnetCommand\");\n }\n};\n\n// src/commands/CreateTagsCommand.ts\n\n\n\nvar CreateTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTags\", {}).n(\"EC2Client\", \"CreateTagsCommand\").f(void 0, void 0).ser(se_CreateTagsCommand).de(de_CreateTagsCommand).build() {\n static {\n __name(this, \"CreateTagsCommand\");\n }\n};\n\n// src/commands/CreateTrafficMirrorFilterCommand.ts\n\n\n\nvar CreateTrafficMirrorFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTrafficMirrorFilter\", {}).n(\"EC2Client\", \"CreateTrafficMirrorFilterCommand\").f(void 0, void 0).ser(se_CreateTrafficMirrorFilterCommand).de(de_CreateTrafficMirrorFilterCommand).build() {\n static {\n __name(this, \"CreateTrafficMirrorFilterCommand\");\n }\n};\n\n// src/commands/CreateTrafficMirrorFilterRuleCommand.ts\n\n\n\nvar CreateTrafficMirrorFilterRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTrafficMirrorFilterRule\", {}).n(\"EC2Client\", \"CreateTrafficMirrorFilterRuleCommand\").f(void 0, void 0).ser(se_CreateTrafficMirrorFilterRuleCommand).de(de_CreateTrafficMirrorFilterRuleCommand).build() {\n static {\n __name(this, \"CreateTrafficMirrorFilterRuleCommand\");\n }\n};\n\n// src/commands/CreateTrafficMirrorSessionCommand.ts\n\n\n\nvar CreateTrafficMirrorSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTrafficMirrorSession\", {}).n(\"EC2Client\", \"CreateTrafficMirrorSessionCommand\").f(void 0, void 0).ser(se_CreateTrafficMirrorSessionCommand).de(de_CreateTrafficMirrorSessionCommand).build() {\n static {\n __name(this, \"CreateTrafficMirrorSessionCommand\");\n }\n};\n\n// src/commands/CreateTrafficMirrorTargetCommand.ts\n\n\n\nvar CreateTrafficMirrorTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTrafficMirrorTarget\", {}).n(\"EC2Client\", \"CreateTrafficMirrorTargetCommand\").f(void 0, void 0).ser(se_CreateTrafficMirrorTargetCommand).de(de_CreateTrafficMirrorTargetCommand).build() {\n static {\n __name(this, \"CreateTrafficMirrorTargetCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayCommand.ts\n\n\n\nvar CreateTransitGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGateway\", {}).n(\"EC2Client\", \"CreateTransitGatewayCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayCommand).de(de_CreateTransitGatewayCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayConnectCommand.ts\n\n\n\nvar CreateTransitGatewayConnectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayConnect\", {}).n(\"EC2Client\", \"CreateTransitGatewayConnectCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayConnectCommand).de(de_CreateTransitGatewayConnectCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayConnectCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayConnectPeerCommand.ts\n\n\n\nvar CreateTransitGatewayConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayConnectPeer\", {}).n(\"EC2Client\", \"CreateTransitGatewayConnectPeerCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayConnectPeerCommand).de(de_CreateTransitGatewayConnectPeerCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayConnectPeerCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayMulticastDomainCommand.ts\n\n\n\nvar CreateTransitGatewayMulticastDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayMulticastDomain\", {}).n(\"EC2Client\", \"CreateTransitGatewayMulticastDomainCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayMulticastDomainCommand).de(de_CreateTransitGatewayMulticastDomainCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayMulticastDomainCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayPeeringAttachmentCommand.ts\n\n\n\nvar CreateTransitGatewayPeeringAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayPeeringAttachment\", {}).n(\"EC2Client\", \"CreateTransitGatewayPeeringAttachmentCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayPeeringAttachmentCommand).de(de_CreateTransitGatewayPeeringAttachmentCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayPeeringAttachmentCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayPolicyTableCommand.ts\n\n\n\nvar CreateTransitGatewayPolicyTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayPolicyTable\", {}).n(\"EC2Client\", \"CreateTransitGatewayPolicyTableCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayPolicyTableCommand).de(de_CreateTransitGatewayPolicyTableCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayPolicyTableCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayPrefixListReferenceCommand.ts\n\n\n\nvar CreateTransitGatewayPrefixListReferenceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayPrefixListReference\", {}).n(\"EC2Client\", \"CreateTransitGatewayPrefixListReferenceCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayPrefixListReferenceCommand).de(de_CreateTransitGatewayPrefixListReferenceCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayPrefixListReferenceCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayRouteCommand.ts\n\n\n\nvar CreateTransitGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayRoute\", {}).n(\"EC2Client\", \"CreateTransitGatewayRouteCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayRouteCommand).de(de_CreateTransitGatewayRouteCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayRouteCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayRouteTableAnnouncementCommand.ts\n\n\n\nvar CreateTransitGatewayRouteTableAnnouncementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayRouteTableAnnouncement\", {}).n(\"EC2Client\", \"CreateTransitGatewayRouteTableAnnouncementCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayRouteTableAnnouncementCommand).de(de_CreateTransitGatewayRouteTableAnnouncementCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayRouteTableAnnouncementCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayRouteTableCommand.ts\n\n\n\nvar CreateTransitGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayRouteTable\", {}).n(\"EC2Client\", \"CreateTransitGatewayRouteTableCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayRouteTableCommand).de(de_CreateTransitGatewayRouteTableCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/CreateTransitGatewayVpcAttachmentCommand.ts\n\n\n\nvar CreateTransitGatewayVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateTransitGatewayVpcAttachment\", {}).n(\"EC2Client\", \"CreateTransitGatewayVpcAttachmentCommand\").f(void 0, void 0).ser(se_CreateTransitGatewayVpcAttachmentCommand).de(de_CreateTransitGatewayVpcAttachmentCommand).build() {\n static {\n __name(this, \"CreateTransitGatewayVpcAttachmentCommand\");\n }\n};\n\n// src/commands/CreateVerifiedAccessEndpointCommand.ts\n\n\n\nvar CreateVerifiedAccessEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVerifiedAccessEndpoint\", {}).n(\"EC2Client\", \"CreateVerifiedAccessEndpointCommand\").f(void 0, void 0).ser(se_CreateVerifiedAccessEndpointCommand).de(de_CreateVerifiedAccessEndpointCommand).build() {\n static {\n __name(this, \"CreateVerifiedAccessEndpointCommand\");\n }\n};\n\n// src/commands/CreateVerifiedAccessGroupCommand.ts\n\n\n\nvar CreateVerifiedAccessGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVerifiedAccessGroup\", {}).n(\"EC2Client\", \"CreateVerifiedAccessGroupCommand\").f(void 0, void 0).ser(se_CreateVerifiedAccessGroupCommand).de(de_CreateVerifiedAccessGroupCommand).build() {\n static {\n __name(this, \"CreateVerifiedAccessGroupCommand\");\n }\n};\n\n// src/commands/CreateVerifiedAccessInstanceCommand.ts\n\n\n\nvar CreateVerifiedAccessInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVerifiedAccessInstance\", {}).n(\"EC2Client\", \"CreateVerifiedAccessInstanceCommand\").f(void 0, void 0).ser(se_CreateVerifiedAccessInstanceCommand).de(de_CreateVerifiedAccessInstanceCommand).build() {\n static {\n __name(this, \"CreateVerifiedAccessInstanceCommand\");\n }\n};\n\n// src/commands/CreateVerifiedAccessTrustProviderCommand.ts\n\n\n\nvar CreateVerifiedAccessTrustProviderCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVerifiedAccessTrustProvider\", {}).n(\"EC2Client\", \"CreateVerifiedAccessTrustProviderCommand\").f(\n CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderResultFilterSensitiveLog\n).ser(se_CreateVerifiedAccessTrustProviderCommand).de(de_CreateVerifiedAccessTrustProviderCommand).build() {\n static {\n __name(this, \"CreateVerifiedAccessTrustProviderCommand\");\n }\n};\n\n// src/commands/CreateVolumeCommand.ts\n\n\n\nvar CreateVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVolume\", {}).n(\"EC2Client\", \"CreateVolumeCommand\").f(void 0, void 0).ser(se_CreateVolumeCommand).de(de_CreateVolumeCommand).build() {\n static {\n __name(this, \"CreateVolumeCommand\");\n }\n};\n\n// src/commands/CreateVpcBlockPublicAccessExclusionCommand.ts\n\n\n\nvar CreateVpcBlockPublicAccessExclusionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpcBlockPublicAccessExclusion\", {}).n(\"EC2Client\", \"CreateVpcBlockPublicAccessExclusionCommand\").f(void 0, void 0).ser(se_CreateVpcBlockPublicAccessExclusionCommand).de(de_CreateVpcBlockPublicAccessExclusionCommand).build() {\n static {\n __name(this, \"CreateVpcBlockPublicAccessExclusionCommand\");\n }\n};\n\n// src/commands/CreateVpcCommand.ts\n\n\n\nvar CreateVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpc\", {}).n(\"EC2Client\", \"CreateVpcCommand\").f(void 0, void 0).ser(se_CreateVpcCommand).de(de_CreateVpcCommand).build() {\n static {\n __name(this, \"CreateVpcCommand\");\n }\n};\n\n// src/commands/CreateVpcEndpointCommand.ts\n\n\n\nvar CreateVpcEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpcEndpoint\", {}).n(\"EC2Client\", \"CreateVpcEndpointCommand\").f(void 0, void 0).ser(se_CreateVpcEndpointCommand).de(de_CreateVpcEndpointCommand).build() {\n static {\n __name(this, \"CreateVpcEndpointCommand\");\n }\n};\n\n// src/commands/CreateVpcEndpointConnectionNotificationCommand.ts\n\n\n\nvar CreateVpcEndpointConnectionNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpcEndpointConnectionNotification\", {}).n(\"EC2Client\", \"CreateVpcEndpointConnectionNotificationCommand\").f(void 0, void 0).ser(se_CreateVpcEndpointConnectionNotificationCommand).de(de_CreateVpcEndpointConnectionNotificationCommand).build() {\n static {\n __name(this, \"CreateVpcEndpointConnectionNotificationCommand\");\n }\n};\n\n// src/commands/CreateVpcEndpointServiceConfigurationCommand.ts\n\n\n\nvar CreateVpcEndpointServiceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpcEndpointServiceConfiguration\", {}).n(\"EC2Client\", \"CreateVpcEndpointServiceConfigurationCommand\").f(void 0, void 0).ser(se_CreateVpcEndpointServiceConfigurationCommand).de(de_CreateVpcEndpointServiceConfigurationCommand).build() {\n static {\n __name(this, \"CreateVpcEndpointServiceConfigurationCommand\");\n }\n};\n\n// src/commands/CreateVpcPeeringConnectionCommand.ts\n\n\n\nvar CreateVpcPeeringConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpcPeeringConnection\", {}).n(\"EC2Client\", \"CreateVpcPeeringConnectionCommand\").f(void 0, void 0).ser(se_CreateVpcPeeringConnectionCommand).de(de_CreateVpcPeeringConnectionCommand).build() {\n static {\n __name(this, \"CreateVpcPeeringConnectionCommand\");\n }\n};\n\n// src/commands/CreateVpnConnectionCommand.ts\n\n\n\n\n// src/models/models_3.ts\n\nvar ServiceConnectivityType = {\n ipv4: \"ipv4\",\n ipv6: \"ipv6\"\n};\nvar TunnelInsideIpVersion = {\n ipv4: \"ipv4\",\n ipv6: \"ipv6\"\n};\nvar GatewayAssociationState = {\n associated: \"associated\",\n associating: \"associating\",\n disassociating: \"disassociating\",\n not_associated: \"not-associated\"\n};\nvar VpnStaticRouteSource = {\n Static: \"Static\"\n};\nvar VpnState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar TelemetryStatus = {\n DOWN: \"DOWN\",\n UP: \"UP\"\n};\nvar FleetStateCode = {\n ACTIVE: \"active\",\n DELETED: \"deleted\",\n DELETED_RUNNING: \"deleted_running\",\n DELETED_TERMINATING_INSTANCES: \"deleted_terminating\",\n FAILED: \"failed\",\n MODIFYING: \"modifying\",\n SUBMITTED: \"submitted\"\n};\nvar DeleteFleetErrorCode = {\n FLEET_ID_DOES_NOT_EXIST: \"fleetIdDoesNotExist\",\n FLEET_ID_MALFORMED: \"fleetIdMalformed\",\n FLEET_NOT_IN_DELETABLE_STATE: \"fleetNotInDeletableState\",\n UNEXPECTED_ERROR: \"unexpectedError\"\n};\nvar LaunchTemplateErrorCode = {\n LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: \"launchTemplateIdDoesNotExist\",\n LAUNCH_TEMPLATE_ID_MALFORMED: \"launchTemplateIdMalformed\",\n LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: \"launchTemplateNameDoesNotExist\",\n LAUNCH_TEMPLATE_NAME_MALFORMED: \"launchTemplateNameMalformed\",\n LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: \"launchTemplateVersionDoesNotExist\",\n UNEXPECTED_ERROR: \"unexpectedError\"\n};\nvar DeleteQueuedReservedInstancesErrorCode = {\n RESERVED_INSTANCES_ID_INVALID: \"reserved-instances-id-invalid\",\n RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: \"reserved-instances-not-in-queued-state\",\n UNEXPECTED_ERROR: \"unexpected-error\"\n};\nvar AsnState = {\n deprovisioned: \"deprovisioned\",\n failed_deprovision: \"failed-deprovision\",\n failed_provision: \"failed-provision\",\n pending_deprovision: \"pending-deprovision\",\n pending_provision: \"pending-provision\",\n provisioned: \"provisioned\"\n};\nvar IpamPoolCidrFailureCode = {\n cidr_not_available: \"cidr-not-available\",\n limit_exceeded: \"limit-exceeded\"\n};\nvar IpamPoolCidrState = {\n deprovisioned: \"deprovisioned\",\n failed_deprovision: \"failed-deprovision\",\n failed_import: \"failed-import\",\n failed_provision: \"failed-provision\",\n pending_deprovision: \"pending-deprovision\",\n pending_import: \"pending-import\",\n pending_provision: \"pending-provision\",\n provisioned: \"provisioned\"\n};\nvar AvailabilityZoneOptInStatus = {\n not_opted_in: \"not-opted-in\",\n opt_in_not_required: \"opt-in-not-required\",\n opted_in: \"opted-in\"\n};\nvar AvailabilityZoneState = {\n available: \"available\",\n constrained: \"constrained\",\n impaired: \"impaired\",\n information: \"information\",\n unavailable: \"unavailable\"\n};\nvar MetricType = {\n aggregate_latency: \"aggregate-latency\"\n};\nvar PeriodType = {\n fifteen_minutes: \"fifteen-minutes\",\n five_minutes: \"five-minutes\",\n one_day: \"one-day\",\n one_hour: \"one-hour\",\n one_week: \"one-week\",\n three_hours: \"three-hours\"\n};\nvar StatisticType = {\n p50: \"p50\"\n};\nvar CapacityBlockExtensionStatus = {\n PAYMENT_FAILED: \"payment-failed\",\n PAYMENT_PENDING: \"payment-pending\",\n PAYMENT_SUCCEEDED: \"payment-succeeded\"\n};\nvar CallerRole = {\n odcr_owner: \"odcr-owner\",\n unused_reservation_billing_owner: \"unused-reservation-billing-owner\"\n};\nvar CapacityReservationBillingRequestStatus = {\n accepted: \"accepted\",\n cancelled: \"cancelled\",\n expired: \"expired\",\n pending: \"pending\",\n rejected: \"rejected\",\n revoked: \"revoked\"\n};\nvar ClientVpnConnectionStatusCode = {\n active: \"active\",\n failed_to_terminate: \"failed-to-terminate\",\n terminated: \"terminated\",\n terminating: \"terminating\"\n};\nvar AssociatedNetworkType = {\n vpc: \"vpc\"\n};\nvar ClientVpnEndpointAttributeStatusCode = {\n applied: \"applied\",\n applying: \"applying\"\n};\nvar VpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING }\n}), \"VpnTunnelOptionsSpecificationFilterSensitiveLog\");\nvar VpnConnectionOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TunnelOptions && {\n TunnelOptions: obj.TunnelOptions.map((item) => VpnTunnelOptionsSpecificationFilterSensitiveLog(item))\n }\n}), \"VpnConnectionOptionsSpecificationFilterSensitiveLog\");\nvar CreateVpnConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Options && { Options: VpnConnectionOptionsSpecificationFilterSensitiveLog(obj.Options) }\n}), \"CreateVpnConnectionRequestFilterSensitiveLog\");\nvar TunnelOptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING }\n}), \"TunnelOptionFilterSensitiveLog\");\nvar VpnConnectionOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TunnelOptions && { TunnelOptions: obj.TunnelOptions.map((item) => TunnelOptionFilterSensitiveLog(item)) }\n}), \"VpnConnectionOptionsFilterSensitiveLog\");\nvar VpnConnectionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) },\n ...obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: import_smithy_client.SENSITIVE_STRING }\n}), \"VpnConnectionFilterSensitiveLog\");\nvar CreateVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }\n}), \"CreateVpnConnectionResultFilterSensitiveLog\");\nvar DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProvider && {\n VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)\n }\n}), \"DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog\");\nvar DescribeBundleTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.BundleTasks && { BundleTasks: obj.BundleTasks.map((item) => BundleTaskFilterSensitiveLog(item)) }\n}), \"DescribeBundleTasksResultFilterSensitiveLog\");\n\n// src/commands/CreateVpnConnectionCommand.ts\nvar CreateVpnConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpnConnection\", {}).n(\"EC2Client\", \"CreateVpnConnectionCommand\").f(CreateVpnConnectionRequestFilterSensitiveLog, CreateVpnConnectionResultFilterSensitiveLog).ser(se_CreateVpnConnectionCommand).de(de_CreateVpnConnectionCommand).build() {\n static {\n __name(this, \"CreateVpnConnectionCommand\");\n }\n};\n\n// src/commands/CreateVpnConnectionRouteCommand.ts\n\n\n\nvar CreateVpnConnectionRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpnConnectionRoute\", {}).n(\"EC2Client\", \"CreateVpnConnectionRouteCommand\").f(void 0, void 0).ser(se_CreateVpnConnectionRouteCommand).de(de_CreateVpnConnectionRouteCommand).build() {\n static {\n __name(this, \"CreateVpnConnectionRouteCommand\");\n }\n};\n\n// src/commands/CreateVpnGatewayCommand.ts\n\n\n\nvar CreateVpnGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"CreateVpnGateway\", {}).n(\"EC2Client\", \"CreateVpnGatewayCommand\").f(void 0, void 0).ser(se_CreateVpnGatewayCommand).de(de_CreateVpnGatewayCommand).build() {\n static {\n __name(this, \"CreateVpnGatewayCommand\");\n }\n};\n\n// src/commands/DeleteCarrierGatewayCommand.ts\n\n\n\nvar DeleteCarrierGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteCarrierGateway\", {}).n(\"EC2Client\", \"DeleteCarrierGatewayCommand\").f(void 0, void 0).ser(se_DeleteCarrierGatewayCommand).de(de_DeleteCarrierGatewayCommand).build() {\n static {\n __name(this, \"DeleteCarrierGatewayCommand\");\n }\n};\n\n// src/commands/DeleteClientVpnEndpointCommand.ts\n\n\n\nvar DeleteClientVpnEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteClientVpnEndpoint\", {}).n(\"EC2Client\", \"DeleteClientVpnEndpointCommand\").f(void 0, void 0).ser(se_DeleteClientVpnEndpointCommand).de(de_DeleteClientVpnEndpointCommand).build() {\n static {\n __name(this, \"DeleteClientVpnEndpointCommand\");\n }\n};\n\n// src/commands/DeleteClientVpnRouteCommand.ts\n\n\n\nvar DeleteClientVpnRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteClientVpnRoute\", {}).n(\"EC2Client\", \"DeleteClientVpnRouteCommand\").f(void 0, void 0).ser(se_DeleteClientVpnRouteCommand).de(de_DeleteClientVpnRouteCommand).build() {\n static {\n __name(this, \"DeleteClientVpnRouteCommand\");\n }\n};\n\n// src/commands/DeleteCoipCidrCommand.ts\n\n\n\nvar DeleteCoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteCoipCidr\", {}).n(\"EC2Client\", \"DeleteCoipCidrCommand\").f(void 0, void 0).ser(se_DeleteCoipCidrCommand).de(de_DeleteCoipCidrCommand).build() {\n static {\n __name(this, \"DeleteCoipCidrCommand\");\n }\n};\n\n// src/commands/DeleteCoipPoolCommand.ts\n\n\n\nvar DeleteCoipPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteCoipPool\", {}).n(\"EC2Client\", \"DeleteCoipPoolCommand\").f(void 0, void 0).ser(se_DeleteCoipPoolCommand).de(de_DeleteCoipPoolCommand).build() {\n static {\n __name(this, \"DeleteCoipPoolCommand\");\n }\n};\n\n// src/commands/DeleteCustomerGatewayCommand.ts\n\n\n\nvar DeleteCustomerGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteCustomerGateway\", {}).n(\"EC2Client\", \"DeleteCustomerGatewayCommand\").f(void 0, void 0).ser(se_DeleteCustomerGatewayCommand).de(de_DeleteCustomerGatewayCommand).build() {\n static {\n __name(this, \"DeleteCustomerGatewayCommand\");\n }\n};\n\n// src/commands/DeleteDhcpOptionsCommand.ts\n\n\n\nvar DeleteDhcpOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteDhcpOptions\", {}).n(\"EC2Client\", \"DeleteDhcpOptionsCommand\").f(void 0, void 0).ser(se_DeleteDhcpOptionsCommand).de(de_DeleteDhcpOptionsCommand).build() {\n static {\n __name(this, \"DeleteDhcpOptionsCommand\");\n }\n};\n\n// src/commands/DeleteEgressOnlyInternetGatewayCommand.ts\n\n\n\nvar DeleteEgressOnlyInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteEgressOnlyInternetGateway\", {}).n(\"EC2Client\", \"DeleteEgressOnlyInternetGatewayCommand\").f(void 0, void 0).ser(se_DeleteEgressOnlyInternetGatewayCommand).de(de_DeleteEgressOnlyInternetGatewayCommand).build() {\n static {\n __name(this, \"DeleteEgressOnlyInternetGatewayCommand\");\n }\n};\n\n// src/commands/DeleteFleetsCommand.ts\n\n\n\nvar DeleteFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteFleets\", {}).n(\"EC2Client\", \"DeleteFleetsCommand\").f(void 0, void 0).ser(se_DeleteFleetsCommand).de(de_DeleteFleetsCommand).build() {\n static {\n __name(this, \"DeleteFleetsCommand\");\n }\n};\n\n// src/commands/DeleteFlowLogsCommand.ts\n\n\n\nvar DeleteFlowLogsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteFlowLogs\", {}).n(\"EC2Client\", \"DeleteFlowLogsCommand\").f(void 0, void 0).ser(se_DeleteFlowLogsCommand).de(de_DeleteFlowLogsCommand).build() {\n static {\n __name(this, \"DeleteFlowLogsCommand\");\n }\n};\n\n// src/commands/DeleteFpgaImageCommand.ts\n\n\n\nvar DeleteFpgaImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteFpgaImage\", {}).n(\"EC2Client\", \"DeleteFpgaImageCommand\").f(void 0, void 0).ser(se_DeleteFpgaImageCommand).de(de_DeleteFpgaImageCommand).build() {\n static {\n __name(this, \"DeleteFpgaImageCommand\");\n }\n};\n\n// src/commands/DeleteInstanceConnectEndpointCommand.ts\n\n\n\nvar DeleteInstanceConnectEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteInstanceConnectEndpoint\", {}).n(\"EC2Client\", \"DeleteInstanceConnectEndpointCommand\").f(void 0, void 0).ser(se_DeleteInstanceConnectEndpointCommand).de(de_DeleteInstanceConnectEndpointCommand).build() {\n static {\n __name(this, \"DeleteInstanceConnectEndpointCommand\");\n }\n};\n\n// src/commands/DeleteInstanceEventWindowCommand.ts\n\n\n\nvar DeleteInstanceEventWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteInstanceEventWindow\", {}).n(\"EC2Client\", \"DeleteInstanceEventWindowCommand\").f(void 0, void 0).ser(se_DeleteInstanceEventWindowCommand).de(de_DeleteInstanceEventWindowCommand).build() {\n static {\n __name(this, \"DeleteInstanceEventWindowCommand\");\n }\n};\n\n// src/commands/DeleteInternetGatewayCommand.ts\n\n\n\nvar DeleteInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteInternetGateway\", {}).n(\"EC2Client\", \"DeleteInternetGatewayCommand\").f(void 0, void 0).ser(se_DeleteInternetGatewayCommand).de(de_DeleteInternetGatewayCommand).build() {\n static {\n __name(this, \"DeleteInternetGatewayCommand\");\n }\n};\n\n// src/commands/DeleteIpamCommand.ts\n\n\n\nvar DeleteIpamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteIpam\", {}).n(\"EC2Client\", \"DeleteIpamCommand\").f(void 0, void 0).ser(se_DeleteIpamCommand).de(de_DeleteIpamCommand).build() {\n static {\n __name(this, \"DeleteIpamCommand\");\n }\n};\n\n// src/commands/DeleteIpamExternalResourceVerificationTokenCommand.ts\n\n\n\nvar DeleteIpamExternalResourceVerificationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteIpamExternalResourceVerificationToken\", {}).n(\"EC2Client\", \"DeleteIpamExternalResourceVerificationTokenCommand\").f(void 0, void 0).ser(se_DeleteIpamExternalResourceVerificationTokenCommand).de(de_DeleteIpamExternalResourceVerificationTokenCommand).build() {\n static {\n __name(this, \"DeleteIpamExternalResourceVerificationTokenCommand\");\n }\n};\n\n// src/commands/DeleteIpamPoolCommand.ts\n\n\n\nvar DeleteIpamPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteIpamPool\", {}).n(\"EC2Client\", \"DeleteIpamPoolCommand\").f(void 0, void 0).ser(se_DeleteIpamPoolCommand).de(de_DeleteIpamPoolCommand).build() {\n static {\n __name(this, \"DeleteIpamPoolCommand\");\n }\n};\n\n// src/commands/DeleteIpamResourceDiscoveryCommand.ts\n\n\n\nvar DeleteIpamResourceDiscoveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteIpamResourceDiscovery\", {}).n(\"EC2Client\", \"DeleteIpamResourceDiscoveryCommand\").f(void 0, void 0).ser(se_DeleteIpamResourceDiscoveryCommand).de(de_DeleteIpamResourceDiscoveryCommand).build() {\n static {\n __name(this, \"DeleteIpamResourceDiscoveryCommand\");\n }\n};\n\n// src/commands/DeleteIpamScopeCommand.ts\n\n\n\nvar DeleteIpamScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteIpamScope\", {}).n(\"EC2Client\", \"DeleteIpamScopeCommand\").f(void 0, void 0).ser(se_DeleteIpamScopeCommand).de(de_DeleteIpamScopeCommand).build() {\n static {\n __name(this, \"DeleteIpamScopeCommand\");\n }\n};\n\n// src/commands/DeleteKeyPairCommand.ts\n\n\n\nvar DeleteKeyPairCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteKeyPair\", {}).n(\"EC2Client\", \"DeleteKeyPairCommand\").f(void 0, void 0).ser(se_DeleteKeyPairCommand).de(de_DeleteKeyPairCommand).build() {\n static {\n __name(this, \"DeleteKeyPairCommand\");\n }\n};\n\n// src/commands/DeleteLaunchTemplateCommand.ts\n\n\n\nvar DeleteLaunchTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLaunchTemplate\", {}).n(\"EC2Client\", \"DeleteLaunchTemplateCommand\").f(void 0, void 0).ser(se_DeleteLaunchTemplateCommand).de(de_DeleteLaunchTemplateCommand).build() {\n static {\n __name(this, \"DeleteLaunchTemplateCommand\");\n }\n};\n\n// src/commands/DeleteLaunchTemplateVersionsCommand.ts\n\n\n\nvar DeleteLaunchTemplateVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLaunchTemplateVersions\", {}).n(\"EC2Client\", \"DeleteLaunchTemplateVersionsCommand\").f(void 0, void 0).ser(se_DeleteLaunchTemplateVersionsCommand).de(de_DeleteLaunchTemplateVersionsCommand).build() {\n static {\n __name(this, \"DeleteLaunchTemplateVersionsCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayRouteCommand.ts\n\n\n\nvar DeleteLocalGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayRoute\", {}).n(\"EC2Client\", \"DeleteLocalGatewayRouteCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteCommand).de(de_DeleteLocalGatewayRouteCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayRouteCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayRouteTableCommand.ts\n\n\n\nvar DeleteLocalGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayRouteTable\", {}).n(\"EC2Client\", \"DeleteLocalGatewayRouteTableCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableCommand).de(de_DeleteLocalGatewayRouteTableCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts\n\n\n\nvar DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation\", {}).n(\"EC2Client\", \"DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).de(de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts\n\n\n\nvar DeleteLocalGatewayRouteTableVpcAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayRouteTableVpcAssociation\", {}).n(\"EC2Client\", \"DeleteLocalGatewayRouteTableVpcAssociationCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableVpcAssociationCommand).de(de_DeleteLocalGatewayRouteTableVpcAssociationCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayRouteTableVpcAssociationCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayVirtualInterfaceCommand.ts\n\n\n\nvar DeleteLocalGatewayVirtualInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayVirtualInterface\", {}).n(\"EC2Client\", \"DeleteLocalGatewayVirtualInterfaceCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayVirtualInterfaceCommand).de(de_DeleteLocalGatewayVirtualInterfaceCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayVirtualInterfaceCommand\");\n }\n};\n\n// src/commands/DeleteLocalGatewayVirtualInterfaceGroupCommand.ts\n\n\n\nvar DeleteLocalGatewayVirtualInterfaceGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteLocalGatewayVirtualInterfaceGroup\", {}).n(\"EC2Client\", \"DeleteLocalGatewayVirtualInterfaceGroupCommand\").f(void 0, void 0).ser(se_DeleteLocalGatewayVirtualInterfaceGroupCommand).de(de_DeleteLocalGatewayVirtualInterfaceGroupCommand).build() {\n static {\n __name(this, \"DeleteLocalGatewayVirtualInterfaceGroupCommand\");\n }\n};\n\n// src/commands/DeleteManagedPrefixListCommand.ts\n\n\n\nvar DeleteManagedPrefixListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteManagedPrefixList\", {}).n(\"EC2Client\", \"DeleteManagedPrefixListCommand\").f(void 0, void 0).ser(se_DeleteManagedPrefixListCommand).de(de_DeleteManagedPrefixListCommand).build() {\n static {\n __name(this, \"DeleteManagedPrefixListCommand\");\n }\n};\n\n// src/commands/DeleteNatGatewayCommand.ts\n\n\n\nvar DeleteNatGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNatGateway\", {}).n(\"EC2Client\", \"DeleteNatGatewayCommand\").f(void 0, void 0).ser(se_DeleteNatGatewayCommand).de(de_DeleteNatGatewayCommand).build() {\n static {\n __name(this, \"DeleteNatGatewayCommand\");\n }\n};\n\n// src/commands/DeleteNetworkAclCommand.ts\n\n\n\nvar DeleteNetworkAclCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkAcl\", {}).n(\"EC2Client\", \"DeleteNetworkAclCommand\").f(void 0, void 0).ser(se_DeleteNetworkAclCommand).de(de_DeleteNetworkAclCommand).build() {\n static {\n __name(this, \"DeleteNetworkAclCommand\");\n }\n};\n\n// src/commands/DeleteNetworkAclEntryCommand.ts\n\n\n\nvar DeleteNetworkAclEntryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkAclEntry\", {}).n(\"EC2Client\", \"DeleteNetworkAclEntryCommand\").f(void 0, void 0).ser(se_DeleteNetworkAclEntryCommand).de(de_DeleteNetworkAclEntryCommand).build() {\n static {\n __name(this, \"DeleteNetworkAclEntryCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.ts\n\n\n\nvar DeleteNetworkInsightsAccessScopeAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInsightsAccessScopeAnalysis\", {}).n(\"EC2Client\", \"DeleteNetworkInsightsAccessScopeAnalysisCommand\").f(void 0, void 0).ser(se_DeleteNetworkInsightsAccessScopeAnalysisCommand).de(de_DeleteNetworkInsightsAccessScopeAnalysisCommand).build() {\n static {\n __name(this, \"DeleteNetworkInsightsAccessScopeAnalysisCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInsightsAccessScopeCommand.ts\n\n\n\nvar DeleteNetworkInsightsAccessScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInsightsAccessScope\", {}).n(\"EC2Client\", \"DeleteNetworkInsightsAccessScopeCommand\").f(void 0, void 0).ser(se_DeleteNetworkInsightsAccessScopeCommand).de(de_DeleteNetworkInsightsAccessScopeCommand).build() {\n static {\n __name(this, \"DeleteNetworkInsightsAccessScopeCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInsightsAnalysisCommand.ts\n\n\n\nvar DeleteNetworkInsightsAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInsightsAnalysis\", {}).n(\"EC2Client\", \"DeleteNetworkInsightsAnalysisCommand\").f(void 0, void 0).ser(se_DeleteNetworkInsightsAnalysisCommand).de(de_DeleteNetworkInsightsAnalysisCommand).build() {\n static {\n __name(this, \"DeleteNetworkInsightsAnalysisCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInsightsPathCommand.ts\n\n\n\nvar DeleteNetworkInsightsPathCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInsightsPath\", {}).n(\"EC2Client\", \"DeleteNetworkInsightsPathCommand\").f(void 0, void 0).ser(se_DeleteNetworkInsightsPathCommand).de(de_DeleteNetworkInsightsPathCommand).build() {\n static {\n __name(this, \"DeleteNetworkInsightsPathCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInterfaceCommand.ts\n\n\n\nvar DeleteNetworkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInterface\", {}).n(\"EC2Client\", \"DeleteNetworkInterfaceCommand\").f(void 0, void 0).ser(se_DeleteNetworkInterfaceCommand).de(de_DeleteNetworkInterfaceCommand).build() {\n static {\n __name(this, \"DeleteNetworkInterfaceCommand\");\n }\n};\n\n// src/commands/DeleteNetworkInterfacePermissionCommand.ts\n\n\n\nvar DeleteNetworkInterfacePermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteNetworkInterfacePermission\", {}).n(\"EC2Client\", \"DeleteNetworkInterfacePermissionCommand\").f(void 0, void 0).ser(se_DeleteNetworkInterfacePermissionCommand).de(de_DeleteNetworkInterfacePermissionCommand).build() {\n static {\n __name(this, \"DeleteNetworkInterfacePermissionCommand\");\n }\n};\n\n// src/commands/DeletePlacementGroupCommand.ts\n\n\n\nvar DeletePlacementGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeletePlacementGroup\", {}).n(\"EC2Client\", \"DeletePlacementGroupCommand\").f(void 0, void 0).ser(se_DeletePlacementGroupCommand).de(de_DeletePlacementGroupCommand).build() {\n static {\n __name(this, \"DeletePlacementGroupCommand\");\n }\n};\n\n// src/commands/DeletePublicIpv4PoolCommand.ts\n\n\n\nvar DeletePublicIpv4PoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeletePublicIpv4Pool\", {}).n(\"EC2Client\", \"DeletePublicIpv4PoolCommand\").f(void 0, void 0).ser(se_DeletePublicIpv4PoolCommand).de(de_DeletePublicIpv4PoolCommand).build() {\n static {\n __name(this, \"DeletePublicIpv4PoolCommand\");\n }\n};\n\n// src/commands/DeleteQueuedReservedInstancesCommand.ts\n\n\n\nvar DeleteQueuedReservedInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteQueuedReservedInstances\", {}).n(\"EC2Client\", \"DeleteQueuedReservedInstancesCommand\").f(void 0, void 0).ser(se_DeleteQueuedReservedInstancesCommand).de(de_DeleteQueuedReservedInstancesCommand).build() {\n static {\n __name(this, \"DeleteQueuedReservedInstancesCommand\");\n }\n};\n\n// src/commands/DeleteRouteCommand.ts\n\n\n\nvar DeleteRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteRoute\", {}).n(\"EC2Client\", \"DeleteRouteCommand\").f(void 0, void 0).ser(se_DeleteRouteCommand).de(de_DeleteRouteCommand).build() {\n static {\n __name(this, \"DeleteRouteCommand\");\n }\n};\n\n// src/commands/DeleteRouteServerCommand.ts\n\n\n\nvar DeleteRouteServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteRouteServer\", {}).n(\"EC2Client\", \"DeleteRouteServerCommand\").f(void 0, void 0).ser(se_DeleteRouteServerCommand).de(de_DeleteRouteServerCommand).build() {\n static {\n __name(this, \"DeleteRouteServerCommand\");\n }\n};\n\n// src/commands/DeleteRouteServerEndpointCommand.ts\n\n\n\nvar DeleteRouteServerEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteRouteServerEndpoint\", {}).n(\"EC2Client\", \"DeleteRouteServerEndpointCommand\").f(void 0, void 0).ser(se_DeleteRouteServerEndpointCommand).de(de_DeleteRouteServerEndpointCommand).build() {\n static {\n __name(this, \"DeleteRouteServerEndpointCommand\");\n }\n};\n\n// src/commands/DeleteRouteServerPeerCommand.ts\n\n\n\nvar DeleteRouteServerPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteRouteServerPeer\", {}).n(\"EC2Client\", \"DeleteRouteServerPeerCommand\").f(void 0, void 0).ser(se_DeleteRouteServerPeerCommand).de(de_DeleteRouteServerPeerCommand).build() {\n static {\n __name(this, \"DeleteRouteServerPeerCommand\");\n }\n};\n\n// src/commands/DeleteRouteTableCommand.ts\n\n\n\nvar DeleteRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteRouteTable\", {}).n(\"EC2Client\", \"DeleteRouteTableCommand\").f(void 0, void 0).ser(se_DeleteRouteTableCommand).de(de_DeleteRouteTableCommand).build() {\n static {\n __name(this, \"DeleteRouteTableCommand\");\n }\n};\n\n// src/commands/DeleteSecurityGroupCommand.ts\n\n\n\nvar DeleteSecurityGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteSecurityGroup\", {}).n(\"EC2Client\", \"DeleteSecurityGroupCommand\").f(void 0, void 0).ser(se_DeleteSecurityGroupCommand).de(de_DeleteSecurityGroupCommand).build() {\n static {\n __name(this, \"DeleteSecurityGroupCommand\");\n }\n};\n\n// src/commands/DeleteSnapshotCommand.ts\n\n\n\nvar DeleteSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteSnapshot\", {}).n(\"EC2Client\", \"DeleteSnapshotCommand\").f(void 0, void 0).ser(se_DeleteSnapshotCommand).de(de_DeleteSnapshotCommand).build() {\n static {\n __name(this, \"DeleteSnapshotCommand\");\n }\n};\n\n// src/commands/DeleteSpotDatafeedSubscriptionCommand.ts\n\n\n\nvar DeleteSpotDatafeedSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteSpotDatafeedSubscription\", {}).n(\"EC2Client\", \"DeleteSpotDatafeedSubscriptionCommand\").f(void 0, void 0).ser(se_DeleteSpotDatafeedSubscriptionCommand).de(de_DeleteSpotDatafeedSubscriptionCommand).build() {\n static {\n __name(this, \"DeleteSpotDatafeedSubscriptionCommand\");\n }\n};\n\n// src/commands/DeleteSubnetCidrReservationCommand.ts\n\n\n\nvar DeleteSubnetCidrReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteSubnetCidrReservation\", {}).n(\"EC2Client\", \"DeleteSubnetCidrReservationCommand\").f(void 0, void 0).ser(se_DeleteSubnetCidrReservationCommand).de(de_DeleteSubnetCidrReservationCommand).build() {\n static {\n __name(this, \"DeleteSubnetCidrReservationCommand\");\n }\n};\n\n// src/commands/DeleteSubnetCommand.ts\n\n\n\nvar DeleteSubnetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteSubnet\", {}).n(\"EC2Client\", \"DeleteSubnetCommand\").f(void 0, void 0).ser(se_DeleteSubnetCommand).de(de_DeleteSubnetCommand).build() {\n static {\n __name(this, \"DeleteSubnetCommand\");\n }\n};\n\n// src/commands/DeleteTagsCommand.ts\n\n\n\nvar DeleteTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTags\", {}).n(\"EC2Client\", \"DeleteTagsCommand\").f(void 0, void 0).ser(se_DeleteTagsCommand).de(de_DeleteTagsCommand).build() {\n static {\n __name(this, \"DeleteTagsCommand\");\n }\n};\n\n// src/commands/DeleteTrafficMirrorFilterCommand.ts\n\n\n\nvar DeleteTrafficMirrorFilterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTrafficMirrorFilter\", {}).n(\"EC2Client\", \"DeleteTrafficMirrorFilterCommand\").f(void 0, void 0).ser(se_DeleteTrafficMirrorFilterCommand).de(de_DeleteTrafficMirrorFilterCommand).build() {\n static {\n __name(this, \"DeleteTrafficMirrorFilterCommand\");\n }\n};\n\n// src/commands/DeleteTrafficMirrorFilterRuleCommand.ts\n\n\n\nvar DeleteTrafficMirrorFilterRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTrafficMirrorFilterRule\", {}).n(\"EC2Client\", \"DeleteTrafficMirrorFilterRuleCommand\").f(void 0, void 0).ser(se_DeleteTrafficMirrorFilterRuleCommand).de(de_DeleteTrafficMirrorFilterRuleCommand).build() {\n static {\n __name(this, \"DeleteTrafficMirrorFilterRuleCommand\");\n }\n};\n\n// src/commands/DeleteTrafficMirrorSessionCommand.ts\n\n\n\nvar DeleteTrafficMirrorSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTrafficMirrorSession\", {}).n(\"EC2Client\", \"DeleteTrafficMirrorSessionCommand\").f(void 0, void 0).ser(se_DeleteTrafficMirrorSessionCommand).de(de_DeleteTrafficMirrorSessionCommand).build() {\n static {\n __name(this, \"DeleteTrafficMirrorSessionCommand\");\n }\n};\n\n// src/commands/DeleteTrafficMirrorTargetCommand.ts\n\n\n\nvar DeleteTrafficMirrorTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTrafficMirrorTarget\", {}).n(\"EC2Client\", \"DeleteTrafficMirrorTargetCommand\").f(void 0, void 0).ser(se_DeleteTrafficMirrorTargetCommand).de(de_DeleteTrafficMirrorTargetCommand).build() {\n static {\n __name(this, \"DeleteTrafficMirrorTargetCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayCommand.ts\n\n\n\nvar DeleteTransitGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGateway\", {}).n(\"EC2Client\", \"DeleteTransitGatewayCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayCommand).de(de_DeleteTransitGatewayCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayConnectCommand.ts\n\n\n\nvar DeleteTransitGatewayConnectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayConnect\", {}).n(\"EC2Client\", \"DeleteTransitGatewayConnectCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayConnectCommand).de(de_DeleteTransitGatewayConnectCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayConnectCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayConnectPeerCommand.ts\n\n\n\nvar DeleteTransitGatewayConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayConnectPeer\", {}).n(\"EC2Client\", \"DeleteTransitGatewayConnectPeerCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayConnectPeerCommand).de(de_DeleteTransitGatewayConnectPeerCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayConnectPeerCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayMulticastDomainCommand.ts\n\n\n\nvar DeleteTransitGatewayMulticastDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayMulticastDomain\", {}).n(\"EC2Client\", \"DeleteTransitGatewayMulticastDomainCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayMulticastDomainCommand).de(de_DeleteTransitGatewayMulticastDomainCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayMulticastDomainCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts\n\n\n\nvar DeleteTransitGatewayPeeringAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayPeeringAttachment\", {}).n(\"EC2Client\", \"DeleteTransitGatewayPeeringAttachmentCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayPeeringAttachmentCommand).de(de_DeleteTransitGatewayPeeringAttachmentCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayPeeringAttachmentCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayPolicyTableCommand.ts\n\n\n\nvar DeleteTransitGatewayPolicyTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayPolicyTable\", {}).n(\"EC2Client\", \"DeleteTransitGatewayPolicyTableCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayPolicyTableCommand).de(de_DeleteTransitGatewayPolicyTableCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayPolicyTableCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts\n\n\n\nvar DeleteTransitGatewayPrefixListReferenceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayPrefixListReference\", {}).n(\"EC2Client\", \"DeleteTransitGatewayPrefixListReferenceCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayPrefixListReferenceCommand).de(de_DeleteTransitGatewayPrefixListReferenceCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayPrefixListReferenceCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayRouteCommand.ts\n\n\n\nvar DeleteTransitGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayRoute\", {}).n(\"EC2Client\", \"DeleteTransitGatewayRouteCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteCommand).de(de_DeleteTransitGatewayRouteCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayRouteCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.ts\n\n\n\nvar DeleteTransitGatewayRouteTableAnnouncementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayRouteTableAnnouncement\", {}).n(\"EC2Client\", \"DeleteTransitGatewayRouteTableAnnouncementCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteTableAnnouncementCommand).de(de_DeleteTransitGatewayRouteTableAnnouncementCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayRouteTableAnnouncementCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayRouteTableCommand.ts\n\n\n\nvar DeleteTransitGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayRouteTable\", {}).n(\"EC2Client\", \"DeleteTransitGatewayRouteTableCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteTableCommand).de(de_DeleteTransitGatewayRouteTableCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/DeleteTransitGatewayVpcAttachmentCommand.ts\n\n\n\nvar DeleteTransitGatewayVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteTransitGatewayVpcAttachment\", {}).n(\"EC2Client\", \"DeleteTransitGatewayVpcAttachmentCommand\").f(void 0, void 0).ser(se_DeleteTransitGatewayVpcAttachmentCommand).de(de_DeleteTransitGatewayVpcAttachmentCommand).build() {\n static {\n __name(this, \"DeleteTransitGatewayVpcAttachmentCommand\");\n }\n};\n\n// src/commands/DeleteVerifiedAccessEndpointCommand.ts\n\n\n\nvar DeleteVerifiedAccessEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVerifiedAccessEndpoint\", {}).n(\"EC2Client\", \"DeleteVerifiedAccessEndpointCommand\").f(void 0, void 0).ser(se_DeleteVerifiedAccessEndpointCommand).de(de_DeleteVerifiedAccessEndpointCommand).build() {\n static {\n __name(this, \"DeleteVerifiedAccessEndpointCommand\");\n }\n};\n\n// src/commands/DeleteVerifiedAccessGroupCommand.ts\n\n\n\nvar DeleteVerifiedAccessGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVerifiedAccessGroup\", {}).n(\"EC2Client\", \"DeleteVerifiedAccessGroupCommand\").f(void 0, void 0).ser(se_DeleteVerifiedAccessGroupCommand).de(de_DeleteVerifiedAccessGroupCommand).build() {\n static {\n __name(this, \"DeleteVerifiedAccessGroupCommand\");\n }\n};\n\n// src/commands/DeleteVerifiedAccessInstanceCommand.ts\n\n\n\nvar DeleteVerifiedAccessInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVerifiedAccessInstance\", {}).n(\"EC2Client\", \"DeleteVerifiedAccessInstanceCommand\").f(void 0, void 0).ser(se_DeleteVerifiedAccessInstanceCommand).de(de_DeleteVerifiedAccessInstanceCommand).build() {\n static {\n __name(this, \"DeleteVerifiedAccessInstanceCommand\");\n }\n};\n\n// src/commands/DeleteVerifiedAccessTrustProviderCommand.ts\n\n\n\nvar DeleteVerifiedAccessTrustProviderCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVerifiedAccessTrustProvider\", {}).n(\"EC2Client\", \"DeleteVerifiedAccessTrustProviderCommand\").f(void 0, DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_DeleteVerifiedAccessTrustProviderCommand).de(de_DeleteVerifiedAccessTrustProviderCommand).build() {\n static {\n __name(this, \"DeleteVerifiedAccessTrustProviderCommand\");\n }\n};\n\n// src/commands/DeleteVolumeCommand.ts\n\n\n\nvar DeleteVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVolume\", {}).n(\"EC2Client\", \"DeleteVolumeCommand\").f(void 0, void 0).ser(se_DeleteVolumeCommand).de(de_DeleteVolumeCommand).build() {\n static {\n __name(this, \"DeleteVolumeCommand\");\n }\n};\n\n// src/commands/DeleteVpcBlockPublicAccessExclusionCommand.ts\n\n\n\nvar DeleteVpcBlockPublicAccessExclusionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpcBlockPublicAccessExclusion\", {}).n(\"EC2Client\", \"DeleteVpcBlockPublicAccessExclusionCommand\").f(void 0, void 0).ser(se_DeleteVpcBlockPublicAccessExclusionCommand).de(de_DeleteVpcBlockPublicAccessExclusionCommand).build() {\n static {\n __name(this, \"DeleteVpcBlockPublicAccessExclusionCommand\");\n }\n};\n\n// src/commands/DeleteVpcCommand.ts\n\n\n\nvar DeleteVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpc\", {}).n(\"EC2Client\", \"DeleteVpcCommand\").f(void 0, void 0).ser(se_DeleteVpcCommand).de(de_DeleteVpcCommand).build() {\n static {\n __name(this, \"DeleteVpcCommand\");\n }\n};\n\n// src/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts\n\n\n\nvar DeleteVpcEndpointConnectionNotificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpcEndpointConnectionNotifications\", {}).n(\"EC2Client\", \"DeleteVpcEndpointConnectionNotificationsCommand\").f(void 0, void 0).ser(se_DeleteVpcEndpointConnectionNotificationsCommand).de(de_DeleteVpcEndpointConnectionNotificationsCommand).build() {\n static {\n __name(this, \"DeleteVpcEndpointConnectionNotificationsCommand\");\n }\n};\n\n// src/commands/DeleteVpcEndpointsCommand.ts\n\n\n\nvar DeleteVpcEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpcEndpoints\", {}).n(\"EC2Client\", \"DeleteVpcEndpointsCommand\").f(void 0, void 0).ser(se_DeleteVpcEndpointsCommand).de(de_DeleteVpcEndpointsCommand).build() {\n static {\n __name(this, \"DeleteVpcEndpointsCommand\");\n }\n};\n\n// src/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts\n\n\n\nvar DeleteVpcEndpointServiceConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpcEndpointServiceConfigurations\", {}).n(\"EC2Client\", \"DeleteVpcEndpointServiceConfigurationsCommand\").f(void 0, void 0).ser(se_DeleteVpcEndpointServiceConfigurationsCommand).de(de_DeleteVpcEndpointServiceConfigurationsCommand).build() {\n static {\n __name(this, \"DeleteVpcEndpointServiceConfigurationsCommand\");\n }\n};\n\n// src/commands/DeleteVpcPeeringConnectionCommand.ts\n\n\n\nvar DeleteVpcPeeringConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpcPeeringConnection\", {}).n(\"EC2Client\", \"DeleteVpcPeeringConnectionCommand\").f(void 0, void 0).ser(se_DeleteVpcPeeringConnectionCommand).de(de_DeleteVpcPeeringConnectionCommand).build() {\n static {\n __name(this, \"DeleteVpcPeeringConnectionCommand\");\n }\n};\n\n// src/commands/DeleteVpnConnectionCommand.ts\n\n\n\nvar DeleteVpnConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpnConnection\", {}).n(\"EC2Client\", \"DeleteVpnConnectionCommand\").f(void 0, void 0).ser(se_DeleteVpnConnectionCommand).de(de_DeleteVpnConnectionCommand).build() {\n static {\n __name(this, \"DeleteVpnConnectionCommand\");\n }\n};\n\n// src/commands/DeleteVpnConnectionRouteCommand.ts\n\n\n\nvar DeleteVpnConnectionRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpnConnectionRoute\", {}).n(\"EC2Client\", \"DeleteVpnConnectionRouteCommand\").f(void 0, void 0).ser(se_DeleteVpnConnectionRouteCommand).de(de_DeleteVpnConnectionRouteCommand).build() {\n static {\n __name(this, \"DeleteVpnConnectionRouteCommand\");\n }\n};\n\n// src/commands/DeleteVpnGatewayCommand.ts\n\n\n\nvar DeleteVpnGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeleteVpnGateway\", {}).n(\"EC2Client\", \"DeleteVpnGatewayCommand\").f(void 0, void 0).ser(se_DeleteVpnGatewayCommand).de(de_DeleteVpnGatewayCommand).build() {\n static {\n __name(this, \"DeleteVpnGatewayCommand\");\n }\n};\n\n// src/commands/DeprovisionByoipCidrCommand.ts\n\n\n\nvar DeprovisionByoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeprovisionByoipCidr\", {}).n(\"EC2Client\", \"DeprovisionByoipCidrCommand\").f(void 0, void 0).ser(se_DeprovisionByoipCidrCommand).de(de_DeprovisionByoipCidrCommand).build() {\n static {\n __name(this, \"DeprovisionByoipCidrCommand\");\n }\n};\n\n// src/commands/DeprovisionIpamByoasnCommand.ts\n\n\n\nvar DeprovisionIpamByoasnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeprovisionIpamByoasn\", {}).n(\"EC2Client\", \"DeprovisionIpamByoasnCommand\").f(void 0, void 0).ser(se_DeprovisionIpamByoasnCommand).de(de_DeprovisionIpamByoasnCommand).build() {\n static {\n __name(this, \"DeprovisionIpamByoasnCommand\");\n }\n};\n\n// src/commands/DeprovisionIpamPoolCidrCommand.ts\n\n\n\nvar DeprovisionIpamPoolCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeprovisionIpamPoolCidr\", {}).n(\"EC2Client\", \"DeprovisionIpamPoolCidrCommand\").f(void 0, void 0).ser(se_DeprovisionIpamPoolCidrCommand).de(de_DeprovisionIpamPoolCidrCommand).build() {\n static {\n __name(this, \"DeprovisionIpamPoolCidrCommand\");\n }\n};\n\n// src/commands/DeprovisionPublicIpv4PoolCidrCommand.ts\n\n\n\nvar DeprovisionPublicIpv4PoolCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeprovisionPublicIpv4PoolCidr\", {}).n(\"EC2Client\", \"DeprovisionPublicIpv4PoolCidrCommand\").f(void 0, void 0).ser(se_DeprovisionPublicIpv4PoolCidrCommand).de(de_DeprovisionPublicIpv4PoolCidrCommand).build() {\n static {\n __name(this, \"DeprovisionPublicIpv4PoolCidrCommand\");\n }\n};\n\n// src/commands/DeregisterImageCommand.ts\n\n\n\nvar DeregisterImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeregisterImage\", {}).n(\"EC2Client\", \"DeregisterImageCommand\").f(void 0, void 0).ser(se_DeregisterImageCommand).de(de_DeregisterImageCommand).build() {\n static {\n __name(this, \"DeregisterImageCommand\");\n }\n};\n\n// src/commands/DeregisterInstanceEventNotificationAttributesCommand.ts\n\n\n\nvar DeregisterInstanceEventNotificationAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeregisterInstanceEventNotificationAttributes\", {}).n(\"EC2Client\", \"DeregisterInstanceEventNotificationAttributesCommand\").f(void 0, void 0).ser(se_DeregisterInstanceEventNotificationAttributesCommand).de(de_DeregisterInstanceEventNotificationAttributesCommand).build() {\n static {\n __name(this, \"DeregisterInstanceEventNotificationAttributesCommand\");\n }\n};\n\n// src/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts\n\n\n\nvar DeregisterTransitGatewayMulticastGroupMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeregisterTransitGatewayMulticastGroupMembers\", {}).n(\"EC2Client\", \"DeregisterTransitGatewayMulticastGroupMembersCommand\").f(void 0, void 0).ser(se_DeregisterTransitGatewayMulticastGroupMembersCommand).de(de_DeregisterTransitGatewayMulticastGroupMembersCommand).build() {\n static {\n __name(this, \"DeregisterTransitGatewayMulticastGroupMembersCommand\");\n }\n};\n\n// src/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts\n\n\n\nvar DeregisterTransitGatewayMulticastGroupSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DeregisterTransitGatewayMulticastGroupSources\", {}).n(\"EC2Client\", \"DeregisterTransitGatewayMulticastGroupSourcesCommand\").f(void 0, void 0).ser(se_DeregisterTransitGatewayMulticastGroupSourcesCommand).de(de_DeregisterTransitGatewayMulticastGroupSourcesCommand).build() {\n static {\n __name(this, \"DeregisterTransitGatewayMulticastGroupSourcesCommand\");\n }\n};\n\n// src/commands/DescribeAccountAttributesCommand.ts\n\n\n\nvar DescribeAccountAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAccountAttributes\", {}).n(\"EC2Client\", \"DescribeAccountAttributesCommand\").f(void 0, void 0).ser(se_DescribeAccountAttributesCommand).de(de_DescribeAccountAttributesCommand).build() {\n static {\n __name(this, \"DescribeAccountAttributesCommand\");\n }\n};\n\n// src/commands/DescribeAddressesAttributeCommand.ts\n\n\n\nvar DescribeAddressesAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAddressesAttribute\", {}).n(\"EC2Client\", \"DescribeAddressesAttributeCommand\").f(void 0, void 0).ser(se_DescribeAddressesAttributeCommand).de(de_DescribeAddressesAttributeCommand).build() {\n static {\n __name(this, \"DescribeAddressesAttributeCommand\");\n }\n};\n\n// src/commands/DescribeAddressesCommand.ts\n\n\n\nvar DescribeAddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAddresses\", {}).n(\"EC2Client\", \"DescribeAddressesCommand\").f(void 0, void 0).ser(se_DescribeAddressesCommand).de(de_DescribeAddressesCommand).build() {\n static {\n __name(this, \"DescribeAddressesCommand\");\n }\n};\n\n// src/commands/DescribeAddressTransfersCommand.ts\n\n\n\nvar DescribeAddressTransfersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAddressTransfers\", {}).n(\"EC2Client\", \"DescribeAddressTransfersCommand\").f(void 0, void 0).ser(se_DescribeAddressTransfersCommand).de(de_DescribeAddressTransfersCommand).build() {\n static {\n __name(this, \"DescribeAddressTransfersCommand\");\n }\n};\n\n// src/commands/DescribeAggregateIdFormatCommand.ts\n\n\n\nvar DescribeAggregateIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAggregateIdFormat\", {}).n(\"EC2Client\", \"DescribeAggregateIdFormatCommand\").f(void 0, void 0).ser(se_DescribeAggregateIdFormatCommand).de(de_DescribeAggregateIdFormatCommand).build() {\n static {\n __name(this, \"DescribeAggregateIdFormatCommand\");\n }\n};\n\n// src/commands/DescribeAvailabilityZonesCommand.ts\n\n\n\nvar DescribeAvailabilityZonesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAvailabilityZones\", {}).n(\"EC2Client\", \"DescribeAvailabilityZonesCommand\").f(void 0, void 0).ser(se_DescribeAvailabilityZonesCommand).de(de_DescribeAvailabilityZonesCommand).build() {\n static {\n __name(this, \"DescribeAvailabilityZonesCommand\");\n }\n};\n\n// src/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.ts\n\n\n\nvar DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeAwsNetworkPerformanceMetricSubscriptions\", {}).n(\"EC2Client\", \"DescribeAwsNetworkPerformanceMetricSubscriptionsCommand\").f(void 0, void 0).ser(se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand).de(de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand).build() {\n static {\n __name(this, \"DescribeAwsNetworkPerformanceMetricSubscriptionsCommand\");\n }\n};\n\n// src/commands/DescribeBundleTasksCommand.ts\n\n\n\nvar DescribeBundleTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeBundleTasks\", {}).n(\"EC2Client\", \"DescribeBundleTasksCommand\").f(void 0, DescribeBundleTasksResultFilterSensitiveLog).ser(se_DescribeBundleTasksCommand).de(de_DescribeBundleTasksCommand).build() {\n static {\n __name(this, \"DescribeBundleTasksCommand\");\n }\n};\n\n// src/commands/DescribeByoipCidrsCommand.ts\n\n\n\nvar DescribeByoipCidrsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeByoipCidrs\", {}).n(\"EC2Client\", \"DescribeByoipCidrsCommand\").f(void 0, void 0).ser(se_DescribeByoipCidrsCommand).de(de_DescribeByoipCidrsCommand).build() {\n static {\n __name(this, \"DescribeByoipCidrsCommand\");\n }\n};\n\n// src/commands/DescribeCapacityBlockExtensionHistoryCommand.ts\n\n\n\nvar DescribeCapacityBlockExtensionHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityBlockExtensionHistory\", {}).n(\"EC2Client\", \"DescribeCapacityBlockExtensionHistoryCommand\").f(void 0, void 0).ser(se_DescribeCapacityBlockExtensionHistoryCommand).de(de_DescribeCapacityBlockExtensionHistoryCommand).build() {\n static {\n __name(this, \"DescribeCapacityBlockExtensionHistoryCommand\");\n }\n};\n\n// src/commands/DescribeCapacityBlockExtensionOfferingsCommand.ts\n\n\n\nvar DescribeCapacityBlockExtensionOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityBlockExtensionOfferings\", {}).n(\"EC2Client\", \"DescribeCapacityBlockExtensionOfferingsCommand\").f(void 0, void 0).ser(se_DescribeCapacityBlockExtensionOfferingsCommand).de(de_DescribeCapacityBlockExtensionOfferingsCommand).build() {\n static {\n __name(this, \"DescribeCapacityBlockExtensionOfferingsCommand\");\n }\n};\n\n// src/commands/DescribeCapacityBlockOfferingsCommand.ts\n\n\n\nvar DescribeCapacityBlockOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityBlockOfferings\", {}).n(\"EC2Client\", \"DescribeCapacityBlockOfferingsCommand\").f(void 0, void 0).ser(se_DescribeCapacityBlockOfferingsCommand).de(de_DescribeCapacityBlockOfferingsCommand).build() {\n static {\n __name(this, \"DescribeCapacityBlockOfferingsCommand\");\n }\n};\n\n// src/commands/DescribeCapacityReservationBillingRequestsCommand.ts\n\n\n\nvar DescribeCapacityReservationBillingRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityReservationBillingRequests\", {}).n(\"EC2Client\", \"DescribeCapacityReservationBillingRequestsCommand\").f(void 0, void 0).ser(se_DescribeCapacityReservationBillingRequestsCommand).de(de_DescribeCapacityReservationBillingRequestsCommand).build() {\n static {\n __name(this, \"DescribeCapacityReservationBillingRequestsCommand\");\n }\n};\n\n// src/commands/DescribeCapacityReservationFleetsCommand.ts\n\n\n\nvar DescribeCapacityReservationFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityReservationFleets\", {}).n(\"EC2Client\", \"DescribeCapacityReservationFleetsCommand\").f(void 0, void 0).ser(se_DescribeCapacityReservationFleetsCommand).de(de_DescribeCapacityReservationFleetsCommand).build() {\n static {\n __name(this, \"DescribeCapacityReservationFleetsCommand\");\n }\n};\n\n// src/commands/DescribeCapacityReservationsCommand.ts\n\n\n\nvar DescribeCapacityReservationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCapacityReservations\", {}).n(\"EC2Client\", \"DescribeCapacityReservationsCommand\").f(void 0, void 0).ser(se_DescribeCapacityReservationsCommand).de(de_DescribeCapacityReservationsCommand).build() {\n static {\n __name(this, \"DescribeCapacityReservationsCommand\");\n }\n};\n\n// src/commands/DescribeCarrierGatewaysCommand.ts\n\n\n\nvar DescribeCarrierGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCarrierGateways\", {}).n(\"EC2Client\", \"DescribeCarrierGatewaysCommand\").f(void 0, void 0).ser(se_DescribeCarrierGatewaysCommand).de(de_DescribeCarrierGatewaysCommand).build() {\n static {\n __name(this, \"DescribeCarrierGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeClassicLinkInstancesCommand.ts\n\n\n\nvar DescribeClassicLinkInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClassicLinkInstances\", {}).n(\"EC2Client\", \"DescribeClassicLinkInstancesCommand\").f(void 0, void 0).ser(se_DescribeClassicLinkInstancesCommand).de(de_DescribeClassicLinkInstancesCommand).build() {\n static {\n __name(this, \"DescribeClassicLinkInstancesCommand\");\n }\n};\n\n// src/commands/DescribeClientVpnAuthorizationRulesCommand.ts\n\n\n\nvar DescribeClientVpnAuthorizationRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClientVpnAuthorizationRules\", {}).n(\"EC2Client\", \"DescribeClientVpnAuthorizationRulesCommand\").f(void 0, void 0).ser(se_DescribeClientVpnAuthorizationRulesCommand).de(de_DescribeClientVpnAuthorizationRulesCommand).build() {\n static {\n __name(this, \"DescribeClientVpnAuthorizationRulesCommand\");\n }\n};\n\n// src/commands/DescribeClientVpnConnectionsCommand.ts\n\n\n\nvar DescribeClientVpnConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClientVpnConnections\", {}).n(\"EC2Client\", \"DescribeClientVpnConnectionsCommand\").f(void 0, void 0).ser(se_DescribeClientVpnConnectionsCommand).de(de_DescribeClientVpnConnectionsCommand).build() {\n static {\n __name(this, \"DescribeClientVpnConnectionsCommand\");\n }\n};\n\n// src/commands/DescribeClientVpnEndpointsCommand.ts\n\n\n\nvar DescribeClientVpnEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClientVpnEndpoints\", {}).n(\"EC2Client\", \"DescribeClientVpnEndpointsCommand\").f(void 0, void 0).ser(se_DescribeClientVpnEndpointsCommand).de(de_DescribeClientVpnEndpointsCommand).build() {\n static {\n __name(this, \"DescribeClientVpnEndpointsCommand\");\n }\n};\n\n// src/commands/DescribeClientVpnRoutesCommand.ts\n\n\n\nvar DescribeClientVpnRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClientVpnRoutes\", {}).n(\"EC2Client\", \"DescribeClientVpnRoutesCommand\").f(void 0, void 0).ser(se_DescribeClientVpnRoutesCommand).de(de_DescribeClientVpnRoutesCommand).build() {\n static {\n __name(this, \"DescribeClientVpnRoutesCommand\");\n }\n};\n\n// src/commands/DescribeClientVpnTargetNetworksCommand.ts\n\n\n\nvar DescribeClientVpnTargetNetworksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeClientVpnTargetNetworks\", {}).n(\"EC2Client\", \"DescribeClientVpnTargetNetworksCommand\").f(void 0, void 0).ser(se_DescribeClientVpnTargetNetworksCommand).de(de_DescribeClientVpnTargetNetworksCommand).build() {\n static {\n __name(this, \"DescribeClientVpnTargetNetworksCommand\");\n }\n};\n\n// src/commands/DescribeCoipPoolsCommand.ts\n\n\n\nvar DescribeCoipPoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCoipPools\", {}).n(\"EC2Client\", \"DescribeCoipPoolsCommand\").f(void 0, void 0).ser(se_DescribeCoipPoolsCommand).de(de_DescribeCoipPoolsCommand).build() {\n static {\n __name(this, \"DescribeCoipPoolsCommand\");\n }\n};\n\n// src/commands/DescribeConversionTasksCommand.ts\n\n\n\n\n// src/models/models_4.ts\n\nvar VpnProtocol = {\n openvpn: \"openvpn\"\n};\nvar ConversionTaskState = {\n active: \"active\",\n cancelled: \"cancelled\",\n cancelling: \"cancelling\",\n completed: \"completed\"\n};\nvar ReportState = {\n cancelled: \"cancelled\",\n complete: \"complete\",\n error: \"error\",\n running: \"running\"\n};\nvar ElasticGpuStatus = {\n Impaired: \"IMPAIRED\",\n Ok: \"OK\"\n};\nvar ElasticGpuState = {\n Attached: \"ATTACHED\"\n};\nvar FastLaunchResourceType = {\n SNAPSHOT: \"snapshot\"\n};\nvar FastLaunchStateCode = {\n disabling: \"disabling\",\n disabling_failed: \"disabling-failed\",\n enabled: \"enabled\",\n enabled_failed: \"enabled-failed\",\n enabling: \"enabling\",\n enabling_failed: \"enabling-failed\"\n};\nvar FastSnapshotRestoreStateCode = {\n disabled: \"disabled\",\n disabling: \"disabling\",\n enabled: \"enabled\",\n enabling: \"enabling\",\n optimizing: \"optimizing\"\n};\nvar FleetEventType = {\n FLEET_CHANGE: \"fleet-change\",\n INSTANCE_CHANGE: \"instance-change\",\n SERVICE_ERROR: \"service-error\"\n};\nvar FleetActivityStatus = {\n ERROR: \"error\",\n FULFILLED: \"fulfilled\",\n PENDING_FULFILLMENT: \"pending_fulfillment\",\n PENDING_TERMINATION: \"pending_termination\"\n};\nvar FpgaImageAttributeName = {\n description: \"description\",\n loadPermission: \"loadPermission\",\n name: \"name\",\n productCodes: \"productCodes\"\n};\nvar PermissionGroup = {\n all: \"all\"\n};\nvar ProductCodeValues = {\n devpay: \"devpay\",\n marketplace: \"marketplace\"\n};\nvar FpgaImageStateCode = {\n available: \"available\",\n failed: \"failed\",\n pending: \"pending\",\n unavailable: \"unavailable\"\n};\nvar PaymentOption = {\n ALL_UPFRONT: \"AllUpfront\",\n NO_UPFRONT: \"NoUpfront\",\n PARTIAL_UPFRONT: \"PartialUpfront\"\n};\nvar ReservationState = {\n ACTIVE: \"active\",\n PAYMENT_FAILED: \"payment-failed\",\n PAYMENT_PENDING: \"payment-pending\",\n RETIRED: \"retired\"\n};\nvar ImageAttributeName = {\n blockDeviceMapping: \"blockDeviceMapping\",\n bootMode: \"bootMode\",\n deregistrationProtection: \"deregistrationProtection\",\n description: \"description\",\n imdsSupport: \"imdsSupport\",\n kernel: \"kernel\",\n lastLaunchedTime: \"lastLaunchedTime\",\n launchPermission: \"launchPermission\",\n productCodes: \"productCodes\",\n ramdisk: \"ramdisk\",\n sriovNetSupport: \"sriovNetSupport\",\n tpmSupport: \"tpmSupport\",\n uefiData: \"uefiData\"\n};\nvar ArchitectureValues = {\n arm64: \"arm64\",\n arm64_mac: \"arm64_mac\",\n i386: \"i386\",\n x86_64: \"x86_64\",\n x86_64_mac: \"x86_64_mac\"\n};\nvar BootModeValues = {\n legacy_bios: \"legacy-bios\",\n uefi: \"uefi\",\n uefi_preferred: \"uefi-preferred\"\n};\nvar HypervisorType = {\n ovm: \"ovm\",\n xen: \"xen\"\n};\nvar ImageTypeValues = {\n kernel: \"kernel\",\n machine: \"machine\",\n ramdisk: \"ramdisk\"\n};\nvar ImdsSupportValues = {\n v2_0: \"v2.0\"\n};\nvar DeviceType = {\n ebs: \"ebs\",\n instance_store: \"instance-store\"\n};\nvar ImageState = {\n available: \"available\",\n deregistered: \"deregistered\",\n disabled: \"disabled\",\n error: \"error\",\n failed: \"failed\",\n invalid: \"invalid\",\n pending: \"pending\",\n transient: \"transient\"\n};\nvar TpmSupportValues = {\n v2_0: \"v2.0\"\n};\nvar VirtualizationType = {\n hvm: \"hvm\",\n paravirtual: \"paravirtual\"\n};\nvar InstanceAttributeName = {\n blockDeviceMapping: \"blockDeviceMapping\",\n disableApiStop: \"disableApiStop\",\n disableApiTermination: \"disableApiTermination\",\n ebsOptimized: \"ebsOptimized\",\n enaSupport: \"enaSupport\",\n enclaveOptions: \"enclaveOptions\",\n groupSet: \"groupSet\",\n instanceInitiatedShutdownBehavior: \"instanceInitiatedShutdownBehavior\",\n instanceType: \"instanceType\",\n kernel: \"kernel\",\n productCodes: \"productCodes\",\n ramdisk: \"ramdisk\",\n rootDeviceName: \"rootDeviceName\",\n sourceDestCheck: \"sourceDestCheck\",\n sriovNetSupport: \"sriovNetSupport\",\n userData: \"userData\"\n};\nvar InstanceStateName = {\n pending: \"pending\",\n running: \"running\",\n shutting_down: \"shutting-down\",\n stopped: \"stopped\",\n stopping: \"stopping\",\n terminated: \"terminated\"\n};\nvar InstanceBootModeValues = {\n legacy_bios: \"legacy-bios\",\n uefi: \"uefi\"\n};\nvar InstanceLifecycleType = {\n capacity_block: \"capacity-block\",\n scheduled: \"scheduled\",\n spot: \"spot\"\n};\nvar InstanceAutoRecoveryState = {\n default: \"default\",\n disabled: \"disabled\"\n};\nvar InstanceMetadataEndpointState = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar InstanceMetadataProtocolState = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar HttpTokensState = {\n optional: \"optional\",\n required: \"required\"\n};\nvar InstanceMetadataTagsState = {\n disabled: \"disabled\",\n enabled: \"enabled\"\n};\nvar InstanceMetadataOptionsState = {\n applied: \"applied\",\n pending: \"pending\"\n};\nvar MonitoringState = {\n disabled: \"disabled\",\n disabling: \"disabling\",\n enabled: \"enabled\",\n pending: \"pending\"\n};\nvar StatusName = {\n reachability: \"reachability\"\n};\nvar StatusType = {\n failed: \"failed\",\n initializing: \"initializing\",\n insufficient_data: \"insufficient-data\",\n passed: \"passed\"\n};\nvar SummaryStatus = {\n impaired: \"impaired\",\n initializing: \"initializing\",\n insufficient_data: \"insufficient-data\",\n not_applicable: \"not-applicable\",\n ok: \"ok\"\n};\nvar EventCode = {\n instance_reboot: \"instance-reboot\",\n instance_retirement: \"instance-retirement\",\n instance_stop: \"instance-stop\",\n system_maintenance: \"system-maintenance\",\n system_reboot: \"system-reboot\"\n};\nvar LocationType = {\n availability_zone: \"availability-zone\",\n availability_zone_id: \"availability-zone-id\",\n outpost: \"outpost\",\n region: \"region\"\n};\nvar EbsOptimizedSupport = {\n default: \"default\",\n supported: \"supported\",\n unsupported: \"unsupported\"\n};\nvar EbsEncryptionSupport = {\n supported: \"supported\",\n unsupported: \"unsupported\"\n};\nvar EbsNvmeSupport = {\n REQUIRED: \"required\",\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar InstanceTypeHypervisor = {\n NITRO: \"nitro\",\n XEN: \"xen\"\n};\nvar DiskType = {\n hdd: \"hdd\",\n ssd: \"ssd\"\n};\nvar InstanceStorageEncryptionSupport = {\n required: \"required\",\n unsupported: \"unsupported\"\n};\nvar EphemeralNvmeSupport = {\n REQUIRED: \"required\",\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar BandwidthWeightingType = {\n DEFAULT: \"default\",\n EBS_1: \"ebs-1\",\n VPC_1: \"vpc-1\"\n};\nvar EnaSupport = {\n required: \"required\",\n supported: \"supported\",\n unsupported: \"unsupported\"\n};\nvar FlexibleEnaQueuesSupport = {\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar NitroEnclavesSupport = {\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar NitroTpmSupport = {\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar PhcSupport = {\n SUPPORTED: \"supported\",\n UNSUPPORTED: \"unsupported\"\n};\nvar PlacementGroupStrategy = {\n cluster: \"cluster\",\n partition: \"partition\",\n spread: \"spread\"\n};\nvar ArchitectureType = {\n arm64: \"arm64\",\n arm64_mac: \"arm64_mac\",\n i386: \"i386\",\n x86_64: \"x86_64\",\n x86_64_mac: \"x86_64_mac\"\n};\nvar SupportedAdditionalProcessorFeature = {\n AMD_SEV_SNP: \"amd-sev-snp\"\n};\nvar BootModeType = {\n legacy_bios: \"legacy-bios\",\n uefi: \"uefi\"\n};\nvar RootDeviceType = {\n ebs: \"ebs\",\n instance_store: \"instance-store\"\n};\nvar UsageClassType = {\n capacity_block: \"capacity-block\",\n on_demand: \"on-demand\",\n spot: \"spot\"\n};\nvar DiskImageDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING }\n}), \"DiskImageDescriptionFilterSensitiveLog\");\nvar ImportInstanceVolumeDetailItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) }\n}), \"ImportInstanceVolumeDetailItemFilterSensitiveLog\");\nvar ImportInstanceTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Volumes && { Volumes: obj.Volumes.map((item) => ImportInstanceVolumeDetailItemFilterSensitiveLog(item)) }\n}), \"ImportInstanceTaskDetailsFilterSensitiveLog\");\nvar ImportVolumeTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) }\n}), \"ImportVolumeTaskDetailsFilterSensitiveLog\");\nvar ConversionTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ImportInstance && { ImportInstance: ImportInstanceTaskDetailsFilterSensitiveLog(obj.ImportInstance) },\n ...obj.ImportVolume && { ImportVolume: ImportVolumeTaskDetailsFilterSensitiveLog(obj.ImportVolume) }\n}), \"ConversionTaskFilterSensitiveLog\");\nvar DescribeConversionTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ConversionTasks && {\n ConversionTasks: obj.ConversionTasks.map((item) => ConversionTaskFilterSensitiveLog(item))\n }\n}), \"DescribeConversionTasksResultFilterSensitiveLog\");\nvar SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }\n}), \"SnapshotDetailFilterSensitiveLog\");\nvar ImportImageTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SnapshotDetails && {\n SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item))\n }\n}), \"ImportImageTaskFilterSensitiveLog\");\nvar DescribeImportImageTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"DescribeImportImageTasksResultFilterSensitiveLog\");\nvar SnapshotTaskDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }\n}), \"SnapshotTaskDetailFilterSensitiveLog\");\nvar ImportSnapshotTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) }\n}), \"ImportSnapshotTaskFilterSensitiveLog\");\nvar DescribeImportSnapshotTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ImportSnapshotTasks && {\n ImportSnapshotTasks: obj.ImportSnapshotTasks.map((item) => ImportSnapshotTaskFilterSensitiveLog(item))\n }\n}), \"DescribeImportSnapshotTasksResultFilterSensitiveLog\");\nvar DescribeLaunchTemplateVersionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateVersions && {\n LaunchTemplateVersions: obj.LaunchTemplateVersions.map((item) => LaunchTemplateVersionFilterSensitiveLog(item))\n }\n}), \"DescribeLaunchTemplateVersionsResultFilterSensitiveLog\");\n\n// src/commands/DescribeConversionTasksCommand.ts\nvar DescribeConversionTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeConversionTasks\", {}).n(\"EC2Client\", \"DescribeConversionTasksCommand\").f(void 0, DescribeConversionTasksResultFilterSensitiveLog).ser(se_DescribeConversionTasksCommand).de(de_DescribeConversionTasksCommand).build() {\n static {\n __name(this, \"DescribeConversionTasksCommand\");\n }\n};\n\n// src/commands/DescribeCustomerGatewaysCommand.ts\n\n\n\nvar DescribeCustomerGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeCustomerGateways\", {}).n(\"EC2Client\", \"DescribeCustomerGatewaysCommand\").f(void 0, void 0).ser(se_DescribeCustomerGatewaysCommand).de(de_DescribeCustomerGatewaysCommand).build() {\n static {\n __name(this, \"DescribeCustomerGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeDeclarativePoliciesReportsCommand.ts\n\n\n\nvar DescribeDeclarativePoliciesReportsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeDeclarativePoliciesReports\", {}).n(\"EC2Client\", \"DescribeDeclarativePoliciesReportsCommand\").f(void 0, void 0).ser(se_DescribeDeclarativePoliciesReportsCommand).de(de_DescribeDeclarativePoliciesReportsCommand).build() {\n static {\n __name(this, \"DescribeDeclarativePoliciesReportsCommand\");\n }\n};\n\n// src/commands/DescribeDhcpOptionsCommand.ts\n\n\n\nvar DescribeDhcpOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeDhcpOptions\", {}).n(\"EC2Client\", \"DescribeDhcpOptionsCommand\").f(void 0, void 0).ser(se_DescribeDhcpOptionsCommand).de(de_DescribeDhcpOptionsCommand).build() {\n static {\n __name(this, \"DescribeDhcpOptionsCommand\");\n }\n};\n\n// src/commands/DescribeEgressOnlyInternetGatewaysCommand.ts\n\n\n\nvar DescribeEgressOnlyInternetGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeEgressOnlyInternetGateways\", {}).n(\"EC2Client\", \"DescribeEgressOnlyInternetGatewaysCommand\").f(void 0, void 0).ser(se_DescribeEgressOnlyInternetGatewaysCommand).de(de_DescribeEgressOnlyInternetGatewaysCommand).build() {\n static {\n __name(this, \"DescribeEgressOnlyInternetGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeElasticGpusCommand.ts\n\n\n\nvar DescribeElasticGpusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeElasticGpus\", {}).n(\"EC2Client\", \"DescribeElasticGpusCommand\").f(void 0, void 0).ser(se_DescribeElasticGpusCommand).de(de_DescribeElasticGpusCommand).build() {\n static {\n __name(this, \"DescribeElasticGpusCommand\");\n }\n};\n\n// src/commands/DescribeExportImageTasksCommand.ts\n\n\n\nvar DescribeExportImageTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeExportImageTasks\", {}).n(\"EC2Client\", \"DescribeExportImageTasksCommand\").f(void 0, void 0).ser(se_DescribeExportImageTasksCommand).de(de_DescribeExportImageTasksCommand).build() {\n static {\n __name(this, \"DescribeExportImageTasksCommand\");\n }\n};\n\n// src/commands/DescribeExportTasksCommand.ts\n\n\n\nvar DescribeExportTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeExportTasks\", {}).n(\"EC2Client\", \"DescribeExportTasksCommand\").f(void 0, void 0).ser(se_DescribeExportTasksCommand).de(de_DescribeExportTasksCommand).build() {\n static {\n __name(this, \"DescribeExportTasksCommand\");\n }\n};\n\n// src/commands/DescribeFastLaunchImagesCommand.ts\n\n\n\nvar DescribeFastLaunchImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFastLaunchImages\", {}).n(\"EC2Client\", \"DescribeFastLaunchImagesCommand\").f(void 0, void 0).ser(se_DescribeFastLaunchImagesCommand).de(de_DescribeFastLaunchImagesCommand).build() {\n static {\n __name(this, \"DescribeFastLaunchImagesCommand\");\n }\n};\n\n// src/commands/DescribeFastSnapshotRestoresCommand.ts\n\n\n\nvar DescribeFastSnapshotRestoresCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFastSnapshotRestores\", {}).n(\"EC2Client\", \"DescribeFastSnapshotRestoresCommand\").f(void 0, void 0).ser(se_DescribeFastSnapshotRestoresCommand).de(de_DescribeFastSnapshotRestoresCommand).build() {\n static {\n __name(this, \"DescribeFastSnapshotRestoresCommand\");\n }\n};\n\n// src/commands/DescribeFleetHistoryCommand.ts\n\n\n\nvar DescribeFleetHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFleetHistory\", {}).n(\"EC2Client\", \"DescribeFleetHistoryCommand\").f(void 0, void 0).ser(se_DescribeFleetHistoryCommand).de(de_DescribeFleetHistoryCommand).build() {\n static {\n __name(this, \"DescribeFleetHistoryCommand\");\n }\n};\n\n// src/commands/DescribeFleetInstancesCommand.ts\n\n\n\nvar DescribeFleetInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFleetInstances\", {}).n(\"EC2Client\", \"DescribeFleetInstancesCommand\").f(void 0, void 0).ser(se_DescribeFleetInstancesCommand).de(de_DescribeFleetInstancesCommand).build() {\n static {\n __name(this, \"DescribeFleetInstancesCommand\");\n }\n};\n\n// src/commands/DescribeFleetsCommand.ts\n\n\n\nvar DescribeFleetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFleets\", {}).n(\"EC2Client\", \"DescribeFleetsCommand\").f(void 0, void 0).ser(se_DescribeFleetsCommand).de(de_DescribeFleetsCommand).build() {\n static {\n __name(this, \"DescribeFleetsCommand\");\n }\n};\n\n// src/commands/DescribeFlowLogsCommand.ts\n\n\n\nvar DescribeFlowLogsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFlowLogs\", {}).n(\"EC2Client\", \"DescribeFlowLogsCommand\").f(void 0, void 0).ser(se_DescribeFlowLogsCommand).de(de_DescribeFlowLogsCommand).build() {\n static {\n __name(this, \"DescribeFlowLogsCommand\");\n }\n};\n\n// src/commands/DescribeFpgaImageAttributeCommand.ts\n\n\n\nvar DescribeFpgaImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFpgaImageAttribute\", {}).n(\"EC2Client\", \"DescribeFpgaImageAttributeCommand\").f(void 0, void 0).ser(se_DescribeFpgaImageAttributeCommand).de(de_DescribeFpgaImageAttributeCommand).build() {\n static {\n __name(this, \"DescribeFpgaImageAttributeCommand\");\n }\n};\n\n// src/commands/DescribeFpgaImagesCommand.ts\n\n\n\nvar DescribeFpgaImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeFpgaImages\", {}).n(\"EC2Client\", \"DescribeFpgaImagesCommand\").f(void 0, void 0).ser(se_DescribeFpgaImagesCommand).de(de_DescribeFpgaImagesCommand).build() {\n static {\n __name(this, \"DescribeFpgaImagesCommand\");\n }\n};\n\n// src/commands/DescribeHostReservationOfferingsCommand.ts\n\n\n\nvar DescribeHostReservationOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeHostReservationOfferings\", {}).n(\"EC2Client\", \"DescribeHostReservationOfferingsCommand\").f(void 0, void 0).ser(se_DescribeHostReservationOfferingsCommand).de(de_DescribeHostReservationOfferingsCommand).build() {\n static {\n __name(this, \"DescribeHostReservationOfferingsCommand\");\n }\n};\n\n// src/commands/DescribeHostReservationsCommand.ts\n\n\n\nvar DescribeHostReservationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeHostReservations\", {}).n(\"EC2Client\", \"DescribeHostReservationsCommand\").f(void 0, void 0).ser(se_DescribeHostReservationsCommand).de(de_DescribeHostReservationsCommand).build() {\n static {\n __name(this, \"DescribeHostReservationsCommand\");\n }\n};\n\n// src/commands/DescribeHostsCommand.ts\n\n\n\nvar DescribeHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeHosts\", {}).n(\"EC2Client\", \"DescribeHostsCommand\").f(void 0, void 0).ser(se_DescribeHostsCommand).de(de_DescribeHostsCommand).build() {\n static {\n __name(this, \"DescribeHostsCommand\");\n }\n};\n\n// src/commands/DescribeIamInstanceProfileAssociationsCommand.ts\n\n\n\nvar DescribeIamInstanceProfileAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIamInstanceProfileAssociations\", {}).n(\"EC2Client\", \"DescribeIamInstanceProfileAssociationsCommand\").f(void 0, void 0).ser(se_DescribeIamInstanceProfileAssociationsCommand).de(de_DescribeIamInstanceProfileAssociationsCommand).build() {\n static {\n __name(this, \"DescribeIamInstanceProfileAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeIdentityIdFormatCommand.ts\n\n\n\nvar DescribeIdentityIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIdentityIdFormat\", {}).n(\"EC2Client\", \"DescribeIdentityIdFormatCommand\").f(void 0, void 0).ser(se_DescribeIdentityIdFormatCommand).de(de_DescribeIdentityIdFormatCommand).build() {\n static {\n __name(this, \"DescribeIdentityIdFormatCommand\");\n }\n};\n\n// src/commands/DescribeIdFormatCommand.ts\n\n\n\nvar DescribeIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIdFormat\", {}).n(\"EC2Client\", \"DescribeIdFormatCommand\").f(void 0, void 0).ser(se_DescribeIdFormatCommand).de(de_DescribeIdFormatCommand).build() {\n static {\n __name(this, \"DescribeIdFormatCommand\");\n }\n};\n\n// src/commands/DescribeImageAttributeCommand.ts\n\n\n\nvar DescribeImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeImageAttribute\", {}).n(\"EC2Client\", \"DescribeImageAttributeCommand\").f(void 0, void 0).ser(se_DescribeImageAttributeCommand).de(de_DescribeImageAttributeCommand).build() {\n static {\n __name(this, \"DescribeImageAttributeCommand\");\n }\n};\n\n// src/commands/DescribeImagesCommand.ts\n\n\n\nvar DescribeImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeImages\", {}).n(\"EC2Client\", \"DescribeImagesCommand\").f(void 0, void 0).ser(se_DescribeImagesCommand).de(de_DescribeImagesCommand).build() {\n static {\n __name(this, \"DescribeImagesCommand\");\n }\n};\n\n// src/commands/DescribeImportImageTasksCommand.ts\n\n\n\nvar DescribeImportImageTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeImportImageTasks\", {}).n(\"EC2Client\", \"DescribeImportImageTasksCommand\").f(void 0, DescribeImportImageTasksResultFilterSensitiveLog).ser(se_DescribeImportImageTasksCommand).de(de_DescribeImportImageTasksCommand).build() {\n static {\n __name(this, \"DescribeImportImageTasksCommand\");\n }\n};\n\n// src/commands/DescribeImportSnapshotTasksCommand.ts\n\n\n\nvar DescribeImportSnapshotTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeImportSnapshotTasks\", {}).n(\"EC2Client\", \"DescribeImportSnapshotTasksCommand\").f(void 0, DescribeImportSnapshotTasksResultFilterSensitiveLog).ser(se_DescribeImportSnapshotTasksCommand).de(de_DescribeImportSnapshotTasksCommand).build() {\n static {\n __name(this, \"DescribeImportSnapshotTasksCommand\");\n }\n};\n\n// src/commands/DescribeInstanceAttributeCommand.ts\n\n\n\nvar DescribeInstanceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceAttribute\", {}).n(\"EC2Client\", \"DescribeInstanceAttributeCommand\").f(void 0, void 0).ser(se_DescribeInstanceAttributeCommand).de(de_DescribeInstanceAttributeCommand).build() {\n static {\n __name(this, \"DescribeInstanceAttributeCommand\");\n }\n};\n\n// src/commands/DescribeInstanceConnectEndpointsCommand.ts\n\n\n\nvar DescribeInstanceConnectEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceConnectEndpoints\", {}).n(\"EC2Client\", \"DescribeInstanceConnectEndpointsCommand\").f(void 0, void 0).ser(se_DescribeInstanceConnectEndpointsCommand).de(de_DescribeInstanceConnectEndpointsCommand).build() {\n static {\n __name(this, \"DescribeInstanceConnectEndpointsCommand\");\n }\n};\n\n// src/commands/DescribeInstanceCreditSpecificationsCommand.ts\n\n\n\nvar DescribeInstanceCreditSpecificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceCreditSpecifications\", {}).n(\"EC2Client\", \"DescribeInstanceCreditSpecificationsCommand\").f(void 0, void 0).ser(se_DescribeInstanceCreditSpecificationsCommand).de(de_DescribeInstanceCreditSpecificationsCommand).build() {\n static {\n __name(this, \"DescribeInstanceCreditSpecificationsCommand\");\n }\n};\n\n// src/commands/DescribeInstanceEventNotificationAttributesCommand.ts\n\n\n\nvar DescribeInstanceEventNotificationAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceEventNotificationAttributes\", {}).n(\"EC2Client\", \"DescribeInstanceEventNotificationAttributesCommand\").f(void 0, void 0).ser(se_DescribeInstanceEventNotificationAttributesCommand).de(de_DescribeInstanceEventNotificationAttributesCommand).build() {\n static {\n __name(this, \"DescribeInstanceEventNotificationAttributesCommand\");\n }\n};\n\n// src/commands/DescribeInstanceEventWindowsCommand.ts\n\n\n\nvar DescribeInstanceEventWindowsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceEventWindows\", {}).n(\"EC2Client\", \"DescribeInstanceEventWindowsCommand\").f(void 0, void 0).ser(se_DescribeInstanceEventWindowsCommand).de(de_DescribeInstanceEventWindowsCommand).build() {\n static {\n __name(this, \"DescribeInstanceEventWindowsCommand\");\n }\n};\n\n// src/commands/DescribeInstanceImageMetadataCommand.ts\n\n\n\nvar DescribeInstanceImageMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceImageMetadata\", {}).n(\"EC2Client\", \"DescribeInstanceImageMetadataCommand\").f(void 0, void 0).ser(se_DescribeInstanceImageMetadataCommand).de(de_DescribeInstanceImageMetadataCommand).build() {\n static {\n __name(this, \"DescribeInstanceImageMetadataCommand\");\n }\n};\n\n// src/commands/DescribeInstancesCommand.ts\n\n\n\nvar DescribeInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstances\", {}).n(\"EC2Client\", \"DescribeInstancesCommand\").f(void 0, void 0).ser(se_DescribeInstancesCommand).de(de_DescribeInstancesCommand).build() {\n static {\n __name(this, \"DescribeInstancesCommand\");\n }\n};\n\n// src/commands/DescribeInstanceStatusCommand.ts\n\n\n\nvar DescribeInstanceStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceStatus\", {}).n(\"EC2Client\", \"DescribeInstanceStatusCommand\").f(void 0, void 0).ser(se_DescribeInstanceStatusCommand).de(de_DescribeInstanceStatusCommand).build() {\n static {\n __name(this, \"DescribeInstanceStatusCommand\");\n }\n};\n\n// src/commands/DescribeInstanceTopologyCommand.ts\n\n\n\nvar DescribeInstanceTopologyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceTopology\", {}).n(\"EC2Client\", \"DescribeInstanceTopologyCommand\").f(void 0, void 0).ser(se_DescribeInstanceTopologyCommand).de(de_DescribeInstanceTopologyCommand).build() {\n static {\n __name(this, \"DescribeInstanceTopologyCommand\");\n }\n};\n\n// src/commands/DescribeInstanceTypeOfferingsCommand.ts\n\n\n\nvar DescribeInstanceTypeOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceTypeOfferings\", {}).n(\"EC2Client\", \"DescribeInstanceTypeOfferingsCommand\").f(void 0, void 0).ser(se_DescribeInstanceTypeOfferingsCommand).de(de_DescribeInstanceTypeOfferingsCommand).build() {\n static {\n __name(this, \"DescribeInstanceTypeOfferingsCommand\");\n }\n};\n\n// src/commands/DescribeInstanceTypesCommand.ts\n\n\n\nvar DescribeInstanceTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInstanceTypes\", {}).n(\"EC2Client\", \"DescribeInstanceTypesCommand\").f(void 0, void 0).ser(se_DescribeInstanceTypesCommand).de(de_DescribeInstanceTypesCommand).build() {\n static {\n __name(this, \"DescribeInstanceTypesCommand\");\n }\n};\n\n// src/commands/DescribeInternetGatewaysCommand.ts\n\n\n\nvar DescribeInternetGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeInternetGateways\", {}).n(\"EC2Client\", \"DescribeInternetGatewaysCommand\").f(void 0, void 0).ser(se_DescribeInternetGatewaysCommand).de(de_DescribeInternetGatewaysCommand).build() {\n static {\n __name(this, \"DescribeInternetGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeIpamByoasnCommand.ts\n\n\n\nvar DescribeIpamByoasnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamByoasn\", {}).n(\"EC2Client\", \"DescribeIpamByoasnCommand\").f(void 0, void 0).ser(se_DescribeIpamByoasnCommand).de(de_DescribeIpamByoasnCommand).build() {\n static {\n __name(this, \"DescribeIpamByoasnCommand\");\n }\n};\n\n// src/commands/DescribeIpamExternalResourceVerificationTokensCommand.ts\n\n\n\nvar DescribeIpamExternalResourceVerificationTokensCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamExternalResourceVerificationTokens\", {}).n(\"EC2Client\", \"DescribeIpamExternalResourceVerificationTokensCommand\").f(void 0, void 0).ser(se_DescribeIpamExternalResourceVerificationTokensCommand).de(de_DescribeIpamExternalResourceVerificationTokensCommand).build() {\n static {\n __name(this, \"DescribeIpamExternalResourceVerificationTokensCommand\");\n }\n};\n\n// src/commands/DescribeIpamPoolsCommand.ts\n\n\n\nvar DescribeIpamPoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamPools\", {}).n(\"EC2Client\", \"DescribeIpamPoolsCommand\").f(void 0, void 0).ser(se_DescribeIpamPoolsCommand).de(de_DescribeIpamPoolsCommand).build() {\n static {\n __name(this, \"DescribeIpamPoolsCommand\");\n }\n};\n\n// src/commands/DescribeIpamResourceDiscoveriesCommand.ts\n\n\n\nvar DescribeIpamResourceDiscoveriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamResourceDiscoveries\", {}).n(\"EC2Client\", \"DescribeIpamResourceDiscoveriesCommand\").f(void 0, void 0).ser(se_DescribeIpamResourceDiscoveriesCommand).de(de_DescribeIpamResourceDiscoveriesCommand).build() {\n static {\n __name(this, \"DescribeIpamResourceDiscoveriesCommand\");\n }\n};\n\n// src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts\n\n\n\nvar DescribeIpamResourceDiscoveryAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamResourceDiscoveryAssociations\", {}).n(\"EC2Client\", \"DescribeIpamResourceDiscoveryAssociationsCommand\").f(void 0, void 0).ser(se_DescribeIpamResourceDiscoveryAssociationsCommand).de(de_DescribeIpamResourceDiscoveryAssociationsCommand).build() {\n static {\n __name(this, \"DescribeIpamResourceDiscoveryAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeIpamsCommand.ts\n\n\n\nvar DescribeIpamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpams\", {}).n(\"EC2Client\", \"DescribeIpamsCommand\").f(void 0, void 0).ser(se_DescribeIpamsCommand).de(de_DescribeIpamsCommand).build() {\n static {\n __name(this, \"DescribeIpamsCommand\");\n }\n};\n\n// src/commands/DescribeIpamScopesCommand.ts\n\n\n\nvar DescribeIpamScopesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpamScopes\", {}).n(\"EC2Client\", \"DescribeIpamScopesCommand\").f(void 0, void 0).ser(se_DescribeIpamScopesCommand).de(de_DescribeIpamScopesCommand).build() {\n static {\n __name(this, \"DescribeIpamScopesCommand\");\n }\n};\n\n// src/commands/DescribeIpv6PoolsCommand.ts\n\n\n\nvar DescribeIpv6PoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeIpv6Pools\", {}).n(\"EC2Client\", \"DescribeIpv6PoolsCommand\").f(void 0, void 0).ser(se_DescribeIpv6PoolsCommand).de(de_DescribeIpv6PoolsCommand).build() {\n static {\n __name(this, \"DescribeIpv6PoolsCommand\");\n }\n};\n\n// src/commands/DescribeKeyPairsCommand.ts\n\n\n\nvar DescribeKeyPairsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeKeyPairs\", {}).n(\"EC2Client\", \"DescribeKeyPairsCommand\").f(void 0, void 0).ser(se_DescribeKeyPairsCommand).de(de_DescribeKeyPairsCommand).build() {\n static {\n __name(this, \"DescribeKeyPairsCommand\");\n }\n};\n\n// src/commands/DescribeLaunchTemplatesCommand.ts\n\n\n\nvar DescribeLaunchTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLaunchTemplates\", {}).n(\"EC2Client\", \"DescribeLaunchTemplatesCommand\").f(void 0, void 0).ser(se_DescribeLaunchTemplatesCommand).de(de_DescribeLaunchTemplatesCommand).build() {\n static {\n __name(this, \"DescribeLaunchTemplatesCommand\");\n }\n};\n\n// src/commands/DescribeLaunchTemplateVersionsCommand.ts\n\n\n\nvar DescribeLaunchTemplateVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLaunchTemplateVersions\", {}).n(\"EC2Client\", \"DescribeLaunchTemplateVersionsCommand\").f(void 0, DescribeLaunchTemplateVersionsResultFilterSensitiveLog).ser(se_DescribeLaunchTemplateVersionsCommand).de(de_DescribeLaunchTemplateVersionsCommand).build() {\n static {\n __name(this, \"DescribeLaunchTemplateVersionsCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewayRouteTablesCommand.ts\n\n\n\nvar DescribeLocalGatewayRouteTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGatewayRouteTables\", {}).n(\"EC2Client\", \"DescribeLocalGatewayRouteTablesCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTablesCommand).de(de_DescribeLocalGatewayRouteTablesCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewayRouteTablesCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts\n\n\n\nvar DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations\", {}).n(\"EC2Client\", \"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand).de(de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts\n\n\n\nvar DescribeLocalGatewayRouteTableVpcAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGatewayRouteTableVpcAssociations\", {}).n(\"EC2Client\", \"DescribeLocalGatewayRouteTableVpcAssociationsCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTableVpcAssociationsCommand).de(de_DescribeLocalGatewayRouteTableVpcAssociationsCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewayRouteTableVpcAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewaysCommand.ts\n\n\n\nvar DescribeLocalGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGateways\", {}).n(\"EC2Client\", \"DescribeLocalGatewaysCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewaysCommand).de(de_DescribeLocalGatewaysCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts\n\n\n\nvar DescribeLocalGatewayVirtualInterfaceGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGatewayVirtualInterfaceGroups\", {}).n(\"EC2Client\", \"DescribeLocalGatewayVirtualInterfaceGroupsCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewayVirtualInterfaceGroupsCommand).de(de_DescribeLocalGatewayVirtualInterfaceGroupsCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewayVirtualInterfaceGroupsCommand\");\n }\n};\n\n// src/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts\n\n\n\nvar DescribeLocalGatewayVirtualInterfacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLocalGatewayVirtualInterfaces\", {}).n(\"EC2Client\", \"DescribeLocalGatewayVirtualInterfacesCommand\").f(void 0, void 0).ser(se_DescribeLocalGatewayVirtualInterfacesCommand).de(de_DescribeLocalGatewayVirtualInterfacesCommand).build() {\n static {\n __name(this, \"DescribeLocalGatewayVirtualInterfacesCommand\");\n }\n};\n\n// src/commands/DescribeLockedSnapshotsCommand.ts\n\n\n\nvar DescribeLockedSnapshotsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeLockedSnapshots\", {}).n(\"EC2Client\", \"DescribeLockedSnapshotsCommand\").f(void 0, void 0).ser(se_DescribeLockedSnapshotsCommand).de(de_DescribeLockedSnapshotsCommand).build() {\n static {\n __name(this, \"DescribeLockedSnapshotsCommand\");\n }\n};\n\n// src/commands/DescribeMacHostsCommand.ts\n\n\n\nvar DescribeMacHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeMacHosts\", {}).n(\"EC2Client\", \"DescribeMacHostsCommand\").f(void 0, void 0).ser(se_DescribeMacHostsCommand).de(de_DescribeMacHostsCommand).build() {\n static {\n __name(this, \"DescribeMacHostsCommand\");\n }\n};\n\n// src/commands/DescribeManagedPrefixListsCommand.ts\n\n\n\nvar DescribeManagedPrefixListsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeManagedPrefixLists\", {}).n(\"EC2Client\", \"DescribeManagedPrefixListsCommand\").f(void 0, void 0).ser(se_DescribeManagedPrefixListsCommand).de(de_DescribeManagedPrefixListsCommand).build() {\n static {\n __name(this, \"DescribeManagedPrefixListsCommand\");\n }\n};\n\n// src/commands/DescribeMovingAddressesCommand.ts\n\n\n\nvar DescribeMovingAddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeMovingAddresses\", {}).n(\"EC2Client\", \"DescribeMovingAddressesCommand\").f(void 0, void 0).ser(se_DescribeMovingAddressesCommand).de(de_DescribeMovingAddressesCommand).build() {\n static {\n __name(this, \"DescribeMovingAddressesCommand\");\n }\n};\n\n// src/commands/DescribeNatGatewaysCommand.ts\n\n\n\nvar DescribeNatGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNatGateways\", {}).n(\"EC2Client\", \"DescribeNatGatewaysCommand\").f(void 0, void 0).ser(se_DescribeNatGatewaysCommand).de(de_DescribeNatGatewaysCommand).build() {\n static {\n __name(this, \"DescribeNatGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeNetworkAclsCommand.ts\n\n\n\nvar DescribeNetworkAclsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkAcls\", {}).n(\"EC2Client\", \"DescribeNetworkAclsCommand\").f(void 0, void 0).ser(se_DescribeNetworkAclsCommand).de(de_DescribeNetworkAclsCommand).build() {\n static {\n __name(this, \"DescribeNetworkAclsCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInsightsAccessScopeAnalysesCommand.ts\n\n\n\nvar DescribeNetworkInsightsAccessScopeAnalysesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInsightsAccessScopeAnalyses\", {}).n(\"EC2Client\", \"DescribeNetworkInsightsAccessScopeAnalysesCommand\").f(void 0, void 0).ser(se_DescribeNetworkInsightsAccessScopeAnalysesCommand).de(de_DescribeNetworkInsightsAccessScopeAnalysesCommand).build() {\n static {\n __name(this, \"DescribeNetworkInsightsAccessScopeAnalysesCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInsightsAccessScopesCommand.ts\n\n\n\nvar DescribeNetworkInsightsAccessScopesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInsightsAccessScopes\", {}).n(\"EC2Client\", \"DescribeNetworkInsightsAccessScopesCommand\").f(void 0, void 0).ser(se_DescribeNetworkInsightsAccessScopesCommand).de(de_DescribeNetworkInsightsAccessScopesCommand).build() {\n static {\n __name(this, \"DescribeNetworkInsightsAccessScopesCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInsightsAnalysesCommand.ts\n\n\n\nvar DescribeNetworkInsightsAnalysesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInsightsAnalyses\", {}).n(\"EC2Client\", \"DescribeNetworkInsightsAnalysesCommand\").f(void 0, void 0).ser(se_DescribeNetworkInsightsAnalysesCommand).de(de_DescribeNetworkInsightsAnalysesCommand).build() {\n static {\n __name(this, \"DescribeNetworkInsightsAnalysesCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInsightsPathsCommand.ts\n\n\n\nvar DescribeNetworkInsightsPathsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInsightsPaths\", {}).n(\"EC2Client\", \"DescribeNetworkInsightsPathsCommand\").f(void 0, void 0).ser(se_DescribeNetworkInsightsPathsCommand).de(de_DescribeNetworkInsightsPathsCommand).build() {\n static {\n __name(this, \"DescribeNetworkInsightsPathsCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInterfaceAttributeCommand.ts\n\n\n\nvar DescribeNetworkInterfaceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInterfaceAttribute\", {}).n(\"EC2Client\", \"DescribeNetworkInterfaceAttributeCommand\").f(void 0, void 0).ser(se_DescribeNetworkInterfaceAttributeCommand).de(de_DescribeNetworkInterfaceAttributeCommand).build() {\n static {\n __name(this, \"DescribeNetworkInterfaceAttributeCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInterfacePermissionsCommand.ts\n\n\n\nvar DescribeNetworkInterfacePermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInterfacePermissions\", {}).n(\"EC2Client\", \"DescribeNetworkInterfacePermissionsCommand\").f(void 0, void 0).ser(se_DescribeNetworkInterfacePermissionsCommand).de(de_DescribeNetworkInterfacePermissionsCommand).build() {\n static {\n __name(this, \"DescribeNetworkInterfacePermissionsCommand\");\n }\n};\n\n// src/commands/DescribeNetworkInterfacesCommand.ts\n\n\n\nvar DescribeNetworkInterfacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeNetworkInterfaces\", {}).n(\"EC2Client\", \"DescribeNetworkInterfacesCommand\").f(void 0, void 0).ser(se_DescribeNetworkInterfacesCommand).de(de_DescribeNetworkInterfacesCommand).build() {\n static {\n __name(this, \"DescribeNetworkInterfacesCommand\");\n }\n};\n\n// src/commands/DescribeOutpostLagsCommand.ts\n\n\n\nvar DescribeOutpostLagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeOutpostLags\", {}).n(\"EC2Client\", \"DescribeOutpostLagsCommand\").f(void 0, void 0).ser(se_DescribeOutpostLagsCommand).de(de_DescribeOutpostLagsCommand).build() {\n static {\n __name(this, \"DescribeOutpostLagsCommand\");\n }\n};\n\n// src/commands/DescribePlacementGroupsCommand.ts\n\n\n\nvar DescribePlacementGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribePlacementGroups\", {}).n(\"EC2Client\", \"DescribePlacementGroupsCommand\").f(void 0, void 0).ser(se_DescribePlacementGroupsCommand).de(de_DescribePlacementGroupsCommand).build() {\n static {\n __name(this, \"DescribePlacementGroupsCommand\");\n }\n};\n\n// src/commands/DescribePrefixListsCommand.ts\n\n\n\nvar DescribePrefixListsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribePrefixLists\", {}).n(\"EC2Client\", \"DescribePrefixListsCommand\").f(void 0, void 0).ser(se_DescribePrefixListsCommand).de(de_DescribePrefixListsCommand).build() {\n static {\n __name(this, \"DescribePrefixListsCommand\");\n }\n};\n\n// src/commands/DescribePrincipalIdFormatCommand.ts\n\n\n\nvar DescribePrincipalIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribePrincipalIdFormat\", {}).n(\"EC2Client\", \"DescribePrincipalIdFormatCommand\").f(void 0, void 0).ser(se_DescribePrincipalIdFormatCommand).de(de_DescribePrincipalIdFormatCommand).build() {\n static {\n __name(this, \"DescribePrincipalIdFormatCommand\");\n }\n};\n\n// src/commands/DescribePublicIpv4PoolsCommand.ts\n\n\n\nvar DescribePublicIpv4PoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribePublicIpv4Pools\", {}).n(\"EC2Client\", \"DescribePublicIpv4PoolsCommand\").f(void 0, void 0).ser(se_DescribePublicIpv4PoolsCommand).de(de_DescribePublicIpv4PoolsCommand).build() {\n static {\n __name(this, \"DescribePublicIpv4PoolsCommand\");\n }\n};\n\n// src/commands/DescribeRegionsCommand.ts\n\n\n\nvar DescribeRegionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeRegions\", {}).n(\"EC2Client\", \"DescribeRegionsCommand\").f(void 0, void 0).ser(se_DescribeRegionsCommand).de(de_DescribeRegionsCommand).build() {\n static {\n __name(this, \"DescribeRegionsCommand\");\n }\n};\n\n// src/commands/DescribeReplaceRootVolumeTasksCommand.ts\n\n\n\nvar DescribeReplaceRootVolumeTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeReplaceRootVolumeTasks\", {}).n(\"EC2Client\", \"DescribeReplaceRootVolumeTasksCommand\").f(void 0, void 0).ser(se_DescribeReplaceRootVolumeTasksCommand).de(de_DescribeReplaceRootVolumeTasksCommand).build() {\n static {\n __name(this, \"DescribeReplaceRootVolumeTasksCommand\");\n }\n};\n\n// src/commands/DescribeReservedInstancesCommand.ts\n\n\n\nvar DescribeReservedInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeReservedInstances\", {}).n(\"EC2Client\", \"DescribeReservedInstancesCommand\").f(void 0, void 0).ser(se_DescribeReservedInstancesCommand).de(de_DescribeReservedInstancesCommand).build() {\n static {\n __name(this, \"DescribeReservedInstancesCommand\");\n }\n};\n\n// src/commands/DescribeReservedInstancesListingsCommand.ts\n\n\n\nvar DescribeReservedInstancesListingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeReservedInstancesListings\", {}).n(\"EC2Client\", \"DescribeReservedInstancesListingsCommand\").f(void 0, void 0).ser(se_DescribeReservedInstancesListingsCommand).de(de_DescribeReservedInstancesListingsCommand).build() {\n static {\n __name(this, \"DescribeReservedInstancesListingsCommand\");\n }\n};\n\n// src/commands/DescribeReservedInstancesModificationsCommand.ts\n\n\n\nvar DescribeReservedInstancesModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeReservedInstancesModifications\", {}).n(\"EC2Client\", \"DescribeReservedInstancesModificationsCommand\").f(void 0, void 0).ser(se_DescribeReservedInstancesModificationsCommand).de(de_DescribeReservedInstancesModificationsCommand).build() {\n static {\n __name(this, \"DescribeReservedInstancesModificationsCommand\");\n }\n};\n\n// src/commands/DescribeReservedInstancesOfferingsCommand.ts\n\n\n\nvar DescribeReservedInstancesOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeReservedInstancesOfferings\", {}).n(\"EC2Client\", \"DescribeReservedInstancesOfferingsCommand\").f(void 0, void 0).ser(se_DescribeReservedInstancesOfferingsCommand).de(de_DescribeReservedInstancesOfferingsCommand).build() {\n static {\n __name(this, \"DescribeReservedInstancesOfferingsCommand\");\n }\n};\n\n// src/commands/DescribeRouteServerEndpointsCommand.ts\n\n\n\nvar DescribeRouteServerEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeRouteServerEndpoints\", {}).n(\"EC2Client\", \"DescribeRouteServerEndpointsCommand\").f(void 0, void 0).ser(se_DescribeRouteServerEndpointsCommand).de(de_DescribeRouteServerEndpointsCommand).build() {\n static {\n __name(this, \"DescribeRouteServerEndpointsCommand\");\n }\n};\n\n// src/commands/DescribeRouteServerPeersCommand.ts\n\n\n\nvar DescribeRouteServerPeersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeRouteServerPeers\", {}).n(\"EC2Client\", \"DescribeRouteServerPeersCommand\").f(void 0, void 0).ser(se_DescribeRouteServerPeersCommand).de(de_DescribeRouteServerPeersCommand).build() {\n static {\n __name(this, \"DescribeRouteServerPeersCommand\");\n }\n};\n\n// src/commands/DescribeRouteServersCommand.ts\n\n\n\nvar DescribeRouteServersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeRouteServers\", {}).n(\"EC2Client\", \"DescribeRouteServersCommand\").f(void 0, void 0).ser(se_DescribeRouteServersCommand).de(de_DescribeRouteServersCommand).build() {\n static {\n __name(this, \"DescribeRouteServersCommand\");\n }\n};\n\n// src/commands/DescribeRouteTablesCommand.ts\n\n\n\nvar DescribeRouteTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeRouteTables\", {}).n(\"EC2Client\", \"DescribeRouteTablesCommand\").f(void 0, void 0).ser(se_DescribeRouteTablesCommand).de(de_DescribeRouteTablesCommand).build() {\n static {\n __name(this, \"DescribeRouteTablesCommand\");\n }\n};\n\n// src/commands/DescribeScheduledInstanceAvailabilityCommand.ts\n\n\n\nvar DescribeScheduledInstanceAvailabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeScheduledInstanceAvailability\", {}).n(\"EC2Client\", \"DescribeScheduledInstanceAvailabilityCommand\").f(void 0, void 0).ser(se_DescribeScheduledInstanceAvailabilityCommand).de(de_DescribeScheduledInstanceAvailabilityCommand).build() {\n static {\n __name(this, \"DescribeScheduledInstanceAvailabilityCommand\");\n }\n};\n\n// src/commands/DescribeScheduledInstancesCommand.ts\n\n\n\nvar DescribeScheduledInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeScheduledInstances\", {}).n(\"EC2Client\", \"DescribeScheduledInstancesCommand\").f(void 0, void 0).ser(se_DescribeScheduledInstancesCommand).de(de_DescribeScheduledInstancesCommand).build() {\n static {\n __name(this, \"DescribeScheduledInstancesCommand\");\n }\n};\n\n// src/commands/DescribeSecurityGroupReferencesCommand.ts\n\n\n\nvar DescribeSecurityGroupReferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSecurityGroupReferences\", {}).n(\"EC2Client\", \"DescribeSecurityGroupReferencesCommand\").f(void 0, void 0).ser(se_DescribeSecurityGroupReferencesCommand).de(de_DescribeSecurityGroupReferencesCommand).build() {\n static {\n __name(this, \"DescribeSecurityGroupReferencesCommand\");\n }\n};\n\n// src/commands/DescribeSecurityGroupRulesCommand.ts\n\n\n\nvar DescribeSecurityGroupRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSecurityGroupRules\", {}).n(\"EC2Client\", \"DescribeSecurityGroupRulesCommand\").f(void 0, void 0).ser(se_DescribeSecurityGroupRulesCommand).de(de_DescribeSecurityGroupRulesCommand).build() {\n static {\n __name(this, \"DescribeSecurityGroupRulesCommand\");\n }\n};\n\n// src/commands/DescribeSecurityGroupsCommand.ts\n\n\n\nvar DescribeSecurityGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSecurityGroups\", {}).n(\"EC2Client\", \"DescribeSecurityGroupsCommand\").f(void 0, void 0).ser(se_DescribeSecurityGroupsCommand).de(de_DescribeSecurityGroupsCommand).build() {\n static {\n __name(this, \"DescribeSecurityGroupsCommand\");\n }\n};\n\n// src/commands/DescribeSecurityGroupVpcAssociationsCommand.ts\n\n\n\nvar DescribeSecurityGroupVpcAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSecurityGroupVpcAssociations\", {}).n(\"EC2Client\", \"DescribeSecurityGroupVpcAssociationsCommand\").f(void 0, void 0).ser(se_DescribeSecurityGroupVpcAssociationsCommand).de(de_DescribeSecurityGroupVpcAssociationsCommand).build() {\n static {\n __name(this, \"DescribeSecurityGroupVpcAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeServiceLinkVirtualInterfacesCommand.ts\n\n\n\nvar DescribeServiceLinkVirtualInterfacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeServiceLinkVirtualInterfaces\", {}).n(\"EC2Client\", \"DescribeServiceLinkVirtualInterfacesCommand\").f(void 0, void 0).ser(se_DescribeServiceLinkVirtualInterfacesCommand).de(de_DescribeServiceLinkVirtualInterfacesCommand).build() {\n static {\n __name(this, \"DescribeServiceLinkVirtualInterfacesCommand\");\n }\n};\n\n// src/commands/DescribeSnapshotAttributeCommand.ts\n\n\n\nvar DescribeSnapshotAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSnapshotAttribute\", {}).n(\"EC2Client\", \"DescribeSnapshotAttributeCommand\").f(void 0, void 0).ser(se_DescribeSnapshotAttributeCommand).de(de_DescribeSnapshotAttributeCommand).build() {\n static {\n __name(this, \"DescribeSnapshotAttributeCommand\");\n }\n};\n\n// src/commands/DescribeSnapshotsCommand.ts\n\n\n\nvar DescribeSnapshotsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSnapshots\", {}).n(\"EC2Client\", \"DescribeSnapshotsCommand\").f(void 0, void 0).ser(se_DescribeSnapshotsCommand).de(de_DescribeSnapshotsCommand).build() {\n static {\n __name(this, \"DescribeSnapshotsCommand\");\n }\n};\n\n// src/commands/DescribeSnapshotTierStatusCommand.ts\n\n\n\nvar DescribeSnapshotTierStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSnapshotTierStatus\", {}).n(\"EC2Client\", \"DescribeSnapshotTierStatusCommand\").f(void 0, void 0).ser(se_DescribeSnapshotTierStatusCommand).de(de_DescribeSnapshotTierStatusCommand).build() {\n static {\n __name(this, \"DescribeSnapshotTierStatusCommand\");\n }\n};\n\n// src/commands/DescribeSpotDatafeedSubscriptionCommand.ts\n\n\n\nvar DescribeSpotDatafeedSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotDatafeedSubscription\", {}).n(\"EC2Client\", \"DescribeSpotDatafeedSubscriptionCommand\").f(void 0, void 0).ser(se_DescribeSpotDatafeedSubscriptionCommand).de(de_DescribeSpotDatafeedSubscriptionCommand).build() {\n static {\n __name(this, \"DescribeSpotDatafeedSubscriptionCommand\");\n }\n};\n\n// src/commands/DescribeSpotFleetInstancesCommand.ts\n\n\n\nvar DescribeSpotFleetInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotFleetInstances\", {}).n(\"EC2Client\", \"DescribeSpotFleetInstancesCommand\").f(void 0, void 0).ser(se_DescribeSpotFleetInstancesCommand).de(de_DescribeSpotFleetInstancesCommand).build() {\n static {\n __name(this, \"DescribeSpotFleetInstancesCommand\");\n }\n};\n\n// src/commands/DescribeSpotFleetRequestHistoryCommand.ts\n\n\n\nvar DescribeSpotFleetRequestHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotFleetRequestHistory\", {}).n(\"EC2Client\", \"DescribeSpotFleetRequestHistoryCommand\").f(void 0, void 0).ser(se_DescribeSpotFleetRequestHistoryCommand).de(de_DescribeSpotFleetRequestHistoryCommand).build() {\n static {\n __name(this, \"DescribeSpotFleetRequestHistoryCommand\");\n }\n};\n\n// src/commands/DescribeSpotFleetRequestsCommand.ts\n\n\n\n\n// src/models/models_5.ts\n\nvar LockState = {\n compliance: \"compliance\",\n compliance_cooloff: \"compliance-cooloff\",\n expired: \"expired\",\n governance: \"governance\"\n};\nvar MoveStatus = {\n movingToVpc: \"movingToVpc\",\n restoringToClassic: \"restoringToClassic\"\n};\nvar FindingsFound = {\n false: \"false\",\n true: \"true\",\n unknown: \"unknown\"\n};\nvar AnalysisStatus = {\n failed: \"failed\",\n running: \"running\",\n succeeded: \"succeeded\"\n};\nvar NetworkInterfaceAttribute = {\n associatePublicIpAddress: \"associatePublicIpAddress\",\n attachment: \"attachment\",\n description: \"description\",\n groupSet: \"groupSet\",\n sourceDestCheck: \"sourceDestCheck\"\n};\nvar OfferingClassType = {\n CONVERTIBLE: \"convertible\",\n STANDARD: \"standard\"\n};\nvar OfferingTypeValues = {\n All_Upfront: \"All Upfront\",\n Heavy_Utilization: \"Heavy Utilization\",\n Light_Utilization: \"Light Utilization\",\n Medium_Utilization: \"Medium Utilization\",\n No_Upfront: \"No Upfront\",\n Partial_Upfront: \"Partial Upfront\"\n};\nvar RIProductDescription = {\n Linux_UNIX: \"Linux/UNIX\",\n Linux_UNIX_Amazon_VPC_: \"Linux/UNIX (Amazon VPC)\",\n Windows: \"Windows\",\n Windows_Amazon_VPC_: \"Windows (Amazon VPC)\"\n};\nvar RecurringChargeFrequency = {\n Hourly: \"Hourly\"\n};\nvar Scope = {\n AVAILABILITY_ZONE: \"Availability Zone\",\n REGIONAL: \"Region\"\n};\nvar ReservedInstanceState = {\n active: \"active\",\n payment_failed: \"payment-failed\",\n payment_pending: \"payment-pending\",\n queued: \"queued\",\n queued_deleted: \"queued-deleted\",\n retired: \"retired\"\n};\nvar ServiceLinkVirtualInterfaceConfigurationState = {\n available: \"available\",\n deleted: \"deleted\",\n deleting: \"deleting\",\n pending: \"pending\"\n};\nvar SnapshotAttributeName = {\n createVolumePermission: \"createVolumePermission\",\n productCodes: \"productCodes\"\n};\nvar TieringOperationStatus = {\n archival_completed: \"archival-completed\",\n archival_failed: \"archival-failed\",\n archival_in_progress: \"archival-in-progress\",\n permanent_restore_completed: \"permanent-restore-completed\",\n permanent_restore_failed: \"permanent-restore-failed\",\n permanent_restore_in_progress: \"permanent-restore-in-progress\",\n temporary_restore_completed: \"temporary-restore-completed\",\n temporary_restore_failed: \"temporary-restore-failed\",\n temporary_restore_in_progress: \"temporary-restore-in-progress\"\n};\nvar EventType = {\n BATCH_CHANGE: \"fleetRequestChange\",\n ERROR: \"error\",\n INFORMATION: \"information\",\n INSTANCE_CHANGE: \"instanceChange\"\n};\nvar ExcessCapacityTerminationPolicy = {\n DEFAULT: \"default\",\n NO_TERMINATION: \"noTermination\"\n};\nvar OnDemandAllocationStrategy = {\n LOWEST_PRICE: \"lowestPrice\",\n PRIORITIZED: \"prioritized\"\n};\nvar ReplacementStrategy = {\n LAUNCH: \"launch\",\n LAUNCH_BEFORE_TERMINATE: \"launch-before-terminate\"\n};\nvar SpotInstanceState = {\n active: \"active\",\n cancelled: \"cancelled\",\n closed: \"closed\",\n disabled: \"disabled\",\n failed: \"failed\",\n open: \"open\"\n};\nvar VerifiedAccessLogDeliveryStatusCode = {\n FAILED: \"failed\",\n SUCCESS: \"success\"\n};\nvar VolumeAttributeName = {\n autoEnableIO: \"autoEnableIO\",\n productCodes: \"productCodes\"\n};\nvar VolumeModificationState = {\n completed: \"completed\",\n failed: \"failed\",\n modifying: \"modifying\",\n optimizing: \"optimizing\"\n};\nvar VolumeStatusName = {\n io_enabled: \"io-enabled\",\n io_performance: \"io-performance\"\n};\nvar VolumeStatusInfoStatus = {\n impaired: \"impaired\",\n insufficient_data: \"insufficient-data\",\n ok: \"ok\"\n};\nvar VpcAttributeName = {\n enableDnsHostnames: \"enableDnsHostnames\",\n enableDnsSupport: \"enableDnsSupport\",\n enableNetworkAddressUsageMetrics: \"enableNetworkAddressUsageMetrics\"\n};\nvar VpcBlockPublicAccessExclusionsAllowed = {\n allowed: \"allowed\",\n not_allowed: \"not-allowed\"\n};\nvar InternetGatewayBlockMode = {\n block_bidirectional: \"block-bidirectional\",\n block_ingress: \"block-ingress\",\n off: \"off\"\n};\nvar ManagedBy = {\n account: \"account\",\n declarative_policy: \"declarative-policy\"\n};\nvar VpcBlockPublicAccessState = {\n default_state: \"default-state\",\n update_complete: \"update-complete\",\n update_in_progress: \"update-in-progress\"\n};\nvar SpotFleetLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"SpotFleetLaunchSpecificationFilterSensitiveLog\");\nvar SpotFleetRequestConfigDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchSpecifications && {\n LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item))\n }\n}), \"SpotFleetRequestConfigDataFilterSensitiveLog\");\nvar SpotFleetRequestConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SpotFleetRequestConfig && {\n SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig)\n }\n}), \"SpotFleetRequestConfigFilterSensitiveLog\");\nvar DescribeSpotFleetRequestsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"DescribeSpotFleetRequestsResponseFilterSensitiveLog\");\nvar LaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"LaunchSpecificationFilterSensitiveLog\");\nvar SpotInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchSpecification && {\n LaunchSpecification: LaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification)\n }\n}), \"SpotInstanceRequestFilterSensitiveLog\");\nvar DescribeSpotInstanceRequestsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SpotInstanceRequests && {\n SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item))\n }\n}), \"DescribeSpotInstanceRequestsResultFilterSensitiveLog\");\nvar DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProviders && {\n VerifiedAccessTrustProviders: obj.VerifiedAccessTrustProviders.map(\n (item) => VerifiedAccessTrustProviderFilterSensitiveLog(item)\n )\n }\n}), \"DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog\");\nvar DescribeVpnConnectionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnections && {\n VpnConnections: obj.VpnConnections.map((item) => VpnConnectionFilterSensitiveLog(item))\n }\n}), \"DescribeVpnConnectionsResultFilterSensitiveLog\");\nvar DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProvider && {\n VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)\n }\n}), \"DetachVerifiedAccessTrustProviderResultFilterSensitiveLog\");\n\n// src/commands/DescribeSpotFleetRequestsCommand.ts\nvar DescribeSpotFleetRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotFleetRequests\", {}).n(\"EC2Client\", \"DescribeSpotFleetRequestsCommand\").f(void 0, DescribeSpotFleetRequestsResponseFilterSensitiveLog).ser(se_DescribeSpotFleetRequestsCommand).de(de_DescribeSpotFleetRequestsCommand).build() {\n static {\n __name(this, \"DescribeSpotFleetRequestsCommand\");\n }\n};\n\n// src/commands/DescribeSpotInstanceRequestsCommand.ts\n\n\n\nvar DescribeSpotInstanceRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotInstanceRequests\", {}).n(\"EC2Client\", \"DescribeSpotInstanceRequestsCommand\").f(void 0, DescribeSpotInstanceRequestsResultFilterSensitiveLog).ser(se_DescribeSpotInstanceRequestsCommand).de(de_DescribeSpotInstanceRequestsCommand).build() {\n static {\n __name(this, \"DescribeSpotInstanceRequestsCommand\");\n }\n};\n\n// src/commands/DescribeSpotPriceHistoryCommand.ts\n\n\n\nvar DescribeSpotPriceHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSpotPriceHistory\", {}).n(\"EC2Client\", \"DescribeSpotPriceHistoryCommand\").f(void 0, void 0).ser(se_DescribeSpotPriceHistoryCommand).de(de_DescribeSpotPriceHistoryCommand).build() {\n static {\n __name(this, \"DescribeSpotPriceHistoryCommand\");\n }\n};\n\n// src/commands/DescribeStaleSecurityGroupsCommand.ts\n\n\n\nvar DescribeStaleSecurityGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeStaleSecurityGroups\", {}).n(\"EC2Client\", \"DescribeStaleSecurityGroupsCommand\").f(void 0, void 0).ser(se_DescribeStaleSecurityGroupsCommand).de(de_DescribeStaleSecurityGroupsCommand).build() {\n static {\n __name(this, \"DescribeStaleSecurityGroupsCommand\");\n }\n};\n\n// src/commands/DescribeStoreImageTasksCommand.ts\n\n\n\nvar DescribeStoreImageTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeStoreImageTasks\", {}).n(\"EC2Client\", \"DescribeStoreImageTasksCommand\").f(void 0, void 0).ser(se_DescribeStoreImageTasksCommand).de(de_DescribeStoreImageTasksCommand).build() {\n static {\n __name(this, \"DescribeStoreImageTasksCommand\");\n }\n};\n\n// src/commands/DescribeSubnetsCommand.ts\n\n\n\nvar DescribeSubnetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeSubnets\", {}).n(\"EC2Client\", \"DescribeSubnetsCommand\").f(void 0, void 0).ser(se_DescribeSubnetsCommand).de(de_DescribeSubnetsCommand).build() {\n static {\n __name(this, \"DescribeSubnetsCommand\");\n }\n};\n\n// src/commands/DescribeTagsCommand.ts\n\n\n\nvar DescribeTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTags\", {}).n(\"EC2Client\", \"DescribeTagsCommand\").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() {\n static {\n __name(this, \"DescribeTagsCommand\");\n }\n};\n\n// src/commands/DescribeTrafficMirrorFilterRulesCommand.ts\n\n\n\nvar DescribeTrafficMirrorFilterRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTrafficMirrorFilterRules\", {}).n(\"EC2Client\", \"DescribeTrafficMirrorFilterRulesCommand\").f(void 0, void 0).ser(se_DescribeTrafficMirrorFilterRulesCommand).de(de_DescribeTrafficMirrorFilterRulesCommand).build() {\n static {\n __name(this, \"DescribeTrafficMirrorFilterRulesCommand\");\n }\n};\n\n// src/commands/DescribeTrafficMirrorFiltersCommand.ts\n\n\n\nvar DescribeTrafficMirrorFiltersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTrafficMirrorFilters\", {}).n(\"EC2Client\", \"DescribeTrafficMirrorFiltersCommand\").f(void 0, void 0).ser(se_DescribeTrafficMirrorFiltersCommand).de(de_DescribeTrafficMirrorFiltersCommand).build() {\n static {\n __name(this, \"DescribeTrafficMirrorFiltersCommand\");\n }\n};\n\n// src/commands/DescribeTrafficMirrorSessionsCommand.ts\n\n\n\nvar DescribeTrafficMirrorSessionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTrafficMirrorSessions\", {}).n(\"EC2Client\", \"DescribeTrafficMirrorSessionsCommand\").f(void 0, void 0).ser(se_DescribeTrafficMirrorSessionsCommand).de(de_DescribeTrafficMirrorSessionsCommand).build() {\n static {\n __name(this, \"DescribeTrafficMirrorSessionsCommand\");\n }\n};\n\n// src/commands/DescribeTrafficMirrorTargetsCommand.ts\n\n\n\nvar DescribeTrafficMirrorTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTrafficMirrorTargets\", {}).n(\"EC2Client\", \"DescribeTrafficMirrorTargetsCommand\").f(void 0, void 0).ser(se_DescribeTrafficMirrorTargetsCommand).de(de_DescribeTrafficMirrorTargetsCommand).build() {\n static {\n __name(this, \"DescribeTrafficMirrorTargetsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayAttachmentsCommand.ts\n\n\n\nvar DescribeTransitGatewayAttachmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayAttachments\", {}).n(\"EC2Client\", \"DescribeTransitGatewayAttachmentsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayAttachmentsCommand).de(de_DescribeTransitGatewayAttachmentsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayAttachmentsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayConnectPeersCommand.ts\n\n\n\nvar DescribeTransitGatewayConnectPeersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayConnectPeers\", {}).n(\"EC2Client\", \"DescribeTransitGatewayConnectPeersCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayConnectPeersCommand).de(de_DescribeTransitGatewayConnectPeersCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayConnectPeersCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayConnectsCommand.ts\n\n\n\nvar DescribeTransitGatewayConnectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayConnects\", {}).n(\"EC2Client\", \"DescribeTransitGatewayConnectsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayConnectsCommand).de(de_DescribeTransitGatewayConnectsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayConnectsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayMulticastDomainsCommand.ts\n\n\n\nvar DescribeTransitGatewayMulticastDomainsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayMulticastDomains\", {}).n(\"EC2Client\", \"DescribeTransitGatewayMulticastDomainsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayMulticastDomainsCommand).de(de_DescribeTransitGatewayMulticastDomainsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayMulticastDomainsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts\n\n\n\nvar DescribeTransitGatewayPeeringAttachmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayPeeringAttachments\", {}).n(\"EC2Client\", \"DescribeTransitGatewayPeeringAttachmentsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayPeeringAttachmentsCommand).de(de_DescribeTransitGatewayPeeringAttachmentsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayPeeringAttachmentsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayPolicyTablesCommand.ts\n\n\n\nvar DescribeTransitGatewayPolicyTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayPolicyTables\", {}).n(\"EC2Client\", \"DescribeTransitGatewayPolicyTablesCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayPolicyTablesCommand).de(de_DescribeTransitGatewayPolicyTablesCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayPolicyTablesCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.ts\n\n\n\nvar DescribeTransitGatewayRouteTableAnnouncementsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayRouteTableAnnouncements\", {}).n(\"EC2Client\", \"DescribeTransitGatewayRouteTableAnnouncementsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayRouteTableAnnouncementsCommand).de(de_DescribeTransitGatewayRouteTableAnnouncementsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayRouteTableAnnouncementsCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayRouteTablesCommand.ts\n\n\n\nvar DescribeTransitGatewayRouteTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayRouteTables\", {}).n(\"EC2Client\", \"DescribeTransitGatewayRouteTablesCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayRouteTablesCommand).de(de_DescribeTransitGatewayRouteTablesCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayRouteTablesCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewaysCommand.ts\n\n\n\nvar DescribeTransitGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGateways\", {}).n(\"EC2Client\", \"DescribeTransitGatewaysCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewaysCommand).de(de_DescribeTransitGatewaysCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewaysCommand\");\n }\n};\n\n// src/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts\n\n\n\nvar DescribeTransitGatewayVpcAttachmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTransitGatewayVpcAttachments\", {}).n(\"EC2Client\", \"DescribeTransitGatewayVpcAttachmentsCommand\").f(void 0, void 0).ser(se_DescribeTransitGatewayVpcAttachmentsCommand).de(de_DescribeTransitGatewayVpcAttachmentsCommand).build() {\n static {\n __name(this, \"DescribeTransitGatewayVpcAttachmentsCommand\");\n }\n};\n\n// src/commands/DescribeTrunkInterfaceAssociationsCommand.ts\n\n\n\nvar DescribeTrunkInterfaceAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeTrunkInterfaceAssociations\", {}).n(\"EC2Client\", \"DescribeTrunkInterfaceAssociationsCommand\").f(void 0, void 0).ser(se_DescribeTrunkInterfaceAssociationsCommand).de(de_DescribeTrunkInterfaceAssociationsCommand).build() {\n static {\n __name(this, \"DescribeTrunkInterfaceAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeVerifiedAccessEndpointsCommand.ts\n\n\n\nvar DescribeVerifiedAccessEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVerifiedAccessEndpoints\", {}).n(\"EC2Client\", \"DescribeVerifiedAccessEndpointsCommand\").f(void 0, void 0).ser(se_DescribeVerifiedAccessEndpointsCommand).de(de_DescribeVerifiedAccessEndpointsCommand).build() {\n static {\n __name(this, \"DescribeVerifiedAccessEndpointsCommand\");\n }\n};\n\n// src/commands/DescribeVerifiedAccessGroupsCommand.ts\n\n\n\nvar DescribeVerifiedAccessGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVerifiedAccessGroups\", {}).n(\"EC2Client\", \"DescribeVerifiedAccessGroupsCommand\").f(void 0, void 0).ser(se_DescribeVerifiedAccessGroupsCommand).de(de_DescribeVerifiedAccessGroupsCommand).build() {\n static {\n __name(this, \"DescribeVerifiedAccessGroupsCommand\");\n }\n};\n\n// src/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.ts\n\n\n\nvar DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVerifiedAccessInstanceLoggingConfigurations\", {}).n(\"EC2Client\", \"DescribeVerifiedAccessInstanceLoggingConfigurationsCommand\").f(void 0, void 0).ser(se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand).de(de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand).build() {\n static {\n __name(this, \"DescribeVerifiedAccessInstanceLoggingConfigurationsCommand\");\n }\n};\n\n// src/commands/DescribeVerifiedAccessInstancesCommand.ts\n\n\n\nvar DescribeVerifiedAccessInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVerifiedAccessInstances\", {}).n(\"EC2Client\", \"DescribeVerifiedAccessInstancesCommand\").f(void 0, void 0).ser(se_DescribeVerifiedAccessInstancesCommand).de(de_DescribeVerifiedAccessInstancesCommand).build() {\n static {\n __name(this, \"DescribeVerifiedAccessInstancesCommand\");\n }\n};\n\n// src/commands/DescribeVerifiedAccessTrustProvidersCommand.ts\n\n\n\nvar DescribeVerifiedAccessTrustProvidersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVerifiedAccessTrustProviders\", {}).n(\"EC2Client\", \"DescribeVerifiedAccessTrustProvidersCommand\").f(void 0, DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog).ser(se_DescribeVerifiedAccessTrustProvidersCommand).de(de_DescribeVerifiedAccessTrustProvidersCommand).build() {\n static {\n __name(this, \"DescribeVerifiedAccessTrustProvidersCommand\");\n }\n};\n\n// src/commands/DescribeVolumeAttributeCommand.ts\n\n\n\nvar DescribeVolumeAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVolumeAttribute\", {}).n(\"EC2Client\", \"DescribeVolumeAttributeCommand\").f(void 0, void 0).ser(se_DescribeVolumeAttributeCommand).de(de_DescribeVolumeAttributeCommand).build() {\n static {\n __name(this, \"DescribeVolumeAttributeCommand\");\n }\n};\n\n// src/commands/DescribeVolumesCommand.ts\n\n\n\nvar DescribeVolumesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVolumes\", {}).n(\"EC2Client\", \"DescribeVolumesCommand\").f(void 0, void 0).ser(se_DescribeVolumesCommand).de(de_DescribeVolumesCommand).build() {\n static {\n __name(this, \"DescribeVolumesCommand\");\n }\n};\n\n// src/commands/DescribeVolumesModificationsCommand.ts\n\n\n\nvar DescribeVolumesModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVolumesModifications\", {}).n(\"EC2Client\", \"DescribeVolumesModificationsCommand\").f(void 0, void 0).ser(se_DescribeVolumesModificationsCommand).de(de_DescribeVolumesModificationsCommand).build() {\n static {\n __name(this, \"DescribeVolumesModificationsCommand\");\n }\n};\n\n// src/commands/DescribeVolumeStatusCommand.ts\n\n\n\nvar DescribeVolumeStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVolumeStatus\", {}).n(\"EC2Client\", \"DescribeVolumeStatusCommand\").f(void 0, void 0).ser(se_DescribeVolumeStatusCommand).de(de_DescribeVolumeStatusCommand).build() {\n static {\n __name(this, \"DescribeVolumeStatusCommand\");\n }\n};\n\n// src/commands/DescribeVpcAttributeCommand.ts\n\n\n\nvar DescribeVpcAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcAttribute\", {}).n(\"EC2Client\", \"DescribeVpcAttributeCommand\").f(void 0, void 0).ser(se_DescribeVpcAttributeCommand).de(de_DescribeVpcAttributeCommand).build() {\n static {\n __name(this, \"DescribeVpcAttributeCommand\");\n }\n};\n\n// src/commands/DescribeVpcBlockPublicAccessExclusionsCommand.ts\n\n\n\nvar DescribeVpcBlockPublicAccessExclusionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcBlockPublicAccessExclusions\", {}).n(\"EC2Client\", \"DescribeVpcBlockPublicAccessExclusionsCommand\").f(void 0, void 0).ser(se_DescribeVpcBlockPublicAccessExclusionsCommand).de(de_DescribeVpcBlockPublicAccessExclusionsCommand).build() {\n static {\n __name(this, \"DescribeVpcBlockPublicAccessExclusionsCommand\");\n }\n};\n\n// src/commands/DescribeVpcBlockPublicAccessOptionsCommand.ts\n\n\n\nvar DescribeVpcBlockPublicAccessOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcBlockPublicAccessOptions\", {}).n(\"EC2Client\", \"DescribeVpcBlockPublicAccessOptionsCommand\").f(void 0, void 0).ser(se_DescribeVpcBlockPublicAccessOptionsCommand).de(de_DescribeVpcBlockPublicAccessOptionsCommand).build() {\n static {\n __name(this, \"DescribeVpcBlockPublicAccessOptionsCommand\");\n }\n};\n\n// src/commands/DescribeVpcClassicLinkCommand.ts\n\n\n\nvar DescribeVpcClassicLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcClassicLink\", {}).n(\"EC2Client\", \"DescribeVpcClassicLinkCommand\").f(void 0, void 0).ser(se_DescribeVpcClassicLinkCommand).de(de_DescribeVpcClassicLinkCommand).build() {\n static {\n __name(this, \"DescribeVpcClassicLinkCommand\");\n }\n};\n\n// src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts\n\n\n\nvar DescribeVpcClassicLinkDnsSupportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcClassicLinkDnsSupport\", {}).n(\"EC2Client\", \"DescribeVpcClassicLinkDnsSupportCommand\").f(void 0, void 0).ser(se_DescribeVpcClassicLinkDnsSupportCommand).de(de_DescribeVpcClassicLinkDnsSupportCommand).build() {\n static {\n __name(this, \"DescribeVpcClassicLinkDnsSupportCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointAssociationsCommand.ts\n\n\n\nvar DescribeVpcEndpointAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointAssociations\", {}).n(\"EC2Client\", \"DescribeVpcEndpointAssociationsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointAssociationsCommand).de(de_DescribeVpcEndpointAssociationsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts\n\n\n\nvar DescribeVpcEndpointConnectionNotificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointConnectionNotifications\", {}).n(\"EC2Client\", \"DescribeVpcEndpointConnectionNotificationsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointConnectionNotificationsCommand).de(de_DescribeVpcEndpointConnectionNotificationsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointConnectionNotificationsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointConnectionsCommand.ts\n\n\n\nvar DescribeVpcEndpointConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointConnections\", {}).n(\"EC2Client\", \"DescribeVpcEndpointConnectionsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointConnectionsCommand).de(de_DescribeVpcEndpointConnectionsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointConnectionsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointsCommand.ts\n\n\n\nvar DescribeVpcEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpoints\", {}).n(\"EC2Client\", \"DescribeVpcEndpointsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointsCommand).de(de_DescribeVpcEndpointsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts\n\n\n\nvar DescribeVpcEndpointServiceConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointServiceConfigurations\", {}).n(\"EC2Client\", \"DescribeVpcEndpointServiceConfigurationsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointServiceConfigurationsCommand).de(de_DescribeVpcEndpointServiceConfigurationsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointServiceConfigurationsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointServicePermissionsCommand.ts\n\n\n\nvar DescribeVpcEndpointServicePermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointServicePermissions\", {}).n(\"EC2Client\", \"DescribeVpcEndpointServicePermissionsCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointServicePermissionsCommand).de(de_DescribeVpcEndpointServicePermissionsCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointServicePermissionsCommand\");\n }\n};\n\n// src/commands/DescribeVpcEndpointServicesCommand.ts\n\n\n\nvar DescribeVpcEndpointServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcEndpointServices\", {}).n(\"EC2Client\", \"DescribeVpcEndpointServicesCommand\").f(void 0, void 0).ser(se_DescribeVpcEndpointServicesCommand).de(de_DescribeVpcEndpointServicesCommand).build() {\n static {\n __name(this, \"DescribeVpcEndpointServicesCommand\");\n }\n};\n\n// src/commands/DescribeVpcPeeringConnectionsCommand.ts\n\n\n\nvar DescribeVpcPeeringConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcPeeringConnections\", {}).n(\"EC2Client\", \"DescribeVpcPeeringConnectionsCommand\").f(void 0, void 0).ser(se_DescribeVpcPeeringConnectionsCommand).de(de_DescribeVpcPeeringConnectionsCommand).build() {\n static {\n __name(this, \"DescribeVpcPeeringConnectionsCommand\");\n }\n};\n\n// src/commands/DescribeVpcsCommand.ts\n\n\n\nvar DescribeVpcsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpcs\", {}).n(\"EC2Client\", \"DescribeVpcsCommand\").f(void 0, void 0).ser(se_DescribeVpcsCommand).de(de_DescribeVpcsCommand).build() {\n static {\n __name(this, \"DescribeVpcsCommand\");\n }\n};\n\n// src/commands/DescribeVpnConnectionsCommand.ts\n\n\n\nvar DescribeVpnConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpnConnections\", {}).n(\"EC2Client\", \"DescribeVpnConnectionsCommand\").f(void 0, DescribeVpnConnectionsResultFilterSensitiveLog).ser(se_DescribeVpnConnectionsCommand).de(de_DescribeVpnConnectionsCommand).build() {\n static {\n __name(this, \"DescribeVpnConnectionsCommand\");\n }\n};\n\n// src/commands/DescribeVpnGatewaysCommand.ts\n\n\n\nvar DescribeVpnGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DescribeVpnGateways\", {}).n(\"EC2Client\", \"DescribeVpnGatewaysCommand\").f(void 0, void 0).ser(se_DescribeVpnGatewaysCommand).de(de_DescribeVpnGatewaysCommand).build() {\n static {\n __name(this, \"DescribeVpnGatewaysCommand\");\n }\n};\n\n// src/commands/DetachClassicLinkVpcCommand.ts\n\n\n\nvar DetachClassicLinkVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachClassicLinkVpc\", {}).n(\"EC2Client\", \"DetachClassicLinkVpcCommand\").f(void 0, void 0).ser(se_DetachClassicLinkVpcCommand).de(de_DetachClassicLinkVpcCommand).build() {\n static {\n __name(this, \"DetachClassicLinkVpcCommand\");\n }\n};\n\n// src/commands/DetachInternetGatewayCommand.ts\n\n\n\nvar DetachInternetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachInternetGateway\", {}).n(\"EC2Client\", \"DetachInternetGatewayCommand\").f(void 0, void 0).ser(se_DetachInternetGatewayCommand).de(de_DetachInternetGatewayCommand).build() {\n static {\n __name(this, \"DetachInternetGatewayCommand\");\n }\n};\n\n// src/commands/DetachNetworkInterfaceCommand.ts\n\n\n\nvar DetachNetworkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachNetworkInterface\", {}).n(\"EC2Client\", \"DetachNetworkInterfaceCommand\").f(void 0, void 0).ser(se_DetachNetworkInterfaceCommand).de(de_DetachNetworkInterfaceCommand).build() {\n static {\n __name(this, \"DetachNetworkInterfaceCommand\");\n }\n};\n\n// src/commands/DetachVerifiedAccessTrustProviderCommand.ts\n\n\n\nvar DetachVerifiedAccessTrustProviderCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachVerifiedAccessTrustProvider\", {}).n(\"EC2Client\", \"DetachVerifiedAccessTrustProviderCommand\").f(void 0, DetachVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_DetachVerifiedAccessTrustProviderCommand).de(de_DetachVerifiedAccessTrustProviderCommand).build() {\n static {\n __name(this, \"DetachVerifiedAccessTrustProviderCommand\");\n }\n};\n\n// src/commands/DetachVolumeCommand.ts\n\n\n\nvar DetachVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachVolume\", {}).n(\"EC2Client\", \"DetachVolumeCommand\").f(void 0, void 0).ser(se_DetachVolumeCommand).de(de_DetachVolumeCommand).build() {\n static {\n __name(this, \"DetachVolumeCommand\");\n }\n};\n\n// src/commands/DetachVpnGatewayCommand.ts\n\n\n\nvar DetachVpnGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DetachVpnGateway\", {}).n(\"EC2Client\", \"DetachVpnGatewayCommand\").f(void 0, void 0).ser(se_DetachVpnGatewayCommand).de(de_DetachVpnGatewayCommand).build() {\n static {\n __name(this, \"DetachVpnGatewayCommand\");\n }\n};\n\n// src/commands/DisableAddressTransferCommand.ts\n\n\n\nvar DisableAddressTransferCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableAddressTransfer\", {}).n(\"EC2Client\", \"DisableAddressTransferCommand\").f(void 0, void 0).ser(se_DisableAddressTransferCommand).de(de_DisableAddressTransferCommand).build() {\n static {\n __name(this, \"DisableAddressTransferCommand\");\n }\n};\n\n// src/commands/DisableAllowedImagesSettingsCommand.ts\n\n\n\nvar DisableAllowedImagesSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableAllowedImagesSettings\", {}).n(\"EC2Client\", \"DisableAllowedImagesSettingsCommand\").f(void 0, void 0).ser(se_DisableAllowedImagesSettingsCommand).de(de_DisableAllowedImagesSettingsCommand).build() {\n static {\n __name(this, \"DisableAllowedImagesSettingsCommand\");\n }\n};\n\n// src/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.ts\n\n\n\nvar DisableAwsNetworkPerformanceMetricSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableAwsNetworkPerformanceMetricSubscription\", {}).n(\"EC2Client\", \"DisableAwsNetworkPerformanceMetricSubscriptionCommand\").f(void 0, void 0).ser(se_DisableAwsNetworkPerformanceMetricSubscriptionCommand).de(de_DisableAwsNetworkPerformanceMetricSubscriptionCommand).build() {\n static {\n __name(this, \"DisableAwsNetworkPerformanceMetricSubscriptionCommand\");\n }\n};\n\n// src/commands/DisableEbsEncryptionByDefaultCommand.ts\n\n\n\nvar DisableEbsEncryptionByDefaultCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableEbsEncryptionByDefault\", {}).n(\"EC2Client\", \"DisableEbsEncryptionByDefaultCommand\").f(void 0, void 0).ser(se_DisableEbsEncryptionByDefaultCommand).de(de_DisableEbsEncryptionByDefaultCommand).build() {\n static {\n __name(this, \"DisableEbsEncryptionByDefaultCommand\");\n }\n};\n\n// src/commands/DisableFastLaunchCommand.ts\n\n\n\nvar DisableFastLaunchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableFastLaunch\", {}).n(\"EC2Client\", \"DisableFastLaunchCommand\").f(void 0, void 0).ser(se_DisableFastLaunchCommand).de(de_DisableFastLaunchCommand).build() {\n static {\n __name(this, \"DisableFastLaunchCommand\");\n }\n};\n\n// src/commands/DisableFastSnapshotRestoresCommand.ts\n\n\n\nvar DisableFastSnapshotRestoresCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableFastSnapshotRestores\", {}).n(\"EC2Client\", \"DisableFastSnapshotRestoresCommand\").f(void 0, void 0).ser(se_DisableFastSnapshotRestoresCommand).de(de_DisableFastSnapshotRestoresCommand).build() {\n static {\n __name(this, \"DisableFastSnapshotRestoresCommand\");\n }\n};\n\n// src/commands/DisableImageBlockPublicAccessCommand.ts\n\n\n\nvar DisableImageBlockPublicAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableImageBlockPublicAccess\", {}).n(\"EC2Client\", \"DisableImageBlockPublicAccessCommand\").f(void 0, void 0).ser(se_DisableImageBlockPublicAccessCommand).de(de_DisableImageBlockPublicAccessCommand).build() {\n static {\n __name(this, \"DisableImageBlockPublicAccessCommand\");\n }\n};\n\n// src/commands/DisableImageCommand.ts\n\n\n\nvar DisableImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableImage\", {}).n(\"EC2Client\", \"DisableImageCommand\").f(void 0, void 0).ser(se_DisableImageCommand).de(de_DisableImageCommand).build() {\n static {\n __name(this, \"DisableImageCommand\");\n }\n};\n\n// src/commands/DisableImageDeprecationCommand.ts\n\n\n\nvar DisableImageDeprecationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableImageDeprecation\", {}).n(\"EC2Client\", \"DisableImageDeprecationCommand\").f(void 0, void 0).ser(se_DisableImageDeprecationCommand).de(de_DisableImageDeprecationCommand).build() {\n static {\n __name(this, \"DisableImageDeprecationCommand\");\n }\n};\n\n// src/commands/DisableImageDeregistrationProtectionCommand.ts\n\n\n\nvar DisableImageDeregistrationProtectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableImageDeregistrationProtection\", {}).n(\"EC2Client\", \"DisableImageDeregistrationProtectionCommand\").f(void 0, void 0).ser(se_DisableImageDeregistrationProtectionCommand).de(de_DisableImageDeregistrationProtectionCommand).build() {\n static {\n __name(this, \"DisableImageDeregistrationProtectionCommand\");\n }\n};\n\n// src/commands/DisableIpamOrganizationAdminAccountCommand.ts\n\n\n\nvar DisableIpamOrganizationAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableIpamOrganizationAdminAccount\", {}).n(\"EC2Client\", \"DisableIpamOrganizationAdminAccountCommand\").f(void 0, void 0).ser(se_DisableIpamOrganizationAdminAccountCommand).de(de_DisableIpamOrganizationAdminAccountCommand).build() {\n static {\n __name(this, \"DisableIpamOrganizationAdminAccountCommand\");\n }\n};\n\n// src/commands/DisableRouteServerPropagationCommand.ts\n\n\n\nvar DisableRouteServerPropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableRouteServerPropagation\", {}).n(\"EC2Client\", \"DisableRouteServerPropagationCommand\").f(void 0, void 0).ser(se_DisableRouteServerPropagationCommand).de(de_DisableRouteServerPropagationCommand).build() {\n static {\n __name(this, \"DisableRouteServerPropagationCommand\");\n }\n};\n\n// src/commands/DisableSerialConsoleAccessCommand.ts\n\n\n\nvar DisableSerialConsoleAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableSerialConsoleAccess\", {}).n(\"EC2Client\", \"DisableSerialConsoleAccessCommand\").f(void 0, void 0).ser(se_DisableSerialConsoleAccessCommand).de(de_DisableSerialConsoleAccessCommand).build() {\n static {\n __name(this, \"DisableSerialConsoleAccessCommand\");\n }\n};\n\n// src/commands/DisableSnapshotBlockPublicAccessCommand.ts\n\n\n\nvar DisableSnapshotBlockPublicAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableSnapshotBlockPublicAccess\", {}).n(\"EC2Client\", \"DisableSnapshotBlockPublicAccessCommand\").f(void 0, void 0).ser(se_DisableSnapshotBlockPublicAccessCommand).de(de_DisableSnapshotBlockPublicAccessCommand).build() {\n static {\n __name(this, \"DisableSnapshotBlockPublicAccessCommand\");\n }\n};\n\n// src/commands/DisableTransitGatewayRouteTablePropagationCommand.ts\n\n\n\nvar DisableTransitGatewayRouteTablePropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableTransitGatewayRouteTablePropagation\", {}).n(\"EC2Client\", \"DisableTransitGatewayRouteTablePropagationCommand\").f(void 0, void 0).ser(se_DisableTransitGatewayRouteTablePropagationCommand).de(de_DisableTransitGatewayRouteTablePropagationCommand).build() {\n static {\n __name(this, \"DisableTransitGatewayRouteTablePropagationCommand\");\n }\n};\n\n// src/commands/DisableVgwRoutePropagationCommand.ts\n\n\n\nvar DisableVgwRoutePropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableVgwRoutePropagation\", {}).n(\"EC2Client\", \"DisableVgwRoutePropagationCommand\").f(void 0, void 0).ser(se_DisableVgwRoutePropagationCommand).de(de_DisableVgwRoutePropagationCommand).build() {\n static {\n __name(this, \"DisableVgwRoutePropagationCommand\");\n }\n};\n\n// src/commands/DisableVpcClassicLinkCommand.ts\n\n\n\nvar DisableVpcClassicLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableVpcClassicLink\", {}).n(\"EC2Client\", \"DisableVpcClassicLinkCommand\").f(void 0, void 0).ser(se_DisableVpcClassicLinkCommand).de(de_DisableVpcClassicLinkCommand).build() {\n static {\n __name(this, \"DisableVpcClassicLinkCommand\");\n }\n};\n\n// src/commands/DisableVpcClassicLinkDnsSupportCommand.ts\n\n\n\nvar DisableVpcClassicLinkDnsSupportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisableVpcClassicLinkDnsSupport\", {}).n(\"EC2Client\", \"DisableVpcClassicLinkDnsSupportCommand\").f(void 0, void 0).ser(se_DisableVpcClassicLinkDnsSupportCommand).de(de_DisableVpcClassicLinkDnsSupportCommand).build() {\n static {\n __name(this, \"DisableVpcClassicLinkDnsSupportCommand\");\n }\n};\n\n// src/commands/DisassociateAddressCommand.ts\n\n\n\nvar DisassociateAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateAddress\", {}).n(\"EC2Client\", \"DisassociateAddressCommand\").f(void 0, void 0).ser(se_DisassociateAddressCommand).de(de_DisassociateAddressCommand).build() {\n static {\n __name(this, \"DisassociateAddressCommand\");\n }\n};\n\n// src/commands/DisassociateCapacityReservationBillingOwnerCommand.ts\n\n\n\nvar DisassociateCapacityReservationBillingOwnerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateCapacityReservationBillingOwner\", {}).n(\"EC2Client\", \"DisassociateCapacityReservationBillingOwnerCommand\").f(void 0, void 0).ser(se_DisassociateCapacityReservationBillingOwnerCommand).de(de_DisassociateCapacityReservationBillingOwnerCommand).build() {\n static {\n __name(this, \"DisassociateCapacityReservationBillingOwnerCommand\");\n }\n};\n\n// src/commands/DisassociateClientVpnTargetNetworkCommand.ts\n\n\n\nvar DisassociateClientVpnTargetNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateClientVpnTargetNetwork\", {}).n(\"EC2Client\", \"DisassociateClientVpnTargetNetworkCommand\").f(void 0, void 0).ser(se_DisassociateClientVpnTargetNetworkCommand).de(de_DisassociateClientVpnTargetNetworkCommand).build() {\n static {\n __name(this, \"DisassociateClientVpnTargetNetworkCommand\");\n }\n};\n\n// src/commands/DisassociateEnclaveCertificateIamRoleCommand.ts\n\n\n\nvar DisassociateEnclaveCertificateIamRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateEnclaveCertificateIamRole\", {}).n(\"EC2Client\", \"DisassociateEnclaveCertificateIamRoleCommand\").f(void 0, void 0).ser(se_DisassociateEnclaveCertificateIamRoleCommand).de(de_DisassociateEnclaveCertificateIamRoleCommand).build() {\n static {\n __name(this, \"DisassociateEnclaveCertificateIamRoleCommand\");\n }\n};\n\n// src/commands/DisassociateIamInstanceProfileCommand.ts\n\n\n\nvar DisassociateIamInstanceProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateIamInstanceProfile\", {}).n(\"EC2Client\", \"DisassociateIamInstanceProfileCommand\").f(void 0, void 0).ser(se_DisassociateIamInstanceProfileCommand).de(de_DisassociateIamInstanceProfileCommand).build() {\n static {\n __name(this, \"DisassociateIamInstanceProfileCommand\");\n }\n};\n\n// src/commands/DisassociateInstanceEventWindowCommand.ts\n\n\n\nvar DisassociateInstanceEventWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateInstanceEventWindow\", {}).n(\"EC2Client\", \"DisassociateInstanceEventWindowCommand\").f(void 0, void 0).ser(se_DisassociateInstanceEventWindowCommand).de(de_DisassociateInstanceEventWindowCommand).build() {\n static {\n __name(this, \"DisassociateInstanceEventWindowCommand\");\n }\n};\n\n// src/commands/DisassociateIpamByoasnCommand.ts\n\n\n\nvar DisassociateIpamByoasnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateIpamByoasn\", {}).n(\"EC2Client\", \"DisassociateIpamByoasnCommand\").f(void 0, void 0).ser(se_DisassociateIpamByoasnCommand).de(de_DisassociateIpamByoasnCommand).build() {\n static {\n __name(this, \"DisassociateIpamByoasnCommand\");\n }\n};\n\n// src/commands/DisassociateIpamResourceDiscoveryCommand.ts\n\n\n\nvar DisassociateIpamResourceDiscoveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateIpamResourceDiscovery\", {}).n(\"EC2Client\", \"DisassociateIpamResourceDiscoveryCommand\").f(void 0, void 0).ser(se_DisassociateIpamResourceDiscoveryCommand).de(de_DisassociateIpamResourceDiscoveryCommand).build() {\n static {\n __name(this, \"DisassociateIpamResourceDiscoveryCommand\");\n }\n};\n\n// src/commands/DisassociateNatGatewayAddressCommand.ts\n\n\n\nvar DisassociateNatGatewayAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateNatGatewayAddress\", {}).n(\"EC2Client\", \"DisassociateNatGatewayAddressCommand\").f(void 0, void 0).ser(se_DisassociateNatGatewayAddressCommand).de(de_DisassociateNatGatewayAddressCommand).build() {\n static {\n __name(this, \"DisassociateNatGatewayAddressCommand\");\n }\n};\n\n// src/commands/DisassociateRouteServerCommand.ts\n\n\n\nvar DisassociateRouteServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateRouteServer\", {}).n(\"EC2Client\", \"DisassociateRouteServerCommand\").f(void 0, void 0).ser(se_DisassociateRouteServerCommand).de(de_DisassociateRouteServerCommand).build() {\n static {\n __name(this, \"DisassociateRouteServerCommand\");\n }\n};\n\n// src/commands/DisassociateRouteTableCommand.ts\n\n\n\nvar DisassociateRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateRouteTable\", {}).n(\"EC2Client\", \"DisassociateRouteTableCommand\").f(void 0, void 0).ser(se_DisassociateRouteTableCommand).de(de_DisassociateRouteTableCommand).build() {\n static {\n __name(this, \"DisassociateRouteTableCommand\");\n }\n};\n\n// src/commands/DisassociateSecurityGroupVpcCommand.ts\n\n\n\nvar DisassociateSecurityGroupVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateSecurityGroupVpc\", {}).n(\"EC2Client\", \"DisassociateSecurityGroupVpcCommand\").f(void 0, void 0).ser(se_DisassociateSecurityGroupVpcCommand).de(de_DisassociateSecurityGroupVpcCommand).build() {\n static {\n __name(this, \"DisassociateSecurityGroupVpcCommand\");\n }\n};\n\n// src/commands/DisassociateSubnetCidrBlockCommand.ts\n\n\n\nvar DisassociateSubnetCidrBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateSubnetCidrBlock\", {}).n(\"EC2Client\", \"DisassociateSubnetCidrBlockCommand\").f(void 0, void 0).ser(se_DisassociateSubnetCidrBlockCommand).de(de_DisassociateSubnetCidrBlockCommand).build() {\n static {\n __name(this, \"DisassociateSubnetCidrBlockCommand\");\n }\n};\n\n// src/commands/DisassociateTransitGatewayMulticastDomainCommand.ts\n\n\n\nvar DisassociateTransitGatewayMulticastDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateTransitGatewayMulticastDomain\", {}).n(\"EC2Client\", \"DisassociateTransitGatewayMulticastDomainCommand\").f(void 0, void 0).ser(se_DisassociateTransitGatewayMulticastDomainCommand).de(de_DisassociateTransitGatewayMulticastDomainCommand).build() {\n static {\n __name(this, \"DisassociateTransitGatewayMulticastDomainCommand\");\n }\n};\n\n// src/commands/DisassociateTransitGatewayPolicyTableCommand.ts\n\n\n\nvar DisassociateTransitGatewayPolicyTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateTransitGatewayPolicyTable\", {}).n(\"EC2Client\", \"DisassociateTransitGatewayPolicyTableCommand\").f(void 0, void 0).ser(se_DisassociateTransitGatewayPolicyTableCommand).de(de_DisassociateTransitGatewayPolicyTableCommand).build() {\n static {\n __name(this, \"DisassociateTransitGatewayPolicyTableCommand\");\n }\n};\n\n// src/commands/DisassociateTransitGatewayRouteTableCommand.ts\n\n\n\nvar DisassociateTransitGatewayRouteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateTransitGatewayRouteTable\", {}).n(\"EC2Client\", \"DisassociateTransitGatewayRouteTableCommand\").f(void 0, void 0).ser(se_DisassociateTransitGatewayRouteTableCommand).de(de_DisassociateTransitGatewayRouteTableCommand).build() {\n static {\n __name(this, \"DisassociateTransitGatewayRouteTableCommand\");\n }\n};\n\n// src/commands/DisassociateTrunkInterfaceCommand.ts\n\n\n\nvar DisassociateTrunkInterfaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateTrunkInterface\", {}).n(\"EC2Client\", \"DisassociateTrunkInterfaceCommand\").f(void 0, void 0).ser(se_DisassociateTrunkInterfaceCommand).de(de_DisassociateTrunkInterfaceCommand).build() {\n static {\n __name(this, \"DisassociateTrunkInterfaceCommand\");\n }\n};\n\n// src/commands/DisassociateVpcCidrBlockCommand.ts\n\n\n\nvar DisassociateVpcCidrBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"DisassociateVpcCidrBlock\", {}).n(\"EC2Client\", \"DisassociateVpcCidrBlockCommand\").f(void 0, void 0).ser(se_DisassociateVpcCidrBlockCommand).de(de_DisassociateVpcCidrBlockCommand).build() {\n static {\n __name(this, \"DisassociateVpcCidrBlockCommand\");\n }\n};\n\n// src/commands/EnableAddressTransferCommand.ts\n\n\n\nvar EnableAddressTransferCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableAddressTransfer\", {}).n(\"EC2Client\", \"EnableAddressTransferCommand\").f(void 0, void 0).ser(se_EnableAddressTransferCommand).de(de_EnableAddressTransferCommand).build() {\n static {\n __name(this, \"EnableAddressTransferCommand\");\n }\n};\n\n// src/commands/EnableAllowedImagesSettingsCommand.ts\n\n\n\nvar EnableAllowedImagesSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableAllowedImagesSettings\", {}).n(\"EC2Client\", \"EnableAllowedImagesSettingsCommand\").f(void 0, void 0).ser(se_EnableAllowedImagesSettingsCommand).de(de_EnableAllowedImagesSettingsCommand).build() {\n static {\n __name(this, \"EnableAllowedImagesSettingsCommand\");\n }\n};\n\n// src/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.ts\n\n\n\nvar EnableAwsNetworkPerformanceMetricSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableAwsNetworkPerformanceMetricSubscription\", {}).n(\"EC2Client\", \"EnableAwsNetworkPerformanceMetricSubscriptionCommand\").f(void 0, void 0).ser(se_EnableAwsNetworkPerformanceMetricSubscriptionCommand).de(de_EnableAwsNetworkPerformanceMetricSubscriptionCommand).build() {\n static {\n __name(this, \"EnableAwsNetworkPerformanceMetricSubscriptionCommand\");\n }\n};\n\n// src/commands/EnableEbsEncryptionByDefaultCommand.ts\n\n\n\nvar EnableEbsEncryptionByDefaultCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableEbsEncryptionByDefault\", {}).n(\"EC2Client\", \"EnableEbsEncryptionByDefaultCommand\").f(void 0, void 0).ser(se_EnableEbsEncryptionByDefaultCommand).de(de_EnableEbsEncryptionByDefaultCommand).build() {\n static {\n __name(this, \"EnableEbsEncryptionByDefaultCommand\");\n }\n};\n\n// src/commands/EnableFastLaunchCommand.ts\n\n\n\nvar EnableFastLaunchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableFastLaunch\", {}).n(\"EC2Client\", \"EnableFastLaunchCommand\").f(void 0, void 0).ser(se_EnableFastLaunchCommand).de(de_EnableFastLaunchCommand).build() {\n static {\n __name(this, \"EnableFastLaunchCommand\");\n }\n};\n\n// src/commands/EnableFastSnapshotRestoresCommand.ts\n\n\n\nvar EnableFastSnapshotRestoresCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableFastSnapshotRestores\", {}).n(\"EC2Client\", \"EnableFastSnapshotRestoresCommand\").f(void 0, void 0).ser(se_EnableFastSnapshotRestoresCommand).de(de_EnableFastSnapshotRestoresCommand).build() {\n static {\n __name(this, \"EnableFastSnapshotRestoresCommand\");\n }\n};\n\n// src/commands/EnableImageBlockPublicAccessCommand.ts\n\n\n\nvar EnableImageBlockPublicAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableImageBlockPublicAccess\", {}).n(\"EC2Client\", \"EnableImageBlockPublicAccessCommand\").f(void 0, void 0).ser(se_EnableImageBlockPublicAccessCommand).de(de_EnableImageBlockPublicAccessCommand).build() {\n static {\n __name(this, \"EnableImageBlockPublicAccessCommand\");\n }\n};\n\n// src/commands/EnableImageCommand.ts\n\n\n\nvar EnableImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableImage\", {}).n(\"EC2Client\", \"EnableImageCommand\").f(void 0, void 0).ser(se_EnableImageCommand).de(de_EnableImageCommand).build() {\n static {\n __name(this, \"EnableImageCommand\");\n }\n};\n\n// src/commands/EnableImageDeprecationCommand.ts\n\n\n\nvar EnableImageDeprecationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableImageDeprecation\", {}).n(\"EC2Client\", \"EnableImageDeprecationCommand\").f(void 0, void 0).ser(se_EnableImageDeprecationCommand).de(de_EnableImageDeprecationCommand).build() {\n static {\n __name(this, \"EnableImageDeprecationCommand\");\n }\n};\n\n// src/commands/EnableImageDeregistrationProtectionCommand.ts\n\n\n\nvar EnableImageDeregistrationProtectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableImageDeregistrationProtection\", {}).n(\"EC2Client\", \"EnableImageDeregistrationProtectionCommand\").f(void 0, void 0).ser(se_EnableImageDeregistrationProtectionCommand).de(de_EnableImageDeregistrationProtectionCommand).build() {\n static {\n __name(this, \"EnableImageDeregistrationProtectionCommand\");\n }\n};\n\n// src/commands/EnableIpamOrganizationAdminAccountCommand.ts\n\n\n\nvar EnableIpamOrganizationAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableIpamOrganizationAdminAccount\", {}).n(\"EC2Client\", \"EnableIpamOrganizationAdminAccountCommand\").f(void 0, void 0).ser(se_EnableIpamOrganizationAdminAccountCommand).de(de_EnableIpamOrganizationAdminAccountCommand).build() {\n static {\n __name(this, \"EnableIpamOrganizationAdminAccountCommand\");\n }\n};\n\n// src/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.ts\n\n\n\nvar EnableReachabilityAnalyzerOrganizationSharingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableReachabilityAnalyzerOrganizationSharing\", {}).n(\"EC2Client\", \"EnableReachabilityAnalyzerOrganizationSharingCommand\").f(void 0, void 0).ser(se_EnableReachabilityAnalyzerOrganizationSharingCommand).de(de_EnableReachabilityAnalyzerOrganizationSharingCommand).build() {\n static {\n __name(this, \"EnableReachabilityAnalyzerOrganizationSharingCommand\");\n }\n};\n\n// src/commands/EnableRouteServerPropagationCommand.ts\n\n\n\nvar EnableRouteServerPropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableRouteServerPropagation\", {}).n(\"EC2Client\", \"EnableRouteServerPropagationCommand\").f(void 0, void 0).ser(se_EnableRouteServerPropagationCommand).de(de_EnableRouteServerPropagationCommand).build() {\n static {\n __name(this, \"EnableRouteServerPropagationCommand\");\n }\n};\n\n// src/commands/EnableSerialConsoleAccessCommand.ts\n\n\n\nvar EnableSerialConsoleAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableSerialConsoleAccess\", {}).n(\"EC2Client\", \"EnableSerialConsoleAccessCommand\").f(void 0, void 0).ser(se_EnableSerialConsoleAccessCommand).de(de_EnableSerialConsoleAccessCommand).build() {\n static {\n __name(this, \"EnableSerialConsoleAccessCommand\");\n }\n};\n\n// src/commands/EnableSnapshotBlockPublicAccessCommand.ts\n\n\n\nvar EnableSnapshotBlockPublicAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableSnapshotBlockPublicAccess\", {}).n(\"EC2Client\", \"EnableSnapshotBlockPublicAccessCommand\").f(void 0, void 0).ser(se_EnableSnapshotBlockPublicAccessCommand).de(de_EnableSnapshotBlockPublicAccessCommand).build() {\n static {\n __name(this, \"EnableSnapshotBlockPublicAccessCommand\");\n }\n};\n\n// src/commands/EnableTransitGatewayRouteTablePropagationCommand.ts\n\n\n\nvar EnableTransitGatewayRouteTablePropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableTransitGatewayRouteTablePropagation\", {}).n(\"EC2Client\", \"EnableTransitGatewayRouteTablePropagationCommand\").f(void 0, void 0).ser(se_EnableTransitGatewayRouteTablePropagationCommand).de(de_EnableTransitGatewayRouteTablePropagationCommand).build() {\n static {\n __name(this, \"EnableTransitGatewayRouteTablePropagationCommand\");\n }\n};\n\n// src/commands/EnableVgwRoutePropagationCommand.ts\n\n\n\nvar EnableVgwRoutePropagationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableVgwRoutePropagation\", {}).n(\"EC2Client\", \"EnableVgwRoutePropagationCommand\").f(void 0, void 0).ser(se_EnableVgwRoutePropagationCommand).de(de_EnableVgwRoutePropagationCommand).build() {\n static {\n __name(this, \"EnableVgwRoutePropagationCommand\");\n }\n};\n\n// src/commands/EnableVolumeIOCommand.ts\n\n\n\nvar EnableVolumeIOCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableVolumeIO\", {}).n(\"EC2Client\", \"EnableVolumeIOCommand\").f(void 0, void 0).ser(se_EnableVolumeIOCommand).de(de_EnableVolumeIOCommand).build() {\n static {\n __name(this, \"EnableVolumeIOCommand\");\n }\n};\n\n// src/commands/EnableVpcClassicLinkCommand.ts\n\n\n\nvar EnableVpcClassicLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableVpcClassicLink\", {}).n(\"EC2Client\", \"EnableVpcClassicLinkCommand\").f(void 0, void 0).ser(se_EnableVpcClassicLinkCommand).de(de_EnableVpcClassicLinkCommand).build() {\n static {\n __name(this, \"EnableVpcClassicLinkCommand\");\n }\n};\n\n// src/commands/EnableVpcClassicLinkDnsSupportCommand.ts\n\n\n\nvar EnableVpcClassicLinkDnsSupportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"EnableVpcClassicLinkDnsSupport\", {}).n(\"EC2Client\", \"EnableVpcClassicLinkDnsSupportCommand\").f(void 0, void 0).ser(se_EnableVpcClassicLinkDnsSupportCommand).de(de_EnableVpcClassicLinkDnsSupportCommand).build() {\n static {\n __name(this, \"EnableVpcClassicLinkDnsSupportCommand\");\n }\n};\n\n// src/commands/ExportClientVpnClientCertificateRevocationListCommand.ts\n\n\n\nvar ExportClientVpnClientCertificateRevocationListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ExportClientVpnClientCertificateRevocationList\", {}).n(\"EC2Client\", \"ExportClientVpnClientCertificateRevocationListCommand\").f(void 0, void 0).ser(se_ExportClientVpnClientCertificateRevocationListCommand).de(de_ExportClientVpnClientCertificateRevocationListCommand).build() {\n static {\n __name(this, \"ExportClientVpnClientCertificateRevocationListCommand\");\n }\n};\n\n// src/commands/ExportClientVpnClientConfigurationCommand.ts\n\n\n\nvar ExportClientVpnClientConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ExportClientVpnClientConfiguration\", {}).n(\"EC2Client\", \"ExportClientVpnClientConfigurationCommand\").f(void 0, void 0).ser(se_ExportClientVpnClientConfigurationCommand).de(de_ExportClientVpnClientConfigurationCommand).build() {\n static {\n __name(this, \"ExportClientVpnClientConfigurationCommand\");\n }\n};\n\n// src/commands/ExportImageCommand.ts\n\n\n\nvar ExportImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ExportImage\", {}).n(\"EC2Client\", \"ExportImageCommand\").f(void 0, void 0).ser(se_ExportImageCommand).de(de_ExportImageCommand).build() {\n static {\n __name(this, \"ExportImageCommand\");\n }\n};\n\n// src/commands/ExportTransitGatewayRoutesCommand.ts\n\n\n\nvar ExportTransitGatewayRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ExportTransitGatewayRoutes\", {}).n(\"EC2Client\", \"ExportTransitGatewayRoutesCommand\").f(void 0, void 0).ser(se_ExportTransitGatewayRoutesCommand).de(de_ExportTransitGatewayRoutesCommand).build() {\n static {\n __name(this, \"ExportTransitGatewayRoutesCommand\");\n }\n};\n\n// src/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.ts\n\n\n\n\n// src/models/models_6.ts\n\nvar ImageBlockPublicAccessDisabledState = {\n unblocked: \"unblocked\"\n};\nvar RouteServerPropagationState = {\n AVAILABLE: \"available\",\n DELETING: \"deleting\",\n PENDING: \"pending\"\n};\nvar SnapshotBlockPublicAccessState = {\n block_all_sharing: \"block-all-sharing\",\n block_new_sharing: \"block-new-sharing\",\n unblocked: \"unblocked\"\n};\nvar TransitGatewayPropagationState = {\n disabled: \"disabled\",\n disabling: \"disabling\",\n enabled: \"enabled\",\n enabling: \"enabling\"\n};\nvar ImageBlockPublicAccessEnabledState = {\n block_new_sharing: \"block-new-sharing\"\n};\nvar ClientCertificateRevocationListStatusCode = {\n active: \"active\",\n pending: \"pending\"\n};\nvar UnlimitedSupportedInstanceFamily = {\n t2: \"t2\",\n t3: \"t3\",\n t3a: \"t3a\",\n t4g: \"t4g\"\n};\nvar PartitionLoadFrequency = {\n DAILY: \"daily\",\n MONTHLY: \"monthly\",\n NONE: \"none\",\n WEEKLY: \"weekly\"\n};\nvar EkPubKeyFormat = {\n der: \"der\",\n tpmt: \"tpmt\"\n};\nvar EkPubKeyType = {\n ECC_SEC_P384: \"ecc-sec-p384\",\n RSA_2048: \"rsa-2048\"\n};\nvar IpamComplianceStatus = {\n compliant: \"compliant\",\n ignored: \"ignored\",\n noncompliant: \"noncompliant\",\n unmanaged: \"unmanaged\"\n};\nvar IpamOverlapStatus = {\n ignored: \"ignored\",\n nonoverlapping: \"nonoverlapping\",\n overlapping: \"overlapping\"\n};\nvar IpamAddressHistoryResourceType = {\n eip: \"eip\",\n instance: \"instance\",\n network_interface: \"network-interface\",\n subnet: \"subnet\",\n vpc: \"vpc\"\n};\nvar IpamDiscoveryFailureCode = {\n assume_role_failure: \"assume-role-failure\",\n throttling_failure: \"throttling-failure\",\n unauthorized_failure: \"unauthorized-failure\"\n};\nvar IpamPublicAddressType = {\n AMAZON_OWNED_CONTIG: \"amazon-owned-contig\",\n AMAZON_OWNED_EIP: \"amazon-owned-eip\",\n BYOIP: \"byoip\",\n EC2_PUBLIC_IP: \"ec2-public-ip\",\n SERVICE_MANAGED_BYOIP: \"service-managed-byoip\",\n SERVICE_MANAGED_IP: \"service-managed-ip\"\n};\nvar IpamPublicAddressAssociationStatus = {\n ASSOCIATED: \"associated\",\n DISASSOCIATED: \"disassociated\"\n};\nvar IpamPublicAddressAwsService = {\n AGA: \"global-accelerator\",\n DMS: \"database-migration-service\",\n EC2_LB: \"load-balancer\",\n ECS: \"elastic-container-service\",\n NAT_GATEWAY: \"nat-gateway\",\n OTHER: \"other\",\n RDS: \"relational-database-service\",\n REDSHIFT: \"redshift\",\n S2S_VPN: \"site-to-site-vpn\"\n};\nvar IpamResourceCidrIpSource = {\n amazon: \"amazon\",\n byoip: \"byoip\",\n none: \"none\"\n};\nvar IpamNetworkInterfaceAttachmentStatus = {\n available: \"available\",\n in_use: \"in-use\"\n};\nvar IpamResourceType = {\n eip: \"eip\",\n eni: \"eni\",\n ipv6_pool: \"ipv6-pool\",\n public_ipv4_pool: \"public-ipv4-pool\",\n subnet: \"subnet\",\n vpc: \"vpc\"\n};\nvar IpamManagementState = {\n ignored: \"ignored\",\n managed: \"managed\",\n unmanaged: \"unmanaged\"\n};\nvar RouteServerRouteInstallationStatus = {\n INSTALLED: \"installed\",\n REJECTED: \"rejected\"\n};\nvar RouteServerRouteStatus = {\n IN_FIB: \"in-fib\",\n IN_RIB: \"in-rib\"\n};\nvar VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog\");\nvar ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserTrustProvider && {\n UserTrustProvider: VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog(\n obj.UserTrustProvider\n )\n }\n}), \"ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog\");\nvar GetInstanceTpmEkPubResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.KeyValue && { KeyValue: import_smithy_client.SENSITIVE_STRING }\n}), \"GetInstanceTpmEkPubResultFilterSensitiveLog\");\nvar GetLaunchTemplateDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchTemplateData && {\n LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)\n }\n}), \"GetLaunchTemplateDataResultFilterSensitiveLog\");\nvar GetPasswordDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.PasswordData && { PasswordData: import_smithy_client.SENSITIVE_STRING }\n}), \"GetPasswordDataResultFilterSensitiveLog\");\n\n// src/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.ts\nvar ExportVerifiedAccessInstanceClientConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ExportVerifiedAccessInstanceClientConfiguration\", {}).n(\"EC2Client\", \"ExportVerifiedAccessInstanceClientConfigurationCommand\").f(void 0, ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog).ser(se_ExportVerifiedAccessInstanceClientConfigurationCommand).de(de_ExportVerifiedAccessInstanceClientConfigurationCommand).build() {\n static {\n __name(this, \"ExportVerifiedAccessInstanceClientConfigurationCommand\");\n }\n};\n\n// src/commands/GetAllowedImagesSettingsCommand.ts\n\n\n\nvar GetAllowedImagesSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetAllowedImagesSettings\", {}).n(\"EC2Client\", \"GetAllowedImagesSettingsCommand\").f(void 0, void 0).ser(se_GetAllowedImagesSettingsCommand).de(de_GetAllowedImagesSettingsCommand).build() {\n static {\n __name(this, \"GetAllowedImagesSettingsCommand\");\n }\n};\n\n// src/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts\n\n\n\nvar GetAssociatedEnclaveCertificateIamRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetAssociatedEnclaveCertificateIamRoles\", {}).n(\"EC2Client\", \"GetAssociatedEnclaveCertificateIamRolesCommand\").f(void 0, void 0).ser(se_GetAssociatedEnclaveCertificateIamRolesCommand).de(de_GetAssociatedEnclaveCertificateIamRolesCommand).build() {\n static {\n __name(this, \"GetAssociatedEnclaveCertificateIamRolesCommand\");\n }\n};\n\n// src/commands/GetAssociatedIpv6PoolCidrsCommand.ts\n\n\n\nvar GetAssociatedIpv6PoolCidrsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetAssociatedIpv6PoolCidrs\", {}).n(\"EC2Client\", \"GetAssociatedIpv6PoolCidrsCommand\").f(void 0, void 0).ser(se_GetAssociatedIpv6PoolCidrsCommand).de(de_GetAssociatedIpv6PoolCidrsCommand).build() {\n static {\n __name(this, \"GetAssociatedIpv6PoolCidrsCommand\");\n }\n};\n\n// src/commands/GetAwsNetworkPerformanceDataCommand.ts\n\n\n\nvar GetAwsNetworkPerformanceDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetAwsNetworkPerformanceData\", {}).n(\"EC2Client\", \"GetAwsNetworkPerformanceDataCommand\").f(void 0, void 0).ser(se_GetAwsNetworkPerformanceDataCommand).de(de_GetAwsNetworkPerformanceDataCommand).build() {\n static {\n __name(this, \"GetAwsNetworkPerformanceDataCommand\");\n }\n};\n\n// src/commands/GetCapacityReservationUsageCommand.ts\n\n\n\nvar GetCapacityReservationUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetCapacityReservationUsage\", {}).n(\"EC2Client\", \"GetCapacityReservationUsageCommand\").f(void 0, void 0).ser(se_GetCapacityReservationUsageCommand).de(de_GetCapacityReservationUsageCommand).build() {\n static {\n __name(this, \"GetCapacityReservationUsageCommand\");\n }\n};\n\n// src/commands/GetCoipPoolUsageCommand.ts\n\n\n\nvar GetCoipPoolUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetCoipPoolUsage\", {}).n(\"EC2Client\", \"GetCoipPoolUsageCommand\").f(void 0, void 0).ser(se_GetCoipPoolUsageCommand).de(de_GetCoipPoolUsageCommand).build() {\n static {\n __name(this, \"GetCoipPoolUsageCommand\");\n }\n};\n\n// src/commands/GetConsoleOutputCommand.ts\n\n\n\nvar GetConsoleOutputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetConsoleOutput\", {}).n(\"EC2Client\", \"GetConsoleOutputCommand\").f(void 0, void 0).ser(se_GetConsoleOutputCommand).de(de_GetConsoleOutputCommand).build() {\n static {\n __name(this, \"GetConsoleOutputCommand\");\n }\n};\n\n// src/commands/GetConsoleScreenshotCommand.ts\n\n\n\nvar GetConsoleScreenshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetConsoleScreenshot\", {}).n(\"EC2Client\", \"GetConsoleScreenshotCommand\").f(void 0, void 0).ser(se_GetConsoleScreenshotCommand).de(de_GetConsoleScreenshotCommand).build() {\n static {\n __name(this, \"GetConsoleScreenshotCommand\");\n }\n};\n\n// src/commands/GetDeclarativePoliciesReportSummaryCommand.ts\n\n\n\nvar GetDeclarativePoliciesReportSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetDeclarativePoliciesReportSummary\", {}).n(\"EC2Client\", \"GetDeclarativePoliciesReportSummaryCommand\").f(void 0, void 0).ser(se_GetDeclarativePoliciesReportSummaryCommand).de(de_GetDeclarativePoliciesReportSummaryCommand).build() {\n static {\n __name(this, \"GetDeclarativePoliciesReportSummaryCommand\");\n }\n};\n\n// src/commands/GetDefaultCreditSpecificationCommand.ts\n\n\n\nvar GetDefaultCreditSpecificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetDefaultCreditSpecification\", {}).n(\"EC2Client\", \"GetDefaultCreditSpecificationCommand\").f(void 0, void 0).ser(se_GetDefaultCreditSpecificationCommand).de(de_GetDefaultCreditSpecificationCommand).build() {\n static {\n __name(this, \"GetDefaultCreditSpecificationCommand\");\n }\n};\n\n// src/commands/GetEbsDefaultKmsKeyIdCommand.ts\n\n\n\nvar GetEbsDefaultKmsKeyIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetEbsDefaultKmsKeyId\", {}).n(\"EC2Client\", \"GetEbsDefaultKmsKeyIdCommand\").f(void 0, void 0).ser(se_GetEbsDefaultKmsKeyIdCommand).de(de_GetEbsDefaultKmsKeyIdCommand).build() {\n static {\n __name(this, \"GetEbsDefaultKmsKeyIdCommand\");\n }\n};\n\n// src/commands/GetEbsEncryptionByDefaultCommand.ts\n\n\n\nvar GetEbsEncryptionByDefaultCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetEbsEncryptionByDefault\", {}).n(\"EC2Client\", \"GetEbsEncryptionByDefaultCommand\").f(void 0, void 0).ser(se_GetEbsEncryptionByDefaultCommand).de(de_GetEbsEncryptionByDefaultCommand).build() {\n static {\n __name(this, \"GetEbsEncryptionByDefaultCommand\");\n }\n};\n\n// src/commands/GetFlowLogsIntegrationTemplateCommand.ts\n\n\n\nvar GetFlowLogsIntegrationTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetFlowLogsIntegrationTemplate\", {}).n(\"EC2Client\", \"GetFlowLogsIntegrationTemplateCommand\").f(void 0, void 0).ser(se_GetFlowLogsIntegrationTemplateCommand).de(de_GetFlowLogsIntegrationTemplateCommand).build() {\n static {\n __name(this, \"GetFlowLogsIntegrationTemplateCommand\");\n }\n};\n\n// src/commands/GetGroupsForCapacityReservationCommand.ts\n\n\n\nvar GetGroupsForCapacityReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetGroupsForCapacityReservation\", {}).n(\"EC2Client\", \"GetGroupsForCapacityReservationCommand\").f(void 0, void 0).ser(se_GetGroupsForCapacityReservationCommand).de(de_GetGroupsForCapacityReservationCommand).build() {\n static {\n __name(this, \"GetGroupsForCapacityReservationCommand\");\n }\n};\n\n// src/commands/GetHostReservationPurchasePreviewCommand.ts\n\n\n\nvar GetHostReservationPurchasePreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetHostReservationPurchasePreview\", {}).n(\"EC2Client\", \"GetHostReservationPurchasePreviewCommand\").f(void 0, void 0).ser(se_GetHostReservationPurchasePreviewCommand).de(de_GetHostReservationPurchasePreviewCommand).build() {\n static {\n __name(this, \"GetHostReservationPurchasePreviewCommand\");\n }\n};\n\n// src/commands/GetImageBlockPublicAccessStateCommand.ts\n\n\n\nvar GetImageBlockPublicAccessStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetImageBlockPublicAccessState\", {}).n(\"EC2Client\", \"GetImageBlockPublicAccessStateCommand\").f(void 0, void 0).ser(se_GetImageBlockPublicAccessStateCommand).de(de_GetImageBlockPublicAccessStateCommand).build() {\n static {\n __name(this, \"GetImageBlockPublicAccessStateCommand\");\n }\n};\n\n// src/commands/GetInstanceMetadataDefaultsCommand.ts\n\n\n\nvar GetInstanceMetadataDefaultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetInstanceMetadataDefaults\", {}).n(\"EC2Client\", \"GetInstanceMetadataDefaultsCommand\").f(void 0, void 0).ser(se_GetInstanceMetadataDefaultsCommand).de(de_GetInstanceMetadataDefaultsCommand).build() {\n static {\n __name(this, \"GetInstanceMetadataDefaultsCommand\");\n }\n};\n\n// src/commands/GetInstanceTpmEkPubCommand.ts\n\n\n\nvar GetInstanceTpmEkPubCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetInstanceTpmEkPub\", {}).n(\"EC2Client\", \"GetInstanceTpmEkPubCommand\").f(void 0, GetInstanceTpmEkPubResultFilterSensitiveLog).ser(se_GetInstanceTpmEkPubCommand).de(de_GetInstanceTpmEkPubCommand).build() {\n static {\n __name(this, \"GetInstanceTpmEkPubCommand\");\n }\n};\n\n// src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts\n\n\n\nvar GetInstanceTypesFromInstanceRequirementsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetInstanceTypesFromInstanceRequirements\", {}).n(\"EC2Client\", \"GetInstanceTypesFromInstanceRequirementsCommand\").f(void 0, void 0).ser(se_GetInstanceTypesFromInstanceRequirementsCommand).de(de_GetInstanceTypesFromInstanceRequirementsCommand).build() {\n static {\n __name(this, \"GetInstanceTypesFromInstanceRequirementsCommand\");\n }\n};\n\n// src/commands/GetInstanceUefiDataCommand.ts\n\n\n\nvar GetInstanceUefiDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetInstanceUefiData\", {}).n(\"EC2Client\", \"GetInstanceUefiDataCommand\").f(void 0, void 0).ser(se_GetInstanceUefiDataCommand).de(de_GetInstanceUefiDataCommand).build() {\n static {\n __name(this, \"GetInstanceUefiDataCommand\");\n }\n};\n\n// src/commands/GetIpamAddressHistoryCommand.ts\n\n\n\nvar GetIpamAddressHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamAddressHistory\", {}).n(\"EC2Client\", \"GetIpamAddressHistoryCommand\").f(void 0, void 0).ser(se_GetIpamAddressHistoryCommand).de(de_GetIpamAddressHistoryCommand).build() {\n static {\n __name(this, \"GetIpamAddressHistoryCommand\");\n }\n};\n\n// src/commands/GetIpamDiscoveredAccountsCommand.ts\n\n\n\nvar GetIpamDiscoveredAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamDiscoveredAccounts\", {}).n(\"EC2Client\", \"GetIpamDiscoveredAccountsCommand\").f(void 0, void 0).ser(se_GetIpamDiscoveredAccountsCommand).de(de_GetIpamDiscoveredAccountsCommand).build() {\n static {\n __name(this, \"GetIpamDiscoveredAccountsCommand\");\n }\n};\n\n// src/commands/GetIpamDiscoveredPublicAddressesCommand.ts\n\n\n\nvar GetIpamDiscoveredPublicAddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamDiscoveredPublicAddresses\", {}).n(\"EC2Client\", \"GetIpamDiscoveredPublicAddressesCommand\").f(void 0, void 0).ser(se_GetIpamDiscoveredPublicAddressesCommand).de(de_GetIpamDiscoveredPublicAddressesCommand).build() {\n static {\n __name(this, \"GetIpamDiscoveredPublicAddressesCommand\");\n }\n};\n\n// src/commands/GetIpamDiscoveredResourceCidrsCommand.ts\n\n\n\nvar GetIpamDiscoveredResourceCidrsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamDiscoveredResourceCidrs\", {}).n(\"EC2Client\", \"GetIpamDiscoveredResourceCidrsCommand\").f(void 0, void 0).ser(se_GetIpamDiscoveredResourceCidrsCommand).de(de_GetIpamDiscoveredResourceCidrsCommand).build() {\n static {\n __name(this, \"GetIpamDiscoveredResourceCidrsCommand\");\n }\n};\n\n// src/commands/GetIpamPoolAllocationsCommand.ts\n\n\n\nvar GetIpamPoolAllocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamPoolAllocations\", {}).n(\"EC2Client\", \"GetIpamPoolAllocationsCommand\").f(void 0, void 0).ser(se_GetIpamPoolAllocationsCommand).de(de_GetIpamPoolAllocationsCommand).build() {\n static {\n __name(this, \"GetIpamPoolAllocationsCommand\");\n }\n};\n\n// src/commands/GetIpamPoolCidrsCommand.ts\n\n\n\nvar GetIpamPoolCidrsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamPoolCidrs\", {}).n(\"EC2Client\", \"GetIpamPoolCidrsCommand\").f(void 0, void 0).ser(se_GetIpamPoolCidrsCommand).de(de_GetIpamPoolCidrsCommand).build() {\n static {\n __name(this, \"GetIpamPoolCidrsCommand\");\n }\n};\n\n// src/commands/GetIpamResourceCidrsCommand.ts\n\n\n\nvar GetIpamResourceCidrsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetIpamResourceCidrs\", {}).n(\"EC2Client\", \"GetIpamResourceCidrsCommand\").f(void 0, void 0).ser(se_GetIpamResourceCidrsCommand).de(de_GetIpamResourceCidrsCommand).build() {\n static {\n __name(this, \"GetIpamResourceCidrsCommand\");\n }\n};\n\n// src/commands/GetLaunchTemplateDataCommand.ts\n\n\n\nvar GetLaunchTemplateDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetLaunchTemplateData\", {}).n(\"EC2Client\", \"GetLaunchTemplateDataCommand\").f(void 0, GetLaunchTemplateDataResultFilterSensitiveLog).ser(se_GetLaunchTemplateDataCommand).de(de_GetLaunchTemplateDataCommand).build() {\n static {\n __name(this, \"GetLaunchTemplateDataCommand\");\n }\n};\n\n// src/commands/GetManagedPrefixListAssociationsCommand.ts\n\n\n\nvar GetManagedPrefixListAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetManagedPrefixListAssociations\", {}).n(\"EC2Client\", \"GetManagedPrefixListAssociationsCommand\").f(void 0, void 0).ser(se_GetManagedPrefixListAssociationsCommand).de(de_GetManagedPrefixListAssociationsCommand).build() {\n static {\n __name(this, \"GetManagedPrefixListAssociationsCommand\");\n }\n};\n\n// src/commands/GetManagedPrefixListEntriesCommand.ts\n\n\n\nvar GetManagedPrefixListEntriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetManagedPrefixListEntries\", {}).n(\"EC2Client\", \"GetManagedPrefixListEntriesCommand\").f(void 0, void 0).ser(se_GetManagedPrefixListEntriesCommand).de(de_GetManagedPrefixListEntriesCommand).build() {\n static {\n __name(this, \"GetManagedPrefixListEntriesCommand\");\n }\n};\n\n// src/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.ts\n\n\n\nvar GetNetworkInsightsAccessScopeAnalysisFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetNetworkInsightsAccessScopeAnalysisFindings\", {}).n(\"EC2Client\", \"GetNetworkInsightsAccessScopeAnalysisFindingsCommand\").f(void 0, void 0).ser(se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand).de(de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand).build() {\n static {\n __name(this, \"GetNetworkInsightsAccessScopeAnalysisFindingsCommand\");\n }\n};\n\n// src/commands/GetNetworkInsightsAccessScopeContentCommand.ts\n\n\n\nvar GetNetworkInsightsAccessScopeContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetNetworkInsightsAccessScopeContent\", {}).n(\"EC2Client\", \"GetNetworkInsightsAccessScopeContentCommand\").f(void 0, void 0).ser(se_GetNetworkInsightsAccessScopeContentCommand).de(de_GetNetworkInsightsAccessScopeContentCommand).build() {\n static {\n __name(this, \"GetNetworkInsightsAccessScopeContentCommand\");\n }\n};\n\n// src/commands/GetPasswordDataCommand.ts\n\n\n\nvar GetPasswordDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetPasswordData\", {}).n(\"EC2Client\", \"GetPasswordDataCommand\").f(void 0, GetPasswordDataResultFilterSensitiveLog).ser(se_GetPasswordDataCommand).de(de_GetPasswordDataCommand).build() {\n static {\n __name(this, \"GetPasswordDataCommand\");\n }\n};\n\n// src/commands/GetReservedInstancesExchangeQuoteCommand.ts\n\n\n\nvar GetReservedInstancesExchangeQuoteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetReservedInstancesExchangeQuote\", {}).n(\"EC2Client\", \"GetReservedInstancesExchangeQuoteCommand\").f(void 0, void 0).ser(se_GetReservedInstancesExchangeQuoteCommand).de(de_GetReservedInstancesExchangeQuoteCommand).build() {\n static {\n __name(this, \"GetReservedInstancesExchangeQuoteCommand\");\n }\n};\n\n// src/commands/GetRouteServerAssociationsCommand.ts\n\n\n\nvar GetRouteServerAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetRouteServerAssociations\", {}).n(\"EC2Client\", \"GetRouteServerAssociationsCommand\").f(void 0, void 0).ser(se_GetRouteServerAssociationsCommand).de(de_GetRouteServerAssociationsCommand).build() {\n static {\n __name(this, \"GetRouteServerAssociationsCommand\");\n }\n};\n\n// src/commands/GetRouteServerPropagationsCommand.ts\n\n\n\nvar GetRouteServerPropagationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetRouteServerPropagations\", {}).n(\"EC2Client\", \"GetRouteServerPropagationsCommand\").f(void 0, void 0).ser(se_GetRouteServerPropagationsCommand).de(de_GetRouteServerPropagationsCommand).build() {\n static {\n __name(this, \"GetRouteServerPropagationsCommand\");\n }\n};\n\n// src/commands/GetRouteServerRoutingDatabaseCommand.ts\n\n\n\nvar GetRouteServerRoutingDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetRouteServerRoutingDatabase\", {}).n(\"EC2Client\", \"GetRouteServerRoutingDatabaseCommand\").f(void 0, void 0).ser(se_GetRouteServerRoutingDatabaseCommand).de(de_GetRouteServerRoutingDatabaseCommand).build() {\n static {\n __name(this, \"GetRouteServerRoutingDatabaseCommand\");\n }\n};\n\n// src/commands/GetSecurityGroupsForVpcCommand.ts\n\n\n\nvar GetSecurityGroupsForVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetSecurityGroupsForVpc\", {}).n(\"EC2Client\", \"GetSecurityGroupsForVpcCommand\").f(void 0, void 0).ser(se_GetSecurityGroupsForVpcCommand).de(de_GetSecurityGroupsForVpcCommand).build() {\n static {\n __name(this, \"GetSecurityGroupsForVpcCommand\");\n }\n};\n\n// src/commands/GetSerialConsoleAccessStatusCommand.ts\n\n\n\nvar GetSerialConsoleAccessStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetSerialConsoleAccessStatus\", {}).n(\"EC2Client\", \"GetSerialConsoleAccessStatusCommand\").f(void 0, void 0).ser(se_GetSerialConsoleAccessStatusCommand).de(de_GetSerialConsoleAccessStatusCommand).build() {\n static {\n __name(this, \"GetSerialConsoleAccessStatusCommand\");\n }\n};\n\n// src/commands/GetSnapshotBlockPublicAccessStateCommand.ts\n\n\n\nvar GetSnapshotBlockPublicAccessStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetSnapshotBlockPublicAccessState\", {}).n(\"EC2Client\", \"GetSnapshotBlockPublicAccessStateCommand\").f(void 0, void 0).ser(se_GetSnapshotBlockPublicAccessStateCommand).de(de_GetSnapshotBlockPublicAccessStateCommand).build() {\n static {\n __name(this, \"GetSnapshotBlockPublicAccessStateCommand\");\n }\n};\n\n// src/commands/GetSpotPlacementScoresCommand.ts\n\n\n\nvar GetSpotPlacementScoresCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetSpotPlacementScores\", {}).n(\"EC2Client\", \"GetSpotPlacementScoresCommand\").f(void 0, void 0).ser(se_GetSpotPlacementScoresCommand).de(de_GetSpotPlacementScoresCommand).build() {\n static {\n __name(this, \"GetSpotPlacementScoresCommand\");\n }\n};\n\n// src/commands/GetSubnetCidrReservationsCommand.ts\n\n\n\nvar GetSubnetCidrReservationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetSubnetCidrReservations\", {}).n(\"EC2Client\", \"GetSubnetCidrReservationsCommand\").f(void 0, void 0).ser(se_GetSubnetCidrReservationsCommand).de(de_GetSubnetCidrReservationsCommand).build() {\n static {\n __name(this, \"GetSubnetCidrReservationsCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayAttachmentPropagationsCommand.ts\n\n\n\nvar GetTransitGatewayAttachmentPropagationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayAttachmentPropagations\", {}).n(\"EC2Client\", \"GetTransitGatewayAttachmentPropagationsCommand\").f(void 0, void 0).ser(se_GetTransitGatewayAttachmentPropagationsCommand).de(de_GetTransitGatewayAttachmentPropagationsCommand).build() {\n static {\n __name(this, \"GetTransitGatewayAttachmentPropagationsCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts\n\n\n\nvar GetTransitGatewayMulticastDomainAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayMulticastDomainAssociations\", {}).n(\"EC2Client\", \"GetTransitGatewayMulticastDomainAssociationsCommand\").f(void 0, void 0).ser(se_GetTransitGatewayMulticastDomainAssociationsCommand).de(de_GetTransitGatewayMulticastDomainAssociationsCommand).build() {\n static {\n __name(this, \"GetTransitGatewayMulticastDomainAssociationsCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayPolicyTableAssociationsCommand.ts\n\n\n\nvar GetTransitGatewayPolicyTableAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayPolicyTableAssociations\", {}).n(\"EC2Client\", \"GetTransitGatewayPolicyTableAssociationsCommand\").f(void 0, void 0).ser(se_GetTransitGatewayPolicyTableAssociationsCommand).de(de_GetTransitGatewayPolicyTableAssociationsCommand).build() {\n static {\n __name(this, \"GetTransitGatewayPolicyTableAssociationsCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayPolicyTableEntriesCommand.ts\n\n\n\nvar GetTransitGatewayPolicyTableEntriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayPolicyTableEntries\", {}).n(\"EC2Client\", \"GetTransitGatewayPolicyTableEntriesCommand\").f(void 0, void 0).ser(se_GetTransitGatewayPolicyTableEntriesCommand).de(de_GetTransitGatewayPolicyTableEntriesCommand).build() {\n static {\n __name(this, \"GetTransitGatewayPolicyTableEntriesCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayPrefixListReferencesCommand.ts\n\n\n\nvar GetTransitGatewayPrefixListReferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayPrefixListReferences\", {}).n(\"EC2Client\", \"GetTransitGatewayPrefixListReferencesCommand\").f(void 0, void 0).ser(se_GetTransitGatewayPrefixListReferencesCommand).de(de_GetTransitGatewayPrefixListReferencesCommand).build() {\n static {\n __name(this, \"GetTransitGatewayPrefixListReferencesCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayRouteTableAssociationsCommand.ts\n\n\n\nvar GetTransitGatewayRouteTableAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayRouteTableAssociations\", {}).n(\"EC2Client\", \"GetTransitGatewayRouteTableAssociationsCommand\").f(void 0, void 0).ser(se_GetTransitGatewayRouteTableAssociationsCommand).de(de_GetTransitGatewayRouteTableAssociationsCommand).build() {\n static {\n __name(this, \"GetTransitGatewayRouteTableAssociationsCommand\");\n }\n};\n\n// src/commands/GetTransitGatewayRouteTablePropagationsCommand.ts\n\n\n\nvar GetTransitGatewayRouteTablePropagationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetTransitGatewayRouteTablePropagations\", {}).n(\"EC2Client\", \"GetTransitGatewayRouteTablePropagationsCommand\").f(void 0, void 0).ser(se_GetTransitGatewayRouteTablePropagationsCommand).de(de_GetTransitGatewayRouteTablePropagationsCommand).build() {\n static {\n __name(this, \"GetTransitGatewayRouteTablePropagationsCommand\");\n }\n};\n\n// src/commands/GetVerifiedAccessEndpointPolicyCommand.ts\n\n\n\nvar GetVerifiedAccessEndpointPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVerifiedAccessEndpointPolicy\", {}).n(\"EC2Client\", \"GetVerifiedAccessEndpointPolicyCommand\").f(void 0, void 0).ser(se_GetVerifiedAccessEndpointPolicyCommand).de(de_GetVerifiedAccessEndpointPolicyCommand).build() {\n static {\n __name(this, \"GetVerifiedAccessEndpointPolicyCommand\");\n }\n};\n\n// src/commands/GetVerifiedAccessEndpointTargetsCommand.ts\n\n\n\nvar GetVerifiedAccessEndpointTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVerifiedAccessEndpointTargets\", {}).n(\"EC2Client\", \"GetVerifiedAccessEndpointTargetsCommand\").f(void 0, void 0).ser(se_GetVerifiedAccessEndpointTargetsCommand).de(de_GetVerifiedAccessEndpointTargetsCommand).build() {\n static {\n __name(this, \"GetVerifiedAccessEndpointTargetsCommand\");\n }\n};\n\n// src/commands/GetVerifiedAccessGroupPolicyCommand.ts\n\n\n\nvar GetVerifiedAccessGroupPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVerifiedAccessGroupPolicy\", {}).n(\"EC2Client\", \"GetVerifiedAccessGroupPolicyCommand\").f(void 0, void 0).ser(se_GetVerifiedAccessGroupPolicyCommand).de(de_GetVerifiedAccessGroupPolicyCommand).build() {\n static {\n __name(this, \"GetVerifiedAccessGroupPolicyCommand\");\n }\n};\n\n// src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts\n\n\n\n\n// src/models/models_7.ts\n\nvar LockMode = {\n compliance: \"compliance\",\n governance: \"governance\"\n};\nvar ModifyAvailabilityZoneOptInStatus = {\n not_opted_in: \"not-opted-in\",\n opted_in: \"opted-in\"\n};\nvar OperationType = {\n add: \"add\",\n remove: \"remove\"\n};\nvar UnsuccessfulInstanceCreditSpecificationErrorCode = {\n INCORRECT_INSTANCE_STATE: \"IncorrectInstanceState\",\n INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: \"InstanceCreditSpecification.NotSupported\",\n INSTANCE_NOT_FOUND: \"InvalidInstanceID.NotFound\",\n INVALID_INSTANCE_ID: \"InvalidInstanceID.Malformed\"\n};\nvar DefaultInstanceMetadataEndpointState = {\n disabled: \"disabled\",\n enabled: \"enabled\",\n no_preference: \"no-preference\"\n};\nvar MetadataDefaultHttpTokensState = {\n no_preference: \"no-preference\",\n optional: \"optional\",\n required: \"required\"\n};\nvar DefaultInstanceMetadataTagsState = {\n disabled: \"disabled\",\n enabled: \"enabled\",\n no_preference: \"no-preference\"\n};\nvar HostTenancy = {\n dedicated: \"dedicated\",\n default: \"default\",\n host: \"host\"\n};\nvar TargetStorageTier = {\n archive: \"archive\"\n};\nvar TrafficMirrorFilterRuleField = {\n description: \"description\",\n destination_port_range: \"destination-port-range\",\n protocol: \"protocol\",\n source_port_range: \"source-port-range\"\n};\nvar TrafficMirrorSessionField = {\n description: \"description\",\n packet_length: \"packet-length\",\n virtual_network_id: \"virtual-network-id\"\n};\nvar VpcTenancy = {\n default: \"default\"\n};\nvar Status = {\n inClassic: \"InClassic\",\n inVpc: \"InVpc\",\n moveInProgress: \"MoveInProgress\"\n};\nvar VerificationMethod = {\n dns_token: \"dns-token\",\n remarks_x509: \"remarks-x509\"\n};\nvar ReportInstanceReasonCodes = {\n instance_stuck_in_state: \"instance-stuck-in-state\",\n not_accepting_credentials: \"not-accepting-credentials\",\n other: \"other\",\n password_not_available: \"password-not-available\",\n performance_ebs_volume: \"performance-ebs-volume\",\n performance_instance_store: \"performance-instance-store\",\n performance_network: \"performance-network\",\n performance_other: \"performance-other\",\n unresponsive: \"unresponsive\"\n};\nvar ReportStatusType = {\n impaired: \"impaired\",\n ok: \"ok\"\n};\nvar GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: import_smithy_client.SENSITIVE_STRING }\n}), \"GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog\");\nvar ImageDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }\n}), \"ImageDiskContainerFilterSensitiveLog\");\nvar ImportImageRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.DiskContainers && {\n DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item))\n }\n}), \"ImportImageRequestFilterSensitiveLog\");\nvar ImportImageResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SnapshotDetails && {\n SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item))\n }\n}), \"ImportImageResultFilterSensitiveLog\");\nvar DiskImageDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING }\n}), \"DiskImageDetailFilterSensitiveLog\");\nvar DiskImageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }\n}), \"DiskImageFilterSensitiveLog\");\nvar UserDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"UserDataFilterSensitiveLog\");\nvar ImportInstanceLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"ImportInstanceLaunchSpecificationFilterSensitiveLog\");\nvar ImportInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchSpecification && {\n LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification)\n },\n ...obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) }\n}), \"ImportInstanceRequestFilterSensitiveLog\");\nvar ImportInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) }\n}), \"ImportInstanceResultFilterSensitiveLog\");\nvar SnapshotDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }\n}), \"SnapshotDiskContainerFilterSensitiveLog\");\nvar ImportSnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.DiskContainer && { DiskContainer: SnapshotDiskContainerFilterSensitiveLog(obj.DiskContainer) }\n}), \"ImportSnapshotRequestFilterSensitiveLog\");\nvar ImportSnapshotResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) }\n}), \"ImportSnapshotResultFilterSensitiveLog\");\nvar ImportVolumeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }\n}), \"ImportVolumeRequestFilterSensitiveLog\");\nvar ImportVolumeResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) }\n}), \"ImportVolumeResultFilterSensitiveLog\");\nvar ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog\");\nvar ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }\n}), \"ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog\");\nvar ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OidcOptions && {\n OidcOptions: ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions)\n },\n ...obj.NativeApplicationOidcOptions && {\n NativeApplicationOidcOptions: ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog(\n obj.NativeApplicationOidcOptions\n )\n }\n}), \"ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog\");\nvar ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VerifiedAccessTrustProvider && {\n VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)\n }\n}), \"ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog\");\nvar ModifyVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }\n}), \"ModifyVpnConnectionResultFilterSensitiveLog\");\nvar ModifyVpnConnectionOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }\n}), \"ModifyVpnConnectionOptionsResultFilterSensitiveLog\");\nvar ModifyVpnTunnelCertificateResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }\n}), \"ModifyVpnTunnelCertificateResultFilterSensitiveLog\");\nvar ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING }\n}), \"ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog\");\nvar ModifyVpnTunnelOptionsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TunnelOptions && { TunnelOptions: import_smithy_client.SENSITIVE_STRING }\n}), \"ModifyVpnTunnelOptionsRequestFilterSensitiveLog\");\nvar ModifyVpnTunnelOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }\n}), \"ModifyVpnTunnelOptionsResultFilterSensitiveLog\");\nvar ReportInstanceStatusRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"ReportInstanceStatusRequestFilterSensitiveLog\");\n\n// src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts\nvar GetVpnConnectionDeviceSampleConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVpnConnectionDeviceSampleConfiguration\", {}).n(\"EC2Client\", \"GetVpnConnectionDeviceSampleConfigurationCommand\").f(void 0, GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog).ser(se_GetVpnConnectionDeviceSampleConfigurationCommand).de(de_GetVpnConnectionDeviceSampleConfigurationCommand).build() {\n static {\n __name(this, \"GetVpnConnectionDeviceSampleConfigurationCommand\");\n }\n};\n\n// src/commands/GetVpnConnectionDeviceTypesCommand.ts\n\n\n\nvar GetVpnConnectionDeviceTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVpnConnectionDeviceTypes\", {}).n(\"EC2Client\", \"GetVpnConnectionDeviceTypesCommand\").f(void 0, void 0).ser(se_GetVpnConnectionDeviceTypesCommand).de(de_GetVpnConnectionDeviceTypesCommand).build() {\n static {\n __name(this, \"GetVpnConnectionDeviceTypesCommand\");\n }\n};\n\n// src/commands/GetVpnTunnelReplacementStatusCommand.ts\n\n\n\nvar GetVpnTunnelReplacementStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"GetVpnTunnelReplacementStatus\", {}).n(\"EC2Client\", \"GetVpnTunnelReplacementStatusCommand\").f(void 0, void 0).ser(se_GetVpnTunnelReplacementStatusCommand).de(de_GetVpnTunnelReplacementStatusCommand).build() {\n static {\n __name(this, \"GetVpnTunnelReplacementStatusCommand\");\n }\n};\n\n// src/commands/ImportClientVpnClientCertificateRevocationListCommand.ts\n\n\n\nvar ImportClientVpnClientCertificateRevocationListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportClientVpnClientCertificateRevocationList\", {}).n(\"EC2Client\", \"ImportClientVpnClientCertificateRevocationListCommand\").f(void 0, void 0).ser(se_ImportClientVpnClientCertificateRevocationListCommand).de(de_ImportClientVpnClientCertificateRevocationListCommand).build() {\n static {\n __name(this, \"ImportClientVpnClientCertificateRevocationListCommand\");\n }\n};\n\n// src/commands/ImportImageCommand.ts\n\n\n\nvar ImportImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportImage\", {}).n(\"EC2Client\", \"ImportImageCommand\").f(ImportImageRequestFilterSensitiveLog, ImportImageResultFilterSensitiveLog).ser(se_ImportImageCommand).de(de_ImportImageCommand).build() {\n static {\n __name(this, \"ImportImageCommand\");\n }\n};\n\n// src/commands/ImportInstanceCommand.ts\n\n\n\nvar ImportInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportInstance\", {}).n(\"EC2Client\", \"ImportInstanceCommand\").f(ImportInstanceRequestFilterSensitiveLog, ImportInstanceResultFilterSensitiveLog).ser(se_ImportInstanceCommand).de(de_ImportInstanceCommand).build() {\n static {\n __name(this, \"ImportInstanceCommand\");\n }\n};\n\n// src/commands/ImportKeyPairCommand.ts\n\n\n\nvar ImportKeyPairCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportKeyPair\", {}).n(\"EC2Client\", \"ImportKeyPairCommand\").f(void 0, void 0).ser(se_ImportKeyPairCommand).de(de_ImportKeyPairCommand).build() {\n static {\n __name(this, \"ImportKeyPairCommand\");\n }\n};\n\n// src/commands/ImportSnapshotCommand.ts\n\n\n\nvar ImportSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportSnapshot\", {}).n(\"EC2Client\", \"ImportSnapshotCommand\").f(ImportSnapshotRequestFilterSensitiveLog, ImportSnapshotResultFilterSensitiveLog).ser(se_ImportSnapshotCommand).de(de_ImportSnapshotCommand).build() {\n static {\n __name(this, \"ImportSnapshotCommand\");\n }\n};\n\n// src/commands/ImportVolumeCommand.ts\n\n\n\nvar ImportVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ImportVolume\", {}).n(\"EC2Client\", \"ImportVolumeCommand\").f(ImportVolumeRequestFilterSensitiveLog, ImportVolumeResultFilterSensitiveLog).ser(se_ImportVolumeCommand).de(de_ImportVolumeCommand).build() {\n static {\n __name(this, \"ImportVolumeCommand\");\n }\n};\n\n// src/commands/ListImagesInRecycleBinCommand.ts\n\n\n\nvar ListImagesInRecycleBinCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ListImagesInRecycleBin\", {}).n(\"EC2Client\", \"ListImagesInRecycleBinCommand\").f(void 0, void 0).ser(se_ListImagesInRecycleBinCommand).de(de_ListImagesInRecycleBinCommand).build() {\n static {\n __name(this, \"ListImagesInRecycleBinCommand\");\n }\n};\n\n// src/commands/ListSnapshotsInRecycleBinCommand.ts\n\n\n\nvar ListSnapshotsInRecycleBinCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ListSnapshotsInRecycleBin\", {}).n(\"EC2Client\", \"ListSnapshotsInRecycleBinCommand\").f(void 0, void 0).ser(se_ListSnapshotsInRecycleBinCommand).de(de_ListSnapshotsInRecycleBinCommand).build() {\n static {\n __name(this, \"ListSnapshotsInRecycleBinCommand\");\n }\n};\n\n// src/commands/LockSnapshotCommand.ts\n\n\n\nvar LockSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"LockSnapshot\", {}).n(\"EC2Client\", \"LockSnapshotCommand\").f(void 0, void 0).ser(se_LockSnapshotCommand).de(de_LockSnapshotCommand).build() {\n static {\n __name(this, \"LockSnapshotCommand\");\n }\n};\n\n// src/commands/ModifyAddressAttributeCommand.ts\n\n\n\nvar ModifyAddressAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyAddressAttribute\", {}).n(\"EC2Client\", \"ModifyAddressAttributeCommand\").f(void 0, void 0).ser(se_ModifyAddressAttributeCommand).de(de_ModifyAddressAttributeCommand).build() {\n static {\n __name(this, \"ModifyAddressAttributeCommand\");\n }\n};\n\n// src/commands/ModifyAvailabilityZoneGroupCommand.ts\n\n\n\nvar ModifyAvailabilityZoneGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyAvailabilityZoneGroup\", {}).n(\"EC2Client\", \"ModifyAvailabilityZoneGroupCommand\").f(void 0, void 0).ser(se_ModifyAvailabilityZoneGroupCommand).de(de_ModifyAvailabilityZoneGroupCommand).build() {\n static {\n __name(this, \"ModifyAvailabilityZoneGroupCommand\");\n }\n};\n\n// src/commands/ModifyCapacityReservationCommand.ts\n\n\n\nvar ModifyCapacityReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyCapacityReservation\", {}).n(\"EC2Client\", \"ModifyCapacityReservationCommand\").f(void 0, void 0).ser(se_ModifyCapacityReservationCommand).de(de_ModifyCapacityReservationCommand).build() {\n static {\n __name(this, \"ModifyCapacityReservationCommand\");\n }\n};\n\n// src/commands/ModifyCapacityReservationFleetCommand.ts\n\n\n\nvar ModifyCapacityReservationFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyCapacityReservationFleet\", {}).n(\"EC2Client\", \"ModifyCapacityReservationFleetCommand\").f(void 0, void 0).ser(se_ModifyCapacityReservationFleetCommand).de(de_ModifyCapacityReservationFleetCommand).build() {\n static {\n __name(this, \"ModifyCapacityReservationFleetCommand\");\n }\n};\n\n// src/commands/ModifyClientVpnEndpointCommand.ts\n\n\n\nvar ModifyClientVpnEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyClientVpnEndpoint\", {}).n(\"EC2Client\", \"ModifyClientVpnEndpointCommand\").f(void 0, void 0).ser(se_ModifyClientVpnEndpointCommand).de(de_ModifyClientVpnEndpointCommand).build() {\n static {\n __name(this, \"ModifyClientVpnEndpointCommand\");\n }\n};\n\n// src/commands/ModifyDefaultCreditSpecificationCommand.ts\n\n\n\nvar ModifyDefaultCreditSpecificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyDefaultCreditSpecification\", {}).n(\"EC2Client\", \"ModifyDefaultCreditSpecificationCommand\").f(void 0, void 0).ser(se_ModifyDefaultCreditSpecificationCommand).de(de_ModifyDefaultCreditSpecificationCommand).build() {\n static {\n __name(this, \"ModifyDefaultCreditSpecificationCommand\");\n }\n};\n\n// src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts\n\n\n\nvar ModifyEbsDefaultKmsKeyIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyEbsDefaultKmsKeyId\", {}).n(\"EC2Client\", \"ModifyEbsDefaultKmsKeyIdCommand\").f(void 0, void 0).ser(se_ModifyEbsDefaultKmsKeyIdCommand).de(de_ModifyEbsDefaultKmsKeyIdCommand).build() {\n static {\n __name(this, \"ModifyEbsDefaultKmsKeyIdCommand\");\n }\n};\n\n// src/commands/ModifyFleetCommand.ts\n\n\n\nvar ModifyFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyFleet\", {}).n(\"EC2Client\", \"ModifyFleetCommand\").f(void 0, void 0).ser(se_ModifyFleetCommand).de(de_ModifyFleetCommand).build() {\n static {\n __name(this, \"ModifyFleetCommand\");\n }\n};\n\n// src/commands/ModifyFpgaImageAttributeCommand.ts\n\n\n\nvar ModifyFpgaImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyFpgaImageAttribute\", {}).n(\"EC2Client\", \"ModifyFpgaImageAttributeCommand\").f(void 0, void 0).ser(se_ModifyFpgaImageAttributeCommand).de(de_ModifyFpgaImageAttributeCommand).build() {\n static {\n __name(this, \"ModifyFpgaImageAttributeCommand\");\n }\n};\n\n// src/commands/ModifyHostsCommand.ts\n\n\n\nvar ModifyHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyHosts\", {}).n(\"EC2Client\", \"ModifyHostsCommand\").f(void 0, void 0).ser(se_ModifyHostsCommand).de(de_ModifyHostsCommand).build() {\n static {\n __name(this, \"ModifyHostsCommand\");\n }\n};\n\n// src/commands/ModifyIdentityIdFormatCommand.ts\n\n\n\nvar ModifyIdentityIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIdentityIdFormat\", {}).n(\"EC2Client\", \"ModifyIdentityIdFormatCommand\").f(void 0, void 0).ser(se_ModifyIdentityIdFormatCommand).de(de_ModifyIdentityIdFormatCommand).build() {\n static {\n __name(this, \"ModifyIdentityIdFormatCommand\");\n }\n};\n\n// src/commands/ModifyIdFormatCommand.ts\n\n\n\nvar ModifyIdFormatCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIdFormat\", {}).n(\"EC2Client\", \"ModifyIdFormatCommand\").f(void 0, void 0).ser(se_ModifyIdFormatCommand).de(de_ModifyIdFormatCommand).build() {\n static {\n __name(this, \"ModifyIdFormatCommand\");\n }\n};\n\n// src/commands/ModifyImageAttributeCommand.ts\n\n\n\nvar ModifyImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyImageAttribute\", {}).n(\"EC2Client\", \"ModifyImageAttributeCommand\").f(void 0, void 0).ser(se_ModifyImageAttributeCommand).de(de_ModifyImageAttributeCommand).build() {\n static {\n __name(this, \"ModifyImageAttributeCommand\");\n }\n};\n\n// src/commands/ModifyInstanceAttributeCommand.ts\n\n\n\nvar ModifyInstanceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceAttribute\", {}).n(\"EC2Client\", \"ModifyInstanceAttributeCommand\").f(void 0, void 0).ser(se_ModifyInstanceAttributeCommand).de(de_ModifyInstanceAttributeCommand).build() {\n static {\n __name(this, \"ModifyInstanceAttributeCommand\");\n }\n};\n\n// src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts\n\n\n\nvar ModifyInstanceCapacityReservationAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceCapacityReservationAttributes\", {}).n(\"EC2Client\", \"ModifyInstanceCapacityReservationAttributesCommand\").f(void 0, void 0).ser(se_ModifyInstanceCapacityReservationAttributesCommand).de(de_ModifyInstanceCapacityReservationAttributesCommand).build() {\n static {\n __name(this, \"ModifyInstanceCapacityReservationAttributesCommand\");\n }\n};\n\n// src/commands/ModifyInstanceCpuOptionsCommand.ts\n\n\n\nvar ModifyInstanceCpuOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceCpuOptions\", {}).n(\"EC2Client\", \"ModifyInstanceCpuOptionsCommand\").f(void 0, void 0).ser(se_ModifyInstanceCpuOptionsCommand).de(de_ModifyInstanceCpuOptionsCommand).build() {\n static {\n __name(this, \"ModifyInstanceCpuOptionsCommand\");\n }\n};\n\n// src/commands/ModifyInstanceCreditSpecificationCommand.ts\n\n\n\nvar ModifyInstanceCreditSpecificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceCreditSpecification\", {}).n(\"EC2Client\", \"ModifyInstanceCreditSpecificationCommand\").f(void 0, void 0).ser(se_ModifyInstanceCreditSpecificationCommand).de(de_ModifyInstanceCreditSpecificationCommand).build() {\n static {\n __name(this, \"ModifyInstanceCreditSpecificationCommand\");\n }\n};\n\n// src/commands/ModifyInstanceEventStartTimeCommand.ts\n\n\n\nvar ModifyInstanceEventStartTimeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceEventStartTime\", {}).n(\"EC2Client\", \"ModifyInstanceEventStartTimeCommand\").f(void 0, void 0).ser(se_ModifyInstanceEventStartTimeCommand).de(de_ModifyInstanceEventStartTimeCommand).build() {\n static {\n __name(this, \"ModifyInstanceEventStartTimeCommand\");\n }\n};\n\n// src/commands/ModifyInstanceEventWindowCommand.ts\n\n\n\nvar ModifyInstanceEventWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceEventWindow\", {}).n(\"EC2Client\", \"ModifyInstanceEventWindowCommand\").f(void 0, void 0).ser(se_ModifyInstanceEventWindowCommand).de(de_ModifyInstanceEventWindowCommand).build() {\n static {\n __name(this, \"ModifyInstanceEventWindowCommand\");\n }\n};\n\n// src/commands/ModifyInstanceMaintenanceOptionsCommand.ts\n\n\n\nvar ModifyInstanceMaintenanceOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceMaintenanceOptions\", {}).n(\"EC2Client\", \"ModifyInstanceMaintenanceOptionsCommand\").f(void 0, void 0).ser(se_ModifyInstanceMaintenanceOptionsCommand).de(de_ModifyInstanceMaintenanceOptionsCommand).build() {\n static {\n __name(this, \"ModifyInstanceMaintenanceOptionsCommand\");\n }\n};\n\n// src/commands/ModifyInstanceMetadataDefaultsCommand.ts\n\n\n\nvar ModifyInstanceMetadataDefaultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceMetadataDefaults\", {}).n(\"EC2Client\", \"ModifyInstanceMetadataDefaultsCommand\").f(void 0, void 0).ser(se_ModifyInstanceMetadataDefaultsCommand).de(de_ModifyInstanceMetadataDefaultsCommand).build() {\n static {\n __name(this, \"ModifyInstanceMetadataDefaultsCommand\");\n }\n};\n\n// src/commands/ModifyInstanceMetadataOptionsCommand.ts\n\n\n\nvar ModifyInstanceMetadataOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceMetadataOptions\", {}).n(\"EC2Client\", \"ModifyInstanceMetadataOptionsCommand\").f(void 0, void 0).ser(se_ModifyInstanceMetadataOptionsCommand).de(de_ModifyInstanceMetadataOptionsCommand).build() {\n static {\n __name(this, \"ModifyInstanceMetadataOptionsCommand\");\n }\n};\n\n// src/commands/ModifyInstanceNetworkPerformanceOptionsCommand.ts\n\n\n\nvar ModifyInstanceNetworkPerformanceOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstanceNetworkPerformanceOptions\", {}).n(\"EC2Client\", \"ModifyInstanceNetworkPerformanceOptionsCommand\").f(void 0, void 0).ser(se_ModifyInstanceNetworkPerformanceOptionsCommand).de(de_ModifyInstanceNetworkPerformanceOptionsCommand).build() {\n static {\n __name(this, \"ModifyInstanceNetworkPerformanceOptionsCommand\");\n }\n};\n\n// src/commands/ModifyInstancePlacementCommand.ts\n\n\n\nvar ModifyInstancePlacementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyInstancePlacement\", {}).n(\"EC2Client\", \"ModifyInstancePlacementCommand\").f(void 0, void 0).ser(se_ModifyInstancePlacementCommand).de(de_ModifyInstancePlacementCommand).build() {\n static {\n __name(this, \"ModifyInstancePlacementCommand\");\n }\n};\n\n// src/commands/ModifyIpamCommand.ts\n\n\n\nvar ModifyIpamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIpam\", {}).n(\"EC2Client\", \"ModifyIpamCommand\").f(void 0, void 0).ser(se_ModifyIpamCommand).de(de_ModifyIpamCommand).build() {\n static {\n __name(this, \"ModifyIpamCommand\");\n }\n};\n\n// src/commands/ModifyIpamPoolCommand.ts\n\n\n\nvar ModifyIpamPoolCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIpamPool\", {}).n(\"EC2Client\", \"ModifyIpamPoolCommand\").f(void 0, void 0).ser(se_ModifyIpamPoolCommand).de(de_ModifyIpamPoolCommand).build() {\n static {\n __name(this, \"ModifyIpamPoolCommand\");\n }\n};\n\n// src/commands/ModifyIpamResourceCidrCommand.ts\n\n\n\nvar ModifyIpamResourceCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIpamResourceCidr\", {}).n(\"EC2Client\", \"ModifyIpamResourceCidrCommand\").f(void 0, void 0).ser(se_ModifyIpamResourceCidrCommand).de(de_ModifyIpamResourceCidrCommand).build() {\n static {\n __name(this, \"ModifyIpamResourceCidrCommand\");\n }\n};\n\n// src/commands/ModifyIpamResourceDiscoveryCommand.ts\n\n\n\nvar ModifyIpamResourceDiscoveryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIpamResourceDiscovery\", {}).n(\"EC2Client\", \"ModifyIpamResourceDiscoveryCommand\").f(void 0, void 0).ser(se_ModifyIpamResourceDiscoveryCommand).de(de_ModifyIpamResourceDiscoveryCommand).build() {\n static {\n __name(this, \"ModifyIpamResourceDiscoveryCommand\");\n }\n};\n\n// src/commands/ModifyIpamScopeCommand.ts\n\n\n\nvar ModifyIpamScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyIpamScope\", {}).n(\"EC2Client\", \"ModifyIpamScopeCommand\").f(void 0, void 0).ser(se_ModifyIpamScopeCommand).de(de_ModifyIpamScopeCommand).build() {\n static {\n __name(this, \"ModifyIpamScopeCommand\");\n }\n};\n\n// src/commands/ModifyLaunchTemplateCommand.ts\n\n\n\nvar ModifyLaunchTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyLaunchTemplate\", {}).n(\"EC2Client\", \"ModifyLaunchTemplateCommand\").f(void 0, void 0).ser(se_ModifyLaunchTemplateCommand).de(de_ModifyLaunchTemplateCommand).build() {\n static {\n __name(this, \"ModifyLaunchTemplateCommand\");\n }\n};\n\n// src/commands/ModifyLocalGatewayRouteCommand.ts\n\n\n\nvar ModifyLocalGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyLocalGatewayRoute\", {}).n(\"EC2Client\", \"ModifyLocalGatewayRouteCommand\").f(void 0, void 0).ser(se_ModifyLocalGatewayRouteCommand).de(de_ModifyLocalGatewayRouteCommand).build() {\n static {\n __name(this, \"ModifyLocalGatewayRouteCommand\");\n }\n};\n\n// src/commands/ModifyManagedPrefixListCommand.ts\n\n\n\nvar ModifyManagedPrefixListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyManagedPrefixList\", {}).n(\"EC2Client\", \"ModifyManagedPrefixListCommand\").f(void 0, void 0).ser(se_ModifyManagedPrefixListCommand).de(de_ModifyManagedPrefixListCommand).build() {\n static {\n __name(this, \"ModifyManagedPrefixListCommand\");\n }\n};\n\n// src/commands/ModifyNetworkInterfaceAttributeCommand.ts\n\n\n\nvar ModifyNetworkInterfaceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyNetworkInterfaceAttribute\", {}).n(\"EC2Client\", \"ModifyNetworkInterfaceAttributeCommand\").f(void 0, void 0).ser(se_ModifyNetworkInterfaceAttributeCommand).de(de_ModifyNetworkInterfaceAttributeCommand).build() {\n static {\n __name(this, \"ModifyNetworkInterfaceAttributeCommand\");\n }\n};\n\n// src/commands/ModifyPrivateDnsNameOptionsCommand.ts\n\n\n\nvar ModifyPrivateDnsNameOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyPrivateDnsNameOptions\", {}).n(\"EC2Client\", \"ModifyPrivateDnsNameOptionsCommand\").f(void 0, void 0).ser(se_ModifyPrivateDnsNameOptionsCommand).de(de_ModifyPrivateDnsNameOptionsCommand).build() {\n static {\n __name(this, \"ModifyPrivateDnsNameOptionsCommand\");\n }\n};\n\n// src/commands/ModifyReservedInstancesCommand.ts\n\n\n\nvar ModifyReservedInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyReservedInstances\", {}).n(\"EC2Client\", \"ModifyReservedInstancesCommand\").f(void 0, void 0).ser(se_ModifyReservedInstancesCommand).de(de_ModifyReservedInstancesCommand).build() {\n static {\n __name(this, \"ModifyReservedInstancesCommand\");\n }\n};\n\n// src/commands/ModifyRouteServerCommand.ts\n\n\n\nvar ModifyRouteServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyRouteServer\", {}).n(\"EC2Client\", \"ModifyRouteServerCommand\").f(void 0, void 0).ser(se_ModifyRouteServerCommand).de(de_ModifyRouteServerCommand).build() {\n static {\n __name(this, \"ModifyRouteServerCommand\");\n }\n};\n\n// src/commands/ModifySecurityGroupRulesCommand.ts\n\n\n\nvar ModifySecurityGroupRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifySecurityGroupRules\", {}).n(\"EC2Client\", \"ModifySecurityGroupRulesCommand\").f(void 0, void 0).ser(se_ModifySecurityGroupRulesCommand).de(de_ModifySecurityGroupRulesCommand).build() {\n static {\n __name(this, \"ModifySecurityGroupRulesCommand\");\n }\n};\n\n// src/commands/ModifySnapshotAttributeCommand.ts\n\n\n\nvar ModifySnapshotAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifySnapshotAttribute\", {}).n(\"EC2Client\", \"ModifySnapshotAttributeCommand\").f(void 0, void 0).ser(se_ModifySnapshotAttributeCommand).de(de_ModifySnapshotAttributeCommand).build() {\n static {\n __name(this, \"ModifySnapshotAttributeCommand\");\n }\n};\n\n// src/commands/ModifySnapshotTierCommand.ts\n\n\n\nvar ModifySnapshotTierCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifySnapshotTier\", {}).n(\"EC2Client\", \"ModifySnapshotTierCommand\").f(void 0, void 0).ser(se_ModifySnapshotTierCommand).de(de_ModifySnapshotTierCommand).build() {\n static {\n __name(this, \"ModifySnapshotTierCommand\");\n }\n};\n\n// src/commands/ModifySpotFleetRequestCommand.ts\n\n\n\nvar ModifySpotFleetRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifySpotFleetRequest\", {}).n(\"EC2Client\", \"ModifySpotFleetRequestCommand\").f(void 0, void 0).ser(se_ModifySpotFleetRequestCommand).de(de_ModifySpotFleetRequestCommand).build() {\n static {\n __name(this, \"ModifySpotFleetRequestCommand\");\n }\n};\n\n// src/commands/ModifySubnetAttributeCommand.ts\n\n\n\nvar ModifySubnetAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifySubnetAttribute\", {}).n(\"EC2Client\", \"ModifySubnetAttributeCommand\").f(void 0, void 0).ser(se_ModifySubnetAttributeCommand).de(de_ModifySubnetAttributeCommand).build() {\n static {\n __name(this, \"ModifySubnetAttributeCommand\");\n }\n};\n\n// src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts\n\n\n\nvar ModifyTrafficMirrorFilterNetworkServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTrafficMirrorFilterNetworkServices\", {}).n(\"EC2Client\", \"ModifyTrafficMirrorFilterNetworkServicesCommand\").f(void 0, void 0).ser(se_ModifyTrafficMirrorFilterNetworkServicesCommand).de(de_ModifyTrafficMirrorFilterNetworkServicesCommand).build() {\n static {\n __name(this, \"ModifyTrafficMirrorFilterNetworkServicesCommand\");\n }\n};\n\n// src/commands/ModifyTrafficMirrorFilterRuleCommand.ts\n\n\n\nvar ModifyTrafficMirrorFilterRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTrafficMirrorFilterRule\", {}).n(\"EC2Client\", \"ModifyTrafficMirrorFilterRuleCommand\").f(void 0, void 0).ser(se_ModifyTrafficMirrorFilterRuleCommand).de(de_ModifyTrafficMirrorFilterRuleCommand).build() {\n static {\n __name(this, \"ModifyTrafficMirrorFilterRuleCommand\");\n }\n};\n\n// src/commands/ModifyTrafficMirrorSessionCommand.ts\n\n\n\nvar ModifyTrafficMirrorSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTrafficMirrorSession\", {}).n(\"EC2Client\", \"ModifyTrafficMirrorSessionCommand\").f(void 0, void 0).ser(se_ModifyTrafficMirrorSessionCommand).de(de_ModifyTrafficMirrorSessionCommand).build() {\n static {\n __name(this, \"ModifyTrafficMirrorSessionCommand\");\n }\n};\n\n// src/commands/ModifyTransitGatewayCommand.ts\n\n\n\nvar ModifyTransitGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTransitGateway\", {}).n(\"EC2Client\", \"ModifyTransitGatewayCommand\").f(void 0, void 0).ser(se_ModifyTransitGatewayCommand).de(de_ModifyTransitGatewayCommand).build() {\n static {\n __name(this, \"ModifyTransitGatewayCommand\");\n }\n};\n\n// src/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts\n\n\n\nvar ModifyTransitGatewayPrefixListReferenceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTransitGatewayPrefixListReference\", {}).n(\"EC2Client\", \"ModifyTransitGatewayPrefixListReferenceCommand\").f(void 0, void 0).ser(se_ModifyTransitGatewayPrefixListReferenceCommand).de(de_ModifyTransitGatewayPrefixListReferenceCommand).build() {\n static {\n __name(this, \"ModifyTransitGatewayPrefixListReferenceCommand\");\n }\n};\n\n// src/commands/ModifyTransitGatewayVpcAttachmentCommand.ts\n\n\n\nvar ModifyTransitGatewayVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyTransitGatewayVpcAttachment\", {}).n(\"EC2Client\", \"ModifyTransitGatewayVpcAttachmentCommand\").f(void 0, void 0).ser(se_ModifyTransitGatewayVpcAttachmentCommand).de(de_ModifyTransitGatewayVpcAttachmentCommand).build() {\n static {\n __name(this, \"ModifyTransitGatewayVpcAttachmentCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessEndpointCommand.ts\n\n\n\nvar ModifyVerifiedAccessEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessEndpoint\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessEndpointCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessEndpointCommand).de(de_ModifyVerifiedAccessEndpointCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessEndpointCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessEndpointPolicyCommand.ts\n\n\n\nvar ModifyVerifiedAccessEndpointPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessEndpointPolicy\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessEndpointPolicyCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessEndpointPolicyCommand).de(de_ModifyVerifiedAccessEndpointPolicyCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessEndpointPolicyCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessGroupCommand.ts\n\n\n\nvar ModifyVerifiedAccessGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessGroup\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessGroupCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessGroupCommand).de(de_ModifyVerifiedAccessGroupCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessGroupCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessGroupPolicyCommand.ts\n\n\n\nvar ModifyVerifiedAccessGroupPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessGroupPolicy\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessGroupPolicyCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessGroupPolicyCommand).de(de_ModifyVerifiedAccessGroupPolicyCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessGroupPolicyCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessInstanceCommand.ts\n\n\n\nvar ModifyVerifiedAccessInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessInstance\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessInstanceCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessInstanceCommand).de(de_ModifyVerifiedAccessInstanceCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessInstanceCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.ts\n\n\n\nvar ModifyVerifiedAccessInstanceLoggingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessInstanceLoggingConfiguration\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessInstanceLoggingConfigurationCommand\").f(void 0, void 0).ser(se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand).de(de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessInstanceLoggingConfigurationCommand\");\n }\n};\n\n// src/commands/ModifyVerifiedAccessTrustProviderCommand.ts\n\n\n\nvar ModifyVerifiedAccessTrustProviderCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVerifiedAccessTrustProvider\", {}).n(\"EC2Client\", \"ModifyVerifiedAccessTrustProviderCommand\").f(\n ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog\n).ser(se_ModifyVerifiedAccessTrustProviderCommand).de(de_ModifyVerifiedAccessTrustProviderCommand).build() {\n static {\n __name(this, \"ModifyVerifiedAccessTrustProviderCommand\");\n }\n};\n\n// src/commands/ModifyVolumeAttributeCommand.ts\n\n\n\nvar ModifyVolumeAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVolumeAttribute\", {}).n(\"EC2Client\", \"ModifyVolumeAttributeCommand\").f(void 0, void 0).ser(se_ModifyVolumeAttributeCommand).de(de_ModifyVolumeAttributeCommand).build() {\n static {\n __name(this, \"ModifyVolumeAttributeCommand\");\n }\n};\n\n// src/commands/ModifyVolumeCommand.ts\n\n\n\nvar ModifyVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVolume\", {}).n(\"EC2Client\", \"ModifyVolumeCommand\").f(void 0, void 0).ser(se_ModifyVolumeCommand).de(de_ModifyVolumeCommand).build() {\n static {\n __name(this, \"ModifyVolumeCommand\");\n }\n};\n\n// src/commands/ModifyVpcAttributeCommand.ts\n\n\n\nvar ModifyVpcAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcAttribute\", {}).n(\"EC2Client\", \"ModifyVpcAttributeCommand\").f(void 0, void 0).ser(se_ModifyVpcAttributeCommand).de(de_ModifyVpcAttributeCommand).build() {\n static {\n __name(this, \"ModifyVpcAttributeCommand\");\n }\n};\n\n// src/commands/ModifyVpcBlockPublicAccessExclusionCommand.ts\n\n\n\nvar ModifyVpcBlockPublicAccessExclusionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcBlockPublicAccessExclusion\", {}).n(\"EC2Client\", \"ModifyVpcBlockPublicAccessExclusionCommand\").f(void 0, void 0).ser(se_ModifyVpcBlockPublicAccessExclusionCommand).de(de_ModifyVpcBlockPublicAccessExclusionCommand).build() {\n static {\n __name(this, \"ModifyVpcBlockPublicAccessExclusionCommand\");\n }\n};\n\n// src/commands/ModifyVpcBlockPublicAccessOptionsCommand.ts\n\n\n\nvar ModifyVpcBlockPublicAccessOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcBlockPublicAccessOptions\", {}).n(\"EC2Client\", \"ModifyVpcBlockPublicAccessOptionsCommand\").f(void 0, void 0).ser(se_ModifyVpcBlockPublicAccessOptionsCommand).de(de_ModifyVpcBlockPublicAccessOptionsCommand).build() {\n static {\n __name(this, \"ModifyVpcBlockPublicAccessOptionsCommand\");\n }\n};\n\n// src/commands/ModifyVpcEndpointCommand.ts\n\n\n\nvar ModifyVpcEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcEndpoint\", {}).n(\"EC2Client\", \"ModifyVpcEndpointCommand\").f(void 0, void 0).ser(se_ModifyVpcEndpointCommand).de(de_ModifyVpcEndpointCommand).build() {\n static {\n __name(this, \"ModifyVpcEndpointCommand\");\n }\n};\n\n// src/commands/ModifyVpcEndpointConnectionNotificationCommand.ts\n\n\n\nvar ModifyVpcEndpointConnectionNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcEndpointConnectionNotification\", {}).n(\"EC2Client\", \"ModifyVpcEndpointConnectionNotificationCommand\").f(void 0, void 0).ser(se_ModifyVpcEndpointConnectionNotificationCommand).de(de_ModifyVpcEndpointConnectionNotificationCommand).build() {\n static {\n __name(this, \"ModifyVpcEndpointConnectionNotificationCommand\");\n }\n};\n\n// src/commands/ModifyVpcEndpointServiceConfigurationCommand.ts\n\n\n\nvar ModifyVpcEndpointServiceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcEndpointServiceConfiguration\", {}).n(\"EC2Client\", \"ModifyVpcEndpointServiceConfigurationCommand\").f(void 0, void 0).ser(se_ModifyVpcEndpointServiceConfigurationCommand).de(de_ModifyVpcEndpointServiceConfigurationCommand).build() {\n static {\n __name(this, \"ModifyVpcEndpointServiceConfigurationCommand\");\n }\n};\n\n// src/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.ts\n\n\n\nvar ModifyVpcEndpointServicePayerResponsibilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcEndpointServicePayerResponsibility\", {}).n(\"EC2Client\", \"ModifyVpcEndpointServicePayerResponsibilityCommand\").f(void 0, void 0).ser(se_ModifyVpcEndpointServicePayerResponsibilityCommand).de(de_ModifyVpcEndpointServicePayerResponsibilityCommand).build() {\n static {\n __name(this, \"ModifyVpcEndpointServicePayerResponsibilityCommand\");\n }\n};\n\n// src/commands/ModifyVpcEndpointServicePermissionsCommand.ts\n\n\n\nvar ModifyVpcEndpointServicePermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcEndpointServicePermissions\", {}).n(\"EC2Client\", \"ModifyVpcEndpointServicePermissionsCommand\").f(void 0, void 0).ser(se_ModifyVpcEndpointServicePermissionsCommand).de(de_ModifyVpcEndpointServicePermissionsCommand).build() {\n static {\n __name(this, \"ModifyVpcEndpointServicePermissionsCommand\");\n }\n};\n\n// src/commands/ModifyVpcPeeringConnectionOptionsCommand.ts\n\n\n\nvar ModifyVpcPeeringConnectionOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcPeeringConnectionOptions\", {}).n(\"EC2Client\", \"ModifyVpcPeeringConnectionOptionsCommand\").f(void 0, void 0).ser(se_ModifyVpcPeeringConnectionOptionsCommand).de(de_ModifyVpcPeeringConnectionOptionsCommand).build() {\n static {\n __name(this, \"ModifyVpcPeeringConnectionOptionsCommand\");\n }\n};\n\n// src/commands/ModifyVpcTenancyCommand.ts\n\n\n\nvar ModifyVpcTenancyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpcTenancy\", {}).n(\"EC2Client\", \"ModifyVpcTenancyCommand\").f(void 0, void 0).ser(se_ModifyVpcTenancyCommand).de(de_ModifyVpcTenancyCommand).build() {\n static {\n __name(this, \"ModifyVpcTenancyCommand\");\n }\n};\n\n// src/commands/ModifyVpnConnectionCommand.ts\n\n\n\nvar ModifyVpnConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpnConnection\", {}).n(\"EC2Client\", \"ModifyVpnConnectionCommand\").f(void 0, ModifyVpnConnectionResultFilterSensitiveLog).ser(se_ModifyVpnConnectionCommand).de(de_ModifyVpnConnectionCommand).build() {\n static {\n __name(this, \"ModifyVpnConnectionCommand\");\n }\n};\n\n// src/commands/ModifyVpnConnectionOptionsCommand.ts\n\n\n\nvar ModifyVpnConnectionOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpnConnectionOptions\", {}).n(\"EC2Client\", \"ModifyVpnConnectionOptionsCommand\").f(void 0, ModifyVpnConnectionOptionsResultFilterSensitiveLog).ser(se_ModifyVpnConnectionOptionsCommand).de(de_ModifyVpnConnectionOptionsCommand).build() {\n static {\n __name(this, \"ModifyVpnConnectionOptionsCommand\");\n }\n};\n\n// src/commands/ModifyVpnTunnelCertificateCommand.ts\n\n\n\nvar ModifyVpnTunnelCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpnTunnelCertificate\", {}).n(\"EC2Client\", \"ModifyVpnTunnelCertificateCommand\").f(void 0, ModifyVpnTunnelCertificateResultFilterSensitiveLog).ser(se_ModifyVpnTunnelCertificateCommand).de(de_ModifyVpnTunnelCertificateCommand).build() {\n static {\n __name(this, \"ModifyVpnTunnelCertificateCommand\");\n }\n};\n\n// src/commands/ModifyVpnTunnelOptionsCommand.ts\n\n\n\nvar ModifyVpnTunnelOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ModifyVpnTunnelOptions\", {}).n(\"EC2Client\", \"ModifyVpnTunnelOptionsCommand\").f(ModifyVpnTunnelOptionsRequestFilterSensitiveLog, ModifyVpnTunnelOptionsResultFilterSensitiveLog).ser(se_ModifyVpnTunnelOptionsCommand).de(de_ModifyVpnTunnelOptionsCommand).build() {\n static {\n __name(this, \"ModifyVpnTunnelOptionsCommand\");\n }\n};\n\n// src/commands/MonitorInstancesCommand.ts\n\n\n\nvar MonitorInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"MonitorInstances\", {}).n(\"EC2Client\", \"MonitorInstancesCommand\").f(void 0, void 0).ser(se_MonitorInstancesCommand).de(de_MonitorInstancesCommand).build() {\n static {\n __name(this, \"MonitorInstancesCommand\");\n }\n};\n\n// src/commands/MoveAddressToVpcCommand.ts\n\n\n\nvar MoveAddressToVpcCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"MoveAddressToVpc\", {}).n(\"EC2Client\", \"MoveAddressToVpcCommand\").f(void 0, void 0).ser(se_MoveAddressToVpcCommand).de(de_MoveAddressToVpcCommand).build() {\n static {\n __name(this, \"MoveAddressToVpcCommand\");\n }\n};\n\n// src/commands/MoveByoipCidrToIpamCommand.ts\n\n\n\nvar MoveByoipCidrToIpamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"MoveByoipCidrToIpam\", {}).n(\"EC2Client\", \"MoveByoipCidrToIpamCommand\").f(void 0, void 0).ser(se_MoveByoipCidrToIpamCommand).de(de_MoveByoipCidrToIpamCommand).build() {\n static {\n __name(this, \"MoveByoipCidrToIpamCommand\");\n }\n};\n\n// src/commands/MoveCapacityReservationInstancesCommand.ts\n\n\n\nvar MoveCapacityReservationInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"MoveCapacityReservationInstances\", {}).n(\"EC2Client\", \"MoveCapacityReservationInstancesCommand\").f(void 0, void 0).ser(se_MoveCapacityReservationInstancesCommand).de(de_MoveCapacityReservationInstancesCommand).build() {\n static {\n __name(this, \"MoveCapacityReservationInstancesCommand\");\n }\n};\n\n// src/commands/ProvisionByoipCidrCommand.ts\n\n\n\nvar ProvisionByoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ProvisionByoipCidr\", {}).n(\"EC2Client\", \"ProvisionByoipCidrCommand\").f(void 0, void 0).ser(se_ProvisionByoipCidrCommand).de(de_ProvisionByoipCidrCommand).build() {\n static {\n __name(this, \"ProvisionByoipCidrCommand\");\n }\n};\n\n// src/commands/ProvisionIpamByoasnCommand.ts\n\n\n\nvar ProvisionIpamByoasnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ProvisionIpamByoasn\", {}).n(\"EC2Client\", \"ProvisionIpamByoasnCommand\").f(void 0, void 0).ser(se_ProvisionIpamByoasnCommand).de(de_ProvisionIpamByoasnCommand).build() {\n static {\n __name(this, \"ProvisionIpamByoasnCommand\");\n }\n};\n\n// src/commands/ProvisionIpamPoolCidrCommand.ts\n\n\n\nvar ProvisionIpamPoolCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ProvisionIpamPoolCidr\", {}).n(\"EC2Client\", \"ProvisionIpamPoolCidrCommand\").f(void 0, void 0).ser(se_ProvisionIpamPoolCidrCommand).de(de_ProvisionIpamPoolCidrCommand).build() {\n static {\n __name(this, \"ProvisionIpamPoolCidrCommand\");\n }\n};\n\n// src/commands/ProvisionPublicIpv4PoolCidrCommand.ts\n\n\n\nvar ProvisionPublicIpv4PoolCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ProvisionPublicIpv4PoolCidr\", {}).n(\"EC2Client\", \"ProvisionPublicIpv4PoolCidrCommand\").f(void 0, void 0).ser(se_ProvisionPublicIpv4PoolCidrCommand).de(de_ProvisionPublicIpv4PoolCidrCommand).build() {\n static {\n __name(this, \"ProvisionPublicIpv4PoolCidrCommand\");\n }\n};\n\n// src/commands/PurchaseCapacityBlockCommand.ts\n\n\n\nvar PurchaseCapacityBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"PurchaseCapacityBlock\", {}).n(\"EC2Client\", \"PurchaseCapacityBlockCommand\").f(void 0, void 0).ser(se_PurchaseCapacityBlockCommand).de(de_PurchaseCapacityBlockCommand).build() {\n static {\n __name(this, \"PurchaseCapacityBlockCommand\");\n }\n};\n\n// src/commands/PurchaseCapacityBlockExtensionCommand.ts\n\n\n\nvar PurchaseCapacityBlockExtensionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"PurchaseCapacityBlockExtension\", {}).n(\"EC2Client\", \"PurchaseCapacityBlockExtensionCommand\").f(void 0, void 0).ser(se_PurchaseCapacityBlockExtensionCommand).de(de_PurchaseCapacityBlockExtensionCommand).build() {\n static {\n __name(this, \"PurchaseCapacityBlockExtensionCommand\");\n }\n};\n\n// src/commands/PurchaseHostReservationCommand.ts\n\n\n\nvar PurchaseHostReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"PurchaseHostReservation\", {}).n(\"EC2Client\", \"PurchaseHostReservationCommand\").f(void 0, void 0).ser(se_PurchaseHostReservationCommand).de(de_PurchaseHostReservationCommand).build() {\n static {\n __name(this, \"PurchaseHostReservationCommand\");\n }\n};\n\n// src/commands/PurchaseReservedInstancesOfferingCommand.ts\n\n\n\nvar PurchaseReservedInstancesOfferingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"PurchaseReservedInstancesOffering\", {}).n(\"EC2Client\", \"PurchaseReservedInstancesOfferingCommand\").f(void 0, void 0).ser(se_PurchaseReservedInstancesOfferingCommand).de(de_PurchaseReservedInstancesOfferingCommand).build() {\n static {\n __name(this, \"PurchaseReservedInstancesOfferingCommand\");\n }\n};\n\n// src/commands/PurchaseScheduledInstancesCommand.ts\n\n\n\nvar PurchaseScheduledInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"PurchaseScheduledInstances\", {}).n(\"EC2Client\", \"PurchaseScheduledInstancesCommand\").f(void 0, void 0).ser(se_PurchaseScheduledInstancesCommand).de(de_PurchaseScheduledInstancesCommand).build() {\n static {\n __name(this, \"PurchaseScheduledInstancesCommand\");\n }\n};\n\n// src/commands/RebootInstancesCommand.ts\n\n\n\nvar RebootInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RebootInstances\", {}).n(\"EC2Client\", \"RebootInstancesCommand\").f(void 0, void 0).ser(se_RebootInstancesCommand).de(de_RebootInstancesCommand).build() {\n static {\n __name(this, \"RebootInstancesCommand\");\n }\n};\n\n// src/commands/RegisterImageCommand.ts\n\n\n\nvar RegisterImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RegisterImage\", {}).n(\"EC2Client\", \"RegisterImageCommand\").f(void 0, void 0).ser(se_RegisterImageCommand).de(de_RegisterImageCommand).build() {\n static {\n __name(this, \"RegisterImageCommand\");\n }\n};\n\n// src/commands/RegisterInstanceEventNotificationAttributesCommand.ts\n\n\n\nvar RegisterInstanceEventNotificationAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RegisterInstanceEventNotificationAttributes\", {}).n(\"EC2Client\", \"RegisterInstanceEventNotificationAttributesCommand\").f(void 0, void 0).ser(se_RegisterInstanceEventNotificationAttributesCommand).de(de_RegisterInstanceEventNotificationAttributesCommand).build() {\n static {\n __name(this, \"RegisterInstanceEventNotificationAttributesCommand\");\n }\n};\n\n// src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts\n\n\n\nvar RegisterTransitGatewayMulticastGroupMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RegisterTransitGatewayMulticastGroupMembers\", {}).n(\"EC2Client\", \"RegisterTransitGatewayMulticastGroupMembersCommand\").f(void 0, void 0).ser(se_RegisterTransitGatewayMulticastGroupMembersCommand).de(de_RegisterTransitGatewayMulticastGroupMembersCommand).build() {\n static {\n __name(this, \"RegisterTransitGatewayMulticastGroupMembersCommand\");\n }\n};\n\n// src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts\n\n\n\nvar RegisterTransitGatewayMulticastGroupSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RegisterTransitGatewayMulticastGroupSources\", {}).n(\"EC2Client\", \"RegisterTransitGatewayMulticastGroupSourcesCommand\").f(void 0, void 0).ser(se_RegisterTransitGatewayMulticastGroupSourcesCommand).de(de_RegisterTransitGatewayMulticastGroupSourcesCommand).build() {\n static {\n __name(this, \"RegisterTransitGatewayMulticastGroupSourcesCommand\");\n }\n};\n\n// src/commands/RejectCapacityReservationBillingOwnershipCommand.ts\n\n\n\nvar RejectCapacityReservationBillingOwnershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectCapacityReservationBillingOwnership\", {}).n(\"EC2Client\", \"RejectCapacityReservationBillingOwnershipCommand\").f(void 0, void 0).ser(se_RejectCapacityReservationBillingOwnershipCommand).de(de_RejectCapacityReservationBillingOwnershipCommand).build() {\n static {\n __name(this, \"RejectCapacityReservationBillingOwnershipCommand\");\n }\n};\n\n// src/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts\n\n\n\nvar RejectTransitGatewayMulticastDomainAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectTransitGatewayMulticastDomainAssociations\", {}).n(\"EC2Client\", \"RejectTransitGatewayMulticastDomainAssociationsCommand\").f(void 0, void 0).ser(se_RejectTransitGatewayMulticastDomainAssociationsCommand).de(de_RejectTransitGatewayMulticastDomainAssociationsCommand).build() {\n static {\n __name(this, \"RejectTransitGatewayMulticastDomainAssociationsCommand\");\n }\n};\n\n// src/commands/RejectTransitGatewayPeeringAttachmentCommand.ts\n\n\n\nvar RejectTransitGatewayPeeringAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectTransitGatewayPeeringAttachment\", {}).n(\"EC2Client\", \"RejectTransitGatewayPeeringAttachmentCommand\").f(void 0, void 0).ser(se_RejectTransitGatewayPeeringAttachmentCommand).de(de_RejectTransitGatewayPeeringAttachmentCommand).build() {\n static {\n __name(this, \"RejectTransitGatewayPeeringAttachmentCommand\");\n }\n};\n\n// src/commands/RejectTransitGatewayVpcAttachmentCommand.ts\n\n\n\nvar RejectTransitGatewayVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectTransitGatewayVpcAttachment\", {}).n(\"EC2Client\", \"RejectTransitGatewayVpcAttachmentCommand\").f(void 0, void 0).ser(se_RejectTransitGatewayVpcAttachmentCommand).de(de_RejectTransitGatewayVpcAttachmentCommand).build() {\n static {\n __name(this, \"RejectTransitGatewayVpcAttachmentCommand\");\n }\n};\n\n// src/commands/RejectVpcEndpointConnectionsCommand.ts\n\n\n\nvar RejectVpcEndpointConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectVpcEndpointConnections\", {}).n(\"EC2Client\", \"RejectVpcEndpointConnectionsCommand\").f(void 0, void 0).ser(se_RejectVpcEndpointConnectionsCommand).de(de_RejectVpcEndpointConnectionsCommand).build() {\n static {\n __name(this, \"RejectVpcEndpointConnectionsCommand\");\n }\n};\n\n// src/commands/RejectVpcPeeringConnectionCommand.ts\n\n\n\nvar RejectVpcPeeringConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RejectVpcPeeringConnection\", {}).n(\"EC2Client\", \"RejectVpcPeeringConnectionCommand\").f(void 0, void 0).ser(se_RejectVpcPeeringConnectionCommand).de(de_RejectVpcPeeringConnectionCommand).build() {\n static {\n __name(this, \"RejectVpcPeeringConnectionCommand\");\n }\n};\n\n// src/commands/ReleaseAddressCommand.ts\n\n\n\nvar ReleaseAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReleaseAddress\", {}).n(\"EC2Client\", \"ReleaseAddressCommand\").f(void 0, void 0).ser(se_ReleaseAddressCommand).de(de_ReleaseAddressCommand).build() {\n static {\n __name(this, \"ReleaseAddressCommand\");\n }\n};\n\n// src/commands/ReleaseHostsCommand.ts\n\n\n\nvar ReleaseHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReleaseHosts\", {}).n(\"EC2Client\", \"ReleaseHostsCommand\").f(void 0, void 0).ser(se_ReleaseHostsCommand).de(de_ReleaseHostsCommand).build() {\n static {\n __name(this, \"ReleaseHostsCommand\");\n }\n};\n\n// src/commands/ReleaseIpamPoolAllocationCommand.ts\n\n\n\nvar ReleaseIpamPoolAllocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReleaseIpamPoolAllocation\", {}).n(\"EC2Client\", \"ReleaseIpamPoolAllocationCommand\").f(void 0, void 0).ser(se_ReleaseIpamPoolAllocationCommand).de(de_ReleaseIpamPoolAllocationCommand).build() {\n static {\n __name(this, \"ReleaseIpamPoolAllocationCommand\");\n }\n};\n\n// src/commands/ReplaceIamInstanceProfileAssociationCommand.ts\n\n\n\nvar ReplaceIamInstanceProfileAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceIamInstanceProfileAssociation\", {}).n(\"EC2Client\", \"ReplaceIamInstanceProfileAssociationCommand\").f(void 0, void 0).ser(se_ReplaceIamInstanceProfileAssociationCommand).de(de_ReplaceIamInstanceProfileAssociationCommand).build() {\n static {\n __name(this, \"ReplaceIamInstanceProfileAssociationCommand\");\n }\n};\n\n// src/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.ts\n\n\n\nvar ReplaceImageCriteriaInAllowedImagesSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceImageCriteriaInAllowedImagesSettings\", {}).n(\"EC2Client\", \"ReplaceImageCriteriaInAllowedImagesSettingsCommand\").f(void 0, void 0).ser(se_ReplaceImageCriteriaInAllowedImagesSettingsCommand).de(de_ReplaceImageCriteriaInAllowedImagesSettingsCommand).build() {\n static {\n __name(this, \"ReplaceImageCriteriaInAllowedImagesSettingsCommand\");\n }\n};\n\n// src/commands/ReplaceNetworkAclAssociationCommand.ts\n\n\n\nvar ReplaceNetworkAclAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceNetworkAclAssociation\", {}).n(\"EC2Client\", \"ReplaceNetworkAclAssociationCommand\").f(void 0, void 0).ser(se_ReplaceNetworkAclAssociationCommand).de(de_ReplaceNetworkAclAssociationCommand).build() {\n static {\n __name(this, \"ReplaceNetworkAclAssociationCommand\");\n }\n};\n\n// src/commands/ReplaceNetworkAclEntryCommand.ts\n\n\n\nvar ReplaceNetworkAclEntryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceNetworkAclEntry\", {}).n(\"EC2Client\", \"ReplaceNetworkAclEntryCommand\").f(void 0, void 0).ser(se_ReplaceNetworkAclEntryCommand).de(de_ReplaceNetworkAclEntryCommand).build() {\n static {\n __name(this, \"ReplaceNetworkAclEntryCommand\");\n }\n};\n\n// src/commands/ReplaceRouteCommand.ts\n\n\n\nvar ReplaceRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceRoute\", {}).n(\"EC2Client\", \"ReplaceRouteCommand\").f(void 0, void 0).ser(se_ReplaceRouteCommand).de(de_ReplaceRouteCommand).build() {\n static {\n __name(this, \"ReplaceRouteCommand\");\n }\n};\n\n// src/commands/ReplaceRouteTableAssociationCommand.ts\n\n\n\nvar ReplaceRouteTableAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceRouteTableAssociation\", {}).n(\"EC2Client\", \"ReplaceRouteTableAssociationCommand\").f(void 0, void 0).ser(se_ReplaceRouteTableAssociationCommand).de(de_ReplaceRouteTableAssociationCommand).build() {\n static {\n __name(this, \"ReplaceRouteTableAssociationCommand\");\n }\n};\n\n// src/commands/ReplaceTransitGatewayRouteCommand.ts\n\n\n\nvar ReplaceTransitGatewayRouteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceTransitGatewayRoute\", {}).n(\"EC2Client\", \"ReplaceTransitGatewayRouteCommand\").f(void 0, void 0).ser(se_ReplaceTransitGatewayRouteCommand).de(de_ReplaceTransitGatewayRouteCommand).build() {\n static {\n __name(this, \"ReplaceTransitGatewayRouteCommand\");\n }\n};\n\n// src/commands/ReplaceVpnTunnelCommand.ts\n\n\n\nvar ReplaceVpnTunnelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReplaceVpnTunnel\", {}).n(\"EC2Client\", \"ReplaceVpnTunnelCommand\").f(void 0, void 0).ser(se_ReplaceVpnTunnelCommand).de(de_ReplaceVpnTunnelCommand).build() {\n static {\n __name(this, \"ReplaceVpnTunnelCommand\");\n }\n};\n\n// src/commands/ReportInstanceStatusCommand.ts\n\n\n\nvar ReportInstanceStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ReportInstanceStatus\", {}).n(\"EC2Client\", \"ReportInstanceStatusCommand\").f(ReportInstanceStatusRequestFilterSensitiveLog, void 0).ser(se_ReportInstanceStatusCommand).de(de_ReportInstanceStatusCommand).build() {\n static {\n __name(this, \"ReportInstanceStatusCommand\");\n }\n};\n\n// src/commands/RequestSpotFleetCommand.ts\n\n\n\n\n// src/models/models_8.ts\n\nvar ResetFpgaImageAttributeName = {\n loadPermission: \"loadPermission\"\n};\nvar ResetImageAttributeName = {\n launchPermission: \"launchPermission\"\n};\nvar MembershipType = {\n igmp: \"igmp\",\n static: \"static\"\n};\nvar RequestSpotFleetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SpotFleetRequestConfig && {\n SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig)\n }\n}), \"RequestSpotFleetRequestFilterSensitiveLog\");\nvar RequestSpotLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"RequestSpotLaunchSpecificationFilterSensitiveLog\");\nvar RequestSpotInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchSpecification && {\n LaunchSpecification: RequestSpotLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification)\n }\n}), \"RequestSpotInstancesRequestFilterSensitiveLog\");\nvar RequestSpotInstancesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SpotInstanceRequests && {\n SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item))\n }\n}), \"RequestSpotInstancesResultFilterSensitiveLog\");\nvar RunInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }\n}), \"RunInstancesRequestFilterSensitiveLog\");\nvar ScheduledInstancesLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"ScheduledInstancesLaunchSpecificationFilterSensitiveLog\");\nvar RunScheduledInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.LaunchSpecification && { LaunchSpecification: import_smithy_client.SENSITIVE_STRING }\n}), \"RunScheduledInstancesRequestFilterSensitiveLog\");\n\n// src/commands/RequestSpotFleetCommand.ts\nvar RequestSpotFleetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RequestSpotFleet\", {}).n(\"EC2Client\", \"RequestSpotFleetCommand\").f(RequestSpotFleetRequestFilterSensitiveLog, void 0).ser(se_RequestSpotFleetCommand).de(de_RequestSpotFleetCommand).build() {\n static {\n __name(this, \"RequestSpotFleetCommand\");\n }\n};\n\n// src/commands/RequestSpotInstancesCommand.ts\n\n\n\nvar RequestSpotInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RequestSpotInstances\", {}).n(\"EC2Client\", \"RequestSpotInstancesCommand\").f(RequestSpotInstancesRequestFilterSensitiveLog, RequestSpotInstancesResultFilterSensitiveLog).ser(se_RequestSpotInstancesCommand).de(de_RequestSpotInstancesCommand).build() {\n static {\n __name(this, \"RequestSpotInstancesCommand\");\n }\n};\n\n// src/commands/ResetAddressAttributeCommand.ts\n\n\n\nvar ResetAddressAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetAddressAttribute\", {}).n(\"EC2Client\", \"ResetAddressAttributeCommand\").f(void 0, void 0).ser(se_ResetAddressAttributeCommand).de(de_ResetAddressAttributeCommand).build() {\n static {\n __name(this, \"ResetAddressAttributeCommand\");\n }\n};\n\n// src/commands/ResetEbsDefaultKmsKeyIdCommand.ts\n\n\n\nvar ResetEbsDefaultKmsKeyIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetEbsDefaultKmsKeyId\", {}).n(\"EC2Client\", \"ResetEbsDefaultKmsKeyIdCommand\").f(void 0, void 0).ser(se_ResetEbsDefaultKmsKeyIdCommand).de(de_ResetEbsDefaultKmsKeyIdCommand).build() {\n static {\n __name(this, \"ResetEbsDefaultKmsKeyIdCommand\");\n }\n};\n\n// src/commands/ResetFpgaImageAttributeCommand.ts\n\n\n\nvar ResetFpgaImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetFpgaImageAttribute\", {}).n(\"EC2Client\", \"ResetFpgaImageAttributeCommand\").f(void 0, void 0).ser(se_ResetFpgaImageAttributeCommand).de(de_ResetFpgaImageAttributeCommand).build() {\n static {\n __name(this, \"ResetFpgaImageAttributeCommand\");\n }\n};\n\n// src/commands/ResetImageAttributeCommand.ts\n\n\n\nvar ResetImageAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetImageAttribute\", {}).n(\"EC2Client\", \"ResetImageAttributeCommand\").f(void 0, void 0).ser(se_ResetImageAttributeCommand).de(de_ResetImageAttributeCommand).build() {\n static {\n __name(this, \"ResetImageAttributeCommand\");\n }\n};\n\n// src/commands/ResetInstanceAttributeCommand.ts\n\n\n\nvar ResetInstanceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetInstanceAttribute\", {}).n(\"EC2Client\", \"ResetInstanceAttributeCommand\").f(void 0, void 0).ser(se_ResetInstanceAttributeCommand).de(de_ResetInstanceAttributeCommand).build() {\n static {\n __name(this, \"ResetInstanceAttributeCommand\");\n }\n};\n\n// src/commands/ResetNetworkInterfaceAttributeCommand.ts\n\n\n\nvar ResetNetworkInterfaceAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetNetworkInterfaceAttribute\", {}).n(\"EC2Client\", \"ResetNetworkInterfaceAttributeCommand\").f(void 0, void 0).ser(se_ResetNetworkInterfaceAttributeCommand).de(de_ResetNetworkInterfaceAttributeCommand).build() {\n static {\n __name(this, \"ResetNetworkInterfaceAttributeCommand\");\n }\n};\n\n// src/commands/ResetSnapshotAttributeCommand.ts\n\n\n\nvar ResetSnapshotAttributeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"ResetSnapshotAttribute\", {}).n(\"EC2Client\", \"ResetSnapshotAttributeCommand\").f(void 0, void 0).ser(se_ResetSnapshotAttributeCommand).de(de_ResetSnapshotAttributeCommand).build() {\n static {\n __name(this, \"ResetSnapshotAttributeCommand\");\n }\n};\n\n// src/commands/RestoreAddressToClassicCommand.ts\n\n\n\nvar RestoreAddressToClassicCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RestoreAddressToClassic\", {}).n(\"EC2Client\", \"RestoreAddressToClassicCommand\").f(void 0, void 0).ser(se_RestoreAddressToClassicCommand).de(de_RestoreAddressToClassicCommand).build() {\n static {\n __name(this, \"RestoreAddressToClassicCommand\");\n }\n};\n\n// src/commands/RestoreImageFromRecycleBinCommand.ts\n\n\n\nvar RestoreImageFromRecycleBinCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RestoreImageFromRecycleBin\", {}).n(\"EC2Client\", \"RestoreImageFromRecycleBinCommand\").f(void 0, void 0).ser(se_RestoreImageFromRecycleBinCommand).de(de_RestoreImageFromRecycleBinCommand).build() {\n static {\n __name(this, \"RestoreImageFromRecycleBinCommand\");\n }\n};\n\n// src/commands/RestoreManagedPrefixListVersionCommand.ts\n\n\n\nvar RestoreManagedPrefixListVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RestoreManagedPrefixListVersion\", {}).n(\"EC2Client\", \"RestoreManagedPrefixListVersionCommand\").f(void 0, void 0).ser(se_RestoreManagedPrefixListVersionCommand).de(de_RestoreManagedPrefixListVersionCommand).build() {\n static {\n __name(this, \"RestoreManagedPrefixListVersionCommand\");\n }\n};\n\n// src/commands/RestoreSnapshotFromRecycleBinCommand.ts\n\n\n\nvar RestoreSnapshotFromRecycleBinCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RestoreSnapshotFromRecycleBin\", {}).n(\"EC2Client\", \"RestoreSnapshotFromRecycleBinCommand\").f(void 0, void 0).ser(se_RestoreSnapshotFromRecycleBinCommand).de(de_RestoreSnapshotFromRecycleBinCommand).build() {\n static {\n __name(this, \"RestoreSnapshotFromRecycleBinCommand\");\n }\n};\n\n// src/commands/RestoreSnapshotTierCommand.ts\n\n\n\nvar RestoreSnapshotTierCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RestoreSnapshotTier\", {}).n(\"EC2Client\", \"RestoreSnapshotTierCommand\").f(void 0, void 0).ser(se_RestoreSnapshotTierCommand).de(de_RestoreSnapshotTierCommand).build() {\n static {\n __name(this, \"RestoreSnapshotTierCommand\");\n }\n};\n\n// src/commands/RevokeClientVpnIngressCommand.ts\n\n\n\nvar RevokeClientVpnIngressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RevokeClientVpnIngress\", {}).n(\"EC2Client\", \"RevokeClientVpnIngressCommand\").f(void 0, void 0).ser(se_RevokeClientVpnIngressCommand).de(de_RevokeClientVpnIngressCommand).build() {\n static {\n __name(this, \"RevokeClientVpnIngressCommand\");\n }\n};\n\n// src/commands/RevokeSecurityGroupEgressCommand.ts\n\n\n\nvar RevokeSecurityGroupEgressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RevokeSecurityGroupEgress\", {}).n(\"EC2Client\", \"RevokeSecurityGroupEgressCommand\").f(void 0, void 0).ser(se_RevokeSecurityGroupEgressCommand).de(de_RevokeSecurityGroupEgressCommand).build() {\n static {\n __name(this, \"RevokeSecurityGroupEgressCommand\");\n }\n};\n\n// src/commands/RevokeSecurityGroupIngressCommand.ts\n\n\n\nvar RevokeSecurityGroupIngressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RevokeSecurityGroupIngress\", {}).n(\"EC2Client\", \"RevokeSecurityGroupIngressCommand\").f(void 0, void 0).ser(se_RevokeSecurityGroupIngressCommand).de(de_RevokeSecurityGroupIngressCommand).build() {\n static {\n __name(this, \"RevokeSecurityGroupIngressCommand\");\n }\n};\n\n// src/commands/RunInstancesCommand.ts\n\n\n\nvar RunInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RunInstances\", {}).n(\"EC2Client\", \"RunInstancesCommand\").f(RunInstancesRequestFilterSensitiveLog, void 0).ser(se_RunInstancesCommand).de(de_RunInstancesCommand).build() {\n static {\n __name(this, \"RunInstancesCommand\");\n }\n};\n\n// src/commands/RunScheduledInstancesCommand.ts\n\n\n\nvar RunScheduledInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"RunScheduledInstances\", {}).n(\"EC2Client\", \"RunScheduledInstancesCommand\").f(RunScheduledInstancesRequestFilterSensitiveLog, void 0).ser(se_RunScheduledInstancesCommand).de(de_RunScheduledInstancesCommand).build() {\n static {\n __name(this, \"RunScheduledInstancesCommand\");\n }\n};\n\n// src/commands/SearchLocalGatewayRoutesCommand.ts\n\n\n\nvar SearchLocalGatewayRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"SearchLocalGatewayRoutes\", {}).n(\"EC2Client\", \"SearchLocalGatewayRoutesCommand\").f(void 0, void 0).ser(se_SearchLocalGatewayRoutesCommand).de(de_SearchLocalGatewayRoutesCommand).build() {\n static {\n __name(this, \"SearchLocalGatewayRoutesCommand\");\n }\n};\n\n// src/commands/SearchTransitGatewayMulticastGroupsCommand.ts\n\n\n\nvar SearchTransitGatewayMulticastGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"SearchTransitGatewayMulticastGroups\", {}).n(\"EC2Client\", \"SearchTransitGatewayMulticastGroupsCommand\").f(void 0, void 0).ser(se_SearchTransitGatewayMulticastGroupsCommand).de(de_SearchTransitGatewayMulticastGroupsCommand).build() {\n static {\n __name(this, \"SearchTransitGatewayMulticastGroupsCommand\");\n }\n};\n\n// src/commands/SearchTransitGatewayRoutesCommand.ts\n\n\n\nvar SearchTransitGatewayRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"SearchTransitGatewayRoutes\", {}).n(\"EC2Client\", \"SearchTransitGatewayRoutesCommand\").f(void 0, void 0).ser(se_SearchTransitGatewayRoutesCommand).de(de_SearchTransitGatewayRoutesCommand).build() {\n static {\n __name(this, \"SearchTransitGatewayRoutesCommand\");\n }\n};\n\n// src/commands/SendDiagnosticInterruptCommand.ts\n\n\n\nvar SendDiagnosticInterruptCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"SendDiagnosticInterrupt\", {}).n(\"EC2Client\", \"SendDiagnosticInterruptCommand\").f(void 0, void 0).ser(se_SendDiagnosticInterruptCommand).de(de_SendDiagnosticInterruptCommand).build() {\n static {\n __name(this, \"SendDiagnosticInterruptCommand\");\n }\n};\n\n// src/commands/StartDeclarativePoliciesReportCommand.ts\n\n\n\nvar StartDeclarativePoliciesReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StartDeclarativePoliciesReport\", {}).n(\"EC2Client\", \"StartDeclarativePoliciesReportCommand\").f(void 0, void 0).ser(se_StartDeclarativePoliciesReportCommand).de(de_StartDeclarativePoliciesReportCommand).build() {\n static {\n __name(this, \"StartDeclarativePoliciesReportCommand\");\n }\n};\n\n// src/commands/StartInstancesCommand.ts\n\n\n\nvar StartInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StartInstances\", {}).n(\"EC2Client\", \"StartInstancesCommand\").f(void 0, void 0).ser(se_StartInstancesCommand).de(de_StartInstancesCommand).build() {\n static {\n __name(this, \"StartInstancesCommand\");\n }\n};\n\n// src/commands/StartNetworkInsightsAccessScopeAnalysisCommand.ts\n\n\n\nvar StartNetworkInsightsAccessScopeAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StartNetworkInsightsAccessScopeAnalysis\", {}).n(\"EC2Client\", \"StartNetworkInsightsAccessScopeAnalysisCommand\").f(void 0, void 0).ser(se_StartNetworkInsightsAccessScopeAnalysisCommand).de(de_StartNetworkInsightsAccessScopeAnalysisCommand).build() {\n static {\n __name(this, \"StartNetworkInsightsAccessScopeAnalysisCommand\");\n }\n};\n\n// src/commands/StartNetworkInsightsAnalysisCommand.ts\n\n\n\nvar StartNetworkInsightsAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StartNetworkInsightsAnalysis\", {}).n(\"EC2Client\", \"StartNetworkInsightsAnalysisCommand\").f(void 0, void 0).ser(se_StartNetworkInsightsAnalysisCommand).de(de_StartNetworkInsightsAnalysisCommand).build() {\n static {\n __name(this, \"StartNetworkInsightsAnalysisCommand\");\n }\n};\n\n// src/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts\n\n\n\nvar StartVpcEndpointServicePrivateDnsVerificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StartVpcEndpointServicePrivateDnsVerification\", {}).n(\"EC2Client\", \"StartVpcEndpointServicePrivateDnsVerificationCommand\").f(void 0, void 0).ser(se_StartVpcEndpointServicePrivateDnsVerificationCommand).de(de_StartVpcEndpointServicePrivateDnsVerificationCommand).build() {\n static {\n __name(this, \"StartVpcEndpointServicePrivateDnsVerificationCommand\");\n }\n};\n\n// src/commands/StopInstancesCommand.ts\n\n\n\nvar StopInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"StopInstances\", {}).n(\"EC2Client\", \"StopInstancesCommand\").f(void 0, void 0).ser(se_StopInstancesCommand).de(de_StopInstancesCommand).build() {\n static {\n __name(this, \"StopInstancesCommand\");\n }\n};\n\n// src/commands/TerminateClientVpnConnectionsCommand.ts\n\n\n\nvar TerminateClientVpnConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"TerminateClientVpnConnections\", {}).n(\"EC2Client\", \"TerminateClientVpnConnectionsCommand\").f(void 0, void 0).ser(se_TerminateClientVpnConnectionsCommand).de(de_TerminateClientVpnConnectionsCommand).build() {\n static {\n __name(this, \"TerminateClientVpnConnectionsCommand\");\n }\n};\n\n// src/commands/TerminateInstancesCommand.ts\n\n\n\nvar TerminateInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"TerminateInstances\", {}).n(\"EC2Client\", \"TerminateInstancesCommand\").f(void 0, void 0).ser(se_TerminateInstancesCommand).de(de_TerminateInstancesCommand).build() {\n static {\n __name(this, \"TerminateInstancesCommand\");\n }\n};\n\n// src/commands/UnassignIpv6AddressesCommand.ts\n\n\n\nvar UnassignIpv6AddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UnassignIpv6Addresses\", {}).n(\"EC2Client\", \"UnassignIpv6AddressesCommand\").f(void 0, void 0).ser(se_UnassignIpv6AddressesCommand).de(de_UnassignIpv6AddressesCommand).build() {\n static {\n __name(this, \"UnassignIpv6AddressesCommand\");\n }\n};\n\n// src/commands/UnassignPrivateIpAddressesCommand.ts\n\n\n\nvar UnassignPrivateIpAddressesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UnassignPrivateIpAddresses\", {}).n(\"EC2Client\", \"UnassignPrivateIpAddressesCommand\").f(void 0, void 0).ser(se_UnassignPrivateIpAddressesCommand).de(de_UnassignPrivateIpAddressesCommand).build() {\n static {\n __name(this, \"UnassignPrivateIpAddressesCommand\");\n }\n};\n\n// src/commands/UnassignPrivateNatGatewayAddressCommand.ts\n\n\n\nvar UnassignPrivateNatGatewayAddressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UnassignPrivateNatGatewayAddress\", {}).n(\"EC2Client\", \"UnassignPrivateNatGatewayAddressCommand\").f(void 0, void 0).ser(se_UnassignPrivateNatGatewayAddressCommand).de(de_UnassignPrivateNatGatewayAddressCommand).build() {\n static {\n __name(this, \"UnassignPrivateNatGatewayAddressCommand\");\n }\n};\n\n// src/commands/UnlockSnapshotCommand.ts\n\n\n\nvar UnlockSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UnlockSnapshot\", {}).n(\"EC2Client\", \"UnlockSnapshotCommand\").f(void 0, void 0).ser(se_UnlockSnapshotCommand).de(de_UnlockSnapshotCommand).build() {\n static {\n __name(this, \"UnlockSnapshotCommand\");\n }\n};\n\n// src/commands/UnmonitorInstancesCommand.ts\n\n\n\nvar UnmonitorInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UnmonitorInstances\", {}).n(\"EC2Client\", \"UnmonitorInstancesCommand\").f(void 0, void 0).ser(se_UnmonitorInstancesCommand).de(de_UnmonitorInstancesCommand).build() {\n static {\n __name(this, \"UnmonitorInstancesCommand\");\n }\n};\n\n// src/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts\n\n\n\nvar UpdateSecurityGroupRuleDescriptionsEgressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UpdateSecurityGroupRuleDescriptionsEgress\", {}).n(\"EC2Client\", \"UpdateSecurityGroupRuleDescriptionsEgressCommand\").f(void 0, void 0).ser(se_UpdateSecurityGroupRuleDescriptionsEgressCommand).de(de_UpdateSecurityGroupRuleDescriptionsEgressCommand).build() {\n static {\n __name(this, \"UpdateSecurityGroupRuleDescriptionsEgressCommand\");\n }\n};\n\n// src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts\n\n\n\nvar UpdateSecurityGroupRuleDescriptionsIngressCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"UpdateSecurityGroupRuleDescriptionsIngress\", {}).n(\"EC2Client\", \"UpdateSecurityGroupRuleDescriptionsIngressCommand\").f(void 0, void 0).ser(se_UpdateSecurityGroupRuleDescriptionsIngressCommand).de(de_UpdateSecurityGroupRuleDescriptionsIngressCommand).build() {\n static {\n __name(this, \"UpdateSecurityGroupRuleDescriptionsIngressCommand\");\n }\n};\n\n// src/commands/WithdrawByoipCidrCommand.ts\n\n\n\nvar WithdrawByoipCidrCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2\", \"WithdrawByoipCidr\", {}).n(\"EC2Client\", \"WithdrawByoipCidrCommand\").f(void 0, void 0).ser(se_WithdrawByoipCidrCommand).de(de_WithdrawByoipCidrCommand).build() {\n static {\n __name(this, \"WithdrawByoipCidrCommand\");\n }\n};\n\n// src/EC2.ts\nvar commands = {\n AcceptAddressTransferCommand,\n AcceptCapacityReservationBillingOwnershipCommand,\n AcceptReservedInstancesExchangeQuoteCommand,\n AcceptTransitGatewayMulticastDomainAssociationsCommand,\n AcceptTransitGatewayPeeringAttachmentCommand,\n AcceptTransitGatewayVpcAttachmentCommand,\n AcceptVpcEndpointConnectionsCommand,\n AcceptVpcPeeringConnectionCommand,\n AdvertiseByoipCidrCommand,\n AllocateAddressCommand,\n AllocateHostsCommand,\n AllocateIpamPoolCidrCommand,\n ApplySecurityGroupsToClientVpnTargetNetworkCommand,\n AssignIpv6AddressesCommand,\n AssignPrivateIpAddressesCommand,\n AssignPrivateNatGatewayAddressCommand,\n AssociateAddressCommand,\n AssociateCapacityReservationBillingOwnerCommand,\n AssociateClientVpnTargetNetworkCommand,\n AssociateDhcpOptionsCommand,\n AssociateEnclaveCertificateIamRoleCommand,\n AssociateIamInstanceProfileCommand,\n AssociateInstanceEventWindowCommand,\n AssociateIpamByoasnCommand,\n AssociateIpamResourceDiscoveryCommand,\n AssociateNatGatewayAddressCommand,\n AssociateRouteServerCommand,\n AssociateRouteTableCommand,\n AssociateSecurityGroupVpcCommand,\n AssociateSubnetCidrBlockCommand,\n AssociateTransitGatewayMulticastDomainCommand,\n AssociateTransitGatewayPolicyTableCommand,\n AssociateTransitGatewayRouteTableCommand,\n AssociateTrunkInterfaceCommand,\n AssociateVpcCidrBlockCommand,\n AttachClassicLinkVpcCommand,\n AttachInternetGatewayCommand,\n AttachNetworkInterfaceCommand,\n AttachVerifiedAccessTrustProviderCommand,\n AttachVolumeCommand,\n AttachVpnGatewayCommand,\n AuthorizeClientVpnIngressCommand,\n AuthorizeSecurityGroupEgressCommand,\n AuthorizeSecurityGroupIngressCommand,\n BundleInstanceCommand,\n CancelBundleTaskCommand,\n CancelCapacityReservationCommand,\n CancelCapacityReservationFleetsCommand,\n CancelConversionTaskCommand,\n CancelDeclarativePoliciesReportCommand,\n CancelExportTaskCommand,\n CancelImageLaunchPermissionCommand,\n CancelImportTaskCommand,\n CancelReservedInstancesListingCommand,\n CancelSpotFleetRequestsCommand,\n CancelSpotInstanceRequestsCommand,\n ConfirmProductInstanceCommand,\n CopyFpgaImageCommand,\n CopyImageCommand,\n CopySnapshotCommand,\n CreateCapacityReservationCommand,\n CreateCapacityReservationBySplittingCommand,\n CreateCapacityReservationFleetCommand,\n CreateCarrierGatewayCommand,\n CreateClientVpnEndpointCommand,\n CreateClientVpnRouteCommand,\n CreateCoipCidrCommand,\n CreateCoipPoolCommand,\n CreateCustomerGatewayCommand,\n CreateDefaultSubnetCommand,\n CreateDefaultVpcCommand,\n CreateDhcpOptionsCommand,\n CreateEgressOnlyInternetGatewayCommand,\n CreateFleetCommand,\n CreateFlowLogsCommand,\n CreateFpgaImageCommand,\n CreateImageCommand,\n CreateInstanceConnectEndpointCommand,\n CreateInstanceEventWindowCommand,\n CreateInstanceExportTaskCommand,\n CreateInternetGatewayCommand,\n CreateIpamCommand,\n CreateIpamExternalResourceVerificationTokenCommand,\n CreateIpamPoolCommand,\n CreateIpamResourceDiscoveryCommand,\n CreateIpamScopeCommand,\n CreateKeyPairCommand,\n CreateLaunchTemplateCommand,\n CreateLaunchTemplateVersionCommand,\n CreateLocalGatewayRouteCommand,\n CreateLocalGatewayRouteTableCommand,\n CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n CreateLocalGatewayRouteTableVpcAssociationCommand,\n CreateLocalGatewayVirtualInterfaceCommand,\n CreateLocalGatewayVirtualInterfaceGroupCommand,\n CreateManagedPrefixListCommand,\n CreateNatGatewayCommand,\n CreateNetworkAclCommand,\n CreateNetworkAclEntryCommand,\n CreateNetworkInsightsAccessScopeCommand,\n CreateNetworkInsightsPathCommand,\n CreateNetworkInterfaceCommand,\n CreateNetworkInterfacePermissionCommand,\n CreatePlacementGroupCommand,\n CreatePublicIpv4PoolCommand,\n CreateReplaceRootVolumeTaskCommand,\n CreateReservedInstancesListingCommand,\n CreateRestoreImageTaskCommand,\n CreateRouteCommand,\n CreateRouteServerCommand,\n CreateRouteServerEndpointCommand,\n CreateRouteServerPeerCommand,\n CreateRouteTableCommand,\n CreateSecurityGroupCommand,\n CreateSnapshotCommand,\n CreateSnapshotsCommand,\n CreateSpotDatafeedSubscriptionCommand,\n CreateStoreImageTaskCommand,\n CreateSubnetCommand,\n CreateSubnetCidrReservationCommand,\n CreateTagsCommand,\n CreateTrafficMirrorFilterCommand,\n CreateTrafficMirrorFilterRuleCommand,\n CreateTrafficMirrorSessionCommand,\n CreateTrafficMirrorTargetCommand,\n CreateTransitGatewayCommand,\n CreateTransitGatewayConnectCommand,\n CreateTransitGatewayConnectPeerCommand,\n CreateTransitGatewayMulticastDomainCommand,\n CreateTransitGatewayPeeringAttachmentCommand,\n CreateTransitGatewayPolicyTableCommand,\n CreateTransitGatewayPrefixListReferenceCommand,\n CreateTransitGatewayRouteCommand,\n CreateTransitGatewayRouteTableCommand,\n CreateTransitGatewayRouteTableAnnouncementCommand,\n CreateTransitGatewayVpcAttachmentCommand,\n CreateVerifiedAccessEndpointCommand,\n CreateVerifiedAccessGroupCommand,\n CreateVerifiedAccessInstanceCommand,\n CreateVerifiedAccessTrustProviderCommand,\n CreateVolumeCommand,\n CreateVpcCommand,\n CreateVpcBlockPublicAccessExclusionCommand,\n CreateVpcEndpointCommand,\n CreateVpcEndpointConnectionNotificationCommand,\n CreateVpcEndpointServiceConfigurationCommand,\n CreateVpcPeeringConnectionCommand,\n CreateVpnConnectionCommand,\n CreateVpnConnectionRouteCommand,\n CreateVpnGatewayCommand,\n DeleteCarrierGatewayCommand,\n DeleteClientVpnEndpointCommand,\n DeleteClientVpnRouteCommand,\n DeleteCoipCidrCommand,\n DeleteCoipPoolCommand,\n DeleteCustomerGatewayCommand,\n DeleteDhcpOptionsCommand,\n DeleteEgressOnlyInternetGatewayCommand,\n DeleteFleetsCommand,\n DeleteFlowLogsCommand,\n DeleteFpgaImageCommand,\n DeleteInstanceConnectEndpointCommand,\n DeleteInstanceEventWindowCommand,\n DeleteInternetGatewayCommand,\n DeleteIpamCommand,\n DeleteIpamExternalResourceVerificationTokenCommand,\n DeleteIpamPoolCommand,\n DeleteIpamResourceDiscoveryCommand,\n DeleteIpamScopeCommand,\n DeleteKeyPairCommand,\n DeleteLaunchTemplateCommand,\n DeleteLaunchTemplateVersionsCommand,\n DeleteLocalGatewayRouteCommand,\n DeleteLocalGatewayRouteTableCommand,\n DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n DeleteLocalGatewayRouteTableVpcAssociationCommand,\n DeleteLocalGatewayVirtualInterfaceCommand,\n DeleteLocalGatewayVirtualInterfaceGroupCommand,\n DeleteManagedPrefixListCommand,\n DeleteNatGatewayCommand,\n DeleteNetworkAclCommand,\n DeleteNetworkAclEntryCommand,\n DeleteNetworkInsightsAccessScopeCommand,\n DeleteNetworkInsightsAccessScopeAnalysisCommand,\n DeleteNetworkInsightsAnalysisCommand,\n DeleteNetworkInsightsPathCommand,\n DeleteNetworkInterfaceCommand,\n DeleteNetworkInterfacePermissionCommand,\n DeletePlacementGroupCommand,\n DeletePublicIpv4PoolCommand,\n DeleteQueuedReservedInstancesCommand,\n DeleteRouteCommand,\n DeleteRouteServerCommand,\n DeleteRouteServerEndpointCommand,\n DeleteRouteServerPeerCommand,\n DeleteRouteTableCommand,\n DeleteSecurityGroupCommand,\n DeleteSnapshotCommand,\n DeleteSpotDatafeedSubscriptionCommand,\n DeleteSubnetCommand,\n DeleteSubnetCidrReservationCommand,\n DeleteTagsCommand,\n DeleteTrafficMirrorFilterCommand,\n DeleteTrafficMirrorFilterRuleCommand,\n DeleteTrafficMirrorSessionCommand,\n DeleteTrafficMirrorTargetCommand,\n DeleteTransitGatewayCommand,\n DeleteTransitGatewayConnectCommand,\n DeleteTransitGatewayConnectPeerCommand,\n DeleteTransitGatewayMulticastDomainCommand,\n DeleteTransitGatewayPeeringAttachmentCommand,\n DeleteTransitGatewayPolicyTableCommand,\n DeleteTransitGatewayPrefixListReferenceCommand,\n DeleteTransitGatewayRouteCommand,\n DeleteTransitGatewayRouteTableCommand,\n DeleteTransitGatewayRouteTableAnnouncementCommand,\n DeleteTransitGatewayVpcAttachmentCommand,\n DeleteVerifiedAccessEndpointCommand,\n DeleteVerifiedAccessGroupCommand,\n DeleteVerifiedAccessInstanceCommand,\n DeleteVerifiedAccessTrustProviderCommand,\n DeleteVolumeCommand,\n DeleteVpcCommand,\n DeleteVpcBlockPublicAccessExclusionCommand,\n DeleteVpcEndpointConnectionNotificationsCommand,\n DeleteVpcEndpointsCommand,\n DeleteVpcEndpointServiceConfigurationsCommand,\n DeleteVpcPeeringConnectionCommand,\n DeleteVpnConnectionCommand,\n DeleteVpnConnectionRouteCommand,\n DeleteVpnGatewayCommand,\n DeprovisionByoipCidrCommand,\n DeprovisionIpamByoasnCommand,\n DeprovisionIpamPoolCidrCommand,\n DeprovisionPublicIpv4PoolCidrCommand,\n DeregisterImageCommand,\n DeregisterInstanceEventNotificationAttributesCommand,\n DeregisterTransitGatewayMulticastGroupMembersCommand,\n DeregisterTransitGatewayMulticastGroupSourcesCommand,\n DescribeAccountAttributesCommand,\n DescribeAddressesCommand,\n DescribeAddressesAttributeCommand,\n DescribeAddressTransfersCommand,\n DescribeAggregateIdFormatCommand,\n DescribeAvailabilityZonesCommand,\n DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,\n DescribeBundleTasksCommand,\n DescribeByoipCidrsCommand,\n DescribeCapacityBlockExtensionHistoryCommand,\n DescribeCapacityBlockExtensionOfferingsCommand,\n DescribeCapacityBlockOfferingsCommand,\n DescribeCapacityReservationBillingRequestsCommand,\n DescribeCapacityReservationFleetsCommand,\n DescribeCapacityReservationsCommand,\n DescribeCarrierGatewaysCommand,\n DescribeClassicLinkInstancesCommand,\n DescribeClientVpnAuthorizationRulesCommand,\n DescribeClientVpnConnectionsCommand,\n DescribeClientVpnEndpointsCommand,\n DescribeClientVpnRoutesCommand,\n DescribeClientVpnTargetNetworksCommand,\n DescribeCoipPoolsCommand,\n DescribeConversionTasksCommand,\n DescribeCustomerGatewaysCommand,\n DescribeDeclarativePoliciesReportsCommand,\n DescribeDhcpOptionsCommand,\n DescribeEgressOnlyInternetGatewaysCommand,\n DescribeElasticGpusCommand,\n DescribeExportImageTasksCommand,\n DescribeExportTasksCommand,\n DescribeFastLaunchImagesCommand,\n DescribeFastSnapshotRestoresCommand,\n DescribeFleetHistoryCommand,\n DescribeFleetInstancesCommand,\n DescribeFleetsCommand,\n DescribeFlowLogsCommand,\n DescribeFpgaImageAttributeCommand,\n DescribeFpgaImagesCommand,\n DescribeHostReservationOfferingsCommand,\n DescribeHostReservationsCommand,\n DescribeHostsCommand,\n DescribeIamInstanceProfileAssociationsCommand,\n DescribeIdentityIdFormatCommand,\n DescribeIdFormatCommand,\n DescribeImageAttributeCommand,\n DescribeImagesCommand,\n DescribeImportImageTasksCommand,\n DescribeImportSnapshotTasksCommand,\n DescribeInstanceAttributeCommand,\n DescribeInstanceConnectEndpointsCommand,\n DescribeInstanceCreditSpecificationsCommand,\n DescribeInstanceEventNotificationAttributesCommand,\n DescribeInstanceEventWindowsCommand,\n DescribeInstanceImageMetadataCommand,\n DescribeInstancesCommand,\n DescribeInstanceStatusCommand,\n DescribeInstanceTopologyCommand,\n DescribeInstanceTypeOfferingsCommand,\n DescribeInstanceTypesCommand,\n DescribeInternetGatewaysCommand,\n DescribeIpamByoasnCommand,\n DescribeIpamExternalResourceVerificationTokensCommand,\n DescribeIpamPoolsCommand,\n DescribeIpamResourceDiscoveriesCommand,\n DescribeIpamResourceDiscoveryAssociationsCommand,\n DescribeIpamsCommand,\n DescribeIpamScopesCommand,\n DescribeIpv6PoolsCommand,\n DescribeKeyPairsCommand,\n DescribeLaunchTemplatesCommand,\n DescribeLaunchTemplateVersionsCommand,\n DescribeLocalGatewayRouteTablesCommand,\n DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,\n DescribeLocalGatewayRouteTableVpcAssociationsCommand,\n DescribeLocalGatewaysCommand,\n DescribeLocalGatewayVirtualInterfaceGroupsCommand,\n DescribeLocalGatewayVirtualInterfacesCommand,\n DescribeLockedSnapshotsCommand,\n DescribeMacHostsCommand,\n DescribeManagedPrefixListsCommand,\n DescribeMovingAddressesCommand,\n DescribeNatGatewaysCommand,\n DescribeNetworkAclsCommand,\n DescribeNetworkInsightsAccessScopeAnalysesCommand,\n DescribeNetworkInsightsAccessScopesCommand,\n DescribeNetworkInsightsAnalysesCommand,\n DescribeNetworkInsightsPathsCommand,\n DescribeNetworkInterfaceAttributeCommand,\n DescribeNetworkInterfacePermissionsCommand,\n DescribeNetworkInterfacesCommand,\n DescribeOutpostLagsCommand,\n DescribePlacementGroupsCommand,\n DescribePrefixListsCommand,\n DescribePrincipalIdFormatCommand,\n DescribePublicIpv4PoolsCommand,\n DescribeRegionsCommand,\n DescribeReplaceRootVolumeTasksCommand,\n DescribeReservedInstancesCommand,\n DescribeReservedInstancesListingsCommand,\n DescribeReservedInstancesModificationsCommand,\n DescribeReservedInstancesOfferingsCommand,\n DescribeRouteServerEndpointsCommand,\n DescribeRouteServerPeersCommand,\n DescribeRouteServersCommand,\n DescribeRouteTablesCommand,\n DescribeScheduledInstanceAvailabilityCommand,\n DescribeScheduledInstancesCommand,\n DescribeSecurityGroupReferencesCommand,\n DescribeSecurityGroupRulesCommand,\n DescribeSecurityGroupsCommand,\n DescribeSecurityGroupVpcAssociationsCommand,\n DescribeServiceLinkVirtualInterfacesCommand,\n DescribeSnapshotAttributeCommand,\n DescribeSnapshotsCommand,\n DescribeSnapshotTierStatusCommand,\n DescribeSpotDatafeedSubscriptionCommand,\n DescribeSpotFleetInstancesCommand,\n DescribeSpotFleetRequestHistoryCommand,\n DescribeSpotFleetRequestsCommand,\n DescribeSpotInstanceRequestsCommand,\n DescribeSpotPriceHistoryCommand,\n DescribeStaleSecurityGroupsCommand,\n DescribeStoreImageTasksCommand,\n DescribeSubnetsCommand,\n DescribeTagsCommand,\n DescribeTrafficMirrorFilterRulesCommand,\n DescribeTrafficMirrorFiltersCommand,\n DescribeTrafficMirrorSessionsCommand,\n DescribeTrafficMirrorTargetsCommand,\n DescribeTransitGatewayAttachmentsCommand,\n DescribeTransitGatewayConnectPeersCommand,\n DescribeTransitGatewayConnectsCommand,\n DescribeTransitGatewayMulticastDomainsCommand,\n DescribeTransitGatewayPeeringAttachmentsCommand,\n DescribeTransitGatewayPolicyTablesCommand,\n DescribeTransitGatewayRouteTableAnnouncementsCommand,\n DescribeTransitGatewayRouteTablesCommand,\n DescribeTransitGatewaysCommand,\n DescribeTransitGatewayVpcAttachmentsCommand,\n DescribeTrunkInterfaceAssociationsCommand,\n DescribeVerifiedAccessEndpointsCommand,\n DescribeVerifiedAccessGroupsCommand,\n DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,\n DescribeVerifiedAccessInstancesCommand,\n DescribeVerifiedAccessTrustProvidersCommand,\n DescribeVolumeAttributeCommand,\n DescribeVolumesCommand,\n DescribeVolumesModificationsCommand,\n DescribeVolumeStatusCommand,\n DescribeVpcAttributeCommand,\n DescribeVpcBlockPublicAccessExclusionsCommand,\n DescribeVpcBlockPublicAccessOptionsCommand,\n DescribeVpcClassicLinkCommand,\n DescribeVpcClassicLinkDnsSupportCommand,\n DescribeVpcEndpointAssociationsCommand,\n DescribeVpcEndpointConnectionNotificationsCommand,\n DescribeVpcEndpointConnectionsCommand,\n DescribeVpcEndpointsCommand,\n DescribeVpcEndpointServiceConfigurationsCommand,\n DescribeVpcEndpointServicePermissionsCommand,\n DescribeVpcEndpointServicesCommand,\n DescribeVpcPeeringConnectionsCommand,\n DescribeVpcsCommand,\n DescribeVpnConnectionsCommand,\n DescribeVpnGatewaysCommand,\n DetachClassicLinkVpcCommand,\n DetachInternetGatewayCommand,\n DetachNetworkInterfaceCommand,\n DetachVerifiedAccessTrustProviderCommand,\n DetachVolumeCommand,\n DetachVpnGatewayCommand,\n DisableAddressTransferCommand,\n DisableAllowedImagesSettingsCommand,\n DisableAwsNetworkPerformanceMetricSubscriptionCommand,\n DisableEbsEncryptionByDefaultCommand,\n DisableFastLaunchCommand,\n DisableFastSnapshotRestoresCommand,\n DisableImageCommand,\n DisableImageBlockPublicAccessCommand,\n DisableImageDeprecationCommand,\n DisableImageDeregistrationProtectionCommand,\n DisableIpamOrganizationAdminAccountCommand,\n DisableRouteServerPropagationCommand,\n DisableSerialConsoleAccessCommand,\n DisableSnapshotBlockPublicAccessCommand,\n DisableTransitGatewayRouteTablePropagationCommand,\n DisableVgwRoutePropagationCommand,\n DisableVpcClassicLinkCommand,\n DisableVpcClassicLinkDnsSupportCommand,\n DisassociateAddressCommand,\n DisassociateCapacityReservationBillingOwnerCommand,\n DisassociateClientVpnTargetNetworkCommand,\n DisassociateEnclaveCertificateIamRoleCommand,\n DisassociateIamInstanceProfileCommand,\n DisassociateInstanceEventWindowCommand,\n DisassociateIpamByoasnCommand,\n DisassociateIpamResourceDiscoveryCommand,\n DisassociateNatGatewayAddressCommand,\n DisassociateRouteServerCommand,\n DisassociateRouteTableCommand,\n DisassociateSecurityGroupVpcCommand,\n DisassociateSubnetCidrBlockCommand,\n DisassociateTransitGatewayMulticastDomainCommand,\n DisassociateTransitGatewayPolicyTableCommand,\n DisassociateTransitGatewayRouteTableCommand,\n DisassociateTrunkInterfaceCommand,\n DisassociateVpcCidrBlockCommand,\n EnableAddressTransferCommand,\n EnableAllowedImagesSettingsCommand,\n EnableAwsNetworkPerformanceMetricSubscriptionCommand,\n EnableEbsEncryptionByDefaultCommand,\n EnableFastLaunchCommand,\n EnableFastSnapshotRestoresCommand,\n EnableImageCommand,\n EnableImageBlockPublicAccessCommand,\n EnableImageDeprecationCommand,\n EnableImageDeregistrationProtectionCommand,\n EnableIpamOrganizationAdminAccountCommand,\n EnableReachabilityAnalyzerOrganizationSharingCommand,\n EnableRouteServerPropagationCommand,\n EnableSerialConsoleAccessCommand,\n EnableSnapshotBlockPublicAccessCommand,\n EnableTransitGatewayRouteTablePropagationCommand,\n EnableVgwRoutePropagationCommand,\n EnableVolumeIOCommand,\n EnableVpcClassicLinkCommand,\n EnableVpcClassicLinkDnsSupportCommand,\n ExportClientVpnClientCertificateRevocationListCommand,\n ExportClientVpnClientConfigurationCommand,\n ExportImageCommand,\n ExportTransitGatewayRoutesCommand,\n ExportVerifiedAccessInstanceClientConfigurationCommand,\n GetAllowedImagesSettingsCommand,\n GetAssociatedEnclaveCertificateIamRolesCommand,\n GetAssociatedIpv6PoolCidrsCommand,\n GetAwsNetworkPerformanceDataCommand,\n GetCapacityReservationUsageCommand,\n GetCoipPoolUsageCommand,\n GetConsoleOutputCommand,\n GetConsoleScreenshotCommand,\n GetDeclarativePoliciesReportSummaryCommand,\n GetDefaultCreditSpecificationCommand,\n GetEbsDefaultKmsKeyIdCommand,\n GetEbsEncryptionByDefaultCommand,\n GetFlowLogsIntegrationTemplateCommand,\n GetGroupsForCapacityReservationCommand,\n GetHostReservationPurchasePreviewCommand,\n GetImageBlockPublicAccessStateCommand,\n GetInstanceMetadataDefaultsCommand,\n GetInstanceTpmEkPubCommand,\n GetInstanceTypesFromInstanceRequirementsCommand,\n GetInstanceUefiDataCommand,\n GetIpamAddressHistoryCommand,\n GetIpamDiscoveredAccountsCommand,\n GetIpamDiscoveredPublicAddressesCommand,\n GetIpamDiscoveredResourceCidrsCommand,\n GetIpamPoolAllocationsCommand,\n GetIpamPoolCidrsCommand,\n GetIpamResourceCidrsCommand,\n GetLaunchTemplateDataCommand,\n GetManagedPrefixListAssociationsCommand,\n GetManagedPrefixListEntriesCommand,\n GetNetworkInsightsAccessScopeAnalysisFindingsCommand,\n GetNetworkInsightsAccessScopeContentCommand,\n GetPasswordDataCommand,\n GetReservedInstancesExchangeQuoteCommand,\n GetRouteServerAssociationsCommand,\n GetRouteServerPropagationsCommand,\n GetRouteServerRoutingDatabaseCommand,\n GetSecurityGroupsForVpcCommand,\n GetSerialConsoleAccessStatusCommand,\n GetSnapshotBlockPublicAccessStateCommand,\n GetSpotPlacementScoresCommand,\n GetSubnetCidrReservationsCommand,\n GetTransitGatewayAttachmentPropagationsCommand,\n GetTransitGatewayMulticastDomainAssociationsCommand,\n GetTransitGatewayPolicyTableAssociationsCommand,\n GetTransitGatewayPolicyTableEntriesCommand,\n GetTransitGatewayPrefixListReferencesCommand,\n GetTransitGatewayRouteTableAssociationsCommand,\n GetTransitGatewayRouteTablePropagationsCommand,\n GetVerifiedAccessEndpointPolicyCommand,\n GetVerifiedAccessEndpointTargetsCommand,\n GetVerifiedAccessGroupPolicyCommand,\n GetVpnConnectionDeviceSampleConfigurationCommand,\n GetVpnConnectionDeviceTypesCommand,\n GetVpnTunnelReplacementStatusCommand,\n ImportClientVpnClientCertificateRevocationListCommand,\n ImportImageCommand,\n ImportInstanceCommand,\n ImportKeyPairCommand,\n ImportSnapshotCommand,\n ImportVolumeCommand,\n ListImagesInRecycleBinCommand,\n ListSnapshotsInRecycleBinCommand,\n LockSnapshotCommand,\n ModifyAddressAttributeCommand,\n ModifyAvailabilityZoneGroupCommand,\n ModifyCapacityReservationCommand,\n ModifyCapacityReservationFleetCommand,\n ModifyClientVpnEndpointCommand,\n ModifyDefaultCreditSpecificationCommand,\n ModifyEbsDefaultKmsKeyIdCommand,\n ModifyFleetCommand,\n ModifyFpgaImageAttributeCommand,\n ModifyHostsCommand,\n ModifyIdentityIdFormatCommand,\n ModifyIdFormatCommand,\n ModifyImageAttributeCommand,\n ModifyInstanceAttributeCommand,\n ModifyInstanceCapacityReservationAttributesCommand,\n ModifyInstanceCpuOptionsCommand,\n ModifyInstanceCreditSpecificationCommand,\n ModifyInstanceEventStartTimeCommand,\n ModifyInstanceEventWindowCommand,\n ModifyInstanceMaintenanceOptionsCommand,\n ModifyInstanceMetadataDefaultsCommand,\n ModifyInstanceMetadataOptionsCommand,\n ModifyInstanceNetworkPerformanceOptionsCommand,\n ModifyInstancePlacementCommand,\n ModifyIpamCommand,\n ModifyIpamPoolCommand,\n ModifyIpamResourceCidrCommand,\n ModifyIpamResourceDiscoveryCommand,\n ModifyIpamScopeCommand,\n ModifyLaunchTemplateCommand,\n ModifyLocalGatewayRouteCommand,\n ModifyManagedPrefixListCommand,\n ModifyNetworkInterfaceAttributeCommand,\n ModifyPrivateDnsNameOptionsCommand,\n ModifyReservedInstancesCommand,\n ModifyRouteServerCommand,\n ModifySecurityGroupRulesCommand,\n ModifySnapshotAttributeCommand,\n ModifySnapshotTierCommand,\n ModifySpotFleetRequestCommand,\n ModifySubnetAttributeCommand,\n ModifyTrafficMirrorFilterNetworkServicesCommand,\n ModifyTrafficMirrorFilterRuleCommand,\n ModifyTrafficMirrorSessionCommand,\n ModifyTransitGatewayCommand,\n ModifyTransitGatewayPrefixListReferenceCommand,\n ModifyTransitGatewayVpcAttachmentCommand,\n ModifyVerifiedAccessEndpointCommand,\n ModifyVerifiedAccessEndpointPolicyCommand,\n ModifyVerifiedAccessGroupCommand,\n ModifyVerifiedAccessGroupPolicyCommand,\n ModifyVerifiedAccessInstanceCommand,\n ModifyVerifiedAccessInstanceLoggingConfigurationCommand,\n ModifyVerifiedAccessTrustProviderCommand,\n ModifyVolumeCommand,\n ModifyVolumeAttributeCommand,\n ModifyVpcAttributeCommand,\n ModifyVpcBlockPublicAccessExclusionCommand,\n ModifyVpcBlockPublicAccessOptionsCommand,\n ModifyVpcEndpointCommand,\n ModifyVpcEndpointConnectionNotificationCommand,\n ModifyVpcEndpointServiceConfigurationCommand,\n ModifyVpcEndpointServicePayerResponsibilityCommand,\n ModifyVpcEndpointServicePermissionsCommand,\n ModifyVpcPeeringConnectionOptionsCommand,\n ModifyVpcTenancyCommand,\n ModifyVpnConnectionCommand,\n ModifyVpnConnectionOptionsCommand,\n ModifyVpnTunnelCertificateCommand,\n ModifyVpnTunnelOptionsCommand,\n MonitorInstancesCommand,\n MoveAddressToVpcCommand,\n MoveByoipCidrToIpamCommand,\n MoveCapacityReservationInstancesCommand,\n ProvisionByoipCidrCommand,\n ProvisionIpamByoasnCommand,\n ProvisionIpamPoolCidrCommand,\n ProvisionPublicIpv4PoolCidrCommand,\n PurchaseCapacityBlockCommand,\n PurchaseCapacityBlockExtensionCommand,\n PurchaseHostReservationCommand,\n PurchaseReservedInstancesOfferingCommand,\n PurchaseScheduledInstancesCommand,\n RebootInstancesCommand,\n RegisterImageCommand,\n RegisterInstanceEventNotificationAttributesCommand,\n RegisterTransitGatewayMulticastGroupMembersCommand,\n RegisterTransitGatewayMulticastGroupSourcesCommand,\n RejectCapacityReservationBillingOwnershipCommand,\n RejectTransitGatewayMulticastDomainAssociationsCommand,\n RejectTransitGatewayPeeringAttachmentCommand,\n RejectTransitGatewayVpcAttachmentCommand,\n RejectVpcEndpointConnectionsCommand,\n RejectVpcPeeringConnectionCommand,\n ReleaseAddressCommand,\n ReleaseHostsCommand,\n ReleaseIpamPoolAllocationCommand,\n ReplaceIamInstanceProfileAssociationCommand,\n ReplaceImageCriteriaInAllowedImagesSettingsCommand,\n ReplaceNetworkAclAssociationCommand,\n ReplaceNetworkAclEntryCommand,\n ReplaceRouteCommand,\n ReplaceRouteTableAssociationCommand,\n ReplaceTransitGatewayRouteCommand,\n ReplaceVpnTunnelCommand,\n ReportInstanceStatusCommand,\n RequestSpotFleetCommand,\n RequestSpotInstancesCommand,\n ResetAddressAttributeCommand,\n ResetEbsDefaultKmsKeyIdCommand,\n ResetFpgaImageAttributeCommand,\n ResetImageAttributeCommand,\n ResetInstanceAttributeCommand,\n ResetNetworkInterfaceAttributeCommand,\n ResetSnapshotAttributeCommand,\n RestoreAddressToClassicCommand,\n RestoreImageFromRecycleBinCommand,\n RestoreManagedPrefixListVersionCommand,\n RestoreSnapshotFromRecycleBinCommand,\n RestoreSnapshotTierCommand,\n RevokeClientVpnIngressCommand,\n RevokeSecurityGroupEgressCommand,\n RevokeSecurityGroupIngressCommand,\n RunInstancesCommand,\n RunScheduledInstancesCommand,\n SearchLocalGatewayRoutesCommand,\n SearchTransitGatewayMulticastGroupsCommand,\n SearchTransitGatewayRoutesCommand,\n SendDiagnosticInterruptCommand,\n StartDeclarativePoliciesReportCommand,\n StartInstancesCommand,\n StartNetworkInsightsAccessScopeAnalysisCommand,\n StartNetworkInsightsAnalysisCommand,\n StartVpcEndpointServicePrivateDnsVerificationCommand,\n StopInstancesCommand,\n TerminateClientVpnConnectionsCommand,\n TerminateInstancesCommand,\n UnassignIpv6AddressesCommand,\n UnassignPrivateIpAddressesCommand,\n UnassignPrivateNatGatewayAddressCommand,\n UnlockSnapshotCommand,\n UnmonitorInstancesCommand,\n UpdateSecurityGroupRuleDescriptionsEgressCommand,\n UpdateSecurityGroupRuleDescriptionsIngressCommand,\n WithdrawByoipCidrCommand\n};\nvar EC2 = class extends EC2Client {\n static {\n __name(this, \"EC2\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, EC2);\n\n// src/pagination/DescribeAddressTransfersPaginator.ts\n\nvar paginateDescribeAddressTransfers = (0, import_core.createPaginator)(EC2Client, DescribeAddressTransfersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAddressesAttributePaginator.ts\n\nvar paginateDescribeAddressesAttribute = (0, import_core.createPaginator)(EC2Client, DescribeAddressesAttributeCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.ts\n\nvar paginateDescribeAwsNetworkPerformanceMetricSubscriptions = (0, import_core.createPaginator)(EC2Client, DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeByoipCidrsPaginator.ts\n\nvar paginateDescribeByoipCidrs = (0, import_core.createPaginator)(EC2Client, DescribeByoipCidrsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityBlockExtensionHistoryPaginator.ts\n\nvar paginateDescribeCapacityBlockExtensionHistory = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockExtensionHistoryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.ts\n\nvar paginateDescribeCapacityBlockExtensionOfferings = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockExtensionOfferingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityBlockOfferingsPaginator.ts\n\nvar paginateDescribeCapacityBlockOfferings = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockOfferingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityReservationBillingRequestsPaginator.ts\n\nvar paginateDescribeCapacityReservationBillingRequests = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationBillingRequestsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityReservationFleetsPaginator.ts\n\nvar paginateDescribeCapacityReservationFleets = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationFleetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCapacityReservationsPaginator.ts\n\nvar paginateDescribeCapacityReservations = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCarrierGatewaysPaginator.ts\n\nvar paginateDescribeCarrierGateways = (0, import_core.createPaginator)(EC2Client, DescribeCarrierGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClassicLinkInstancesPaginator.ts\n\nvar paginateDescribeClassicLinkInstances = (0, import_core.createPaginator)(EC2Client, DescribeClassicLinkInstancesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts\n\nvar paginateDescribeClientVpnAuthorizationRules = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnAuthorizationRulesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClientVpnConnectionsPaginator.ts\n\nvar paginateDescribeClientVpnConnections = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnConnectionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClientVpnEndpointsPaginator.ts\n\nvar paginateDescribeClientVpnEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnEndpointsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClientVpnRoutesPaginator.ts\n\nvar paginateDescribeClientVpnRoutes = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnRoutesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeClientVpnTargetNetworksPaginator.ts\n\nvar paginateDescribeClientVpnTargetNetworks = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnTargetNetworksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeCoipPoolsPaginator.ts\n\nvar paginateDescribeCoipPools = (0, import_core.createPaginator)(EC2Client, DescribeCoipPoolsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeDhcpOptionsPaginator.ts\n\nvar paginateDescribeDhcpOptions = (0, import_core.createPaginator)(EC2Client, DescribeDhcpOptionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts\n\nvar paginateDescribeEgressOnlyInternetGateways = (0, import_core.createPaginator)(EC2Client, DescribeEgressOnlyInternetGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeExportImageTasksPaginator.ts\n\nvar paginateDescribeExportImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeExportImageTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeFastLaunchImagesPaginator.ts\n\nvar paginateDescribeFastLaunchImages = (0, import_core.createPaginator)(EC2Client, DescribeFastLaunchImagesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeFastSnapshotRestoresPaginator.ts\n\nvar paginateDescribeFastSnapshotRestores = (0, import_core.createPaginator)(EC2Client, DescribeFastSnapshotRestoresCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeFleetsPaginator.ts\n\nvar paginateDescribeFleets = (0, import_core.createPaginator)(EC2Client, DescribeFleetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeFlowLogsPaginator.ts\n\nvar paginateDescribeFlowLogs = (0, import_core.createPaginator)(EC2Client, DescribeFlowLogsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeFpgaImagesPaginator.ts\n\nvar paginateDescribeFpgaImages = (0, import_core.createPaginator)(EC2Client, DescribeFpgaImagesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeHostReservationOfferingsPaginator.ts\n\nvar paginateDescribeHostReservationOfferings = (0, import_core.createPaginator)(EC2Client, DescribeHostReservationOfferingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeHostReservationsPaginator.ts\n\nvar paginateDescribeHostReservations = (0, import_core.createPaginator)(EC2Client, DescribeHostReservationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeHostsPaginator.ts\n\nvar paginateDescribeHosts = (0, import_core.createPaginator)(EC2Client, DescribeHostsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts\n\nvar paginateDescribeIamInstanceProfileAssociations = (0, import_core.createPaginator)(EC2Client, DescribeIamInstanceProfileAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeImagesPaginator.ts\n\nvar paginateDescribeImages = (0, import_core.createPaginator)(EC2Client, DescribeImagesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeImportImageTasksPaginator.ts\n\nvar paginateDescribeImportImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeImportImageTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeImportSnapshotTasksPaginator.ts\n\nvar paginateDescribeImportSnapshotTasks = (0, import_core.createPaginator)(EC2Client, DescribeImportSnapshotTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceConnectEndpointsPaginator.ts\n\nvar paginateDescribeInstanceConnectEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeInstanceConnectEndpointsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceCreditSpecificationsPaginator.ts\n\nvar paginateDescribeInstanceCreditSpecifications = (0, import_core.createPaginator)(EC2Client, DescribeInstanceCreditSpecificationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceEventWindowsPaginator.ts\n\nvar paginateDescribeInstanceEventWindows = (0, import_core.createPaginator)(EC2Client, DescribeInstanceEventWindowsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceImageMetadataPaginator.ts\n\nvar paginateDescribeInstanceImageMetadata = (0, import_core.createPaginator)(EC2Client, DescribeInstanceImageMetadataCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceStatusPaginator.ts\n\nvar paginateDescribeInstanceStatus = (0, import_core.createPaginator)(EC2Client, DescribeInstanceStatusCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceTopologyPaginator.ts\n\nvar paginateDescribeInstanceTopology = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTopologyCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceTypeOfferingsPaginator.ts\n\nvar paginateDescribeInstanceTypeOfferings = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTypeOfferingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceTypesPaginator.ts\n\nvar paginateDescribeInstanceTypes = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTypesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstancesPaginator.ts\n\nvar paginateDescribeInstances = (0, import_core.createPaginator)(EC2Client, DescribeInstancesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInternetGatewaysPaginator.ts\n\nvar paginateDescribeInternetGateways = (0, import_core.createPaginator)(EC2Client, DescribeInternetGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpamPoolsPaginator.ts\n\nvar paginateDescribeIpamPools = (0, import_core.createPaginator)(EC2Client, DescribeIpamPoolsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts\n\nvar paginateDescribeIpamResourceDiscoveries = (0, import_core.createPaginator)(EC2Client, DescribeIpamResourceDiscoveriesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts\n\nvar paginateDescribeIpamResourceDiscoveryAssociations = (0, import_core.createPaginator)(EC2Client, DescribeIpamResourceDiscoveryAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpamScopesPaginator.ts\n\nvar paginateDescribeIpamScopes = (0, import_core.createPaginator)(EC2Client, DescribeIpamScopesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpamsPaginator.ts\n\nvar paginateDescribeIpams = (0, import_core.createPaginator)(EC2Client, DescribeIpamsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeIpv6PoolsPaginator.ts\n\nvar paginateDescribeIpv6Pools = (0, import_core.createPaginator)(EC2Client, DescribeIpv6PoolsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLaunchTemplateVersionsPaginator.ts\n\nvar paginateDescribeLaunchTemplateVersions = (0, import_core.createPaginator)(EC2Client, DescribeLaunchTemplateVersionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLaunchTemplatesPaginator.ts\n\nvar paginateDescribeLaunchTemplates = (0, import_core.createPaginator)(EC2Client, DescribeLaunchTemplatesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts\n\nvar paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations = (0, import_core.createPaginator)(\n EC2Client,\n DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,\n \"NextToken\",\n \"NextToken\",\n \"MaxResults\"\n);\n\n// src/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts\n\nvar paginateDescribeLocalGatewayRouteTableVpcAssociations = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayRouteTableVpcAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLocalGatewayRouteTablesPaginator.ts\n\nvar paginateDescribeLocalGatewayRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayRouteTablesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts\n\nvar paginateDescribeLocalGatewayVirtualInterfaceGroups = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayVirtualInterfaceGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts\n\nvar paginateDescribeLocalGatewayVirtualInterfaces = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayVirtualInterfacesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeLocalGatewaysPaginator.ts\n\nvar paginateDescribeLocalGateways = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMacHostsPaginator.ts\n\nvar paginateDescribeMacHosts = (0, import_core.createPaginator)(EC2Client, DescribeMacHostsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeManagedPrefixListsPaginator.ts\n\nvar paginateDescribeManagedPrefixLists = (0, import_core.createPaginator)(EC2Client, DescribeManagedPrefixListsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMovingAddressesPaginator.ts\n\nvar paginateDescribeMovingAddresses = (0, import_core.createPaginator)(EC2Client, DescribeMovingAddressesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNatGatewaysPaginator.ts\n\nvar paginateDescribeNatGateways = (0, import_core.createPaginator)(EC2Client, DescribeNatGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkAclsPaginator.ts\n\nvar paginateDescribeNetworkAcls = (0, import_core.createPaginator)(EC2Client, DescribeNetworkAclsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInsightsAccessScopeAnalysesPaginator.ts\n\nvar paginateDescribeNetworkInsightsAccessScopeAnalyses = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAccessScopeAnalysesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInsightsAccessScopesPaginator.ts\n\nvar paginateDescribeNetworkInsightsAccessScopes = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAccessScopesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInsightsAnalysesPaginator.ts\n\nvar paginateDescribeNetworkInsightsAnalyses = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAnalysesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInsightsPathsPaginator.ts\n\nvar paginateDescribeNetworkInsightsPaths = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsPathsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInterfacePermissionsPaginator.ts\n\nvar paginateDescribeNetworkInterfacePermissions = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInterfacePermissionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeNetworkInterfacesPaginator.ts\n\nvar paginateDescribeNetworkInterfaces = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInterfacesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePrefixListsPaginator.ts\n\nvar paginateDescribePrefixLists = (0, import_core.createPaginator)(EC2Client, DescribePrefixListsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePrincipalIdFormatPaginator.ts\n\nvar paginateDescribePrincipalIdFormat = (0, import_core.createPaginator)(EC2Client, DescribePrincipalIdFormatCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePublicIpv4PoolsPaginator.ts\n\nvar paginateDescribePublicIpv4Pools = (0, import_core.createPaginator)(EC2Client, DescribePublicIpv4PoolsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeReplaceRootVolumeTasksPaginator.ts\n\nvar paginateDescribeReplaceRootVolumeTasks = (0, import_core.createPaginator)(EC2Client, DescribeReplaceRootVolumeTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeReservedInstancesModificationsPaginator.ts\n\nvar paginateDescribeReservedInstancesModifications = (0, import_core.createPaginator)(EC2Client, DescribeReservedInstancesModificationsCommand, \"NextToken\", \"NextToken\", \"\");\n\n// src/pagination/DescribeReservedInstancesOfferingsPaginator.ts\n\nvar paginateDescribeReservedInstancesOfferings = (0, import_core.createPaginator)(EC2Client, DescribeReservedInstancesOfferingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeRouteServerEndpointsPaginator.ts\n\nvar paginateDescribeRouteServerEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeRouteServerEndpointsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeRouteServerPeersPaginator.ts\n\nvar paginateDescribeRouteServerPeers = (0, import_core.createPaginator)(EC2Client, DescribeRouteServerPeersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeRouteServersPaginator.ts\n\nvar paginateDescribeRouteServers = (0, import_core.createPaginator)(EC2Client, DescribeRouteServersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeRouteTablesPaginator.ts\n\nvar paginateDescribeRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeRouteTablesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts\n\nvar paginateDescribeScheduledInstanceAvailability = (0, import_core.createPaginator)(EC2Client, DescribeScheduledInstanceAvailabilityCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeScheduledInstancesPaginator.ts\n\nvar paginateDescribeScheduledInstances = (0, import_core.createPaginator)(EC2Client, DescribeScheduledInstancesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSecurityGroupRulesPaginator.ts\n\nvar paginateDescribeSecurityGroupRules = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupRulesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSecurityGroupVpcAssociationsPaginator.ts\n\nvar paginateDescribeSecurityGroupVpcAssociations = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupVpcAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSecurityGroupsPaginator.ts\n\nvar paginateDescribeSecurityGroups = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSnapshotTierStatusPaginator.ts\n\nvar paginateDescribeSnapshotTierStatus = (0, import_core.createPaginator)(EC2Client, DescribeSnapshotTierStatusCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSnapshotsPaginator.ts\n\nvar paginateDescribeSnapshots = (0, import_core.createPaginator)(EC2Client, DescribeSnapshotsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSpotFleetRequestsPaginator.ts\n\nvar paginateDescribeSpotFleetRequests = (0, import_core.createPaginator)(EC2Client, DescribeSpotFleetRequestsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSpotInstanceRequestsPaginator.ts\n\nvar paginateDescribeSpotInstanceRequests = (0, import_core.createPaginator)(EC2Client, DescribeSpotInstanceRequestsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSpotPriceHistoryPaginator.ts\n\nvar paginateDescribeSpotPriceHistory = (0, import_core.createPaginator)(EC2Client, DescribeSpotPriceHistoryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeStaleSecurityGroupsPaginator.ts\n\nvar paginateDescribeStaleSecurityGroups = (0, import_core.createPaginator)(EC2Client, DescribeStaleSecurityGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeStoreImageTasksPaginator.ts\n\nvar paginateDescribeStoreImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeStoreImageTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSubnetsPaginator.ts\n\nvar paginateDescribeSubnets = (0, import_core.createPaginator)(EC2Client, DescribeSubnetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTagsPaginator.ts\n\nvar paginateDescribeTags = (0, import_core.createPaginator)(EC2Client, DescribeTagsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTrafficMirrorFiltersPaginator.ts\n\nvar paginateDescribeTrafficMirrorFilters = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorFiltersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTrafficMirrorSessionsPaginator.ts\n\nvar paginateDescribeTrafficMirrorSessions = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorSessionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTrafficMirrorTargetsPaginator.ts\n\nvar paginateDescribeTrafficMirrorTargets = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorTargetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayAttachmentsPaginator.ts\n\nvar paginateDescribeTransitGatewayAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayAttachmentsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayConnectPeersPaginator.ts\n\nvar paginateDescribeTransitGatewayConnectPeers = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayConnectPeersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayConnectsPaginator.ts\n\nvar paginateDescribeTransitGatewayConnects = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayConnectsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts\n\nvar paginateDescribeTransitGatewayMulticastDomains = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayMulticastDomainsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts\n\nvar paginateDescribeTransitGatewayPeeringAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayPeeringAttachmentsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayPolicyTablesPaginator.ts\n\nvar paginateDescribeTransitGatewayPolicyTables = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayPolicyTablesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.ts\n\nvar paginateDescribeTransitGatewayRouteTableAnnouncements = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayRouteTableAnnouncementsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayRouteTablesPaginator.ts\n\nvar paginateDescribeTransitGatewayRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayRouteTablesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts\n\nvar paginateDescribeTransitGatewayVpcAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayVpcAttachmentsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTransitGatewaysPaginator.ts\n\nvar paginateDescribeTransitGateways = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewaysCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeTrunkInterfaceAssociationsPaginator.ts\n\nvar paginateDescribeTrunkInterfaceAssociations = (0, import_core.createPaginator)(EC2Client, DescribeTrunkInterfaceAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVerifiedAccessEndpointsPaginator.ts\n\nvar paginateDescribeVerifiedAccessEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessEndpointsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVerifiedAccessGroupsPaginator.ts\n\nvar paginateDescribeVerifiedAccessGroups = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.ts\n\nvar paginateDescribeVerifiedAccessInstanceLoggingConfigurations = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVerifiedAccessInstancesPaginator.ts\n\nvar paginateDescribeVerifiedAccessInstances = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessInstancesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVerifiedAccessTrustProvidersPaginator.ts\n\nvar paginateDescribeVerifiedAccessTrustProviders = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessTrustProvidersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVolumeStatusPaginator.ts\n\nvar paginateDescribeVolumeStatus = (0, import_core.createPaginator)(EC2Client, DescribeVolumeStatusCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVolumesModificationsPaginator.ts\n\nvar paginateDescribeVolumesModifications = (0, import_core.createPaginator)(EC2Client, DescribeVolumesModificationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVolumesPaginator.ts\n\nvar paginateDescribeVolumes = (0, import_core.createPaginator)(EC2Client, DescribeVolumesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts\n\nvar paginateDescribeVpcClassicLinkDnsSupport = (0, import_core.createPaginator)(EC2Client, DescribeVpcClassicLinkDnsSupportCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts\n\nvar paginateDescribeVpcEndpointConnectionNotifications = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointConnectionNotificationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcEndpointConnectionsPaginator.ts\n\nvar paginateDescribeVpcEndpointConnections = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointConnectionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts\n\nvar paginateDescribeVpcEndpointServiceConfigurations = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointServiceConfigurationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts\n\nvar paginateDescribeVpcEndpointServicePermissions = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointServicePermissionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcEndpointsPaginator.ts\n\nvar paginateDescribeVpcEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcPeeringConnectionsPaginator.ts\n\nvar paginateDescribeVpcPeeringConnections = (0, import_core.createPaginator)(EC2Client, DescribeVpcPeeringConnectionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeVpcsPaginator.ts\n\nvar paginateDescribeVpcs = (0, import_core.createPaginator)(EC2Client, DescribeVpcsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts\n\nvar paginateGetAssociatedIpv6PoolCidrs = (0, import_core.createPaginator)(EC2Client, GetAssociatedIpv6PoolCidrsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetAwsNetworkPerformanceDataPaginator.ts\n\nvar paginateGetAwsNetworkPerformanceData = (0, import_core.createPaginator)(EC2Client, GetAwsNetworkPerformanceDataCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetGroupsForCapacityReservationPaginator.ts\n\nvar paginateGetGroupsForCapacityReservation = (0, import_core.createPaginator)(EC2Client, GetGroupsForCapacityReservationCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.ts\n\nvar paginateGetInstanceTypesFromInstanceRequirements = (0, import_core.createPaginator)(EC2Client, GetInstanceTypesFromInstanceRequirementsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamAddressHistoryPaginator.ts\n\nvar paginateGetIpamAddressHistory = (0, import_core.createPaginator)(EC2Client, GetIpamAddressHistoryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamDiscoveredAccountsPaginator.ts\n\nvar paginateGetIpamDiscoveredAccounts = (0, import_core.createPaginator)(EC2Client, GetIpamDiscoveredAccountsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts\n\nvar paginateGetIpamDiscoveredResourceCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamDiscoveredResourceCidrsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamPoolAllocationsPaginator.ts\n\nvar paginateGetIpamPoolAllocations = (0, import_core.createPaginator)(EC2Client, GetIpamPoolAllocationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamPoolCidrsPaginator.ts\n\nvar paginateGetIpamPoolCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamPoolCidrsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetIpamResourceCidrsPaginator.ts\n\nvar paginateGetIpamResourceCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamResourceCidrsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetManagedPrefixListAssociationsPaginator.ts\n\nvar paginateGetManagedPrefixListAssociations = (0, import_core.createPaginator)(EC2Client, GetManagedPrefixListAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetManagedPrefixListEntriesPaginator.ts\n\nvar paginateGetManagedPrefixListEntries = (0, import_core.createPaginator)(EC2Client, GetManagedPrefixListEntriesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetNetworkInsightsAccessScopeAnalysisFindingsPaginator.ts\n\nvar paginateGetNetworkInsightsAccessScopeAnalysisFindings = (0, import_core.createPaginator)(EC2Client, GetNetworkInsightsAccessScopeAnalysisFindingsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetSecurityGroupsForVpcPaginator.ts\n\nvar paginateGetSecurityGroupsForVpc = (0, import_core.createPaginator)(EC2Client, GetSecurityGroupsForVpcCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetSpotPlacementScoresPaginator.ts\n\nvar paginateGetSpotPlacementScores = (0, import_core.createPaginator)(EC2Client, GetSpotPlacementScoresCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts\n\nvar paginateGetTransitGatewayAttachmentPropagations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayAttachmentPropagationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts\n\nvar paginateGetTransitGatewayMulticastDomainAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayMulticastDomainAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.ts\n\nvar paginateGetTransitGatewayPolicyTableAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayPolicyTableAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts\n\nvar paginateGetTransitGatewayPrefixListReferences = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayPrefixListReferencesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts\n\nvar paginateGetTransitGatewayRouteTableAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayRouteTableAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts\n\nvar paginateGetTransitGatewayRouteTablePropagations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayRouteTablePropagationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetVpnConnectionDeviceTypesPaginator.ts\n\nvar paginateGetVpnConnectionDeviceTypes = (0, import_core.createPaginator)(EC2Client, GetVpnConnectionDeviceTypesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListImagesInRecycleBinPaginator.ts\n\nvar paginateListImagesInRecycleBin = (0, import_core.createPaginator)(EC2Client, ListImagesInRecycleBinCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListSnapshotsInRecycleBinPaginator.ts\n\nvar paginateListSnapshotsInRecycleBin = (0, import_core.createPaginator)(EC2Client, ListSnapshotsInRecycleBinCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/SearchLocalGatewayRoutesPaginator.ts\n\nvar paginateSearchLocalGatewayRoutes = (0, import_core.createPaginator)(EC2Client, SearchLocalGatewayRoutesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts\n\nvar paginateSearchTransitGatewayMulticastGroups = (0, import_core.createPaginator)(EC2Client, SearchTransitGatewayMulticastGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/waiters/waitForBundleTaskComplete.ts\nvar import_util_waiter = require(\"@smithy/util-waiter\");\nvar checkState = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeBundleTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.BundleTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"complete\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.BundleTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForBundleTaskComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n}, \"waitForBundleTaskComplete\");\nvar waitUntilBundleTaskComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilBundleTaskComplete\");\n\n// src/waiters/waitForConversionTaskCancelled.ts\n\nvar checkState2 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeConversionTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ConversionTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"cancelled\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForConversionTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n}, \"waitForConversionTaskCancelled\");\nvar waitUntilConversionTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilConversionTaskCancelled\");\n\n// src/waiters/waitForConversionTaskCompleted.ts\n\nvar checkState3 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeConversionTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ConversionTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"completed\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ConversionTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"cancelled\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ConversionTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"cancelling\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForConversionTaskCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);\n}, \"waitForConversionTaskCompleted\");\nvar waitUntilConversionTaskCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilConversionTaskCompleted\");\n\n// src/waiters/waitForConversionTaskDeleted.ts\n\nvar checkState4 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeConversionTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ConversionTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"deleted\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForConversionTaskDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);\n}, \"waitForConversionTaskDeleted\");\nvar waitUntilConversionTaskDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilConversionTaskDeleted\");\n\n// src/waiters/waitForCustomerGatewayAvailable.ts\n\nvar checkState5 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeCustomerGatewaysCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.CustomerGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.CustomerGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleted\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.CustomerGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleting\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForCustomerGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);\n}, \"waitForCustomerGatewayAvailable\");\nvar waitUntilCustomerGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilCustomerGatewayAvailable\");\n\n// src/waiters/waitForExportTaskCancelled.ts\n\nvar checkState6 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeExportTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ExportTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"cancelled\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);\n}, \"waitForExportTaskCancelled\");\nvar waitUntilExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilExportTaskCancelled\");\n\n// src/waiters/waitForExportTaskCompleted.ts\n\nvar checkState7 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeExportTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ExportTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"completed\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForExportTaskCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);\n}, \"waitForExportTaskCompleted\");\nvar waitUntilExportTaskCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilExportTaskCompleted\");\n\n// src/waiters/waitForImageAvailable.ts\n\nvar checkState8 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeImagesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Images);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Images);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForImageAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);\n}, \"waitForImageAvailable\");\nvar waitUntilImageAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilImageAvailable\");\n\n// src/waiters/waitForImageExists.ts\n\nvar checkState9 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeImagesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Images);\n return flat_1.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidAMIID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForImageExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);\n}, \"waitForImageExists\");\nvar waitUntilImageExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilImageExists\");\n\n// src/waiters/waitForInstanceExists.ts\n\nvar checkState10 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstancesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n return flat_1.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidInstanceID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInstanceExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);\n}, \"waitForInstanceExists\");\nvar waitUntilInstanceExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInstanceExists\");\n\n// src/waiters/waitForInstanceRunning.ts\n\nvar checkState11 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstancesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n let allStringEq_8 = returnComparator().length > 0;\n for (const element_7 of returnComparator()) {\n allStringEq_8 = allStringEq_8 && element_7 == \"running\";\n }\n if (allStringEq_8) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"shutting-down\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"terminated\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"stopping\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidInstanceID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInstanceRunning = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState11);\n}, \"waitForInstanceRunning\");\nvar waitUntilInstanceRunning = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState11);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInstanceRunning\");\n\n// src/waiters/waitForInstanceStatusOk.ts\n\nvar checkState12 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstanceStatusCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.InstanceStatuses);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.InstanceStatus.Status;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"ok\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidInstanceID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInstanceStatusOk = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState12);\n}, \"waitForInstanceStatusOk\");\nvar waitUntilInstanceStatusOk = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState12);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInstanceStatusOk\");\n\n// src/waiters/waitForInstanceStopped.ts\n\nvar checkState13 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstancesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n let allStringEq_8 = returnComparator().length > 0;\n for (const element_7 of returnComparator()) {\n allStringEq_8 = allStringEq_8 && element_7 == \"stopped\";\n }\n if (allStringEq_8) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"pending\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"terminated\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInstanceStopped = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState13);\n}, \"waitForInstanceStopped\");\nvar waitUntilInstanceStopped = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState13);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInstanceStopped\");\n\n// src/waiters/waitForInstanceTerminated.ts\n\nvar checkState14 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstancesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n let allStringEq_8 = returnComparator().length > 0;\n for (const element_7 of returnComparator()) {\n allStringEq_8 = allStringEq_8 && element_7 == \"terminated\";\n }\n if (allStringEq_8) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"pending\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Reservations);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Instances;\n });\n const flat_4 = [].concat(...projection_3);\n const projection_6 = flat_4.map((element_5) => {\n return element_5.State.Name;\n });\n return projection_6;\n }, \"returnComparator\");\n for (const anyStringEq_7 of returnComparator()) {\n if (anyStringEq_7 == \"stopping\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInstanceTerminated = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState14);\n}, \"waitForInstanceTerminated\");\nvar waitUntilInstanceTerminated = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState14);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInstanceTerminated\");\n\n// src/waiters/waitForInternetGatewayExists.ts\n\nvar checkState15 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInternetGatewaysCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.InternetGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.InternetGatewayId;\n });\n return projection_3.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidInternetGateway.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForInternetGatewayExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState15);\n}, \"waitForInternetGatewayExists\");\nvar waitUntilInternetGatewayExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState15);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilInternetGatewayExists\");\n\n// src/waiters/waitForKeyPairExists.ts\n\nvar checkState16 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeKeyPairsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.KeyPairs);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.KeyName;\n });\n return projection_3.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidKeyPair.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForKeyPairExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState16);\n}, \"waitForKeyPairExists\");\nvar waitUntilKeyPairExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState16);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilKeyPairExists\");\n\n// src/waiters/waitForNatGatewayAvailable.ts\n\nvar checkState17 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeNatGatewaysCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NatGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NatGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NatGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleting\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NatGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleted\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"NatGatewayNotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForNatGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState17);\n}, \"waitForNatGatewayAvailable\");\nvar waitUntilNatGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState17);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilNatGatewayAvailable\");\n\n// src/waiters/waitForNatGatewayDeleted.ts\n\nvar checkState18 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeNatGatewaysCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NatGateways);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"deleted\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"NatGatewayNotFound\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForNatGatewayDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18);\n}, \"waitForNatGatewayDeleted\");\nvar waitUntilNatGatewayDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilNatGatewayDeleted\");\n\n// src/waiters/waitForNetworkInterfaceAvailable.ts\n\nvar checkState19 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeNetworkInterfacesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.NetworkInterfaces);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidNetworkInterfaceID.NotFound\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForNetworkInterfaceAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState19);\n}, \"waitForNetworkInterfaceAvailable\");\nvar waitUntilNetworkInterfaceAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState19);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilNetworkInterfaceAvailable\");\n\n// src/waiters/waitForSnapshotImported.ts\n\nvar checkState20 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeImportSnapshotTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ImportSnapshotTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.SnapshotTaskDetail.Status;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"completed\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.ImportSnapshotTasks);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.SnapshotTaskDetail.Status;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"error\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSnapshotImported = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState20);\n}, \"waitForSnapshotImported\");\nvar waitUntilSnapshotImported = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState20);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSnapshotImported\");\n\n// src/waiters/waitForSecurityGroupExists.ts\n\nvar checkState21 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeSecurityGroupsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SecurityGroups);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.GroupId;\n });\n return projection_3.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidGroup.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSecurityGroupExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState21);\n}, \"waitForSecurityGroupExists\");\nvar waitUntilSecurityGroupExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState21);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSecurityGroupExists\");\n\n// src/waiters/waitForSnapshotCompleted.ts\n\nvar checkState22 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeSnapshotsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Snapshots);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"completed\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Snapshots);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"error\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSnapshotCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState22);\n}, \"waitForSnapshotCompleted\");\nvar waitUntilSnapshotCompleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState22);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSnapshotCompleted\");\n\n// src/waiters/waitForSpotInstanceRequestFulfilled.ts\n\nvar checkState23 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeSpotInstanceRequestsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"fulfilled\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"request-canceled-and-instance-running\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"schedule-expired\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"canceled-before-fulfillment\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"bad-parameters\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.SpotInstanceRequests);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"system-error\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidSpotInstanceRequestID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSpotInstanceRequestFulfilled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState23);\n}, \"waitForSpotInstanceRequestFulfilled\");\nvar waitUntilSpotInstanceRequestFulfilled = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState23);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSpotInstanceRequestFulfilled\");\n\n// src/waiters/waitForStoreImageTaskComplete.ts\n\nvar checkState24 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeStoreImageTasksCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.StoreImageTaskResults);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.StoreTaskState;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"Completed\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.StoreImageTaskResults);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.StoreTaskState;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.StoreImageTaskResults);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.StoreTaskState;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"InProgress\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForStoreImageTaskComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState24);\n}, \"waitForStoreImageTaskComplete\");\nvar waitUntilStoreImageTaskComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState24);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilStoreImageTaskComplete\");\n\n// src/waiters/waitForSubnetAvailable.ts\n\nvar checkState25 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeSubnetsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Subnets);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSubnetAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState25);\n}, \"waitForSubnetAvailable\");\nvar waitUntilSubnetAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState25);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSubnetAvailable\");\n\n// src/waiters/waitForSystemStatusOk.ts\n\nvar checkState26 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeInstanceStatusCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.InstanceStatuses);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.SystemStatus.Status;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"ok\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForSystemStatusOk = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState26);\n}, \"waitForSystemStatusOk\");\nvar waitUntilSystemStatusOk = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState26);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilSystemStatusOk\");\n\n// src/waiters/waitForPasswordDataAvailable.ts\n\nvar checkState27 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetPasswordDataCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.PasswordData.length > 0;\n }, \"returnComparator\");\n if (returnComparator() == true) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForPasswordDataAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState27);\n}, \"waitForPasswordDataAvailable\");\nvar waitUntilPasswordDataAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState27);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilPasswordDataAvailable\");\n\n// src/waiters/waitForVolumeAvailable.ts\n\nvar checkState28 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVolumesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Volumes);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Volumes);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleted\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVolumeAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState28);\n}, \"waitForVolumeAvailable\");\nvar waitUntilVolumeAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState28);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVolumeAvailable\");\n\n// src/waiters/waitForVolumeDeleted.ts\n\nvar checkState29 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVolumesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Volumes);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"deleted\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidVolume.NotFound\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVolumeDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState29);\n}, \"waitForVolumeDeleted\");\nvar waitUntilVolumeDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState29);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVolumeDeleted\");\n\n// src/waiters/waitForVolumeInUse.ts\n\nvar checkState30 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVolumesCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Volumes);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"in-use\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Volumes);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleted\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVolumeInUse = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState30);\n}, \"waitForVolumeInUse\");\nvar waitUntilVolumeInUse = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState30);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVolumeInUse\");\n\n// src/waiters/waitForVpcAvailable.ts\n\nvar checkState31 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpcsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.Vpcs);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpcAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState31);\n}, \"waitForVpcAvailable\");\nvar waitUntilVpcAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState31);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpcAvailable\");\n\n// src/waiters/waitForVpcExists.ts\n\nvar checkState32 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpcsCommand(input));\n reason = result;\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidVpcID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpcExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState32);\n}, \"waitForVpcExists\");\nvar waitUntilVpcExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState32);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpcExists\");\n\n// src/waiters/waitForVpcPeeringConnectionDeleted.ts\n\nvar checkState33 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpcPeeringConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.Status.Code;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"deleted\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidVpcPeeringConnectionID.NotFound\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpcPeeringConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState33);\n}, \"waitForVpcPeeringConnectionDeleted\");\nvar waitUntilVpcPeeringConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState33);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpcPeeringConnectionDeleted\");\n\n// src/waiters/waitForVpcPeeringConnectionExists.ts\n\nvar checkState34 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));\n reason = result;\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvalidVpcPeeringConnectionID.NotFound\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpcPeeringConnectionExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState34);\n}, \"waitForVpcPeeringConnectionExists\");\nvar waitUntilVpcPeeringConnectionExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState34);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpcPeeringConnectionExists\");\n\n// src/waiters/waitForVpnConnectionAvailable.ts\n\nvar checkState35 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpnConnectionsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpnConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"available\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpnConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleting\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpnConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"deleted\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpnConnectionAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState35);\n}, \"waitForVpnConnectionAvailable\");\nvar waitUntilVpnConnectionAvailable = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState35);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpnConnectionAvailable\");\n\n// src/waiters/waitForVpnConnectionDeleted.ts\n\nvar checkState36 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeVpnConnectionsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpnConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n let allStringEq_5 = returnComparator().length > 0;\n for (const element_4 of returnComparator()) {\n allStringEq_5 = allStringEq_5 && element_4 == \"deleted\";\n }\n if (allStringEq_5) {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n const flat_1 = [].concat(...result.VpnConnections);\n const projection_3 = flat_1.map((element_2) => {\n return element_2.State;\n });\n return projection_3;\n }, \"returnComparator\");\n for (const anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"pending\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState36);\n}, \"waitForVpnConnectionDeleted\");\nvar waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 15, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState36);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilVpnConnectionDeleted\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n EC2ServiceException,\n __Client,\n EC2Client,\n EC2,\n $Command,\n AcceptAddressTransferCommand,\n AcceptCapacityReservationBillingOwnershipCommand,\n AcceptReservedInstancesExchangeQuoteCommand,\n AcceptTransitGatewayMulticastDomainAssociationsCommand,\n AcceptTransitGatewayPeeringAttachmentCommand,\n AcceptTransitGatewayVpcAttachmentCommand,\n AcceptVpcEndpointConnectionsCommand,\n AcceptVpcPeeringConnectionCommand,\n AdvertiseByoipCidrCommand,\n AllocateAddressCommand,\n AllocateHostsCommand,\n AllocateIpamPoolCidrCommand,\n ApplySecurityGroupsToClientVpnTargetNetworkCommand,\n AssignIpv6AddressesCommand,\n AssignPrivateIpAddressesCommand,\n AssignPrivateNatGatewayAddressCommand,\n AssociateAddressCommand,\n AssociateCapacityReservationBillingOwnerCommand,\n AssociateClientVpnTargetNetworkCommand,\n AssociateDhcpOptionsCommand,\n AssociateEnclaveCertificateIamRoleCommand,\n AssociateIamInstanceProfileCommand,\n AssociateInstanceEventWindowCommand,\n AssociateIpamByoasnCommand,\n AssociateIpamResourceDiscoveryCommand,\n AssociateNatGatewayAddressCommand,\n AssociateRouteServerCommand,\n AssociateRouteTableCommand,\n AssociateSecurityGroupVpcCommand,\n AssociateSubnetCidrBlockCommand,\n AssociateTransitGatewayMulticastDomainCommand,\n AssociateTransitGatewayPolicyTableCommand,\n AssociateTransitGatewayRouteTableCommand,\n AssociateTrunkInterfaceCommand,\n AssociateVpcCidrBlockCommand,\n AttachClassicLinkVpcCommand,\n AttachInternetGatewayCommand,\n AttachNetworkInterfaceCommand,\n AttachVerifiedAccessTrustProviderCommand,\n AttachVolumeCommand,\n AttachVpnGatewayCommand,\n AuthorizeClientVpnIngressCommand,\n AuthorizeSecurityGroupEgressCommand,\n AuthorizeSecurityGroupIngressCommand,\n BundleInstanceCommand,\n CancelBundleTaskCommand,\n CancelCapacityReservationCommand,\n CancelCapacityReservationFleetsCommand,\n CancelConversionTaskCommand,\n CancelDeclarativePoliciesReportCommand,\n CancelExportTaskCommand,\n CancelImageLaunchPermissionCommand,\n CancelImportTaskCommand,\n CancelReservedInstancesListingCommand,\n CancelSpotFleetRequestsCommand,\n CancelSpotInstanceRequestsCommand,\n ConfirmProductInstanceCommand,\n CopyFpgaImageCommand,\n CopyImageCommand,\n CopySnapshotCommand,\n CreateCapacityReservationBySplittingCommand,\n CreateCapacityReservationCommand,\n CreateCapacityReservationFleetCommand,\n CreateCarrierGatewayCommand,\n CreateClientVpnEndpointCommand,\n CreateClientVpnRouteCommand,\n CreateCoipCidrCommand,\n CreateCoipPoolCommand,\n CreateCustomerGatewayCommand,\n CreateDefaultSubnetCommand,\n CreateDefaultVpcCommand,\n CreateDhcpOptionsCommand,\n CreateEgressOnlyInternetGatewayCommand,\n CreateFleetCommand,\n CreateFlowLogsCommand,\n CreateFpgaImageCommand,\n CreateImageCommand,\n CreateInstanceConnectEndpointCommand,\n CreateInstanceEventWindowCommand,\n CreateInstanceExportTaskCommand,\n CreateInternetGatewayCommand,\n CreateIpamCommand,\n CreateIpamExternalResourceVerificationTokenCommand,\n CreateIpamPoolCommand,\n CreateIpamResourceDiscoveryCommand,\n CreateIpamScopeCommand,\n CreateKeyPairCommand,\n CreateLaunchTemplateCommand,\n CreateLaunchTemplateVersionCommand,\n CreateLocalGatewayRouteCommand,\n CreateLocalGatewayRouteTableCommand,\n CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n CreateLocalGatewayRouteTableVpcAssociationCommand,\n CreateLocalGatewayVirtualInterfaceCommand,\n CreateLocalGatewayVirtualInterfaceGroupCommand,\n CreateManagedPrefixListCommand,\n CreateNatGatewayCommand,\n CreateNetworkAclCommand,\n CreateNetworkAclEntryCommand,\n CreateNetworkInsightsAccessScopeCommand,\n CreateNetworkInsightsPathCommand,\n CreateNetworkInterfaceCommand,\n CreateNetworkInterfacePermissionCommand,\n CreatePlacementGroupCommand,\n CreatePublicIpv4PoolCommand,\n CreateReplaceRootVolumeTaskCommand,\n CreateReservedInstancesListingCommand,\n CreateRestoreImageTaskCommand,\n CreateRouteCommand,\n CreateRouteServerCommand,\n CreateRouteServerEndpointCommand,\n CreateRouteServerPeerCommand,\n CreateRouteTableCommand,\n CreateSecurityGroupCommand,\n CreateSnapshotCommand,\n CreateSnapshotsCommand,\n CreateSpotDatafeedSubscriptionCommand,\n CreateStoreImageTaskCommand,\n CreateSubnetCidrReservationCommand,\n CreateSubnetCommand,\n CreateTagsCommand,\n CreateTrafficMirrorFilterCommand,\n CreateTrafficMirrorFilterRuleCommand,\n CreateTrafficMirrorSessionCommand,\n CreateTrafficMirrorTargetCommand,\n CreateTransitGatewayCommand,\n CreateTransitGatewayConnectCommand,\n CreateTransitGatewayConnectPeerCommand,\n CreateTransitGatewayMulticastDomainCommand,\n CreateTransitGatewayPeeringAttachmentCommand,\n CreateTransitGatewayPolicyTableCommand,\n CreateTransitGatewayPrefixListReferenceCommand,\n CreateTransitGatewayRouteCommand,\n CreateTransitGatewayRouteTableAnnouncementCommand,\n CreateTransitGatewayRouteTableCommand,\n CreateTransitGatewayVpcAttachmentCommand,\n CreateVerifiedAccessEndpointCommand,\n CreateVerifiedAccessGroupCommand,\n CreateVerifiedAccessInstanceCommand,\n CreateVerifiedAccessTrustProviderCommand,\n CreateVolumeCommand,\n CreateVpcBlockPublicAccessExclusionCommand,\n CreateVpcCommand,\n CreateVpcEndpointCommand,\n CreateVpcEndpointConnectionNotificationCommand,\n CreateVpcEndpointServiceConfigurationCommand,\n CreateVpcPeeringConnectionCommand,\n CreateVpnConnectionCommand,\n CreateVpnConnectionRouteCommand,\n CreateVpnGatewayCommand,\n DeleteCarrierGatewayCommand,\n DeleteClientVpnEndpointCommand,\n DeleteClientVpnRouteCommand,\n DeleteCoipCidrCommand,\n DeleteCoipPoolCommand,\n DeleteCustomerGatewayCommand,\n DeleteDhcpOptionsCommand,\n DeleteEgressOnlyInternetGatewayCommand,\n DeleteFleetsCommand,\n DeleteFlowLogsCommand,\n DeleteFpgaImageCommand,\n DeleteInstanceConnectEndpointCommand,\n DeleteInstanceEventWindowCommand,\n DeleteInternetGatewayCommand,\n DeleteIpamCommand,\n DeleteIpamExternalResourceVerificationTokenCommand,\n DeleteIpamPoolCommand,\n DeleteIpamResourceDiscoveryCommand,\n DeleteIpamScopeCommand,\n DeleteKeyPairCommand,\n DeleteLaunchTemplateCommand,\n DeleteLaunchTemplateVersionsCommand,\n DeleteLocalGatewayRouteCommand,\n DeleteLocalGatewayRouteTableCommand,\n DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,\n DeleteLocalGatewayRouteTableVpcAssociationCommand,\n DeleteLocalGatewayVirtualInterfaceCommand,\n DeleteLocalGatewayVirtualInterfaceGroupCommand,\n DeleteManagedPrefixListCommand,\n DeleteNatGatewayCommand,\n DeleteNetworkAclCommand,\n DeleteNetworkAclEntryCommand,\n DeleteNetworkInsightsAccessScopeAnalysisCommand,\n DeleteNetworkInsightsAccessScopeCommand,\n DeleteNetworkInsightsAnalysisCommand,\n DeleteNetworkInsightsPathCommand,\n DeleteNetworkInterfaceCommand,\n DeleteNetworkInterfacePermissionCommand,\n DeletePlacementGroupCommand,\n DeletePublicIpv4PoolCommand,\n DeleteQueuedReservedInstancesCommand,\n DeleteRouteCommand,\n DeleteRouteServerCommand,\n DeleteRouteServerEndpointCommand,\n DeleteRouteServerPeerCommand,\n DeleteRouteTableCommand,\n DeleteSecurityGroupCommand,\n DeleteSnapshotCommand,\n DeleteSpotDatafeedSubscriptionCommand,\n DeleteSubnetCidrReservationCommand,\n DeleteSubnetCommand,\n DeleteTagsCommand,\n DeleteTrafficMirrorFilterCommand,\n DeleteTrafficMirrorFilterRuleCommand,\n DeleteTrafficMirrorSessionCommand,\n DeleteTrafficMirrorTargetCommand,\n DeleteTransitGatewayCommand,\n DeleteTransitGatewayConnectCommand,\n DeleteTransitGatewayConnectPeerCommand,\n DeleteTransitGatewayMulticastDomainCommand,\n DeleteTransitGatewayPeeringAttachmentCommand,\n DeleteTransitGatewayPolicyTableCommand,\n DeleteTransitGatewayPrefixListReferenceCommand,\n DeleteTransitGatewayRouteCommand,\n DeleteTransitGatewayRouteTableAnnouncementCommand,\n DeleteTransitGatewayRouteTableCommand,\n DeleteTransitGatewayVpcAttachmentCommand,\n DeleteVerifiedAccessEndpointCommand,\n DeleteVerifiedAccessGroupCommand,\n DeleteVerifiedAccessInstanceCommand,\n DeleteVerifiedAccessTrustProviderCommand,\n DeleteVolumeCommand,\n DeleteVpcBlockPublicAccessExclusionCommand,\n DeleteVpcCommand,\n DeleteVpcEndpointConnectionNotificationsCommand,\n DeleteVpcEndpointServiceConfigurationsCommand,\n DeleteVpcEndpointsCommand,\n DeleteVpcPeeringConnectionCommand,\n DeleteVpnConnectionCommand,\n DeleteVpnConnectionRouteCommand,\n DeleteVpnGatewayCommand,\n DeprovisionByoipCidrCommand,\n DeprovisionIpamByoasnCommand,\n DeprovisionIpamPoolCidrCommand,\n DeprovisionPublicIpv4PoolCidrCommand,\n DeregisterImageCommand,\n DeregisterInstanceEventNotificationAttributesCommand,\n DeregisterTransitGatewayMulticastGroupMembersCommand,\n DeregisterTransitGatewayMulticastGroupSourcesCommand,\n DescribeAccountAttributesCommand,\n DescribeAddressTransfersCommand,\n DescribeAddressesAttributeCommand,\n DescribeAddressesCommand,\n DescribeAggregateIdFormatCommand,\n DescribeAvailabilityZonesCommand,\n DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,\n DescribeBundleTasksCommand,\n DescribeByoipCidrsCommand,\n DescribeCapacityBlockExtensionHistoryCommand,\n DescribeCapacityBlockExtensionOfferingsCommand,\n DescribeCapacityBlockOfferingsCommand,\n DescribeCapacityReservationBillingRequestsCommand,\n DescribeCapacityReservationFleetsCommand,\n DescribeCapacityReservationsCommand,\n DescribeCarrierGatewaysCommand,\n DescribeClassicLinkInstancesCommand,\n DescribeClientVpnAuthorizationRulesCommand,\n DescribeClientVpnConnectionsCommand,\n DescribeClientVpnEndpointsCommand,\n DescribeClientVpnRoutesCommand,\n DescribeClientVpnTargetNetworksCommand,\n DescribeCoipPoolsCommand,\n DescribeConversionTasksCommand,\n DescribeCustomerGatewaysCommand,\n DescribeDeclarativePoliciesReportsCommand,\n DescribeDhcpOptionsCommand,\n DescribeEgressOnlyInternetGatewaysCommand,\n DescribeElasticGpusCommand,\n DescribeExportImageTasksCommand,\n DescribeExportTasksCommand,\n DescribeFastLaunchImagesCommand,\n DescribeFastSnapshotRestoresCommand,\n DescribeFleetHistoryCommand,\n DescribeFleetInstancesCommand,\n DescribeFleetsCommand,\n DescribeFlowLogsCommand,\n DescribeFpgaImageAttributeCommand,\n DescribeFpgaImagesCommand,\n DescribeHostReservationOfferingsCommand,\n DescribeHostReservationsCommand,\n DescribeHostsCommand,\n DescribeIamInstanceProfileAssociationsCommand,\n DescribeIdFormatCommand,\n DescribeIdentityIdFormatCommand,\n DescribeImageAttributeCommand,\n DescribeImagesCommand,\n DescribeImportImageTasksCommand,\n DescribeImportSnapshotTasksCommand,\n DescribeInstanceAttributeCommand,\n DescribeInstanceConnectEndpointsCommand,\n DescribeInstanceCreditSpecificationsCommand,\n DescribeInstanceEventNotificationAttributesCommand,\n DescribeInstanceEventWindowsCommand,\n DescribeInstanceImageMetadataCommand,\n DescribeInstanceStatusCommand,\n DescribeInstanceTopologyCommand,\n DescribeInstanceTypeOfferingsCommand,\n DescribeInstanceTypesCommand,\n DescribeInstancesCommand,\n DescribeInternetGatewaysCommand,\n DescribeIpamByoasnCommand,\n DescribeIpamExternalResourceVerificationTokensCommand,\n DescribeIpamPoolsCommand,\n DescribeIpamResourceDiscoveriesCommand,\n DescribeIpamResourceDiscoveryAssociationsCommand,\n DescribeIpamScopesCommand,\n DescribeIpamsCommand,\n DescribeIpv6PoolsCommand,\n DescribeKeyPairsCommand,\n DescribeLaunchTemplateVersionsCommand,\n DescribeLaunchTemplatesCommand,\n DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,\n DescribeLocalGatewayRouteTableVpcAssociationsCommand,\n DescribeLocalGatewayRouteTablesCommand,\n DescribeLocalGatewayVirtualInterfaceGroupsCommand,\n DescribeLocalGatewayVirtualInterfacesCommand,\n DescribeLocalGatewaysCommand,\n DescribeLockedSnapshotsCommand,\n DescribeMacHostsCommand,\n DescribeManagedPrefixListsCommand,\n DescribeMovingAddressesCommand,\n DescribeNatGatewaysCommand,\n DescribeNetworkAclsCommand,\n DescribeNetworkInsightsAccessScopeAnalysesCommand,\n DescribeNetworkInsightsAccessScopesCommand,\n DescribeNetworkInsightsAnalysesCommand,\n DescribeNetworkInsightsPathsCommand,\n DescribeNetworkInterfaceAttributeCommand,\n DescribeNetworkInterfacePermissionsCommand,\n DescribeNetworkInterfacesCommand,\n DescribeOutpostLagsCommand,\n DescribePlacementGroupsCommand,\n DescribePrefixListsCommand,\n DescribePrincipalIdFormatCommand,\n DescribePublicIpv4PoolsCommand,\n DescribeRegionsCommand,\n DescribeReplaceRootVolumeTasksCommand,\n DescribeReservedInstancesCommand,\n DescribeReservedInstancesListingsCommand,\n DescribeReservedInstancesModificationsCommand,\n DescribeReservedInstancesOfferingsCommand,\n DescribeRouteServerEndpointsCommand,\n DescribeRouteServerPeersCommand,\n DescribeRouteServersCommand,\n DescribeRouteTablesCommand,\n DescribeScheduledInstanceAvailabilityCommand,\n DescribeScheduledInstancesCommand,\n DescribeSecurityGroupReferencesCommand,\n DescribeSecurityGroupRulesCommand,\n DescribeSecurityGroupVpcAssociationsCommand,\n DescribeSecurityGroupsCommand,\n DescribeServiceLinkVirtualInterfacesCommand,\n DescribeSnapshotAttributeCommand,\n DescribeSnapshotTierStatusCommand,\n DescribeSnapshotsCommand,\n DescribeSpotDatafeedSubscriptionCommand,\n DescribeSpotFleetInstancesCommand,\n DescribeSpotFleetRequestHistoryCommand,\n DescribeSpotFleetRequestsCommand,\n DescribeSpotInstanceRequestsCommand,\n DescribeSpotPriceHistoryCommand,\n DescribeStaleSecurityGroupsCommand,\n DescribeStoreImageTasksCommand,\n DescribeSubnetsCommand,\n DescribeTagsCommand,\n DescribeTrafficMirrorFilterRulesCommand,\n DescribeTrafficMirrorFiltersCommand,\n DescribeTrafficMirrorSessionsCommand,\n DescribeTrafficMirrorTargetsCommand,\n DescribeTransitGatewayAttachmentsCommand,\n DescribeTransitGatewayConnectPeersCommand,\n DescribeTransitGatewayConnectsCommand,\n DescribeTransitGatewayMulticastDomainsCommand,\n DescribeTransitGatewayPeeringAttachmentsCommand,\n DescribeTransitGatewayPolicyTablesCommand,\n DescribeTransitGatewayRouteTableAnnouncementsCommand,\n DescribeTransitGatewayRouteTablesCommand,\n DescribeTransitGatewayVpcAttachmentsCommand,\n DescribeTransitGatewaysCommand,\n DescribeTrunkInterfaceAssociationsCommand,\n DescribeVerifiedAccessEndpointsCommand,\n DescribeVerifiedAccessGroupsCommand,\n DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,\n DescribeVerifiedAccessInstancesCommand,\n DescribeVerifiedAccessTrustProvidersCommand,\n DescribeVolumeAttributeCommand,\n DescribeVolumeStatusCommand,\n DescribeVolumesCommand,\n DescribeVolumesModificationsCommand,\n DescribeVpcAttributeCommand,\n DescribeVpcBlockPublicAccessExclusionsCommand,\n DescribeVpcBlockPublicAccessOptionsCommand,\n DescribeVpcClassicLinkCommand,\n DescribeVpcClassicLinkDnsSupportCommand,\n DescribeVpcEndpointAssociationsCommand,\n DescribeVpcEndpointConnectionNotificationsCommand,\n DescribeVpcEndpointConnectionsCommand,\n DescribeVpcEndpointServiceConfigurationsCommand,\n DescribeVpcEndpointServicePermissionsCommand,\n DescribeVpcEndpointServicesCommand,\n DescribeVpcEndpointsCommand,\n DescribeVpcPeeringConnectionsCommand,\n DescribeVpcsCommand,\n DescribeVpnConnectionsCommand,\n DescribeVpnGatewaysCommand,\n DetachClassicLinkVpcCommand,\n DetachInternetGatewayCommand,\n DetachNetworkInterfaceCommand,\n DetachVerifiedAccessTrustProviderCommand,\n DetachVolumeCommand,\n DetachVpnGatewayCommand,\n DisableAddressTransferCommand,\n DisableAllowedImagesSettingsCommand,\n DisableAwsNetworkPerformanceMetricSubscriptionCommand,\n DisableEbsEncryptionByDefaultCommand,\n DisableFastLaunchCommand,\n DisableFastSnapshotRestoresCommand,\n DisableImageBlockPublicAccessCommand,\n DisableImageCommand,\n DisableImageDeprecationCommand,\n DisableImageDeregistrationProtectionCommand,\n DisableIpamOrganizationAdminAccountCommand,\n DisableRouteServerPropagationCommand,\n DisableSerialConsoleAccessCommand,\n DisableSnapshotBlockPublicAccessCommand,\n DisableTransitGatewayRouteTablePropagationCommand,\n DisableVgwRoutePropagationCommand,\n DisableVpcClassicLinkCommand,\n DisableVpcClassicLinkDnsSupportCommand,\n DisassociateAddressCommand,\n DisassociateCapacityReservationBillingOwnerCommand,\n DisassociateClientVpnTargetNetworkCommand,\n DisassociateEnclaveCertificateIamRoleCommand,\n DisassociateIamInstanceProfileCommand,\n DisassociateInstanceEventWindowCommand,\n DisassociateIpamByoasnCommand,\n DisassociateIpamResourceDiscoveryCommand,\n DisassociateNatGatewayAddressCommand,\n DisassociateRouteServerCommand,\n DisassociateRouteTableCommand,\n DisassociateSecurityGroupVpcCommand,\n DisassociateSubnetCidrBlockCommand,\n DisassociateTransitGatewayMulticastDomainCommand,\n DisassociateTransitGatewayPolicyTableCommand,\n DisassociateTransitGatewayRouteTableCommand,\n DisassociateTrunkInterfaceCommand,\n DisassociateVpcCidrBlockCommand,\n EnableAddressTransferCommand,\n EnableAllowedImagesSettingsCommand,\n EnableAwsNetworkPerformanceMetricSubscriptionCommand,\n EnableEbsEncryptionByDefaultCommand,\n EnableFastLaunchCommand,\n EnableFastSnapshotRestoresCommand,\n EnableImageBlockPublicAccessCommand,\n EnableImageCommand,\n EnableImageDeprecationCommand,\n EnableImageDeregistrationProtectionCommand,\n EnableIpamOrganizationAdminAccountCommand,\n EnableReachabilityAnalyzerOrganizationSharingCommand,\n EnableRouteServerPropagationCommand,\n EnableSerialConsoleAccessCommand,\n EnableSnapshotBlockPublicAccessCommand,\n EnableTransitGatewayRouteTablePropagationCommand,\n EnableVgwRoutePropagationCommand,\n EnableVolumeIOCommand,\n EnableVpcClassicLinkCommand,\n EnableVpcClassicLinkDnsSupportCommand,\n ExportClientVpnClientCertificateRevocationListCommand,\n ExportClientVpnClientConfigurationCommand,\n ExportImageCommand,\n ExportTransitGatewayRoutesCommand,\n ExportVerifiedAccessInstanceClientConfigurationCommand,\n GetAllowedImagesSettingsCommand,\n GetAssociatedEnclaveCertificateIamRolesCommand,\n GetAssociatedIpv6PoolCidrsCommand,\n GetAwsNetworkPerformanceDataCommand,\n GetCapacityReservationUsageCommand,\n GetCoipPoolUsageCommand,\n GetConsoleOutputCommand,\n GetConsoleScreenshotCommand,\n GetDeclarativePoliciesReportSummaryCommand,\n GetDefaultCreditSpecificationCommand,\n GetEbsDefaultKmsKeyIdCommand,\n GetEbsEncryptionByDefaultCommand,\n GetFlowLogsIntegrationTemplateCommand,\n GetGroupsForCapacityReservationCommand,\n GetHostReservationPurchasePreviewCommand,\n GetImageBlockPublicAccessStateCommand,\n GetInstanceMetadataDefaultsCommand,\n GetInstanceTpmEkPubCommand,\n GetInstanceTypesFromInstanceRequirementsCommand,\n GetInstanceUefiDataCommand,\n GetIpamAddressHistoryCommand,\n GetIpamDiscoveredAccountsCommand,\n GetIpamDiscoveredPublicAddressesCommand,\n GetIpamDiscoveredResourceCidrsCommand,\n GetIpamPoolAllocationsCommand,\n GetIpamPoolCidrsCommand,\n GetIpamResourceCidrsCommand,\n GetLaunchTemplateDataCommand,\n GetManagedPrefixListAssociationsCommand,\n GetManagedPrefixListEntriesCommand,\n GetNetworkInsightsAccessScopeAnalysisFindingsCommand,\n GetNetworkInsightsAccessScopeContentCommand,\n GetPasswordDataCommand,\n GetReservedInstancesExchangeQuoteCommand,\n GetRouteServerAssociationsCommand,\n GetRouteServerPropagationsCommand,\n GetRouteServerRoutingDatabaseCommand,\n GetSecurityGroupsForVpcCommand,\n GetSerialConsoleAccessStatusCommand,\n GetSnapshotBlockPublicAccessStateCommand,\n GetSpotPlacementScoresCommand,\n GetSubnetCidrReservationsCommand,\n GetTransitGatewayAttachmentPropagationsCommand,\n GetTransitGatewayMulticastDomainAssociationsCommand,\n GetTransitGatewayPolicyTableAssociationsCommand,\n GetTransitGatewayPolicyTableEntriesCommand,\n GetTransitGatewayPrefixListReferencesCommand,\n GetTransitGatewayRouteTableAssociationsCommand,\n GetTransitGatewayRouteTablePropagationsCommand,\n GetVerifiedAccessEndpointPolicyCommand,\n GetVerifiedAccessEndpointTargetsCommand,\n GetVerifiedAccessGroupPolicyCommand,\n GetVpnConnectionDeviceSampleConfigurationCommand,\n GetVpnConnectionDeviceTypesCommand,\n GetVpnTunnelReplacementStatusCommand,\n ImportClientVpnClientCertificateRevocationListCommand,\n ImportImageCommand,\n ImportInstanceCommand,\n ImportKeyPairCommand,\n ImportSnapshotCommand,\n ImportVolumeCommand,\n ListImagesInRecycleBinCommand,\n ListSnapshotsInRecycleBinCommand,\n LockSnapshotCommand,\n ModifyAddressAttributeCommand,\n ModifyAvailabilityZoneGroupCommand,\n ModifyCapacityReservationCommand,\n ModifyCapacityReservationFleetCommand,\n ModifyClientVpnEndpointCommand,\n ModifyDefaultCreditSpecificationCommand,\n ModifyEbsDefaultKmsKeyIdCommand,\n ModifyFleetCommand,\n ModifyFpgaImageAttributeCommand,\n ModifyHostsCommand,\n ModifyIdFormatCommand,\n ModifyIdentityIdFormatCommand,\n ModifyImageAttributeCommand,\n ModifyInstanceAttributeCommand,\n ModifyInstanceCapacityReservationAttributesCommand,\n ModifyInstanceCpuOptionsCommand,\n ModifyInstanceCreditSpecificationCommand,\n ModifyInstanceEventStartTimeCommand,\n ModifyInstanceEventWindowCommand,\n ModifyInstanceMaintenanceOptionsCommand,\n ModifyInstanceMetadataDefaultsCommand,\n ModifyInstanceMetadataOptionsCommand,\n ModifyInstanceNetworkPerformanceOptionsCommand,\n ModifyInstancePlacementCommand,\n ModifyIpamCommand,\n ModifyIpamPoolCommand,\n ModifyIpamResourceCidrCommand,\n ModifyIpamResourceDiscoveryCommand,\n ModifyIpamScopeCommand,\n ModifyLaunchTemplateCommand,\n ModifyLocalGatewayRouteCommand,\n ModifyManagedPrefixListCommand,\n ModifyNetworkInterfaceAttributeCommand,\n ModifyPrivateDnsNameOptionsCommand,\n ModifyReservedInstancesCommand,\n ModifyRouteServerCommand,\n ModifySecurityGroupRulesCommand,\n ModifySnapshotAttributeCommand,\n ModifySnapshotTierCommand,\n ModifySpotFleetRequestCommand,\n ModifySubnetAttributeCommand,\n ModifyTrafficMirrorFilterNetworkServicesCommand,\n ModifyTrafficMirrorFilterRuleCommand,\n ModifyTrafficMirrorSessionCommand,\n ModifyTransitGatewayCommand,\n ModifyTransitGatewayPrefixListReferenceCommand,\n ModifyTransitGatewayVpcAttachmentCommand,\n ModifyVerifiedAccessEndpointCommand,\n ModifyVerifiedAccessEndpointPolicyCommand,\n ModifyVerifiedAccessGroupCommand,\n ModifyVerifiedAccessGroupPolicyCommand,\n ModifyVerifiedAccessInstanceCommand,\n ModifyVerifiedAccessInstanceLoggingConfigurationCommand,\n ModifyVerifiedAccessTrustProviderCommand,\n ModifyVolumeAttributeCommand,\n ModifyVolumeCommand,\n ModifyVpcAttributeCommand,\n ModifyVpcBlockPublicAccessExclusionCommand,\n ModifyVpcBlockPublicAccessOptionsCommand,\n ModifyVpcEndpointCommand,\n ModifyVpcEndpointConnectionNotificationCommand,\n ModifyVpcEndpointServiceConfigurationCommand,\n ModifyVpcEndpointServicePayerResponsibilityCommand,\n ModifyVpcEndpointServicePermissionsCommand,\n ModifyVpcPeeringConnectionOptionsCommand,\n ModifyVpcTenancyCommand,\n ModifyVpnConnectionCommand,\n ModifyVpnConnectionOptionsCommand,\n ModifyVpnTunnelCertificateCommand,\n ModifyVpnTunnelOptionsCommand,\n MonitorInstancesCommand,\n MoveAddressToVpcCommand,\n MoveByoipCidrToIpamCommand,\n MoveCapacityReservationInstancesCommand,\n ProvisionByoipCidrCommand,\n ProvisionIpamByoasnCommand,\n ProvisionIpamPoolCidrCommand,\n ProvisionPublicIpv4PoolCidrCommand,\n PurchaseCapacityBlockCommand,\n PurchaseCapacityBlockExtensionCommand,\n PurchaseHostReservationCommand,\n PurchaseReservedInstancesOfferingCommand,\n PurchaseScheduledInstancesCommand,\n RebootInstancesCommand,\n RegisterImageCommand,\n RegisterInstanceEventNotificationAttributesCommand,\n RegisterTransitGatewayMulticastGroupMembersCommand,\n RegisterTransitGatewayMulticastGroupSourcesCommand,\n RejectCapacityReservationBillingOwnershipCommand,\n RejectTransitGatewayMulticastDomainAssociationsCommand,\n RejectTransitGatewayPeeringAttachmentCommand,\n RejectTransitGatewayVpcAttachmentCommand,\n RejectVpcEndpointConnectionsCommand,\n RejectVpcPeeringConnectionCommand,\n ReleaseAddressCommand,\n ReleaseHostsCommand,\n ReleaseIpamPoolAllocationCommand,\n ReplaceIamInstanceProfileAssociationCommand,\n ReplaceImageCriteriaInAllowedImagesSettingsCommand,\n ReplaceNetworkAclAssociationCommand,\n ReplaceNetworkAclEntryCommand,\n ReplaceRouteCommand,\n ReplaceRouteTableAssociationCommand,\n ReplaceTransitGatewayRouteCommand,\n ReplaceVpnTunnelCommand,\n ReportInstanceStatusCommand,\n RequestSpotFleetCommand,\n RequestSpotInstancesCommand,\n ResetAddressAttributeCommand,\n ResetEbsDefaultKmsKeyIdCommand,\n ResetFpgaImageAttributeCommand,\n ResetImageAttributeCommand,\n ResetInstanceAttributeCommand,\n ResetNetworkInterfaceAttributeCommand,\n ResetSnapshotAttributeCommand,\n RestoreAddressToClassicCommand,\n RestoreImageFromRecycleBinCommand,\n RestoreManagedPrefixListVersionCommand,\n RestoreSnapshotFromRecycleBinCommand,\n RestoreSnapshotTierCommand,\n RevokeClientVpnIngressCommand,\n RevokeSecurityGroupEgressCommand,\n RevokeSecurityGroupIngressCommand,\n RunInstancesCommand,\n RunScheduledInstancesCommand,\n SearchLocalGatewayRoutesCommand,\n SearchTransitGatewayMulticastGroupsCommand,\n SearchTransitGatewayRoutesCommand,\n SendDiagnosticInterruptCommand,\n StartDeclarativePoliciesReportCommand,\n StartInstancesCommand,\n StartNetworkInsightsAccessScopeAnalysisCommand,\n StartNetworkInsightsAnalysisCommand,\n StartVpcEndpointServicePrivateDnsVerificationCommand,\n StopInstancesCommand,\n TerminateClientVpnConnectionsCommand,\n TerminateInstancesCommand,\n UnassignIpv6AddressesCommand,\n UnassignPrivateIpAddressesCommand,\n UnassignPrivateNatGatewayAddressCommand,\n UnlockSnapshotCommand,\n UnmonitorInstancesCommand,\n UpdateSecurityGroupRuleDescriptionsEgressCommand,\n UpdateSecurityGroupRuleDescriptionsIngressCommand,\n WithdrawByoipCidrCommand,\n paginateDescribeAddressTransfers,\n paginateDescribeAddressesAttribute,\n paginateDescribeAwsNetworkPerformanceMetricSubscriptions,\n paginateDescribeByoipCidrs,\n paginateDescribeCapacityBlockExtensionHistory,\n paginateDescribeCapacityBlockExtensionOfferings,\n paginateDescribeCapacityBlockOfferings,\n paginateDescribeCapacityReservationBillingRequests,\n paginateDescribeCapacityReservationFleets,\n paginateDescribeCapacityReservations,\n paginateDescribeCarrierGateways,\n paginateDescribeClassicLinkInstances,\n paginateDescribeClientVpnAuthorizationRules,\n paginateDescribeClientVpnConnections,\n paginateDescribeClientVpnEndpoints,\n paginateDescribeClientVpnRoutes,\n paginateDescribeClientVpnTargetNetworks,\n paginateDescribeCoipPools,\n paginateDescribeDhcpOptions,\n paginateDescribeEgressOnlyInternetGateways,\n paginateDescribeExportImageTasks,\n paginateDescribeFastLaunchImages,\n paginateDescribeFastSnapshotRestores,\n paginateDescribeFleets,\n paginateDescribeFlowLogs,\n paginateDescribeFpgaImages,\n paginateDescribeHostReservationOfferings,\n paginateDescribeHostReservations,\n paginateDescribeHosts,\n paginateDescribeIamInstanceProfileAssociations,\n paginateDescribeImages,\n paginateDescribeImportImageTasks,\n paginateDescribeImportSnapshotTasks,\n paginateDescribeInstanceConnectEndpoints,\n paginateDescribeInstanceCreditSpecifications,\n paginateDescribeInstanceEventWindows,\n paginateDescribeInstanceImageMetadata,\n paginateDescribeInstanceStatus,\n paginateDescribeInstanceTopology,\n paginateDescribeInstanceTypeOfferings,\n paginateDescribeInstanceTypes,\n paginateDescribeInstances,\n paginateDescribeInternetGateways,\n paginateDescribeIpamPools,\n paginateDescribeIpamResourceDiscoveries,\n paginateDescribeIpamResourceDiscoveryAssociations,\n paginateDescribeIpamScopes,\n paginateDescribeIpams,\n paginateDescribeIpv6Pools,\n paginateDescribeLaunchTemplateVersions,\n paginateDescribeLaunchTemplates,\n paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations,\n paginateDescribeLocalGatewayRouteTableVpcAssociations,\n paginateDescribeLocalGatewayRouteTables,\n paginateDescribeLocalGatewayVirtualInterfaceGroups,\n paginateDescribeLocalGatewayVirtualInterfaces,\n paginateDescribeLocalGateways,\n paginateDescribeMacHosts,\n paginateDescribeManagedPrefixLists,\n paginateDescribeMovingAddresses,\n paginateDescribeNatGateways,\n paginateDescribeNetworkAcls,\n paginateDescribeNetworkInsightsAccessScopeAnalyses,\n paginateDescribeNetworkInsightsAccessScopes,\n paginateDescribeNetworkInsightsAnalyses,\n paginateDescribeNetworkInsightsPaths,\n paginateDescribeNetworkInterfacePermissions,\n paginateDescribeNetworkInterfaces,\n paginateDescribePrefixLists,\n paginateDescribePrincipalIdFormat,\n paginateDescribePublicIpv4Pools,\n paginateDescribeReplaceRootVolumeTasks,\n paginateDescribeReservedInstancesModifications,\n paginateDescribeReservedInstancesOfferings,\n paginateDescribeRouteServerEndpoints,\n paginateDescribeRouteServerPeers,\n paginateDescribeRouteServers,\n paginateDescribeRouteTables,\n paginateDescribeScheduledInstanceAvailability,\n paginateDescribeScheduledInstances,\n paginateDescribeSecurityGroupRules,\n paginateDescribeSecurityGroupVpcAssociations,\n paginateDescribeSecurityGroups,\n paginateDescribeSnapshotTierStatus,\n paginateDescribeSnapshots,\n paginateDescribeSpotFleetRequests,\n paginateDescribeSpotInstanceRequests,\n paginateDescribeSpotPriceHistory,\n paginateDescribeStaleSecurityGroups,\n paginateDescribeStoreImageTasks,\n paginateDescribeSubnets,\n paginateDescribeTags,\n paginateDescribeTrafficMirrorFilters,\n paginateDescribeTrafficMirrorSessions,\n paginateDescribeTrafficMirrorTargets,\n paginateDescribeTransitGatewayAttachments,\n paginateDescribeTransitGatewayConnectPeers,\n paginateDescribeTransitGatewayConnects,\n paginateDescribeTransitGatewayMulticastDomains,\n paginateDescribeTransitGatewayPeeringAttachments,\n paginateDescribeTransitGatewayPolicyTables,\n paginateDescribeTransitGatewayRouteTableAnnouncements,\n paginateDescribeTransitGatewayRouteTables,\n paginateDescribeTransitGatewayVpcAttachments,\n paginateDescribeTransitGateways,\n paginateDescribeTrunkInterfaceAssociations,\n paginateDescribeVerifiedAccessEndpoints,\n paginateDescribeVerifiedAccessGroups,\n paginateDescribeVerifiedAccessInstanceLoggingConfigurations,\n paginateDescribeVerifiedAccessInstances,\n paginateDescribeVerifiedAccessTrustProviders,\n paginateDescribeVolumeStatus,\n paginateDescribeVolumesModifications,\n paginateDescribeVolumes,\n paginateDescribeVpcClassicLinkDnsSupport,\n paginateDescribeVpcEndpointConnectionNotifications,\n paginateDescribeVpcEndpointConnections,\n paginateDescribeVpcEndpointServiceConfigurations,\n paginateDescribeVpcEndpointServicePermissions,\n paginateDescribeVpcEndpoints,\n paginateDescribeVpcPeeringConnections,\n paginateDescribeVpcs,\n paginateGetAssociatedIpv6PoolCidrs,\n paginateGetAwsNetworkPerformanceData,\n paginateGetGroupsForCapacityReservation,\n paginateGetInstanceTypesFromInstanceRequirements,\n paginateGetIpamAddressHistory,\n paginateGetIpamDiscoveredAccounts,\n paginateGetIpamDiscoveredResourceCidrs,\n paginateGetIpamPoolAllocations,\n paginateGetIpamPoolCidrs,\n paginateGetIpamResourceCidrs,\n paginateGetManagedPrefixListAssociations,\n paginateGetManagedPrefixListEntries,\n paginateGetNetworkInsightsAccessScopeAnalysisFindings,\n paginateGetSecurityGroupsForVpc,\n paginateGetSpotPlacementScores,\n paginateGetTransitGatewayAttachmentPropagations,\n paginateGetTransitGatewayMulticastDomainAssociations,\n paginateGetTransitGatewayPolicyTableAssociations,\n paginateGetTransitGatewayPrefixListReferences,\n paginateGetTransitGatewayRouteTableAssociations,\n paginateGetTransitGatewayRouteTablePropagations,\n paginateGetVpnConnectionDeviceTypes,\n paginateListImagesInRecycleBin,\n paginateListSnapshotsInRecycleBin,\n paginateSearchLocalGatewayRoutes,\n paginateSearchTransitGatewayMulticastGroups,\n waitForBundleTaskComplete,\n waitUntilBundleTaskComplete,\n waitForConversionTaskCancelled,\n waitUntilConversionTaskCancelled,\n waitForConversionTaskCompleted,\n waitUntilConversionTaskCompleted,\n waitForConversionTaskDeleted,\n waitUntilConversionTaskDeleted,\n waitForCustomerGatewayAvailable,\n waitUntilCustomerGatewayAvailable,\n waitForExportTaskCancelled,\n waitUntilExportTaskCancelled,\n waitForExportTaskCompleted,\n waitUntilExportTaskCompleted,\n waitForImageAvailable,\n waitUntilImageAvailable,\n waitForImageExists,\n waitUntilImageExists,\n waitForInstanceExists,\n waitUntilInstanceExists,\n waitForInstanceRunning,\n waitUntilInstanceRunning,\n waitForInstanceStatusOk,\n waitUntilInstanceStatusOk,\n waitForInstanceStopped,\n waitUntilInstanceStopped,\n waitForInstanceTerminated,\n waitUntilInstanceTerminated,\n waitForInternetGatewayExists,\n waitUntilInternetGatewayExists,\n waitForKeyPairExists,\n waitUntilKeyPairExists,\n waitForNatGatewayAvailable,\n waitUntilNatGatewayAvailable,\n waitForNatGatewayDeleted,\n waitUntilNatGatewayDeleted,\n waitForNetworkInterfaceAvailable,\n waitUntilNetworkInterfaceAvailable,\n waitForSnapshotImported,\n waitUntilSnapshotImported,\n waitForSecurityGroupExists,\n waitUntilSecurityGroupExists,\n waitForSnapshotCompleted,\n waitUntilSnapshotCompleted,\n waitForSpotInstanceRequestFulfilled,\n waitUntilSpotInstanceRequestFulfilled,\n waitForStoreImageTaskComplete,\n waitUntilStoreImageTaskComplete,\n waitForSubnetAvailable,\n waitUntilSubnetAvailable,\n waitForSystemStatusOk,\n waitUntilSystemStatusOk,\n waitForPasswordDataAvailable,\n waitUntilPasswordDataAvailable,\n waitForVolumeAvailable,\n waitUntilVolumeAvailable,\n waitForVolumeDeleted,\n waitUntilVolumeDeleted,\n waitForVolumeInUse,\n waitUntilVolumeInUse,\n waitForVpcAvailable,\n waitUntilVpcAvailable,\n waitForVpcExists,\n waitUntilVpcExists,\n waitForVpcPeeringConnectionDeleted,\n waitUntilVpcPeeringConnectionDeleted,\n waitForVpcPeeringConnectionExists,\n waitUntilVpcPeeringConnectionExists,\n waitForVpnConnectionAvailable,\n waitUntilVpnConnectionAvailable,\n waitForVpnConnectionDeleted,\n waitUntilVpnConnectionDeleted,\n AcceleratorManufacturer,\n AcceleratorName,\n AcceleratorType,\n ResourceType,\n AddressTransferStatus,\n TransitGatewayAttachmentResourceType,\n TransitGatewayMulitcastDomainAssociationState,\n DynamicRoutingValue,\n TransitGatewayAttachmentState,\n ApplianceModeSupportValue,\n DnsSupportValue,\n Ipv6SupportValue,\n SecurityGroupReferencingSupportValue,\n VpcPeeringConnectionStateReasonCode,\n Protocol,\n AccountAttributeName,\n InstanceHealthStatus,\n ActivityStatus,\n PrincipalType,\n DomainType,\n ServiceManaged,\n AddressAttributeName,\n AddressFamily,\n AsnAssociationState,\n ByoipCidrState,\n Affinity,\n AutoPlacement,\n HostMaintenance,\n HostRecovery,\n IpamPoolAllocationResourceType,\n AllocationState,\n AllocationStrategy,\n AllocationType,\n AllowedImagesSettingsDisabledState,\n AllowedImagesSettingsEnabledState,\n AllowsMultipleInstanceTypes,\n NatGatewayAddressStatus,\n AssociationStatusCode,\n IamInstanceProfileAssociationState,\n InstanceEventWindowState,\n WeekDay,\n IpamAssociatedResourceDiscoveryStatus,\n IpamResourceDiscoveryAssociationState,\n RouteServerAssociationState,\n RouteTableAssociationStateCode,\n SecurityGroupVpcAssociationState,\n IpSource,\n Ipv6AddressAttribute,\n SubnetCidrBlockStateCode,\n TransitGatewayAssociationState,\n InterfaceProtocolType,\n VpcCidrBlockStateCode,\n DeviceTrustProviderType,\n TrustProviderType,\n UserTrustProviderType,\n VolumeAttachmentState,\n AttachmentStatus,\n ClientVpnAuthorizationRuleStatusCode,\n BundleTaskState,\n CapacityReservationFleetState,\n ListingState,\n CurrencyCodeValues,\n ListingStatus,\n BatchState,\n CancelBatchErrorCode,\n CancelSpotInstanceRequestState,\n OidcOptionsFilterSensitiveLog,\n VerifiedAccessTrustProviderFilterSensitiveLog,\n AttachVerifiedAccessTrustProviderResultFilterSensitiveLog,\n S3StorageFilterSensitiveLog,\n StorageFilterSensitiveLog,\n BundleInstanceRequestFilterSensitiveLog,\n BundleTaskFilterSensitiveLog,\n BundleInstanceResultFilterSensitiveLog,\n CancelBundleTaskResultFilterSensitiveLog,\n CapacityReservationDeliveryPreference,\n EndDateType,\n InstanceMatchCriteria,\n CapacityReservationInstancePlatform,\n CapacityReservationTenancy,\n CapacityReservationType,\n CapacityReservationState,\n FleetInstanceMatchCriteria,\n _InstanceType,\n FleetCapacityReservationTenancy,\n CarrierGatewayState,\n ClientVpnAuthenticationType,\n SelfServicePortal,\n TransportProtocol,\n ClientVpnEndpointStatusCode,\n ClientVpnRouteStatusCode,\n GatewayType,\n BlockPublicAccessMode,\n HostnameType,\n SubnetState,\n VpcEncryptionControlMode,\n VpcEncryptionControlExclusionState,\n VpcEncryptionControlState,\n Tenancy,\n VpcState,\n FleetExcessCapacityTerminationPolicy,\n VolumeType,\n BareMetal,\n BurstablePerformance,\n CpuManufacturer,\n InstanceGeneration,\n LocalStorage,\n LocalStorageType,\n FleetOnDemandAllocationStrategy,\n FleetCapacityReservationUsageStrategy,\n SpotAllocationStrategy,\n SpotInstanceInterruptionBehavior,\n FleetReplacementStrategy,\n DefaultTargetCapacityType,\n TargetCapacityUnitType,\n FleetType,\n InstanceLifecycle,\n PlatformValues,\n DestinationFileFormat,\n LogDestinationType,\n FlowLogsResourceType,\n TrafficType,\n Ec2InstanceConnectEndpointState,\n ContainerFormat,\n DiskImageFormat,\n ExportEnvironment,\n ExportTaskState,\n IpamMeteredAccount,\n IpamTier,\n IpamState,\n IpamExternalResourceVerificationTokenState,\n TokenState,\n IpamPoolAwsService,\n IpamPoolPublicIpSource,\n IpamPoolSourceResourceType,\n IpamScopeType,\n IpamPoolState,\n IpamResourceDiscoveryState,\n IpamScopeState,\n KeyFormat,\n KeyType,\n CapacityReservationPreference,\n AmdSevSnpSpecification,\n ShutdownBehavior,\n MarketType,\n InstanceInterruptionBehavior,\n SpotInstanceType,\n LaunchTemplateAutoRecoveryState,\n LaunchTemplateInstanceMetadataEndpointState,\n LaunchTemplateInstanceMetadataProtocolIpv6,\n LaunchTemplateHttpTokensState,\n LaunchTemplateInstanceMetadataTagsState,\n InstanceBandwidthWeighting,\n LaunchTemplateInstanceMetadataOptionsState,\n CopySnapshotRequestFilterSensitiveLog,\n KeyPairFilterSensitiveLog,\n RequestLaunchTemplateDataFilterSensitiveLog,\n CreateLaunchTemplateRequestFilterSensitiveLog,\n CreateLaunchTemplateVersionRequestFilterSensitiveLog,\n ResponseLaunchTemplateDataFilterSensitiveLog,\n LocalGatewayRouteState,\n LocalGatewayRouteType,\n LocalGatewayRouteTableMode,\n LocalGatewayVirtualInterfaceConfigurationState,\n LocalGatewayVirtualInterfaceGroupConfigurationState,\n PrefixListState,\n ConnectivityType,\n NatGatewayState,\n RuleAction,\n NetworkInterfaceCreationType,\n NetworkInterfaceType,\n NetworkInterfaceStatus,\n InterfacePermissionType,\n NetworkInterfacePermissionStateCode,\n SpreadLevel,\n PlacementStrategy,\n PlacementGroupState,\n ReplaceRootVolumeTaskState,\n RouteServerPersistRoutesAction,\n RouteServerPersistRoutesState,\n RouteServerState,\n RouteServerEndpointState,\n RouteServerPeerLivenessMode,\n RouteServerBfdState,\n RouteServerBgpState,\n RouteServerPeerState,\n RouteOrigin,\n RouteState,\n SnapshotLocationEnum,\n SSEType,\n SnapshotState,\n StorageTier,\n TransferType,\n CopyTagsFromSource,\n DatafeedSubscriptionState,\n SubnetCidrReservationType,\n TrafficMirrorRuleAction,\n TrafficDirection,\n TrafficMirrorNetworkService,\n TrafficMirrorTargetType,\n AutoAcceptSharedAttachmentsValue,\n DefaultRouteTableAssociationValue,\n DefaultRouteTablePropagationValue,\n MulticastSupportValue,\n VpnEcmpSupportValue,\n TransitGatewayState,\n ProtocolValue,\n BgpStatus,\n TransitGatewayConnectPeerState,\n AutoAcceptSharedAssociationsValue,\n Igmpv2SupportValue,\n StaticSourcesSupportValue,\n TransitGatewayMulticastDomainState,\n TransitGatewayPolicyTableState,\n TransitGatewayPrefixListReferenceState,\n TransitGatewayRouteState,\n TransitGatewayRouteType,\n TransitGatewayRouteTableState,\n TransitGatewayRouteTableAnnouncementDirection,\n TransitGatewayRouteTableAnnouncementState,\n VerifiedAccessEndpointAttachmentType,\n VerifiedAccessEndpointProtocol,\n VerifiedAccessEndpointType,\n VerifiedAccessEndpointStatusCode,\n VolumeState,\n InternetGatewayExclusionMode,\n VpcBlockPublicAccessExclusionState,\n DnsRecordIpType,\n IpAddressType,\n VpcEndpointType,\n State,\n ConnectionNotificationState,\n ConnectionNotificationType,\n PayerResponsibility,\n DnsNameState,\n ServiceState,\n ServiceType,\n LaunchTemplateVersionFilterSensitiveLog,\n CreateLaunchTemplateVersionResultFilterSensitiveLog,\n CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n CreateVerifiedAccessTrustProviderResultFilterSensitiveLog,\n ServiceConnectivityType,\n TunnelInsideIpVersion,\n GatewayAssociationState,\n VpnStaticRouteSource,\n VpnState,\n TelemetryStatus,\n FleetStateCode,\n DeleteFleetErrorCode,\n LaunchTemplateErrorCode,\n DeleteQueuedReservedInstancesErrorCode,\n AsnState,\n IpamPoolCidrFailureCode,\n IpamPoolCidrState,\n AvailabilityZoneOptInStatus,\n AvailabilityZoneState,\n MetricType,\n PeriodType,\n StatisticType,\n CapacityBlockExtensionStatus,\n CallerRole,\n CapacityReservationBillingRequestStatus,\n ClientVpnConnectionStatusCode,\n AssociatedNetworkType,\n ClientVpnEndpointAttributeStatusCode,\n VpnTunnelOptionsSpecificationFilterSensitiveLog,\n VpnConnectionOptionsSpecificationFilterSensitiveLog,\n CreateVpnConnectionRequestFilterSensitiveLog,\n TunnelOptionFilterSensitiveLog,\n VpnConnectionOptionsFilterSensitiveLog,\n VpnConnectionFilterSensitiveLog,\n CreateVpnConnectionResultFilterSensitiveLog,\n DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog,\n DescribeBundleTasksResultFilterSensitiveLog,\n VpnProtocol,\n ConversionTaskState,\n ReportState,\n ElasticGpuStatus,\n ElasticGpuState,\n FastLaunchResourceType,\n FastLaunchStateCode,\n FastSnapshotRestoreStateCode,\n FleetEventType,\n FleetActivityStatus,\n FpgaImageAttributeName,\n PermissionGroup,\n ProductCodeValues,\n FpgaImageStateCode,\n PaymentOption,\n ReservationState,\n ImageAttributeName,\n ArchitectureValues,\n BootModeValues,\n HypervisorType,\n ImageTypeValues,\n ImdsSupportValues,\n DeviceType,\n ImageState,\n TpmSupportValues,\n VirtualizationType,\n InstanceAttributeName,\n InstanceStateName,\n InstanceBootModeValues,\n InstanceLifecycleType,\n InstanceAutoRecoveryState,\n InstanceMetadataEndpointState,\n InstanceMetadataProtocolState,\n HttpTokensState,\n InstanceMetadataTagsState,\n InstanceMetadataOptionsState,\n MonitoringState,\n StatusName,\n StatusType,\n SummaryStatus,\n EventCode,\n LocationType,\n EbsOptimizedSupport,\n EbsEncryptionSupport,\n EbsNvmeSupport,\n InstanceTypeHypervisor,\n DiskType,\n InstanceStorageEncryptionSupport,\n EphemeralNvmeSupport,\n BandwidthWeightingType,\n EnaSupport,\n FlexibleEnaQueuesSupport,\n NitroEnclavesSupport,\n NitroTpmSupport,\n PhcSupport,\n PlacementGroupStrategy,\n ArchitectureType,\n SupportedAdditionalProcessorFeature,\n BootModeType,\n RootDeviceType,\n UsageClassType,\n DiskImageDescriptionFilterSensitiveLog,\n ImportInstanceVolumeDetailItemFilterSensitiveLog,\n ImportInstanceTaskDetailsFilterSensitiveLog,\n ImportVolumeTaskDetailsFilterSensitiveLog,\n ConversionTaskFilterSensitiveLog,\n DescribeConversionTasksResultFilterSensitiveLog,\n SnapshotDetailFilterSensitiveLog,\n ImportImageTaskFilterSensitiveLog,\n DescribeImportImageTasksResultFilterSensitiveLog,\n SnapshotTaskDetailFilterSensitiveLog,\n ImportSnapshotTaskFilterSensitiveLog,\n DescribeImportSnapshotTasksResultFilterSensitiveLog,\n DescribeLaunchTemplateVersionsResultFilterSensitiveLog,\n LockState,\n MoveStatus,\n FindingsFound,\n AnalysisStatus,\n NetworkInterfaceAttribute,\n OfferingClassType,\n OfferingTypeValues,\n RIProductDescription,\n RecurringChargeFrequency,\n Scope,\n ReservedInstanceState,\n ServiceLinkVirtualInterfaceConfigurationState,\n SnapshotAttributeName,\n TieringOperationStatus,\n EventType,\n ExcessCapacityTerminationPolicy,\n OnDemandAllocationStrategy,\n ReplacementStrategy,\n SpotInstanceState,\n VerifiedAccessLogDeliveryStatusCode,\n VolumeAttributeName,\n VolumeModificationState,\n VolumeStatusName,\n VolumeStatusInfoStatus,\n VpcAttributeName,\n VpcBlockPublicAccessExclusionsAllowed,\n InternetGatewayBlockMode,\n ManagedBy,\n VpcBlockPublicAccessState,\n SpotFleetLaunchSpecificationFilterSensitiveLog,\n SpotFleetRequestConfigDataFilterSensitiveLog,\n SpotFleetRequestConfigFilterSensitiveLog,\n DescribeSpotFleetRequestsResponseFilterSensitiveLog,\n LaunchSpecificationFilterSensitiveLog,\n SpotInstanceRequestFilterSensitiveLog,\n DescribeSpotInstanceRequestsResultFilterSensitiveLog,\n DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,\n DescribeVpnConnectionsResultFilterSensitiveLog,\n DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,\n ImageBlockPublicAccessDisabledState,\n RouteServerPropagationState,\n SnapshotBlockPublicAccessState,\n TransitGatewayPropagationState,\n ImageBlockPublicAccessEnabledState,\n ClientCertificateRevocationListStatusCode,\n UnlimitedSupportedInstanceFamily,\n PartitionLoadFrequency,\n EkPubKeyFormat,\n EkPubKeyType,\n IpamComplianceStatus,\n IpamOverlapStatus,\n IpamAddressHistoryResourceType,\n IpamDiscoveryFailureCode,\n IpamPublicAddressType,\n IpamPublicAddressAssociationStatus,\n IpamPublicAddressAwsService,\n IpamResourceCidrIpSource,\n IpamNetworkInterfaceAttachmentStatus,\n IpamResourceType,\n IpamManagementState,\n RouteServerRouteInstallationStatus,\n RouteServerRouteStatus,\n VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog,\n ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog,\n GetInstanceTpmEkPubResultFilterSensitiveLog,\n GetLaunchTemplateDataResultFilterSensitiveLog,\n GetPasswordDataResultFilterSensitiveLog,\n LockMode,\n ModifyAvailabilityZoneOptInStatus,\n OperationType,\n UnsuccessfulInstanceCreditSpecificationErrorCode,\n DefaultInstanceMetadataEndpointState,\n MetadataDefaultHttpTokensState,\n DefaultInstanceMetadataTagsState,\n HostTenancy,\n TargetStorageTier,\n TrafficMirrorFilterRuleField,\n TrafficMirrorSessionField,\n VpcTenancy,\n Status,\n VerificationMethod,\n ReportInstanceReasonCodes,\n ReportStatusType,\n GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog,\n ImageDiskContainerFilterSensitiveLog,\n ImportImageRequestFilterSensitiveLog,\n ImportImageResultFilterSensitiveLog,\n DiskImageDetailFilterSensitiveLog,\n DiskImageFilterSensitiveLog,\n UserDataFilterSensitiveLog,\n ImportInstanceLaunchSpecificationFilterSensitiveLog,\n ImportInstanceRequestFilterSensitiveLog,\n ImportInstanceResultFilterSensitiveLog,\n SnapshotDiskContainerFilterSensitiveLog,\n ImportSnapshotRequestFilterSensitiveLog,\n ImportSnapshotResultFilterSensitiveLog,\n ImportVolumeRequestFilterSensitiveLog,\n ImportVolumeResultFilterSensitiveLog,\n ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog,\n ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog,\n ModifyVpnConnectionResultFilterSensitiveLog,\n ModifyVpnConnectionOptionsResultFilterSensitiveLog,\n ModifyVpnTunnelCertificateResultFilterSensitiveLog,\n ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog,\n ModifyVpnTunnelOptionsRequestFilterSensitiveLog,\n ModifyVpnTunnelOptionsResultFilterSensitiveLog,\n ReportInstanceStatusRequestFilterSensitiveLog,\n ResetFpgaImageAttributeName,\n ResetImageAttributeName,\n MembershipType,\n RequestSpotFleetRequestFilterSensitiveLog,\n RequestSpotLaunchSpecificationFilterSensitiveLog,\n RequestSpotInstancesRequestFilterSensitiveLog,\n RequestSpotInstancesResultFilterSensitiveLog,\n RunInstancesRequestFilterSensitiveLog,\n ScheduledInstancesLaunchSpecificationFilterSensitiveLog,\n RunScheduledInstancesRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2016-11-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultEC2HttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"EC2\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n randomUUID: _crypto.default.randomUUID\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.unsafeStringify = unsafeStringify;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.unsafeStringify)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.URL = exports.DNS = void 0;\nexports.default = v35;\n\nvar _stringify = require(\"./stringify.js\");\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _native = _interopRequireDefault(require(\"./native.js\"));\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n if (_native.default.randomUUID && !buf && !options) {\n return _native.default.randomUUID();\n }\n\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.slice(14, 15), 16);\n}\n\nvar _default = version;\nexports.default = _default;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultECRHttpAuthSchemeProvider = exports.defaultECRHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultECRHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultECRHttpAuthSchemeParametersProvider = defaultECRHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"ecr\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultECRHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultECRHttpAuthSchemeProvider = defaultECRHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst B = \"required\", C = \"fn\", D = \"argv\", E = \"ref\", F = \"url\", G = \"properties\", H = \"headers\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"stringEquals\", i = \"aws\", j = \"aws-us-gov\", k = { [B]: false, \"type\": \"String\" }, l = { [B]: true, \"default\": false, \"type\": \"Boolean\" }, m = { [E]: \"Endpoint\" }, n = { [C]: c, [D]: [{ [E]: \"UseFIPS\" }, true] }, o = { [C]: c, [D]: [{ [E]: \"UseDualStack\" }, true] }, p = {}, q = { [C]: \"getAttr\", [D]: [{ [E]: g }, \"supportsFIPS\"] }, r = { [C]: c, [D]: [true, { [C]: \"getAttr\", [D]: [{ [E]: g }, \"supportsDualStack\"] }] }, s = { [C]: \"getAttr\", [D]: [{ [E]: g }, \"name\"] }, t = { [F]: \"https://ecr-fips.{Region}.api.aws\", [G]: {}, [H]: {} }, u = { [F]: \"https://ecr-fips.{Region}.amazonaws.com\", [G]: {}, [H]: {} }, v = { [F]: \"https://ecr.{Region}.api.aws\", [G]: {}, [H]: {} }, w = [n], x = [o], y = [{ [E]: \"Region\" }], z = [{ [C]: h, [D]: [i, s] }], A = [{ [C]: h, [D]: [j, s] }];\nconst _data = { version: \"1.0\", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [C]: b, [D]: [m] }], rules: [{ conditions: w, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: x, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { [F]: m, [G]: p, [H]: p }, type: e }], type: f }, { conditions: [{ [C]: b, [D]: y }], rules: [{ conditions: [{ [C]: \"aws.partition\", [D]: y, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [C]: c, [D]: [a, q] }, r], rules: [{ conditions: z, endpoint: t, type: e }, { conditions: A, endpoint: t, type: e }, { endpoint: { [F]: \"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", [G]: p, [H]: p }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: w, rules: [{ conditions: [{ [C]: c, [D]: [q, a] }], rules: [{ conditions: [{ [C]: h, [D]: [s, i] }], endpoint: u, type: e }, { conditions: [{ [C]: h, [D]: [s, j] }], endpoint: u, type: e }, { endpoint: { [F]: \"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}\", [G]: p, [H]: p }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: x, rules: [{ conditions: [r], rules: [{ conditions: z, endpoint: v, type: e }, { conditions: [{ [C]: h, [D]: [\"aws-cn\", s] }], endpoint: { [F]: \"https://ecr.{Region}.api.amazonwebservices.com.cn\", [G]: p, [H]: p }, type: e }, { conditions: A, endpoint: v, type: e }, { endpoint: { [F]: \"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}\", [G]: p, [H]: p }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { [F]: \"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}\", [G]: p, [H]: p }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n BatchCheckLayerAvailabilityCommand: () => BatchCheckLayerAvailabilityCommand,\n BatchDeleteImageCommand: () => BatchDeleteImageCommand,\n BatchGetImageCommand: () => BatchGetImageCommand,\n BatchGetRepositoryScanningConfigurationCommand: () => BatchGetRepositoryScanningConfigurationCommand,\n CompleteLayerUploadCommand: () => CompleteLayerUploadCommand,\n CreatePullThroughCacheRuleCommand: () => CreatePullThroughCacheRuleCommand,\n CreateRepositoryCommand: () => CreateRepositoryCommand,\n CreateRepositoryCreationTemplateCommand: () => CreateRepositoryCreationTemplateCommand,\n DeleteLifecyclePolicyCommand: () => DeleteLifecyclePolicyCommand,\n DeletePullThroughCacheRuleCommand: () => DeletePullThroughCacheRuleCommand,\n DeleteRegistryPolicyCommand: () => DeleteRegistryPolicyCommand,\n DeleteRepositoryCommand: () => DeleteRepositoryCommand,\n DeleteRepositoryCreationTemplateCommand: () => DeleteRepositoryCreationTemplateCommand,\n DeleteRepositoryPolicyCommand: () => DeleteRepositoryPolicyCommand,\n DescribeImageReplicationStatusCommand: () => DescribeImageReplicationStatusCommand,\n DescribeImageScanFindingsCommand: () => DescribeImageScanFindingsCommand,\n DescribeImagesCommand: () => DescribeImagesCommand,\n DescribePullThroughCacheRulesCommand: () => DescribePullThroughCacheRulesCommand,\n DescribeRegistryCommand: () => DescribeRegistryCommand,\n DescribeRepositoriesCommand: () => DescribeRepositoriesCommand,\n DescribeRepositoryCreationTemplatesCommand: () => DescribeRepositoryCreationTemplatesCommand,\n ECR: () => ECR,\n ECRClient: () => ECRClient,\n ECRServiceException: () => ECRServiceException,\n EmptyUploadException: () => EmptyUploadException,\n EncryptionType: () => EncryptionType,\n FindingSeverity: () => FindingSeverity,\n GetAccountSettingCommand: () => GetAccountSettingCommand,\n GetAuthorizationTokenCommand: () => GetAuthorizationTokenCommand,\n GetDownloadUrlForLayerCommand: () => GetDownloadUrlForLayerCommand,\n GetLifecyclePolicyCommand: () => GetLifecyclePolicyCommand,\n GetLifecyclePolicyPreviewCommand: () => GetLifecyclePolicyPreviewCommand,\n GetRegistryPolicyCommand: () => GetRegistryPolicyCommand,\n GetRegistryScanningConfigurationCommand: () => GetRegistryScanningConfigurationCommand,\n GetRepositoryPolicyCommand: () => GetRepositoryPolicyCommand,\n ImageActionType: () => ImageActionType,\n ImageAlreadyExistsException: () => ImageAlreadyExistsException,\n ImageDigestDoesNotMatchException: () => ImageDigestDoesNotMatchException,\n ImageFailureCode: () => ImageFailureCode,\n ImageNotFoundException: () => ImageNotFoundException,\n ImageTagAlreadyExistsException: () => ImageTagAlreadyExistsException,\n ImageTagMutability: () => ImageTagMutability,\n ImageTagMutabilityExclusionFilterType: () => ImageTagMutabilityExclusionFilterType,\n InitiateLayerUploadCommand: () => InitiateLayerUploadCommand,\n InvalidLayerException: () => InvalidLayerException,\n InvalidLayerPartException: () => InvalidLayerPartException,\n InvalidParameterException: () => InvalidParameterException,\n InvalidTagParameterException: () => InvalidTagParameterException,\n KmsException: () => KmsException,\n LayerAlreadyExistsException: () => LayerAlreadyExistsException,\n LayerAvailability: () => LayerAvailability,\n LayerFailureCode: () => LayerFailureCode,\n LayerInaccessibleException: () => LayerInaccessibleException,\n LayerPartTooSmallException: () => LayerPartTooSmallException,\n LayersNotFoundException: () => LayersNotFoundException,\n LifecyclePolicyNotFoundException: () => LifecyclePolicyNotFoundException,\n LifecyclePolicyPreviewInProgressException: () => LifecyclePolicyPreviewInProgressException,\n LifecyclePolicyPreviewNotFoundException: () => LifecyclePolicyPreviewNotFoundException,\n LifecyclePolicyPreviewStatus: () => LifecyclePolicyPreviewStatus,\n LimitExceededException: () => LimitExceededException,\n ListImagesCommand: () => ListImagesCommand,\n ListTagsForResourceCommand: () => ListTagsForResourceCommand,\n PullThroughCacheRuleAlreadyExistsException: () => PullThroughCacheRuleAlreadyExistsException,\n PullThroughCacheRuleNotFoundException: () => PullThroughCacheRuleNotFoundException,\n PutAccountSettingCommand: () => PutAccountSettingCommand,\n PutImageCommand: () => PutImageCommand,\n PutImageScanningConfigurationCommand: () => PutImageScanningConfigurationCommand,\n PutImageTagMutabilityCommand: () => PutImageTagMutabilityCommand,\n PutLifecyclePolicyCommand: () => PutLifecyclePolicyCommand,\n PutRegistryPolicyCommand: () => PutRegistryPolicyCommand,\n PutRegistryScanningConfigurationCommand: () => PutRegistryScanningConfigurationCommand,\n PutReplicationConfigurationCommand: () => PutReplicationConfigurationCommand,\n RCTAppliedFor: () => RCTAppliedFor,\n ReferencedImagesNotFoundException: () => ReferencedImagesNotFoundException,\n RegistryPolicyNotFoundException: () => RegistryPolicyNotFoundException,\n ReplicationStatus: () => ReplicationStatus,\n RepositoryAlreadyExistsException: () => RepositoryAlreadyExistsException,\n RepositoryFilterType: () => RepositoryFilterType,\n RepositoryNotEmptyException: () => RepositoryNotEmptyException,\n RepositoryNotFoundException: () => RepositoryNotFoundException,\n RepositoryPolicyNotFoundException: () => RepositoryPolicyNotFoundException,\n ScanFrequency: () => ScanFrequency,\n ScanNotFoundException: () => ScanNotFoundException,\n ScanStatus: () => ScanStatus,\n ScanType: () => ScanType,\n ScanningConfigurationFailureCode: () => ScanningConfigurationFailureCode,\n ScanningRepositoryFilterType: () => ScanningRepositoryFilterType,\n SecretNotFoundException: () => SecretNotFoundException,\n ServerException: () => ServerException,\n SetRepositoryPolicyCommand: () => SetRepositoryPolicyCommand,\n StartImageScanCommand: () => StartImageScanCommand,\n StartLifecyclePolicyPreviewCommand: () => StartLifecyclePolicyPreviewCommand,\n TagResourceCommand: () => TagResourceCommand,\n TagStatus: () => TagStatus,\n TemplateAlreadyExistsException: () => TemplateAlreadyExistsException,\n TemplateNotFoundException: () => TemplateNotFoundException,\n TooManyTagsException: () => TooManyTagsException,\n UnableToAccessSecretException: () => UnableToAccessSecretException,\n UnableToDecryptSecretValueException: () => UnableToDecryptSecretValueException,\n UnableToGetUpstreamImageException: () => UnableToGetUpstreamImageException,\n UnableToGetUpstreamLayerException: () => UnableToGetUpstreamLayerException,\n UnsupportedImageTypeException: () => UnsupportedImageTypeException,\n UnsupportedUpstreamRegistryException: () => UnsupportedUpstreamRegistryException,\n UntagResourceCommand: () => UntagResourceCommand,\n UpdatePullThroughCacheRuleCommand: () => UpdatePullThroughCacheRuleCommand,\n UpdateRepositoryCreationTemplateCommand: () => UpdateRepositoryCreationTemplateCommand,\n UploadLayerPartCommand: () => UploadLayerPartCommand,\n UploadNotFoundException: () => UploadNotFoundException,\n UpstreamRegistry: () => UpstreamRegistry,\n ValidatePullThroughCacheRuleCommand: () => ValidatePullThroughCacheRuleCommand,\n ValidationException: () => ValidationException,\n __Client: () => import_smithy_client.Client,\n paginateDescribeImageScanFindings: () => paginateDescribeImageScanFindings,\n paginateDescribeImages: () => paginateDescribeImages,\n paginateDescribePullThroughCacheRules: () => paginateDescribePullThroughCacheRules,\n paginateDescribeRepositories: () => paginateDescribeRepositories,\n paginateDescribeRepositoryCreationTemplates: () => paginateDescribeRepositoryCreationTemplates,\n paginateGetLifecyclePolicyPreview: () => paginateGetLifecyclePolicyPreview,\n paginateListImages: () => paginateListImages,\n waitForImageScanComplete: () => waitForImageScanComplete,\n waitForLifecyclePolicyPreviewComplete: () => waitForLifecyclePolicyPreviewComplete,\n waitUntilImageScanComplete: () => waitUntilImageScanComplete,\n waitUntilLifecyclePolicyPreviewComplete: () => waitUntilLifecyclePolicyPreviewComplete\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/ECRClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"ecr\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/ECRClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/ECRClient.ts\nvar ECRClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"ECRClient\");\n }\n /**\n * The resolved configuration of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultECRHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/ECR.ts\n\n\n// src/commands/BatchCheckLayerAvailabilityCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_json1_1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\n\n// src/models/ECRServiceException.ts\n\nvar ECRServiceException = class _ECRServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"ECRServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _ECRServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar LayerFailureCode = {\n InvalidLayerDigest: \"InvalidLayerDigest\",\n MissingLayerDigest: \"MissingLayerDigest\"\n};\nvar LayerAvailability = {\n AVAILABLE: \"AVAILABLE\",\n UNAVAILABLE: \"UNAVAILABLE\"\n};\nvar InvalidParameterException = class _InvalidParameterException extends ECRServiceException {\n static {\n __name(this, \"InvalidParameterException\");\n }\n name = \"InvalidParameterException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidParameterException.prototype);\n }\n};\nvar RepositoryNotFoundException = class _RepositoryNotFoundException extends ECRServiceException {\n static {\n __name(this, \"RepositoryNotFoundException\");\n }\n name = \"RepositoryNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RepositoryNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RepositoryNotFoundException.prototype);\n }\n};\nvar ServerException = class _ServerException extends ECRServiceException {\n static {\n __name(this, \"ServerException\");\n }\n name = \"ServerException\";\n $fault = \"server\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServerException.prototype);\n }\n};\nvar ImageFailureCode = {\n ImageNotFound: \"ImageNotFound\",\n ImageReferencedByManifestList: \"ImageReferencedByManifestList\",\n ImageTagDoesNotMatchDigest: \"ImageTagDoesNotMatchDigest\",\n InvalidImageDigest: \"InvalidImageDigest\",\n InvalidImageTag: \"InvalidImageTag\",\n KmsError: \"KmsError\",\n MissingDigestAndTag: \"MissingDigestAndTag\",\n UpstreamAccessDenied: \"UpstreamAccessDenied\",\n UpstreamTooManyRequests: \"UpstreamTooManyRequests\",\n UpstreamUnavailable: \"UpstreamUnavailable\"\n};\nvar LimitExceededException = class _LimitExceededException extends ECRServiceException {\n static {\n __name(this, \"LimitExceededException\");\n }\n name = \"LimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LimitExceededException.prototype);\n }\n};\nvar UnableToGetUpstreamImageException = class _UnableToGetUpstreamImageException extends ECRServiceException {\n static {\n __name(this, \"UnableToGetUpstreamImageException\");\n }\n name = \"UnableToGetUpstreamImageException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnableToGetUpstreamImageException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnableToGetUpstreamImageException.prototype);\n }\n};\nvar ScanningConfigurationFailureCode = {\n REPOSITORY_NOT_FOUND: \"REPOSITORY_NOT_FOUND\"\n};\nvar ScanningRepositoryFilterType = {\n WILDCARD: \"WILDCARD\"\n};\nvar ScanFrequency = {\n CONTINUOUS_SCAN: \"CONTINUOUS_SCAN\",\n MANUAL: \"MANUAL\",\n SCAN_ON_PUSH: \"SCAN_ON_PUSH\"\n};\nvar ValidationException = class _ValidationException extends ECRServiceException {\n static {\n __name(this, \"ValidationException\");\n }\n name = \"ValidationException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ValidationException.prototype);\n }\n};\nvar EmptyUploadException = class _EmptyUploadException extends ECRServiceException {\n static {\n __name(this, \"EmptyUploadException\");\n }\n name = \"EmptyUploadException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EmptyUploadException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EmptyUploadException.prototype);\n }\n};\nvar InvalidLayerException = class _InvalidLayerException extends ECRServiceException {\n static {\n __name(this, \"InvalidLayerException\");\n }\n name = \"InvalidLayerException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidLayerException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidLayerException.prototype);\n }\n};\nvar KmsException = class _KmsException extends ECRServiceException {\n static {\n __name(this, \"KmsException\");\n }\n name = \"KmsException\";\n $fault = \"client\";\n /**\n *The error code returned by KMS.
\n * @public\n */\n kmsError;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KmsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KmsException.prototype);\n this.kmsError = opts.kmsError;\n }\n};\nvar LayerAlreadyExistsException = class _LayerAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"LayerAlreadyExistsException\");\n }\n name = \"LayerAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LayerAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LayerAlreadyExistsException.prototype);\n }\n};\nvar LayerPartTooSmallException = class _LayerPartTooSmallException extends ECRServiceException {\n static {\n __name(this, \"LayerPartTooSmallException\");\n }\n name = \"LayerPartTooSmallException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LayerPartTooSmallException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LayerPartTooSmallException.prototype);\n }\n};\nvar UploadNotFoundException = class _UploadNotFoundException extends ECRServiceException {\n static {\n __name(this, \"UploadNotFoundException\");\n }\n name = \"UploadNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UploadNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UploadNotFoundException.prototype);\n }\n};\nvar UpstreamRegistry = {\n AzureContainerRegistry: \"azure-container-registry\",\n DockerHub: \"docker-hub\",\n Ecr: \"ecr\",\n EcrPublic: \"ecr-public\",\n GitHubContainerRegistry: \"github-container-registry\",\n GitLabContainerRegistry: \"gitlab-container-registry\",\n K8s: \"k8s\",\n Quay: \"quay\"\n};\nvar PullThroughCacheRuleAlreadyExistsException = class _PullThroughCacheRuleAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"PullThroughCacheRuleAlreadyExistsException\");\n }\n name = \"PullThroughCacheRuleAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PullThroughCacheRuleAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PullThroughCacheRuleAlreadyExistsException.prototype);\n }\n};\nvar SecretNotFoundException = class _SecretNotFoundException extends ECRServiceException {\n static {\n __name(this, \"SecretNotFoundException\");\n }\n name = \"SecretNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SecretNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SecretNotFoundException.prototype);\n }\n};\nvar UnableToAccessSecretException = class _UnableToAccessSecretException extends ECRServiceException {\n static {\n __name(this, \"UnableToAccessSecretException\");\n }\n name = \"UnableToAccessSecretException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnableToAccessSecretException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnableToAccessSecretException.prototype);\n }\n};\nvar UnableToDecryptSecretValueException = class _UnableToDecryptSecretValueException extends ECRServiceException {\n static {\n __name(this, \"UnableToDecryptSecretValueException\");\n }\n name = \"UnableToDecryptSecretValueException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnableToDecryptSecretValueException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnableToDecryptSecretValueException.prototype);\n }\n};\nvar UnsupportedUpstreamRegistryException = class _UnsupportedUpstreamRegistryException extends ECRServiceException {\n static {\n __name(this, \"UnsupportedUpstreamRegistryException\");\n }\n name = \"UnsupportedUpstreamRegistryException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedUpstreamRegistryException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedUpstreamRegistryException.prototype);\n }\n};\nvar EncryptionType = {\n AES256: \"AES256\",\n KMS: \"KMS\",\n KMS_DSSE: \"KMS_DSSE\"\n};\nvar ImageTagMutability = {\n IMMUTABLE: \"IMMUTABLE\",\n IMMUTABLE_WITH_EXCLUSION: \"IMMUTABLE_WITH_EXCLUSION\",\n MUTABLE: \"MUTABLE\",\n MUTABLE_WITH_EXCLUSION: \"MUTABLE_WITH_EXCLUSION\"\n};\nvar ImageTagMutabilityExclusionFilterType = {\n WILDCARD: \"WILDCARD\"\n};\nvar InvalidTagParameterException = class _InvalidTagParameterException extends ECRServiceException {\n static {\n __name(this, \"InvalidTagParameterException\");\n }\n name = \"InvalidTagParameterException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTagParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTagParameterException.prototype);\n }\n};\nvar RepositoryAlreadyExistsException = class _RepositoryAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"RepositoryAlreadyExistsException\");\n }\n name = \"RepositoryAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RepositoryAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RepositoryAlreadyExistsException.prototype);\n }\n};\nvar TooManyTagsException = class _TooManyTagsException extends ECRServiceException {\n static {\n __name(this, \"TooManyTagsException\");\n }\n name = \"TooManyTagsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTagsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTagsException.prototype);\n }\n};\nvar RCTAppliedFor = {\n PULL_THROUGH_CACHE: \"PULL_THROUGH_CACHE\",\n REPLICATION: \"REPLICATION\"\n};\nvar TemplateAlreadyExistsException = class _TemplateAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"TemplateAlreadyExistsException\");\n }\n name = \"TemplateAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TemplateAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TemplateAlreadyExistsException.prototype);\n }\n};\nvar LifecyclePolicyNotFoundException = class _LifecyclePolicyNotFoundException extends ECRServiceException {\n static {\n __name(this, \"LifecyclePolicyNotFoundException\");\n }\n name = \"LifecyclePolicyNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LifecyclePolicyNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LifecyclePolicyNotFoundException.prototype);\n }\n};\nvar PullThroughCacheRuleNotFoundException = class _PullThroughCacheRuleNotFoundException extends ECRServiceException {\n static {\n __name(this, \"PullThroughCacheRuleNotFoundException\");\n }\n name = \"PullThroughCacheRuleNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PullThroughCacheRuleNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PullThroughCacheRuleNotFoundException.prototype);\n }\n};\nvar RegistryPolicyNotFoundException = class _RegistryPolicyNotFoundException extends ECRServiceException {\n static {\n __name(this, \"RegistryPolicyNotFoundException\");\n }\n name = \"RegistryPolicyNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegistryPolicyNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegistryPolicyNotFoundException.prototype);\n }\n};\nvar RepositoryNotEmptyException = class _RepositoryNotEmptyException extends ECRServiceException {\n static {\n __name(this, \"RepositoryNotEmptyException\");\n }\n name = \"RepositoryNotEmptyException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RepositoryNotEmptyException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RepositoryNotEmptyException.prototype);\n }\n};\nvar TemplateNotFoundException = class _TemplateNotFoundException extends ECRServiceException {\n static {\n __name(this, \"TemplateNotFoundException\");\n }\n name = \"TemplateNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TemplateNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TemplateNotFoundException.prototype);\n }\n};\nvar RepositoryPolicyNotFoundException = class _RepositoryPolicyNotFoundException extends ECRServiceException {\n static {\n __name(this, \"RepositoryPolicyNotFoundException\");\n }\n name = \"RepositoryPolicyNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RepositoryPolicyNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RepositoryPolicyNotFoundException.prototype);\n }\n};\nvar ReplicationStatus = {\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\"\n};\nvar ImageNotFoundException = class _ImageNotFoundException extends ECRServiceException {\n static {\n __name(this, \"ImageNotFoundException\");\n }\n name = \"ImageNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ImageNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ImageNotFoundException.prototype);\n }\n};\nvar TagStatus = {\n ANY: \"ANY\",\n TAGGED: \"TAGGED\",\n UNTAGGED: \"UNTAGGED\"\n};\nvar FindingSeverity = {\n CRITICAL: \"CRITICAL\",\n HIGH: \"HIGH\",\n INFORMATIONAL: \"INFORMATIONAL\",\n LOW: \"LOW\",\n MEDIUM: \"MEDIUM\",\n UNDEFINED: \"UNDEFINED\"\n};\nvar ScanStatus = {\n ACTIVE: \"ACTIVE\",\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n FINDINGS_UNAVAILABLE: \"FINDINGS_UNAVAILABLE\",\n IN_PROGRESS: \"IN_PROGRESS\",\n LIMIT_EXCEEDED: \"LIMIT_EXCEEDED\",\n PENDING: \"PENDING\",\n SCAN_ELIGIBILITY_EXPIRED: \"SCAN_ELIGIBILITY_EXPIRED\",\n UNSUPPORTED_IMAGE: \"UNSUPPORTED_IMAGE\"\n};\nvar ScanNotFoundException = class _ScanNotFoundException extends ECRServiceException {\n static {\n __name(this, \"ScanNotFoundException\");\n }\n name = \"ScanNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ScanNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ScanNotFoundException.prototype);\n }\n};\nvar RepositoryFilterType = {\n PREFIX_MATCH: \"PREFIX_MATCH\"\n};\nvar LayerInaccessibleException = class _LayerInaccessibleException extends ECRServiceException {\n static {\n __name(this, \"LayerInaccessibleException\");\n }\n name = \"LayerInaccessibleException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LayerInaccessibleException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LayerInaccessibleException.prototype);\n }\n};\nvar LayersNotFoundException = class _LayersNotFoundException extends ECRServiceException {\n static {\n __name(this, \"LayersNotFoundException\");\n }\n name = \"LayersNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LayersNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LayersNotFoundException.prototype);\n }\n};\nvar UnableToGetUpstreamLayerException = class _UnableToGetUpstreamLayerException extends ECRServiceException {\n static {\n __name(this, \"UnableToGetUpstreamLayerException\");\n }\n name = \"UnableToGetUpstreamLayerException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnableToGetUpstreamLayerException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnableToGetUpstreamLayerException.prototype);\n }\n};\nvar ImageActionType = {\n EXPIRE: \"EXPIRE\"\n};\nvar LifecyclePolicyPreviewStatus = {\n COMPLETE: \"COMPLETE\",\n EXPIRED: \"EXPIRED\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\"\n};\nvar LifecyclePolicyPreviewNotFoundException = class _LifecyclePolicyPreviewNotFoundException extends ECRServiceException {\n static {\n __name(this, \"LifecyclePolicyPreviewNotFoundException\");\n }\n name = \"LifecyclePolicyPreviewNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LifecyclePolicyPreviewNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LifecyclePolicyPreviewNotFoundException.prototype);\n }\n};\nvar ScanType = {\n BASIC: \"BASIC\",\n ENHANCED: \"ENHANCED\"\n};\nvar ImageAlreadyExistsException = class _ImageAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"ImageAlreadyExistsException\");\n }\n name = \"ImageAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ImageAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ImageAlreadyExistsException.prototype);\n }\n};\nvar ImageDigestDoesNotMatchException = class _ImageDigestDoesNotMatchException extends ECRServiceException {\n static {\n __name(this, \"ImageDigestDoesNotMatchException\");\n }\n name = \"ImageDigestDoesNotMatchException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ImageDigestDoesNotMatchException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ImageDigestDoesNotMatchException.prototype);\n }\n};\nvar ImageTagAlreadyExistsException = class _ImageTagAlreadyExistsException extends ECRServiceException {\n static {\n __name(this, \"ImageTagAlreadyExistsException\");\n }\n name = \"ImageTagAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ImageTagAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ImageTagAlreadyExistsException.prototype);\n }\n};\nvar ReferencedImagesNotFoundException = class _ReferencedImagesNotFoundException extends ECRServiceException {\n static {\n __name(this, \"ReferencedImagesNotFoundException\");\n }\n name = \"ReferencedImagesNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ReferencedImagesNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ReferencedImagesNotFoundException.prototype);\n }\n};\nvar UnsupportedImageTypeException = class _UnsupportedImageTypeException extends ECRServiceException {\n static {\n __name(this, \"UnsupportedImageTypeException\");\n }\n name = \"UnsupportedImageTypeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedImageTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedImageTypeException.prototype);\n }\n};\nvar LifecyclePolicyPreviewInProgressException = class _LifecyclePolicyPreviewInProgressException extends ECRServiceException {\n static {\n __name(this, \"LifecyclePolicyPreviewInProgressException\");\n }\n name = \"LifecyclePolicyPreviewInProgressException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LifecyclePolicyPreviewInProgressException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LifecyclePolicyPreviewInProgressException.prototype);\n }\n};\nvar InvalidLayerPartException = class _InvalidLayerPartException extends ECRServiceException {\n static {\n __name(this, \"InvalidLayerPartException\");\n }\n name = \"InvalidLayerPartException\";\n $fault = \"client\";\n /**\n *The registry ID associated with the exception.
\n * @public\n */\n registryId;\n /**\n *The repository name associated with the exception.
\n * @public\n */\n repositoryName;\n /**\n *The upload ID associated with the exception.
\n * @public\n */\n uploadId;\n /**\n *The last valid byte received from the layer part upload that is associated with the\n * exception.
\n * @public\n */\n lastValidByteReceived;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidLayerPartException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidLayerPartException.prototype);\n this.registryId = opts.registryId;\n this.repositoryName = opts.repositoryName;\n this.uploadId = opts.uploadId;\n this.lastValidByteReceived = opts.lastValidByteReceived;\n }\n};\n\n// src/protocols/Aws_json1_1.ts\nvar se_BatchCheckLayerAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchCheckLayerAvailability\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchCheckLayerAvailabilityCommand\");\nvar se_BatchDeleteImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchDeleteImage\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchDeleteImageCommand\");\nvar se_BatchGetImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetImage\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetImageCommand\");\nvar se_BatchGetRepositoryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetRepositoryScanningConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetRepositoryScanningConfigurationCommand\");\nvar se_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CompleteLayerUpload\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CompleteLayerUploadCommand\");\nvar se_CreatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreatePullThroughCacheRule\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreatePullThroughCacheRuleCommand\");\nvar se_CreateRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateRepository\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRepositoryCommand\");\nvar se_CreateRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateRepositoryCreationTemplate\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateRepositoryCreationTemplateCommand\");\nvar se_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteLifecyclePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteLifecyclePolicyCommand\");\nvar se_DeletePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeletePullThroughCacheRule\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeletePullThroughCacheRuleCommand\");\nvar se_DeleteRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteRegistryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRegistryPolicyCommand\");\nvar se_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteRepository\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRepositoryCommand\");\nvar se_DeleteRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteRepositoryCreationTemplate\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRepositoryCreationTemplateCommand\");\nvar se_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteRepositoryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteRepositoryPolicyCommand\");\nvar se_DescribeImageReplicationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeImageReplicationStatus\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImageReplicationStatusCommand\");\nvar se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeImages\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImagesCommand\");\nvar se_DescribeImageScanFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeImageScanFindings\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeImageScanFindingsCommand\");\nvar se_DescribePullThroughCacheRulesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribePullThroughCacheRules\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePullThroughCacheRulesCommand\");\nvar se_DescribeRegistryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeRegistry\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRegistryCommand\");\nvar se_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeRepositories\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRepositoriesCommand\");\nvar se_DescribeRepositoryCreationTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeRepositoryCreationTemplates\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeRepositoryCreationTemplatesCommand\");\nvar se_GetAccountSettingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetAccountSetting\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAccountSettingCommand\");\nvar se_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetAuthorizationToken\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAuthorizationTokenCommand\");\nvar se_GetDownloadUrlForLayerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDownloadUrlForLayer\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDownloadUrlForLayerCommand\");\nvar se_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLifecyclePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLifecyclePolicyCommand\");\nvar se_GetLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetLifecyclePolicyPreview\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetLifecyclePolicyPreviewCommand\");\nvar se_GetRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetRegistryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRegistryPolicyCommand\");\nvar se_GetRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetRegistryScanningConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRegistryScanningConfigurationCommand\");\nvar se_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetRepositoryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRepositoryPolicyCommand\");\nvar se_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"InitiateLayerUpload\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_InitiateLayerUploadCommand\");\nvar se_ListImagesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListImages\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListImagesCommand\");\nvar se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListTagsForResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListTagsForResourceCommand\");\nvar se_PutAccountSettingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutAccountSetting\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutAccountSettingCommand\");\nvar se_PutImageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutImage\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutImageCommand\");\nvar se_PutImageScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutImageScanningConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutImageScanningConfigurationCommand\");\nvar se_PutImageTagMutabilityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutImageTagMutability\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutImageTagMutabilityCommand\");\nvar se_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutLifecyclePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutLifecyclePolicyCommand\");\nvar se_PutRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutRegistryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutRegistryPolicyCommand\");\nvar se_PutRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutRegistryScanningConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutRegistryScanningConfigurationCommand\");\nvar se_PutReplicationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutReplicationConfiguration\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutReplicationConfigurationCommand\");\nvar se_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"SetRepositoryPolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SetRepositoryPolicyCommand\");\nvar se_StartImageScanCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartImageScan\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartImageScanCommand\");\nvar se_StartLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartLifecyclePolicyPreview\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartLifecyclePolicyPreviewCommand\");\nvar se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TagResourceCommand\");\nvar se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UntagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UntagResourceCommand\");\nvar se_UpdatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdatePullThroughCacheRule\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdatePullThroughCacheRuleCommand\");\nvar se_UpdateRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateRepositoryCreationTemplate\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateRepositoryCreationTemplateCommand\");\nvar se_UploadLayerPartCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UploadLayerPart\");\n let body;\n body = JSON.stringify(se_UploadLayerPartRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UploadLayerPartCommand\");\nvar se_ValidatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ValidatePullThroughCacheRule\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ValidatePullThroughCacheRuleCommand\");\nvar de_BatchCheckLayerAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchCheckLayerAvailabilityCommand\");\nvar de_BatchDeleteImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchDeleteImageCommand\");\nvar de_BatchGetImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetImageCommand\");\nvar de_BatchGetRepositoryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetRepositoryScanningConfigurationCommand\");\nvar de_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CompleteLayerUploadCommand\");\nvar de_CreatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreatePullThroughCacheRuleResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreatePullThroughCacheRuleCommand\");\nvar de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateRepositoryResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRepositoryCommand\");\nvar de_CreateRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateRepositoryCreationTemplateResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateRepositoryCreationTemplateCommand\");\nvar de_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DeleteLifecyclePolicyResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteLifecyclePolicyCommand\");\nvar de_DeletePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DeletePullThroughCacheRuleResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeletePullThroughCacheRuleCommand\");\nvar de_DeleteRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRegistryPolicyCommand\");\nvar de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DeleteRepositoryResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRepositoryCommand\");\nvar de_DeleteRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DeleteRepositoryCreationTemplateResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRepositoryCreationTemplateCommand\");\nvar de_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteRepositoryPolicyCommand\");\nvar de_DescribeImageReplicationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImageReplicationStatusCommand\");\nvar de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeImagesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImagesCommand\");\nvar de_DescribeImageScanFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeImageScanFindingsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeImageScanFindingsCommand\");\nvar de_DescribePullThroughCacheRulesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribePullThroughCacheRulesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePullThroughCacheRulesCommand\");\nvar de_DescribeRegistryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRegistryCommand\");\nvar de_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRepositoriesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRepositoriesCommand\");\nvar de_DescribeRepositoryCreationTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeRepositoryCreationTemplatesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeRepositoryCreationTemplatesCommand\");\nvar de_GetAccountSettingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAccountSettingCommand\");\nvar de_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetAuthorizationTokenResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAuthorizationTokenCommand\");\nvar de_GetDownloadUrlForLayerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDownloadUrlForLayerCommand\");\nvar de_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetLifecyclePolicyResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLifecyclePolicyCommand\");\nvar de_GetLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetLifecyclePolicyPreviewResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetLifecyclePolicyPreviewCommand\");\nvar de_GetRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRegistryPolicyCommand\");\nvar de_GetRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRegistryScanningConfigurationCommand\");\nvar de_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRepositoryPolicyCommand\");\nvar de_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_InitiateLayerUploadCommand\");\nvar de_ListImagesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListImagesCommand\");\nvar de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListTagsForResourceCommand\");\nvar de_PutAccountSettingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutAccountSettingCommand\");\nvar de_PutImageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutImageCommand\");\nvar de_PutImageScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutImageScanningConfigurationCommand\");\nvar de_PutImageTagMutabilityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutImageTagMutabilityCommand\");\nvar de_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutLifecyclePolicyCommand\");\nvar de_PutRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutRegistryPolicyCommand\");\nvar de_PutRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutRegistryScanningConfigurationCommand\");\nvar de_PutReplicationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutReplicationConfigurationCommand\");\nvar de_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SetRepositoryPolicyCommand\");\nvar de_StartImageScanCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartImageScanCommand\");\nvar de_StartLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartLifecyclePolicyPreviewCommand\");\nvar de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TagResourceCommand\");\nvar de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UntagResourceCommand\");\nvar de_UpdatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdatePullThroughCacheRuleResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdatePullThroughCacheRuleCommand\");\nvar de_UpdateRepositoryCreationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateRepositoryCreationTemplateResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateRepositoryCreationTemplateCommand\");\nvar de_UploadLayerPartCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UploadLayerPartCommand\");\nvar de_ValidatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ValidatePullThroughCacheRuleCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidParameterException\":\n case \"com.amazonaws.ecr#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"RepositoryNotFoundException\":\n case \"com.amazonaws.ecr#RepositoryNotFoundException\":\n throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);\n case \"ServerException\":\n case \"com.amazonaws.ecr#ServerException\":\n throw await de_ServerExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.ecr#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"UnableToGetUpstreamImageException\":\n case \"com.amazonaws.ecr#UnableToGetUpstreamImageException\":\n throw await de_UnableToGetUpstreamImageExceptionRes(parsedOutput, context);\n case \"ValidationException\":\n case \"com.amazonaws.ecr#ValidationException\":\n throw await de_ValidationExceptionRes(parsedOutput, context);\n case \"EmptyUploadException\":\n case \"com.amazonaws.ecr#EmptyUploadException\":\n throw await de_EmptyUploadExceptionRes(parsedOutput, context);\n case \"InvalidLayerException\":\n case \"com.amazonaws.ecr#InvalidLayerException\":\n throw await de_InvalidLayerExceptionRes(parsedOutput, context);\n case \"KmsException\":\n case \"com.amazonaws.ecr#KmsException\":\n throw await de_KmsExceptionRes(parsedOutput, context);\n case \"LayerAlreadyExistsException\":\n case \"com.amazonaws.ecr#LayerAlreadyExistsException\":\n throw await de_LayerAlreadyExistsExceptionRes(parsedOutput, context);\n case \"LayerPartTooSmallException\":\n case \"com.amazonaws.ecr#LayerPartTooSmallException\":\n throw await de_LayerPartTooSmallExceptionRes(parsedOutput, context);\n case \"UploadNotFoundException\":\n case \"com.amazonaws.ecr#UploadNotFoundException\":\n throw await de_UploadNotFoundExceptionRes(parsedOutput, context);\n case \"PullThroughCacheRuleAlreadyExistsException\":\n case \"com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException\":\n throw await de_PullThroughCacheRuleAlreadyExistsExceptionRes(parsedOutput, context);\n case \"SecretNotFoundException\":\n case \"com.amazonaws.ecr#SecretNotFoundException\":\n throw await de_SecretNotFoundExceptionRes(parsedOutput, context);\n case \"UnableToAccessSecretException\":\n case \"com.amazonaws.ecr#UnableToAccessSecretException\":\n throw await de_UnableToAccessSecretExceptionRes(parsedOutput, context);\n case \"UnableToDecryptSecretValueException\":\n case \"com.amazonaws.ecr#UnableToDecryptSecretValueException\":\n throw await de_UnableToDecryptSecretValueExceptionRes(parsedOutput, context);\n case \"UnsupportedUpstreamRegistryException\":\n case \"com.amazonaws.ecr#UnsupportedUpstreamRegistryException\":\n throw await de_UnsupportedUpstreamRegistryExceptionRes(parsedOutput, context);\n case \"InvalidTagParameterException\":\n case \"com.amazonaws.ecr#InvalidTagParameterException\":\n throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);\n case \"RepositoryAlreadyExistsException\":\n case \"com.amazonaws.ecr#RepositoryAlreadyExistsException\":\n throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput, context);\n case \"TooManyTagsException\":\n case \"com.amazonaws.ecr#TooManyTagsException\":\n throw await de_TooManyTagsExceptionRes(parsedOutput, context);\n case \"TemplateAlreadyExistsException\":\n case \"com.amazonaws.ecr#TemplateAlreadyExistsException\":\n throw await de_TemplateAlreadyExistsExceptionRes(parsedOutput, context);\n case \"LifecyclePolicyNotFoundException\":\n case \"com.amazonaws.ecr#LifecyclePolicyNotFoundException\":\n throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);\n case \"PullThroughCacheRuleNotFoundException\":\n case \"com.amazonaws.ecr#PullThroughCacheRuleNotFoundException\":\n throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);\n case \"RegistryPolicyNotFoundException\":\n case \"com.amazonaws.ecr#RegistryPolicyNotFoundException\":\n throw await de_RegistryPolicyNotFoundExceptionRes(parsedOutput, context);\n case \"RepositoryNotEmptyException\":\n case \"com.amazonaws.ecr#RepositoryNotEmptyException\":\n throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);\n case \"TemplateNotFoundException\":\n case \"com.amazonaws.ecr#TemplateNotFoundException\":\n throw await de_TemplateNotFoundExceptionRes(parsedOutput, context);\n case \"RepositoryPolicyNotFoundException\":\n case \"com.amazonaws.ecr#RepositoryPolicyNotFoundException\":\n throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);\n case \"ImageNotFoundException\":\n case \"com.amazonaws.ecr#ImageNotFoundException\":\n throw await de_ImageNotFoundExceptionRes(parsedOutput, context);\n case \"ScanNotFoundException\":\n case \"com.amazonaws.ecr#ScanNotFoundException\":\n throw await de_ScanNotFoundExceptionRes(parsedOutput, context);\n case \"LayerInaccessibleException\":\n case \"com.amazonaws.ecr#LayerInaccessibleException\":\n throw await de_LayerInaccessibleExceptionRes(parsedOutput, context);\n case \"LayersNotFoundException\":\n case \"com.amazonaws.ecr#LayersNotFoundException\":\n throw await de_LayersNotFoundExceptionRes(parsedOutput, context);\n case \"UnableToGetUpstreamLayerException\":\n case \"com.amazonaws.ecr#UnableToGetUpstreamLayerException\":\n throw await de_UnableToGetUpstreamLayerExceptionRes(parsedOutput, context);\n case \"LifecyclePolicyPreviewNotFoundException\":\n case \"com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException\":\n throw await de_LifecyclePolicyPreviewNotFoundExceptionRes(parsedOutput, context);\n case \"ImageAlreadyExistsException\":\n case \"com.amazonaws.ecr#ImageAlreadyExistsException\":\n throw await de_ImageAlreadyExistsExceptionRes(parsedOutput, context);\n case \"ImageDigestDoesNotMatchException\":\n case \"com.amazonaws.ecr#ImageDigestDoesNotMatchException\":\n throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput, context);\n case \"ImageTagAlreadyExistsException\":\n case \"com.amazonaws.ecr#ImageTagAlreadyExistsException\":\n throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput, context);\n case \"ReferencedImagesNotFoundException\":\n case \"com.amazonaws.ecr#ReferencedImagesNotFoundException\":\n throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput, context);\n case \"UnsupportedImageTypeException\":\n case \"com.amazonaws.ecr#UnsupportedImageTypeException\":\n throw await de_UnsupportedImageTypeExceptionRes(parsedOutput, context);\n case \"LifecyclePolicyPreviewInProgressException\":\n case \"com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException\":\n throw await de_LifecyclePolicyPreviewInProgressExceptionRes(parsedOutput, context);\n case \"InvalidLayerPartException\":\n case \"com.amazonaws.ecr#InvalidLayerPartException\":\n throw await de_InvalidLayerPartExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_EmptyUploadExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new EmptyUploadException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_EmptyUploadExceptionRes\");\nvar de_ImageAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ImageAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ImageAlreadyExistsExceptionRes\");\nvar de_ImageDigestDoesNotMatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ImageDigestDoesNotMatchException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ImageDigestDoesNotMatchExceptionRes\");\nvar de_ImageNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ImageNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ImageNotFoundExceptionRes\");\nvar de_ImageTagAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ImageTagAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ImageTagAlreadyExistsExceptionRes\");\nvar de_InvalidLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidLayerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidLayerExceptionRes\");\nvar de_InvalidLayerPartExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidLayerPartException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidLayerPartExceptionRes\");\nvar de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidParameterExceptionRes\");\nvar de_InvalidTagParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidTagParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidTagParameterExceptionRes\");\nvar de_KmsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new KmsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_KmsExceptionRes\");\nvar de_LayerAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LayerAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LayerAlreadyExistsExceptionRes\");\nvar de_LayerInaccessibleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LayerInaccessibleException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LayerInaccessibleExceptionRes\");\nvar de_LayerPartTooSmallExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LayerPartTooSmallException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LayerPartTooSmallExceptionRes\");\nvar de_LayersNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LayersNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LayersNotFoundExceptionRes\");\nvar de_LifecyclePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LifecyclePolicyNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LifecyclePolicyNotFoundExceptionRes\");\nvar de_LifecyclePolicyPreviewInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LifecyclePolicyPreviewInProgressException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LifecyclePolicyPreviewInProgressExceptionRes\");\nvar de_LifecyclePolicyPreviewNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LifecyclePolicyPreviewNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LifecyclePolicyPreviewNotFoundExceptionRes\");\nvar de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LimitExceededExceptionRes\");\nvar de_PullThroughCacheRuleAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new PullThroughCacheRuleAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PullThroughCacheRuleAlreadyExistsExceptionRes\");\nvar de_PullThroughCacheRuleNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new PullThroughCacheRuleNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PullThroughCacheRuleNotFoundExceptionRes\");\nvar de_ReferencedImagesNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ReferencedImagesNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ReferencedImagesNotFoundExceptionRes\");\nvar de_RegistryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new RegistryPolicyNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RegistryPolicyNotFoundExceptionRes\");\nvar de_RepositoryAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new RepositoryAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RepositoryAlreadyExistsExceptionRes\");\nvar de_RepositoryNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new RepositoryNotEmptyException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RepositoryNotEmptyExceptionRes\");\nvar de_RepositoryNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new RepositoryNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RepositoryNotFoundExceptionRes\");\nvar de_RepositoryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new RepositoryPolicyNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RepositoryPolicyNotFoundExceptionRes\");\nvar de_ScanNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ScanNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ScanNotFoundExceptionRes\");\nvar de_SecretNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new SecretNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_SecretNotFoundExceptionRes\");\nvar de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ServerExceptionRes\");\nvar de_TemplateAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TemplateAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TemplateAlreadyExistsExceptionRes\");\nvar de_TemplateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TemplateNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TemplateNotFoundExceptionRes\");\nvar de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TooManyTagsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TooManyTagsExceptionRes\");\nvar de_UnableToAccessSecretExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnableToAccessSecretException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnableToAccessSecretExceptionRes\");\nvar de_UnableToDecryptSecretValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnableToDecryptSecretValueException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnableToDecryptSecretValueExceptionRes\");\nvar de_UnableToGetUpstreamImageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnableToGetUpstreamImageException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnableToGetUpstreamImageExceptionRes\");\nvar de_UnableToGetUpstreamLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnableToGetUpstreamLayerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnableToGetUpstreamLayerExceptionRes\");\nvar de_UnsupportedImageTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedImageTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedImageTypeExceptionRes\");\nvar de_UnsupportedUpstreamRegistryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedUpstreamRegistryException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedUpstreamRegistryExceptionRes\");\nvar de_UploadNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UploadNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UploadNotFoundExceptionRes\");\nvar de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ValidationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ValidationExceptionRes\");\nvar se_UploadLayerPartRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n layerPartBlob: context.base64Encoder,\n partFirstByte: [],\n partLastByte: [],\n registryId: [],\n repositoryName: [],\n uploadId: []\n });\n}, \"se_UploadLayerPartRequest\");\nvar de_AuthorizationData = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n authorizationToken: import_smithy_client.expectString,\n expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"expiresAt\"),\n proxyEndpoint: import_smithy_client.expectString\n });\n}, \"de_AuthorizationData\");\nvar de_AuthorizationDataList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AuthorizationData(entry, context);\n });\n return retVal;\n}, \"de_AuthorizationDataList\");\nvar de_AwsEcrContainerImageDetails = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n architecture: import_smithy_client.expectString,\n author: import_smithy_client.expectString,\n imageHash: import_smithy_client.expectString,\n imageTags: import_smithy_client._json,\n inUseCount: import_smithy_client.expectLong,\n lastInUseAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastInUseAt\"),\n platform: import_smithy_client.expectString,\n pushedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"pushedAt\"),\n registry: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString\n });\n}, \"de_AwsEcrContainerImageDetails\");\nvar de_CreatePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"createdAt\"),\n credentialArn: import_smithy_client.expectString,\n customRoleArn: import_smithy_client.expectString,\n ecrRepositoryPrefix: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n upstreamRegistry: import_smithy_client.expectString,\n upstreamRegistryUrl: import_smithy_client.expectString,\n upstreamRepositoryPrefix: import_smithy_client.expectString\n });\n}, \"de_CreatePullThroughCacheRuleResponse\");\nvar de_CreateRepositoryCreationTemplateResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n registryId: import_smithy_client.expectString,\n repositoryCreationTemplate: /* @__PURE__ */ __name((_) => de_RepositoryCreationTemplate(_, context), \"repositoryCreationTemplate\")\n });\n}, \"de_CreateRepositoryCreationTemplateResponse\");\nvar de_CreateRepositoryResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n repository: /* @__PURE__ */ __name((_) => de_Repository(_, context), \"repository\")\n });\n}, \"de_CreateRepositoryResponse\");\nvar de_CvssScore = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n baseScore: import_smithy_client.limitedParseDouble,\n scoringVector: import_smithy_client.expectString,\n source: import_smithy_client.expectString,\n version: import_smithy_client.expectString\n });\n}, \"de_CvssScore\");\nvar de_CvssScoreDetails = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n adjustments: import_smithy_client._json,\n score: import_smithy_client.limitedParseDouble,\n scoreSource: import_smithy_client.expectString,\n scoringVector: import_smithy_client.expectString,\n version: import_smithy_client.expectString\n });\n}, \"de_CvssScoreDetails\");\nvar de_CvssScoreList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_CvssScore(entry, context);\n });\n return retVal;\n}, \"de_CvssScoreList\");\nvar de_DeleteLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n lastEvaluatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastEvaluatedAt\"),\n lifecyclePolicyText: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString\n });\n}, \"de_DeleteLifecyclePolicyResponse\");\nvar de_DeletePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"createdAt\"),\n credentialArn: import_smithy_client.expectString,\n customRoleArn: import_smithy_client.expectString,\n ecrRepositoryPrefix: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n upstreamRegistryUrl: import_smithy_client.expectString,\n upstreamRepositoryPrefix: import_smithy_client.expectString\n });\n}, \"de_DeletePullThroughCacheRuleResponse\");\nvar de_DeleteRepositoryCreationTemplateResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n registryId: import_smithy_client.expectString,\n repositoryCreationTemplate: /* @__PURE__ */ __name((_) => de_RepositoryCreationTemplate(_, context), \"repositoryCreationTemplate\")\n });\n}, \"de_DeleteRepositoryCreationTemplateResponse\");\nvar de_DeleteRepositoryResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n repository: /* @__PURE__ */ __name((_) => de_Repository(_, context), \"repository\")\n });\n}, \"de_DeleteRepositoryResponse\");\nvar de_DescribeImageScanFindingsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n imageId: import_smithy_client._json,\n imageScanFindings: /* @__PURE__ */ __name((_) => de_ImageScanFindings(_, context), \"imageScanFindings\"),\n imageScanStatus: import_smithy_client._json,\n nextToken: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString\n });\n}, \"de_DescribeImageScanFindingsResponse\");\nvar de_DescribeImagesResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n imageDetails: /* @__PURE__ */ __name((_) => de_ImageDetailList(_, context), \"imageDetails\"),\n nextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeImagesResponse\");\nvar de_DescribePullThroughCacheRulesResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n nextToken: import_smithy_client.expectString,\n pullThroughCacheRules: /* @__PURE__ */ __name((_) => de_PullThroughCacheRuleList(_, context), \"pullThroughCacheRules\")\n });\n}, \"de_DescribePullThroughCacheRulesResponse\");\nvar de_DescribeRepositoriesResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n nextToken: import_smithy_client.expectString,\n repositories: /* @__PURE__ */ __name((_) => de_RepositoryList(_, context), \"repositories\")\n });\n}, \"de_DescribeRepositoriesResponse\");\nvar de_DescribeRepositoryCreationTemplatesResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n nextToken: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n repositoryCreationTemplates: /* @__PURE__ */ __name((_) => de_RepositoryCreationTemplateList(_, context), \"repositoryCreationTemplates\")\n });\n}, \"de_DescribeRepositoryCreationTemplatesResponse\");\nvar de_EnhancedImageScanFinding = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n awsAccountId: import_smithy_client.expectString,\n description: import_smithy_client.expectString,\n exploitAvailable: import_smithy_client.expectString,\n findingArn: import_smithy_client.expectString,\n firstObservedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"firstObservedAt\"),\n fixAvailable: import_smithy_client.expectString,\n lastObservedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastObservedAt\"),\n packageVulnerabilityDetails: /* @__PURE__ */ __name((_) => de_PackageVulnerabilityDetails(_, context), \"packageVulnerabilityDetails\"),\n remediation: import_smithy_client._json,\n resources: /* @__PURE__ */ __name((_) => de_ResourceList(_, context), \"resources\"),\n score: import_smithy_client.limitedParseDouble,\n scoreDetails: /* @__PURE__ */ __name((_) => de_ScoreDetails(_, context), \"scoreDetails\"),\n severity: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n title: import_smithy_client.expectString,\n type: import_smithy_client.expectString,\n updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"updatedAt\")\n });\n}, \"de_EnhancedImageScanFinding\");\nvar de_EnhancedImageScanFindingList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_EnhancedImageScanFinding(entry, context);\n });\n return retVal;\n}, \"de_EnhancedImageScanFindingList\");\nvar de_GetAuthorizationTokenResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n authorizationData: /* @__PURE__ */ __name((_) => de_AuthorizationDataList(_, context), \"authorizationData\")\n });\n}, \"de_GetAuthorizationTokenResponse\");\nvar de_GetLifecyclePolicyPreviewResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n lifecyclePolicyText: import_smithy_client.expectString,\n nextToken: import_smithy_client.expectString,\n previewResults: /* @__PURE__ */ __name((_) => de_LifecyclePolicyPreviewResultList(_, context), \"previewResults\"),\n registryId: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString,\n status: import_smithy_client.expectString,\n summary: import_smithy_client._json\n });\n}, \"de_GetLifecyclePolicyPreviewResponse\");\nvar de_GetLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n lastEvaluatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastEvaluatedAt\"),\n lifecyclePolicyText: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString\n });\n}, \"de_GetLifecyclePolicyResponse\");\nvar de_ImageDetail = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n artifactMediaType: import_smithy_client.expectString,\n imageDigest: import_smithy_client.expectString,\n imageManifestMediaType: import_smithy_client.expectString,\n imagePushedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"imagePushedAt\"),\n imageScanFindingsSummary: /* @__PURE__ */ __name((_) => de_ImageScanFindingsSummary(_, context), \"imageScanFindingsSummary\"),\n imageScanStatus: import_smithy_client._json,\n imageSizeInBytes: import_smithy_client.expectLong,\n imageTags: import_smithy_client._json,\n lastRecordedPullTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"lastRecordedPullTime\"),\n registryId: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString\n });\n}, \"de_ImageDetail\");\nvar de_ImageDetailList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ImageDetail(entry, context);\n });\n return retVal;\n}, \"de_ImageDetailList\");\nvar de_ImageScanFindings = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n enhancedFindings: /* @__PURE__ */ __name((_) => de_EnhancedImageScanFindingList(_, context), \"enhancedFindings\"),\n findingSeverityCounts: import_smithy_client._json,\n findings: import_smithy_client._json,\n imageScanCompletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"imageScanCompletedAt\"),\n vulnerabilitySourceUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"vulnerabilitySourceUpdatedAt\")\n });\n}, \"de_ImageScanFindings\");\nvar de_ImageScanFindingsSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n findingSeverityCounts: import_smithy_client._json,\n imageScanCompletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"imageScanCompletedAt\"),\n vulnerabilitySourceUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"vulnerabilitySourceUpdatedAt\")\n });\n}, \"de_ImageScanFindingsSummary\");\nvar de_LifecyclePolicyPreviewResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n action: import_smithy_client._json,\n appliedRulePriority: import_smithy_client.expectInt32,\n imageDigest: import_smithy_client.expectString,\n imagePushedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"imagePushedAt\"),\n imageTags: import_smithy_client._json\n });\n}, \"de_LifecyclePolicyPreviewResult\");\nvar de_LifecyclePolicyPreviewResultList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_LifecyclePolicyPreviewResult(entry, context);\n });\n return retVal;\n}, \"de_LifecyclePolicyPreviewResultList\");\nvar de_PackageVulnerabilityDetails = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n cvss: /* @__PURE__ */ __name((_) => de_CvssScoreList(_, context), \"cvss\"),\n referenceUrls: import_smithy_client._json,\n relatedVulnerabilities: import_smithy_client._json,\n source: import_smithy_client.expectString,\n sourceUrl: import_smithy_client.expectString,\n vendorCreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"vendorCreatedAt\"),\n vendorSeverity: import_smithy_client.expectString,\n vendorUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"vendorUpdatedAt\"),\n vulnerabilityId: import_smithy_client.expectString,\n vulnerablePackages: import_smithy_client._json\n });\n}, \"de_PackageVulnerabilityDetails\");\nvar de_PullThroughCacheRule = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"createdAt\"),\n credentialArn: import_smithy_client.expectString,\n customRoleArn: import_smithy_client.expectString,\n ecrRepositoryPrefix: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"updatedAt\"),\n upstreamRegistry: import_smithy_client.expectString,\n upstreamRegistryUrl: import_smithy_client.expectString,\n upstreamRepositoryPrefix: import_smithy_client.expectString\n });\n}, \"de_PullThroughCacheRule\");\nvar de_PullThroughCacheRuleList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_PullThroughCacheRule(entry, context);\n });\n return retVal;\n}, \"de_PullThroughCacheRuleList\");\nvar de_Repository = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"createdAt\"),\n encryptionConfiguration: import_smithy_client._json,\n imageScanningConfiguration: import_smithy_client._json,\n imageTagMutability: import_smithy_client.expectString,\n imageTagMutabilityExclusionFilters: import_smithy_client._json,\n registryId: import_smithy_client.expectString,\n repositoryArn: import_smithy_client.expectString,\n repositoryName: import_smithy_client.expectString,\n repositoryUri: import_smithy_client.expectString\n });\n}, \"de_Repository\");\nvar de_RepositoryCreationTemplate = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n appliedFor: import_smithy_client._json,\n createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"createdAt\"),\n customRoleArn: import_smithy_client.expectString,\n description: import_smithy_client.expectString,\n encryptionConfiguration: import_smithy_client._json,\n imageTagMutability: import_smithy_client.expectString,\n imageTagMutabilityExclusionFilters: import_smithy_client._json,\n lifecyclePolicy: import_smithy_client.expectString,\n prefix: import_smithy_client.expectString,\n repositoryPolicy: import_smithy_client.expectString,\n resourceTags: import_smithy_client._json,\n updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"updatedAt\")\n });\n}, \"de_RepositoryCreationTemplate\");\nvar de_RepositoryCreationTemplateList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_RepositoryCreationTemplate(entry, context);\n });\n return retVal;\n}, \"de_RepositoryCreationTemplateList\");\nvar de_RepositoryList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Repository(entry, context);\n });\n return retVal;\n}, \"de_RepositoryList\");\nvar de_Resource = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n details: /* @__PURE__ */ __name((_) => de_ResourceDetails(_, context), \"details\"),\n id: import_smithy_client.expectString,\n tags: import_smithy_client._json,\n type: import_smithy_client.expectString\n });\n}, \"de_Resource\");\nvar de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n awsEcrContainerImage: /* @__PURE__ */ __name((_) => de_AwsEcrContainerImageDetails(_, context), \"awsEcrContainerImage\")\n });\n}, \"de_ResourceDetails\");\nvar de_ResourceList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Resource(entry, context);\n });\n return retVal;\n}, \"de_ResourceList\");\nvar de_ScoreDetails = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n cvss: /* @__PURE__ */ __name((_) => de_CvssScoreDetails(_, context), \"cvss\")\n });\n}, \"de_ScoreDetails\");\nvar de_UpdatePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n credentialArn: import_smithy_client.expectString,\n customRoleArn: import_smithy_client.expectString,\n ecrRepositoryPrefix: import_smithy_client.expectString,\n registryId: import_smithy_client.expectString,\n updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"updatedAt\"),\n upstreamRepositoryPrefix: import_smithy_client.expectString\n });\n}, \"de_UpdatePullThroughCacheRuleResponse\");\nvar de_UpdateRepositoryCreationTemplateResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n registryId: import_smithy_client.expectString,\n repositoryCreationTemplate: /* @__PURE__ */ __name((_) => de_RepositoryCreationTemplate(_, context), \"repositoryCreationTemplate\")\n });\n}, \"de_UpdateRepositoryCreationTemplateResponse\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(ECRServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AmazonEC2ContainerRegistry_V20150921.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/BatchCheckLayerAvailabilityCommand.ts\nvar BatchCheckLayerAvailabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchCheckLayerAvailability\", {}).n(\"ECRClient\", \"BatchCheckLayerAvailabilityCommand\").f(void 0, void 0).ser(se_BatchCheckLayerAvailabilityCommand).de(de_BatchCheckLayerAvailabilityCommand).build() {\n static {\n __name(this, \"BatchCheckLayerAvailabilityCommand\");\n }\n};\n\n// src/commands/BatchDeleteImageCommand.ts\n\n\n\nvar BatchDeleteImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchDeleteImage\", {}).n(\"ECRClient\", \"BatchDeleteImageCommand\").f(void 0, void 0).ser(se_BatchDeleteImageCommand).de(de_BatchDeleteImageCommand).build() {\n static {\n __name(this, \"BatchDeleteImageCommand\");\n }\n};\n\n// src/commands/BatchGetImageCommand.ts\n\n\n\nvar BatchGetImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchGetImage\", {}).n(\"ECRClient\", \"BatchGetImageCommand\").f(void 0, void 0).ser(se_BatchGetImageCommand).de(de_BatchGetImageCommand).build() {\n static {\n __name(this, \"BatchGetImageCommand\");\n }\n};\n\n// src/commands/BatchGetRepositoryScanningConfigurationCommand.ts\n\n\n\nvar BatchGetRepositoryScanningConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchGetRepositoryScanningConfiguration\", {}).n(\"ECRClient\", \"BatchGetRepositoryScanningConfigurationCommand\").f(void 0, void 0).ser(se_BatchGetRepositoryScanningConfigurationCommand).de(de_BatchGetRepositoryScanningConfigurationCommand).build() {\n static {\n __name(this, \"BatchGetRepositoryScanningConfigurationCommand\");\n }\n};\n\n// src/commands/CompleteLayerUploadCommand.ts\n\n\n\nvar CompleteLayerUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"CompleteLayerUpload\", {}).n(\"ECRClient\", \"CompleteLayerUploadCommand\").f(void 0, void 0).ser(se_CompleteLayerUploadCommand).de(de_CompleteLayerUploadCommand).build() {\n static {\n __name(this, \"CompleteLayerUploadCommand\");\n }\n};\n\n// src/commands/CreatePullThroughCacheRuleCommand.ts\n\n\n\nvar CreatePullThroughCacheRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreatePullThroughCacheRule\", {}).n(\"ECRClient\", \"CreatePullThroughCacheRuleCommand\").f(void 0, void 0).ser(se_CreatePullThroughCacheRuleCommand).de(de_CreatePullThroughCacheRuleCommand).build() {\n static {\n __name(this, \"CreatePullThroughCacheRuleCommand\");\n }\n};\n\n// src/commands/CreateRepositoryCommand.ts\n\n\n\nvar CreateRepositoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreateRepository\", {}).n(\"ECRClient\", \"CreateRepositoryCommand\").f(void 0, void 0).ser(se_CreateRepositoryCommand).de(de_CreateRepositoryCommand).build() {\n static {\n __name(this, \"CreateRepositoryCommand\");\n }\n};\n\n// src/commands/CreateRepositoryCreationTemplateCommand.ts\n\n\n\nvar CreateRepositoryCreationTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreateRepositoryCreationTemplate\", {}).n(\"ECRClient\", \"CreateRepositoryCreationTemplateCommand\").f(void 0, void 0).ser(se_CreateRepositoryCreationTemplateCommand).de(de_CreateRepositoryCreationTemplateCommand).build() {\n static {\n __name(this, \"CreateRepositoryCreationTemplateCommand\");\n }\n};\n\n// src/commands/DeleteLifecyclePolicyCommand.ts\n\n\n\nvar DeleteLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteLifecyclePolicy\", {}).n(\"ECRClient\", \"DeleteLifecyclePolicyCommand\").f(void 0, void 0).ser(se_DeleteLifecyclePolicyCommand).de(de_DeleteLifecyclePolicyCommand).build() {\n static {\n __name(this, \"DeleteLifecyclePolicyCommand\");\n }\n};\n\n// src/commands/DeletePullThroughCacheRuleCommand.ts\n\n\n\nvar DeletePullThroughCacheRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeletePullThroughCacheRule\", {}).n(\"ECRClient\", \"DeletePullThroughCacheRuleCommand\").f(void 0, void 0).ser(se_DeletePullThroughCacheRuleCommand).de(de_DeletePullThroughCacheRuleCommand).build() {\n static {\n __name(this, \"DeletePullThroughCacheRuleCommand\");\n }\n};\n\n// src/commands/DeleteRegistryPolicyCommand.ts\n\n\n\nvar DeleteRegistryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRegistryPolicy\", {}).n(\"ECRClient\", \"DeleteRegistryPolicyCommand\").f(void 0, void 0).ser(se_DeleteRegistryPolicyCommand).de(de_DeleteRegistryPolicyCommand).build() {\n static {\n __name(this, \"DeleteRegistryPolicyCommand\");\n }\n};\n\n// src/commands/DeleteRepositoryCommand.ts\n\n\n\nvar DeleteRepositoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepository\", {}).n(\"ECRClient\", \"DeleteRepositoryCommand\").f(void 0, void 0).ser(se_DeleteRepositoryCommand).de(de_DeleteRepositoryCommand).build() {\n static {\n __name(this, \"DeleteRepositoryCommand\");\n }\n};\n\n// src/commands/DeleteRepositoryCreationTemplateCommand.ts\n\n\n\nvar DeleteRepositoryCreationTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepositoryCreationTemplate\", {}).n(\"ECRClient\", \"DeleteRepositoryCreationTemplateCommand\").f(void 0, void 0).ser(se_DeleteRepositoryCreationTemplateCommand).de(de_DeleteRepositoryCreationTemplateCommand).build() {\n static {\n __name(this, \"DeleteRepositoryCreationTemplateCommand\");\n }\n};\n\n// src/commands/DeleteRepositoryPolicyCommand.ts\n\n\n\nvar DeleteRepositoryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepositoryPolicy\", {}).n(\"ECRClient\", \"DeleteRepositoryPolicyCommand\").f(void 0, void 0).ser(se_DeleteRepositoryPolicyCommand).de(de_DeleteRepositoryPolicyCommand).build() {\n static {\n __name(this, \"DeleteRepositoryPolicyCommand\");\n }\n};\n\n// src/commands/DescribeImageReplicationStatusCommand.ts\n\n\n\nvar DescribeImageReplicationStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImageReplicationStatus\", {}).n(\"ECRClient\", \"DescribeImageReplicationStatusCommand\").f(void 0, void 0).ser(se_DescribeImageReplicationStatusCommand).de(de_DescribeImageReplicationStatusCommand).build() {\n static {\n __name(this, \"DescribeImageReplicationStatusCommand\");\n }\n};\n\n// src/commands/DescribeImageScanFindingsCommand.ts\n\n\n\nvar DescribeImageScanFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImageScanFindings\", {}).n(\"ECRClient\", \"DescribeImageScanFindingsCommand\").f(void 0, void 0).ser(se_DescribeImageScanFindingsCommand).de(de_DescribeImageScanFindingsCommand).build() {\n static {\n __name(this, \"DescribeImageScanFindingsCommand\");\n }\n};\n\n// src/commands/DescribeImagesCommand.ts\n\n\n\nvar DescribeImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImages\", {}).n(\"ECRClient\", \"DescribeImagesCommand\").f(void 0, void 0).ser(se_DescribeImagesCommand).de(de_DescribeImagesCommand).build() {\n static {\n __name(this, \"DescribeImagesCommand\");\n }\n};\n\n// src/commands/DescribePullThroughCacheRulesCommand.ts\n\n\n\nvar DescribePullThroughCacheRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribePullThroughCacheRules\", {}).n(\"ECRClient\", \"DescribePullThroughCacheRulesCommand\").f(void 0, void 0).ser(se_DescribePullThroughCacheRulesCommand).de(de_DescribePullThroughCacheRulesCommand).build() {\n static {\n __name(this, \"DescribePullThroughCacheRulesCommand\");\n }\n};\n\n// src/commands/DescribeRegistryCommand.ts\n\n\n\nvar DescribeRegistryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRegistry\", {}).n(\"ECRClient\", \"DescribeRegistryCommand\").f(void 0, void 0).ser(se_DescribeRegistryCommand).de(de_DescribeRegistryCommand).build() {\n static {\n __name(this, \"DescribeRegistryCommand\");\n }\n};\n\n// src/commands/DescribeRepositoriesCommand.ts\n\n\n\nvar DescribeRepositoriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRepositories\", {}).n(\"ECRClient\", \"DescribeRepositoriesCommand\").f(void 0, void 0).ser(se_DescribeRepositoriesCommand).de(de_DescribeRepositoriesCommand).build() {\n static {\n __name(this, \"DescribeRepositoriesCommand\");\n }\n};\n\n// src/commands/DescribeRepositoryCreationTemplatesCommand.ts\n\n\n\nvar DescribeRepositoryCreationTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRepositoryCreationTemplates\", {}).n(\"ECRClient\", \"DescribeRepositoryCreationTemplatesCommand\").f(void 0, void 0).ser(se_DescribeRepositoryCreationTemplatesCommand).de(de_DescribeRepositoryCreationTemplatesCommand).build() {\n static {\n __name(this, \"DescribeRepositoryCreationTemplatesCommand\");\n }\n};\n\n// src/commands/GetAccountSettingCommand.ts\n\n\n\nvar GetAccountSettingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetAccountSetting\", {}).n(\"ECRClient\", \"GetAccountSettingCommand\").f(void 0, void 0).ser(se_GetAccountSettingCommand).de(de_GetAccountSettingCommand).build() {\n static {\n __name(this, \"GetAccountSettingCommand\");\n }\n};\n\n// src/commands/GetAuthorizationTokenCommand.ts\n\n\n\nvar GetAuthorizationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetAuthorizationToken\", {}).n(\"ECRClient\", \"GetAuthorizationTokenCommand\").f(void 0, void 0).ser(se_GetAuthorizationTokenCommand).de(de_GetAuthorizationTokenCommand).build() {\n static {\n __name(this, \"GetAuthorizationTokenCommand\");\n }\n};\n\n// src/commands/GetDownloadUrlForLayerCommand.ts\n\n\n\nvar GetDownloadUrlForLayerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetDownloadUrlForLayer\", {}).n(\"ECRClient\", \"GetDownloadUrlForLayerCommand\").f(void 0, void 0).ser(se_GetDownloadUrlForLayerCommand).de(de_GetDownloadUrlForLayerCommand).build() {\n static {\n __name(this, \"GetDownloadUrlForLayerCommand\");\n }\n};\n\n// src/commands/GetLifecyclePolicyCommand.ts\n\n\n\nvar GetLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetLifecyclePolicy\", {}).n(\"ECRClient\", \"GetLifecyclePolicyCommand\").f(void 0, void 0).ser(se_GetLifecyclePolicyCommand).de(de_GetLifecyclePolicyCommand).build() {\n static {\n __name(this, \"GetLifecyclePolicyCommand\");\n }\n};\n\n// src/commands/GetLifecyclePolicyPreviewCommand.ts\n\n\n\nvar GetLifecyclePolicyPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetLifecyclePolicyPreview\", {}).n(\"ECRClient\", \"GetLifecyclePolicyPreviewCommand\").f(void 0, void 0).ser(se_GetLifecyclePolicyPreviewCommand).de(de_GetLifecyclePolicyPreviewCommand).build() {\n static {\n __name(this, \"GetLifecyclePolicyPreviewCommand\");\n }\n};\n\n// src/commands/GetRegistryPolicyCommand.ts\n\n\n\nvar GetRegistryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRegistryPolicy\", {}).n(\"ECRClient\", \"GetRegistryPolicyCommand\").f(void 0, void 0).ser(se_GetRegistryPolicyCommand).de(de_GetRegistryPolicyCommand).build() {\n static {\n __name(this, \"GetRegistryPolicyCommand\");\n }\n};\n\n// src/commands/GetRegistryScanningConfigurationCommand.ts\n\n\n\nvar GetRegistryScanningConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRegistryScanningConfiguration\", {}).n(\"ECRClient\", \"GetRegistryScanningConfigurationCommand\").f(void 0, void 0).ser(se_GetRegistryScanningConfigurationCommand).de(de_GetRegistryScanningConfigurationCommand).build() {\n static {\n __name(this, \"GetRegistryScanningConfigurationCommand\");\n }\n};\n\n// src/commands/GetRepositoryPolicyCommand.ts\n\n\n\nvar GetRepositoryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRepositoryPolicy\", {}).n(\"ECRClient\", \"GetRepositoryPolicyCommand\").f(void 0, void 0).ser(se_GetRepositoryPolicyCommand).de(de_GetRepositoryPolicyCommand).build() {\n static {\n __name(this, \"GetRepositoryPolicyCommand\");\n }\n};\n\n// src/commands/InitiateLayerUploadCommand.ts\n\n\n\nvar InitiateLayerUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"InitiateLayerUpload\", {}).n(\"ECRClient\", \"InitiateLayerUploadCommand\").f(void 0, void 0).ser(se_InitiateLayerUploadCommand).de(de_InitiateLayerUploadCommand).build() {\n static {\n __name(this, \"InitiateLayerUploadCommand\");\n }\n};\n\n// src/commands/ListImagesCommand.ts\n\n\n\nvar ListImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListImages\", {}).n(\"ECRClient\", \"ListImagesCommand\").f(void 0, void 0).ser(se_ListImagesCommand).de(de_ListImagesCommand).build() {\n static {\n __name(this, \"ListImagesCommand\");\n }\n};\n\n// src/commands/ListTagsForResourceCommand.ts\n\n\n\nvar ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListTagsForResource\", {}).n(\"ECRClient\", \"ListTagsForResourceCommand\").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {\n static {\n __name(this, \"ListTagsForResourceCommand\");\n }\n};\n\n// src/commands/PutAccountSettingCommand.ts\n\n\n\nvar PutAccountSettingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutAccountSetting\", {}).n(\"ECRClient\", \"PutAccountSettingCommand\").f(void 0, void 0).ser(se_PutAccountSettingCommand).de(de_PutAccountSettingCommand).build() {\n static {\n __name(this, \"PutAccountSettingCommand\");\n }\n};\n\n// src/commands/PutImageCommand.ts\n\n\n\nvar PutImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImage\", {}).n(\"ECRClient\", \"PutImageCommand\").f(void 0, void 0).ser(se_PutImageCommand).de(de_PutImageCommand).build() {\n static {\n __name(this, \"PutImageCommand\");\n }\n};\n\n// src/commands/PutImageScanningConfigurationCommand.ts\n\n\n\nvar PutImageScanningConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImageScanningConfiguration\", {}).n(\"ECRClient\", \"PutImageScanningConfigurationCommand\").f(void 0, void 0).ser(se_PutImageScanningConfigurationCommand).de(de_PutImageScanningConfigurationCommand).build() {\n static {\n __name(this, \"PutImageScanningConfigurationCommand\");\n }\n};\n\n// src/commands/PutImageTagMutabilityCommand.ts\n\n\n\nvar PutImageTagMutabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImageTagMutability\", {}).n(\"ECRClient\", \"PutImageTagMutabilityCommand\").f(void 0, void 0).ser(se_PutImageTagMutabilityCommand).de(de_PutImageTagMutabilityCommand).build() {\n static {\n __name(this, \"PutImageTagMutabilityCommand\");\n }\n};\n\n// src/commands/PutLifecyclePolicyCommand.ts\n\n\n\nvar PutLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutLifecyclePolicy\", {}).n(\"ECRClient\", \"PutLifecyclePolicyCommand\").f(void 0, void 0).ser(se_PutLifecyclePolicyCommand).de(de_PutLifecyclePolicyCommand).build() {\n static {\n __name(this, \"PutLifecyclePolicyCommand\");\n }\n};\n\n// src/commands/PutRegistryPolicyCommand.ts\n\n\n\nvar PutRegistryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutRegistryPolicy\", {}).n(\"ECRClient\", \"PutRegistryPolicyCommand\").f(void 0, void 0).ser(se_PutRegistryPolicyCommand).de(de_PutRegistryPolicyCommand).build() {\n static {\n __name(this, \"PutRegistryPolicyCommand\");\n }\n};\n\n// src/commands/PutRegistryScanningConfigurationCommand.ts\n\n\n\nvar PutRegistryScanningConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutRegistryScanningConfiguration\", {}).n(\"ECRClient\", \"PutRegistryScanningConfigurationCommand\").f(void 0, void 0).ser(se_PutRegistryScanningConfigurationCommand).de(de_PutRegistryScanningConfigurationCommand).build() {\n static {\n __name(this, \"PutRegistryScanningConfigurationCommand\");\n }\n};\n\n// src/commands/PutReplicationConfigurationCommand.ts\n\n\n\nvar PutReplicationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutReplicationConfiguration\", {}).n(\"ECRClient\", \"PutReplicationConfigurationCommand\").f(void 0, void 0).ser(se_PutReplicationConfigurationCommand).de(de_PutReplicationConfigurationCommand).build() {\n static {\n __name(this, \"PutReplicationConfigurationCommand\");\n }\n};\n\n// src/commands/SetRepositoryPolicyCommand.ts\n\n\n\nvar SetRepositoryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"SetRepositoryPolicy\", {}).n(\"ECRClient\", \"SetRepositoryPolicyCommand\").f(void 0, void 0).ser(se_SetRepositoryPolicyCommand).de(de_SetRepositoryPolicyCommand).build() {\n static {\n __name(this, \"SetRepositoryPolicyCommand\");\n }\n};\n\n// src/commands/StartImageScanCommand.ts\n\n\n\nvar StartImageScanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"StartImageScan\", {}).n(\"ECRClient\", \"StartImageScanCommand\").f(void 0, void 0).ser(se_StartImageScanCommand).de(de_StartImageScanCommand).build() {\n static {\n __name(this, \"StartImageScanCommand\");\n }\n};\n\n// src/commands/StartLifecyclePolicyPreviewCommand.ts\n\n\n\nvar StartLifecyclePolicyPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"StartLifecyclePolicyPreview\", {}).n(\"ECRClient\", \"StartLifecyclePolicyPreviewCommand\").f(void 0, void 0).ser(se_StartLifecyclePolicyPreviewCommand).de(de_StartLifecyclePolicyPreviewCommand).build() {\n static {\n __name(this, \"StartLifecyclePolicyPreviewCommand\");\n }\n};\n\n// src/commands/TagResourceCommand.ts\n\n\n\nvar TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"TagResource\", {}).n(\"ECRClient\", \"TagResourceCommand\").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {\n static {\n __name(this, \"TagResourceCommand\");\n }\n};\n\n// src/commands/UntagResourceCommand.ts\n\n\n\nvar UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"UntagResource\", {}).n(\"ECRClient\", \"UntagResourceCommand\").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {\n static {\n __name(this, \"UntagResourceCommand\");\n }\n};\n\n// src/commands/UpdatePullThroughCacheRuleCommand.ts\n\n\n\nvar UpdatePullThroughCacheRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"UpdatePullThroughCacheRule\", {}).n(\"ECRClient\", \"UpdatePullThroughCacheRuleCommand\").f(void 0, void 0).ser(se_UpdatePullThroughCacheRuleCommand).de(de_UpdatePullThroughCacheRuleCommand).build() {\n static {\n __name(this, \"UpdatePullThroughCacheRuleCommand\");\n }\n};\n\n// src/commands/UpdateRepositoryCreationTemplateCommand.ts\n\n\n\nvar UpdateRepositoryCreationTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"UpdateRepositoryCreationTemplate\", {}).n(\"ECRClient\", \"UpdateRepositoryCreationTemplateCommand\").f(void 0, void 0).ser(se_UpdateRepositoryCreationTemplateCommand).de(de_UpdateRepositoryCreationTemplateCommand).build() {\n static {\n __name(this, \"UpdateRepositoryCreationTemplateCommand\");\n }\n};\n\n// src/commands/UploadLayerPartCommand.ts\n\n\n\nvar UploadLayerPartCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"UploadLayerPart\", {}).n(\"ECRClient\", \"UploadLayerPartCommand\").f(void 0, void 0).ser(se_UploadLayerPartCommand).de(de_UploadLayerPartCommand).build() {\n static {\n __name(this, \"UploadLayerPartCommand\");\n }\n};\n\n// src/commands/ValidatePullThroughCacheRuleCommand.ts\n\n\n\nvar ValidatePullThroughCacheRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonEC2ContainerRegistry_V20150921\", \"ValidatePullThroughCacheRule\", {}).n(\"ECRClient\", \"ValidatePullThroughCacheRuleCommand\").f(void 0, void 0).ser(se_ValidatePullThroughCacheRuleCommand).de(de_ValidatePullThroughCacheRuleCommand).build() {\n static {\n __name(this, \"ValidatePullThroughCacheRuleCommand\");\n }\n};\n\n// src/ECR.ts\nvar commands = {\n BatchCheckLayerAvailabilityCommand,\n BatchDeleteImageCommand,\n BatchGetImageCommand,\n BatchGetRepositoryScanningConfigurationCommand,\n CompleteLayerUploadCommand,\n CreatePullThroughCacheRuleCommand,\n CreateRepositoryCommand,\n CreateRepositoryCreationTemplateCommand,\n DeleteLifecyclePolicyCommand,\n DeletePullThroughCacheRuleCommand,\n DeleteRegistryPolicyCommand,\n DeleteRepositoryCommand,\n DeleteRepositoryCreationTemplateCommand,\n DeleteRepositoryPolicyCommand,\n DescribeImageReplicationStatusCommand,\n DescribeImagesCommand,\n DescribeImageScanFindingsCommand,\n DescribePullThroughCacheRulesCommand,\n DescribeRegistryCommand,\n DescribeRepositoriesCommand,\n DescribeRepositoryCreationTemplatesCommand,\n GetAccountSettingCommand,\n GetAuthorizationTokenCommand,\n GetDownloadUrlForLayerCommand,\n GetLifecyclePolicyCommand,\n GetLifecyclePolicyPreviewCommand,\n GetRegistryPolicyCommand,\n GetRegistryScanningConfigurationCommand,\n GetRepositoryPolicyCommand,\n InitiateLayerUploadCommand,\n ListImagesCommand,\n ListTagsForResourceCommand,\n PutAccountSettingCommand,\n PutImageCommand,\n PutImageScanningConfigurationCommand,\n PutImageTagMutabilityCommand,\n PutLifecyclePolicyCommand,\n PutRegistryPolicyCommand,\n PutRegistryScanningConfigurationCommand,\n PutReplicationConfigurationCommand,\n SetRepositoryPolicyCommand,\n StartImageScanCommand,\n StartLifecyclePolicyPreviewCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdatePullThroughCacheRuleCommand,\n UpdateRepositoryCreationTemplateCommand,\n UploadLayerPartCommand,\n ValidatePullThroughCacheRuleCommand\n};\nvar ECR = class extends ECRClient {\n static {\n __name(this, \"ECR\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, ECR);\n\n// src/pagination/DescribeImageScanFindingsPaginator.ts\n\nvar paginateDescribeImageScanFindings = (0, import_core.createPaginator)(ECRClient, DescribeImageScanFindingsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/DescribeImagesPaginator.ts\n\nvar paginateDescribeImages = (0, import_core.createPaginator)(ECRClient, DescribeImagesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/DescribePullThroughCacheRulesPaginator.ts\n\nvar paginateDescribePullThroughCacheRules = (0, import_core.createPaginator)(ECRClient, DescribePullThroughCacheRulesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/DescribeRepositoriesPaginator.ts\n\nvar paginateDescribeRepositories = (0, import_core.createPaginator)(ECRClient, DescribeRepositoriesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/DescribeRepositoryCreationTemplatesPaginator.ts\n\nvar paginateDescribeRepositoryCreationTemplates = (0, import_core.createPaginator)(ECRClient, DescribeRepositoryCreationTemplatesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/GetLifecyclePolicyPreviewPaginator.ts\n\nvar paginateGetLifecyclePolicyPreview = (0, import_core.createPaginator)(ECRClient, GetLifecyclePolicyPreviewCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListImagesPaginator.ts\n\nvar paginateListImages = (0, import_core.createPaginator)(ECRClient, ListImagesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/waiters/waitForImageScanComplete.ts\nvar import_util_waiter = require(\"@smithy/util-waiter\");\nvar checkState = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new DescribeImageScanFindingsCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.imageScanStatus.status;\n }, \"returnComparator\");\n if (returnComparator() === \"COMPLETE\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.imageScanStatus.status;\n }, \"returnComparator\");\n if (returnComparator() === \"FAILED\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForImageScanComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n}, \"waitForImageScanComplete\");\nvar waitUntilImageScanComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilImageScanComplete\");\n\n// src/waiters/waitForLifecyclePolicyPreviewComplete.ts\n\nvar checkState2 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetLifecyclePolicyPreviewCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.status;\n }, \"returnComparator\");\n if (returnComparator() === \"COMPLETE\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.status;\n }, \"returnComparator\");\n if (returnComparator() === \"FAILED\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForLifecyclePolicyPreviewComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n}, \"waitForLifecyclePolicyPreviewComplete\");\nvar waitUntilLifecyclePolicyPreviewComplete = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilLifecyclePolicyPreviewComplete\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ECRServiceException,\n __Client,\n ECRClient,\n ECR,\n $Command,\n BatchCheckLayerAvailabilityCommand,\n BatchDeleteImageCommand,\n BatchGetImageCommand,\n BatchGetRepositoryScanningConfigurationCommand,\n CompleteLayerUploadCommand,\n CreatePullThroughCacheRuleCommand,\n CreateRepositoryCommand,\n CreateRepositoryCreationTemplateCommand,\n DeleteLifecyclePolicyCommand,\n DeletePullThroughCacheRuleCommand,\n DeleteRegistryPolicyCommand,\n DeleteRepositoryCommand,\n DeleteRepositoryCreationTemplateCommand,\n DeleteRepositoryPolicyCommand,\n DescribeImageReplicationStatusCommand,\n DescribeImageScanFindingsCommand,\n DescribeImagesCommand,\n DescribePullThroughCacheRulesCommand,\n DescribeRegistryCommand,\n DescribeRepositoriesCommand,\n DescribeRepositoryCreationTemplatesCommand,\n GetAccountSettingCommand,\n GetAuthorizationTokenCommand,\n GetDownloadUrlForLayerCommand,\n GetLifecyclePolicyCommand,\n GetLifecyclePolicyPreviewCommand,\n GetRegistryPolicyCommand,\n GetRegistryScanningConfigurationCommand,\n GetRepositoryPolicyCommand,\n InitiateLayerUploadCommand,\n ListImagesCommand,\n ListTagsForResourceCommand,\n PutAccountSettingCommand,\n PutImageCommand,\n PutImageScanningConfigurationCommand,\n PutImageTagMutabilityCommand,\n PutLifecyclePolicyCommand,\n PutRegistryPolicyCommand,\n PutRegistryScanningConfigurationCommand,\n PutReplicationConfigurationCommand,\n SetRepositoryPolicyCommand,\n StartImageScanCommand,\n StartLifecyclePolicyPreviewCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdatePullThroughCacheRuleCommand,\n UpdateRepositoryCreationTemplateCommand,\n UploadLayerPartCommand,\n ValidatePullThroughCacheRuleCommand,\n paginateDescribeImageScanFindings,\n paginateDescribeImages,\n paginateDescribePullThroughCacheRules,\n paginateDescribeRepositories,\n paginateDescribeRepositoryCreationTemplates,\n paginateGetLifecyclePolicyPreview,\n paginateListImages,\n waitForImageScanComplete,\n waitUntilImageScanComplete,\n waitForLifecyclePolicyPreviewComplete,\n waitUntilLifecyclePolicyPreviewComplete,\n LayerFailureCode,\n LayerAvailability,\n InvalidParameterException,\n RepositoryNotFoundException,\n ServerException,\n ImageFailureCode,\n LimitExceededException,\n UnableToGetUpstreamImageException,\n ScanningConfigurationFailureCode,\n ScanningRepositoryFilterType,\n ScanFrequency,\n ValidationException,\n EmptyUploadException,\n InvalidLayerException,\n KmsException,\n LayerAlreadyExistsException,\n LayerPartTooSmallException,\n UploadNotFoundException,\n UpstreamRegistry,\n PullThroughCacheRuleAlreadyExistsException,\n SecretNotFoundException,\n UnableToAccessSecretException,\n UnableToDecryptSecretValueException,\n UnsupportedUpstreamRegistryException,\n EncryptionType,\n ImageTagMutability,\n ImageTagMutabilityExclusionFilterType,\n InvalidTagParameterException,\n RepositoryAlreadyExistsException,\n TooManyTagsException,\n RCTAppliedFor,\n TemplateAlreadyExistsException,\n LifecyclePolicyNotFoundException,\n PullThroughCacheRuleNotFoundException,\n RegistryPolicyNotFoundException,\n RepositoryNotEmptyException,\n TemplateNotFoundException,\n RepositoryPolicyNotFoundException,\n ReplicationStatus,\n ImageNotFoundException,\n TagStatus,\n FindingSeverity,\n ScanStatus,\n ScanNotFoundException,\n RepositoryFilterType,\n LayerInaccessibleException,\n LayersNotFoundException,\n UnableToGetUpstreamLayerException,\n ImageActionType,\n LifecyclePolicyPreviewStatus,\n LifecyclePolicyPreviewNotFoundException,\n ScanType,\n ImageAlreadyExistsException,\n ImageDigestDoesNotMatchException,\n ImageTagAlreadyExistsException,\n ReferencedImagesNotFoundException,\n UnsupportedImageTypeException,\n LifecyclePolicyPreviewInProgressException,\n InvalidLayerPartException\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2015-09-21\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultECRHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"ECR\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,\n getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,\n getUserAgentPlugin: () => getUserAgentPlugin,\n resolveUserAgentConfig: () => resolveUserAgentConfig,\n userAgentMiddleware: () => userAgentMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/configurations.ts\nvar import_core = require(\"@smithy/core\");\nvar DEFAULT_UA_APP_ID = void 0;\nfunction isValidUserAgentAppId(appId) {\n if (appId === void 0) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\n__name(isValidUserAgentAppId, \"isValidUserAgentAppId\");\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: /* @__PURE__ */ __name(async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n } else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n }, \"userAgentAppId\")\n });\n}\n__name(resolveUserAgentConfig, \"resolveUserAgentConfig\");\n\n// src/user-agent-middleware.ts\nvar import_util_endpoints = require(\"@aws-sdk/util-endpoints\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/check-features.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n (0, import_core2.setFeature)(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n (0, import_core2.setFeature)(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n (0, import_core2.setFeature)(context, key, value);\n }\n }\n}\n__name(checkFeatures, \"checkFeatures\");\n\n// src/constants.ts\nvar USER_AGENT = \"user-agent\";\nvar X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nvar SPACE = \" \";\nvar UA_NAME_SEPARATOR = \"/\";\nvar UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nvar UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nvar UA_ESCAPE_CHAR = \"-\";\n\n// src/encode-features.ts\nvar BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n } else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n__name(encodeFeatures, \"encodeFeatures\");\n\n// src/user-agent-middleware.ts\nvar userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(\n `m/${encodeFeatures(\n Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features)\n )}`\n );\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));\n }\n const prefix = (0, import_util_endpoints.getUserAgentPrefix)();\n const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n } else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request\n });\n}, \"userAgentMiddleware\");\nvar escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => {\n const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n}, \"escapeUserAgent\");\nvar getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true\n};\nvar getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getUserAgentPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n DEFAULT_UA_APP_ID,\n resolveUserAgentConfig,\n userAgentMiddleware,\n getUserAgentMiddlewareOptions,\n getUserAgentPlugin\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sso-oidc/index.ts\nvar index_exports = {};\n__export(index_exports, {\n $Command: () => import_smithy_client6.Command,\n AccessDeniedException: () => AccessDeniedException,\n AuthorizationPendingException: () => AuthorizationPendingException,\n CreateTokenCommand: () => CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n InternalServerException: () => InternalServerException,\n InvalidClientException: () => InvalidClientException,\n InvalidGrantException: () => InvalidGrantException,\n InvalidRequestException: () => InvalidRequestException,\n InvalidScopeException: () => InvalidScopeException,\n SSOOIDC: () => SSOOIDC,\n SSOOIDCClient: () => SSOOIDCClient,\n SSOOIDCServiceException: () => SSOOIDCServiceException,\n SlowDownException: () => SlowDownException,\n UnauthorizedClientException: () => UnauthorizedClientException,\n UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,\n __Client: () => import_smithy_client2.Client\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/submodules/sso-oidc/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_runtimeConfig = require(\"./runtimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar SSOOIDCClient = class extends import_smithy_client2.Client {\n static {\n __name(this, \"SSOOIDCClient\");\n }\n /**\n * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar import_smithy_client7 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {\n static {\n __name(this, \"SSOOIDCServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);\n }\n};\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultECSHttpAuthSchemeProvider = exports.defaultECSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultECSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultECSHttpAuthSchemeParametersProvider = defaultECSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"ecs\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultECSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultECSHttpAuthSchemeProvider = defaultECSHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst s = \"required\", t = \"fn\", u = \"argv\", v = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = { [s]: false, \"type\": \"String\" }, i = { [s]: true, \"default\": false, \"type\": \"Boolean\" }, j = { [v]: \"Endpoint\" }, k = { [t]: c, [u]: [{ [v]: \"UseFIPS\" }, true] }, l = { [t]: c, [u]: [{ [v]: \"UseDualStack\" }, true] }, m = {}, n = { [t]: \"getAttr\", [u]: [{ [v]: g }, \"supportsFIPS\"] }, o = { [t]: c, [u]: [true, { [t]: \"getAttr\", [u]: [{ [v]: g }, \"supportsDualStack\"] }] }, p = [k], q = [l], r = [{ [v]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: q, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: \"aws.partition\", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: \"https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: \"https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: \"https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://ecs.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AccessDeniedException: () => AccessDeniedException,\n AgentUpdateStatus: () => AgentUpdateStatus,\n ApplicationProtocol: () => ApplicationProtocol,\n AssignPublicIp: () => AssignPublicIp,\n AttributeLimitExceededException: () => AttributeLimitExceededException,\n AvailabilityZoneRebalancing: () => AvailabilityZoneRebalancing,\n BlockedException: () => BlockedException,\n CPUArchitecture: () => CPUArchitecture,\n CapacityProviderField: () => CapacityProviderField,\n CapacityProviderStatus: () => CapacityProviderStatus,\n CapacityProviderUpdateStatus: () => CapacityProviderUpdateStatus,\n ClientException: () => ClientException,\n ClusterContainsContainerInstancesException: () => ClusterContainsContainerInstancesException,\n ClusterContainsServicesException: () => ClusterContainsServicesException,\n ClusterContainsTasksException: () => ClusterContainsTasksException,\n ClusterField: () => ClusterField,\n ClusterNotFoundException: () => ClusterNotFoundException,\n ClusterSettingName: () => ClusterSettingName,\n Compatibility: () => Compatibility,\n ConflictException: () => ConflictException,\n Connectivity: () => Connectivity,\n ContainerCondition: () => ContainerCondition,\n ContainerInstanceField: () => ContainerInstanceField,\n ContainerInstanceStatus: () => ContainerInstanceStatus,\n CreateCapacityProviderCommand: () => CreateCapacityProviderCommand,\n CreateClusterCommand: () => CreateClusterCommand,\n CreateServiceCommand: () => CreateServiceCommand,\n CreateTaskSetCommand: () => CreateTaskSetCommand,\n DeleteAccountSettingCommand: () => DeleteAccountSettingCommand,\n DeleteAttributesCommand: () => DeleteAttributesCommand,\n DeleteCapacityProviderCommand: () => DeleteCapacityProviderCommand,\n DeleteClusterCommand: () => DeleteClusterCommand,\n DeleteServiceCommand: () => DeleteServiceCommand,\n DeleteTaskDefinitionsCommand: () => DeleteTaskDefinitionsCommand,\n DeleteTaskSetCommand: () => DeleteTaskSetCommand,\n DeploymentControllerType: () => DeploymentControllerType,\n DeploymentRolloutState: () => DeploymentRolloutState,\n DeregisterContainerInstanceCommand: () => DeregisterContainerInstanceCommand,\n DeregisterTaskDefinitionCommand: () => DeregisterTaskDefinitionCommand,\n DescribeCapacityProvidersCommand: () => DescribeCapacityProvidersCommand,\n DescribeClustersCommand: () => DescribeClustersCommand,\n DescribeContainerInstancesCommand: () => DescribeContainerInstancesCommand,\n DescribeServiceDeploymentsCommand: () => DescribeServiceDeploymentsCommand,\n DescribeServiceRevisionsCommand: () => DescribeServiceRevisionsCommand,\n DescribeServicesCommand: () => DescribeServicesCommand,\n DescribeTaskDefinitionCommand: () => DescribeTaskDefinitionCommand,\n DescribeTaskSetsCommand: () => DescribeTaskSetsCommand,\n DescribeTasksCommand: () => DescribeTasksCommand,\n DesiredStatus: () => DesiredStatus,\n DeviceCgroupPermission: () => DeviceCgroupPermission,\n DiscoverPollEndpointCommand: () => DiscoverPollEndpointCommand,\n EBSResourceType: () => EBSResourceType,\n ECS: () => ECS,\n ECSClient: () => ECSClient,\n ECSServiceException: () => ECSServiceException,\n EFSAuthorizationConfigIAM: () => EFSAuthorizationConfigIAM,\n EFSTransitEncryption: () => EFSTransitEncryption,\n EnvironmentFileType: () => EnvironmentFileType,\n ExecuteCommandCommand: () => ExecuteCommandCommand,\n ExecuteCommandLogging: () => ExecuteCommandLogging,\n ExecuteCommandResponseFilterSensitiveLog: () => ExecuteCommandResponseFilterSensitiveLog,\n FirelensConfigurationType: () => FirelensConfigurationType,\n GetTaskProtectionCommand: () => GetTaskProtectionCommand,\n HealthStatus: () => HealthStatus,\n InstanceHealthCheckState: () => InstanceHealthCheckState,\n InstanceHealthCheckType: () => InstanceHealthCheckType,\n InvalidParameterException: () => InvalidParameterException,\n IpcMode: () => IpcMode,\n LaunchType: () => LaunchType,\n LimitExceededException: () => LimitExceededException,\n ListAccountSettingsCommand: () => ListAccountSettingsCommand,\n ListAttributesCommand: () => ListAttributesCommand,\n ListClustersCommand: () => ListClustersCommand,\n ListContainerInstancesCommand: () => ListContainerInstancesCommand,\n ListServiceDeploymentsCommand: () => ListServiceDeploymentsCommand,\n ListServicesByNamespaceCommand: () => ListServicesByNamespaceCommand,\n ListServicesCommand: () => ListServicesCommand,\n ListTagsForResourceCommand: () => ListTagsForResourceCommand,\n ListTaskDefinitionFamiliesCommand: () => ListTaskDefinitionFamiliesCommand,\n ListTaskDefinitionsCommand: () => ListTaskDefinitionsCommand,\n ListTasksCommand: () => ListTasksCommand,\n LogDriver: () => LogDriver,\n ManagedAgentName: () => ManagedAgentName,\n ManagedDraining: () => ManagedDraining,\n ManagedScalingStatus: () => ManagedScalingStatus,\n ManagedTerminationProtection: () => ManagedTerminationProtection,\n MissingVersionException: () => MissingVersionException,\n NamespaceNotFoundException: () => NamespaceNotFoundException,\n NetworkMode: () => NetworkMode,\n NoUpdateAvailableException: () => NoUpdateAvailableException,\n OSFamily: () => OSFamily,\n PidMode: () => PidMode,\n PlacementConstraintType: () => PlacementConstraintType,\n PlacementStrategyType: () => PlacementStrategyType,\n PlatformDeviceType: () => PlatformDeviceType,\n PlatformTaskDefinitionIncompatibilityException: () => PlatformTaskDefinitionIncompatibilityException,\n PlatformUnknownException: () => PlatformUnknownException,\n PropagateTags: () => PropagateTags,\n ProxyConfigurationType: () => ProxyConfigurationType,\n PutAccountSettingCommand: () => PutAccountSettingCommand,\n PutAccountSettingDefaultCommand: () => PutAccountSettingDefaultCommand,\n PutAttributesCommand: () => PutAttributesCommand,\n PutClusterCapacityProvidersCommand: () => PutClusterCapacityProvidersCommand,\n RegisterContainerInstanceCommand: () => RegisterContainerInstanceCommand,\n RegisterTaskDefinitionCommand: () => RegisterTaskDefinitionCommand,\n ResourceInUseException: () => ResourceInUseException,\n ResourceNotFoundException: () => ResourceNotFoundException,\n ResourceType: () => ResourceType,\n RunTaskCommand: () => RunTaskCommand,\n ScaleUnit: () => ScaleUnit,\n SchedulingStrategy: () => SchedulingStrategy,\n Scope: () => Scope,\n ServerException: () => ServerException,\n ServiceDeploymentNotFoundException: () => ServiceDeploymentNotFoundException,\n ServiceDeploymentRollbackMonitorsStatus: () => ServiceDeploymentRollbackMonitorsStatus,\n ServiceDeploymentStatus: () => ServiceDeploymentStatus,\n ServiceField: () => ServiceField,\n ServiceNotActiveException: () => ServiceNotActiveException,\n ServiceNotFoundException: () => ServiceNotFoundException,\n SessionFilterSensitiveLog: () => SessionFilterSensitiveLog,\n SettingName: () => SettingName,\n SettingType: () => SettingType,\n SortOrder: () => SortOrder,\n StabilityStatus: () => StabilityStatus,\n StartTaskCommand: () => StartTaskCommand,\n StopServiceDeploymentCommand: () => StopServiceDeploymentCommand,\n StopServiceDeploymentStopType: () => StopServiceDeploymentStopType,\n StopTaskCommand: () => StopTaskCommand,\n SubmitAttachmentStateChangesCommand: () => SubmitAttachmentStateChangesCommand,\n SubmitContainerStateChangeCommand: () => SubmitContainerStateChangeCommand,\n SubmitTaskStateChangeCommand: () => SubmitTaskStateChangeCommand,\n TagResourceCommand: () => TagResourceCommand,\n TargetNotConnectedException: () => TargetNotConnectedException,\n TargetNotFoundException: () => TargetNotFoundException,\n TargetType: () => TargetType,\n TaskDefinitionFamilyStatus: () => TaskDefinitionFamilyStatus,\n TaskDefinitionField: () => TaskDefinitionField,\n TaskDefinitionPlacementConstraintType: () => TaskDefinitionPlacementConstraintType,\n TaskDefinitionStatus: () => TaskDefinitionStatus,\n TaskField: () => TaskField,\n TaskFilesystemType: () => TaskFilesystemType,\n TaskSetField: () => TaskSetField,\n TaskSetNotFoundException: () => TaskSetNotFoundException,\n TaskStopCode: () => TaskStopCode,\n TransportProtocol: () => TransportProtocol,\n UlimitName: () => UlimitName,\n UnsupportedFeatureException: () => UnsupportedFeatureException,\n UntagResourceCommand: () => UntagResourceCommand,\n UpdateCapacityProviderCommand: () => UpdateCapacityProviderCommand,\n UpdateClusterCommand: () => UpdateClusterCommand,\n UpdateClusterSettingsCommand: () => UpdateClusterSettingsCommand,\n UpdateContainerAgentCommand: () => UpdateContainerAgentCommand,\n UpdateContainerInstancesStateCommand: () => UpdateContainerInstancesStateCommand,\n UpdateInProgressException: () => UpdateInProgressException,\n UpdateServiceCommand: () => UpdateServiceCommand,\n UpdateServicePrimaryTaskSetCommand: () => UpdateServicePrimaryTaskSetCommand,\n UpdateTaskProtectionCommand: () => UpdateTaskProtectionCommand,\n UpdateTaskSetCommand: () => UpdateTaskSetCommand,\n VersionConsistency: () => VersionConsistency,\n __Client: () => import_smithy_client.Client,\n paginateListAccountSettings: () => paginateListAccountSettings,\n paginateListAttributes: () => paginateListAttributes,\n paginateListClusters: () => paginateListClusters,\n paginateListContainerInstances: () => paginateListContainerInstances,\n paginateListServices: () => paginateListServices,\n paginateListServicesByNamespace: () => paginateListServicesByNamespace,\n paginateListTaskDefinitionFamilies: () => paginateListTaskDefinitionFamilies,\n paginateListTaskDefinitions: () => paginateListTaskDefinitions,\n paginateListTasks: () => paginateListTasks,\n waitForServicesInactive: () => waitForServicesInactive,\n waitForServicesStable: () => waitForServicesStable,\n waitForTasksRunning: () => waitForTasksRunning,\n waitForTasksStopped: () => waitForTasksStopped,\n waitUntilServicesInactive: () => waitUntilServicesInactive,\n waitUntilServicesStable: () => waitUntilServicesStable,\n waitUntilTasksRunning: () => waitUntilTasksRunning,\n waitUntilTasksStopped: () => waitUntilTasksStopped\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/ECSClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"ecs\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/ECSClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/ECSClient.ts\nvar ECSClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"ECSClient\");\n }\n /**\n * The resolved configuration of ECSClient class. This is resolved and normalized from the {@link ECSClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultECSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/ECS.ts\n\n\n// src/commands/CreateCapacityProviderCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_json1_1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar import_uuid = require(\"uuid\");\n\n// src/models/ECSServiceException.ts\n\nvar ECSServiceException = class _ECSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"ECSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _ECSServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\n\nvar AccessDeniedException = class _AccessDeniedException extends ECSServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n }\n};\nvar AgentUpdateStatus = {\n FAILED: \"FAILED\",\n PENDING: \"PENDING\",\n STAGED: \"STAGED\",\n STAGING: \"STAGING\",\n UPDATED: \"UPDATED\",\n UPDATING: \"UPDATING\"\n};\nvar ClientException = class _ClientException extends ECSServiceException {\n static {\n __name(this, \"ClientException\");\n }\n name = \"ClientException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ClientException.prototype);\n }\n};\nvar ManagedDraining = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar ManagedScalingStatus = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar ManagedTerminationProtection = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar CapacityProviderStatus = {\n ACTIVE: \"ACTIVE\",\n INACTIVE: \"INACTIVE\"\n};\nvar CapacityProviderUpdateStatus = {\n DELETE_COMPLETE: \"DELETE_COMPLETE\",\n DELETE_FAILED: \"DELETE_FAILED\",\n DELETE_IN_PROGRESS: \"DELETE_IN_PROGRESS\",\n UPDATE_COMPLETE: \"UPDATE_COMPLETE\",\n UPDATE_FAILED: \"UPDATE_FAILED\",\n UPDATE_IN_PROGRESS: \"UPDATE_IN_PROGRESS\"\n};\nvar InvalidParameterException = class _InvalidParameterException extends ECSServiceException {\n static {\n __name(this, \"InvalidParameterException\");\n }\n name = \"InvalidParameterException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidParameterException.prototype);\n }\n};\nvar LimitExceededException = class _LimitExceededException extends ECSServiceException {\n static {\n __name(this, \"LimitExceededException\");\n }\n name = \"LimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LimitExceededException.prototype);\n }\n};\nvar ServerException = class _ServerException extends ECSServiceException {\n static {\n __name(this, \"ServerException\");\n }\n name = \"ServerException\";\n $fault = \"server\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServerException.prototype);\n }\n};\nvar UpdateInProgressException = class _UpdateInProgressException extends ECSServiceException {\n static {\n __name(this, \"UpdateInProgressException\");\n }\n name = \"UpdateInProgressException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UpdateInProgressException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UpdateInProgressException.prototype);\n }\n};\nvar ExecuteCommandLogging = {\n DEFAULT: \"DEFAULT\",\n NONE: \"NONE\",\n OVERRIDE: \"OVERRIDE\"\n};\nvar ClusterSettingName = {\n CONTAINER_INSIGHTS: \"containerInsights\"\n};\nvar NamespaceNotFoundException = class _NamespaceNotFoundException extends ECSServiceException {\n static {\n __name(this, \"NamespaceNotFoundException\");\n }\n name = \"NamespaceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NamespaceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NamespaceNotFoundException.prototype);\n }\n};\nvar ClusterNotFoundException = class _ClusterNotFoundException extends ECSServiceException {\n static {\n __name(this, \"ClusterNotFoundException\");\n }\n name = \"ClusterNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ClusterNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ClusterNotFoundException.prototype);\n }\n};\nvar AvailabilityZoneRebalancing = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar DeploymentControllerType = {\n CODE_DEPLOY: \"CODE_DEPLOY\",\n ECS: \"ECS\",\n EXTERNAL: \"EXTERNAL\"\n};\nvar LaunchType = {\n EC2: \"EC2\",\n EXTERNAL: \"EXTERNAL\",\n FARGATE: \"FARGATE\"\n};\nvar AssignPublicIp = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar PlacementConstraintType = {\n DISTINCT_INSTANCE: \"distinctInstance\",\n MEMBER_OF: \"memberOf\"\n};\nvar PlacementStrategyType = {\n BINPACK: \"binpack\",\n RANDOM: \"random\",\n SPREAD: \"spread\"\n};\nvar PropagateTags = {\n NONE: \"NONE\",\n SERVICE: \"SERVICE\",\n TASK_DEFINITION: \"TASK_DEFINITION\"\n};\nvar SchedulingStrategy = {\n DAEMON: \"DAEMON\",\n REPLICA: \"REPLICA\"\n};\nvar LogDriver = {\n AWSFIRELENS: \"awsfirelens\",\n AWSLOGS: \"awslogs\",\n FLUENTD: \"fluentd\",\n GELF: \"gelf\",\n JOURNALD: \"journald\",\n JSON_FILE: \"json-file\",\n SPLUNK: \"splunk\",\n SYSLOG: \"syslog\"\n};\nvar TaskFilesystemType = {\n EXT3: \"ext3\",\n EXT4: \"ext4\",\n NTFS: \"ntfs\",\n XFS: \"xfs\"\n};\nvar EBSResourceType = {\n VOLUME: \"volume\"\n};\nvar DeploymentRolloutState = {\n COMPLETED: \"COMPLETED\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\"\n};\nvar ScaleUnit = {\n PERCENT: \"PERCENT\"\n};\nvar StabilityStatus = {\n STABILIZING: \"STABILIZING\",\n STEADY_STATE: \"STEADY_STATE\"\n};\nvar PlatformTaskDefinitionIncompatibilityException = class _PlatformTaskDefinitionIncompatibilityException extends ECSServiceException {\n static {\n __name(this, \"PlatformTaskDefinitionIncompatibilityException\");\n }\n name = \"PlatformTaskDefinitionIncompatibilityException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PlatformTaskDefinitionIncompatibilityException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PlatformTaskDefinitionIncompatibilityException.prototype);\n }\n};\nvar PlatformUnknownException = class _PlatformUnknownException extends ECSServiceException {\n static {\n __name(this, \"PlatformUnknownException\");\n }\n name = \"PlatformUnknownException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PlatformUnknownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PlatformUnknownException.prototype);\n }\n};\nvar UnsupportedFeatureException = class _UnsupportedFeatureException extends ECSServiceException {\n static {\n __name(this, \"UnsupportedFeatureException\");\n }\n name = \"UnsupportedFeatureException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedFeatureException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedFeatureException.prototype);\n }\n};\nvar ServiceNotActiveException = class _ServiceNotActiveException extends ECSServiceException {\n static {\n __name(this, \"ServiceNotActiveException\");\n }\n name = \"ServiceNotActiveException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceNotActiveException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceNotActiveException.prototype);\n }\n};\nvar ServiceNotFoundException = class _ServiceNotFoundException extends ECSServiceException {\n static {\n __name(this, \"ServiceNotFoundException\");\n }\n name = \"ServiceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceNotFoundException.prototype);\n }\n};\nvar SettingName = {\n AWSVPC_TRUNKING: \"awsvpcTrunking\",\n CONTAINER_INSIGHTS: \"containerInsights\",\n CONTAINER_INSTANCE_LONG_ARN_FORMAT: \"containerInstanceLongArnFormat\",\n DEFAULT_LOG_DRIVER_MODE: \"defaultLogDriverMode\",\n FARGATE_FIPS_MODE: \"fargateFIPSMode\",\n FARGATE_TASK_RETIREMENT_WAIT_PERIOD: \"fargateTaskRetirementWaitPeriod\",\n GUARD_DUTY_ACTIVATE: \"guardDutyActivate\",\n SERVICE_LONG_ARN_FORMAT: \"serviceLongArnFormat\",\n TAG_RESOURCE_AUTHORIZATION: \"tagResourceAuthorization\",\n TASK_LONG_ARN_FORMAT: \"taskLongArnFormat\"\n};\nvar SettingType = {\n AWS_MANAGED: \"aws_managed\",\n USER: \"user\"\n};\nvar TargetType = {\n CONTAINER_INSTANCE: \"container-instance\"\n};\nvar TargetNotFoundException = class _TargetNotFoundException extends ECSServiceException {\n static {\n __name(this, \"TargetNotFoundException\");\n }\n name = \"TargetNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TargetNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TargetNotFoundException.prototype);\n }\n};\nvar ClusterContainsContainerInstancesException = class _ClusterContainsContainerInstancesException extends ECSServiceException {\n static {\n __name(this, \"ClusterContainsContainerInstancesException\");\n }\n name = \"ClusterContainsContainerInstancesException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ClusterContainsContainerInstancesException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ClusterContainsContainerInstancesException.prototype);\n }\n};\nvar ClusterContainsServicesException = class _ClusterContainsServicesException extends ECSServiceException {\n static {\n __name(this, \"ClusterContainsServicesException\");\n }\n name = \"ClusterContainsServicesException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ClusterContainsServicesException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ClusterContainsServicesException.prototype);\n }\n};\nvar ClusterContainsTasksException = class _ClusterContainsTasksException extends ECSServiceException {\n static {\n __name(this, \"ClusterContainsTasksException\");\n }\n name = \"ClusterContainsTasksException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ClusterContainsTasksException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ClusterContainsTasksException.prototype);\n }\n};\nvar Compatibility = {\n EC2: \"EC2\",\n EXTERNAL: \"EXTERNAL\",\n FARGATE: \"FARGATE\"\n};\nvar ContainerCondition = {\n COMPLETE: \"COMPLETE\",\n HEALTHY: \"HEALTHY\",\n START: \"START\",\n SUCCESS: \"SUCCESS\"\n};\nvar EnvironmentFileType = {\n S3: \"s3\"\n};\nvar FirelensConfigurationType = {\n FLUENTBIT: \"fluentbit\",\n FLUENTD: \"fluentd\"\n};\nvar DeviceCgroupPermission = {\n MKNOD: \"mknod\",\n READ: \"read\",\n WRITE: \"write\"\n};\nvar ApplicationProtocol = {\n GRPC: \"grpc\",\n HTTP: \"http\",\n HTTP2: \"http2\"\n};\nvar TransportProtocol = {\n TCP: \"tcp\",\n UDP: \"udp\"\n};\nvar ResourceType = {\n GPU: \"GPU\",\n INFERENCE_ACCELERATOR: \"InferenceAccelerator\"\n};\nvar UlimitName = {\n CORE: \"core\",\n CPU: \"cpu\",\n DATA: \"data\",\n FSIZE: \"fsize\",\n LOCKS: \"locks\",\n MEMLOCK: \"memlock\",\n MSGQUEUE: \"msgqueue\",\n NICE: \"nice\",\n NOFILE: \"nofile\",\n NPROC: \"nproc\",\n RSS: \"rss\",\n RTPRIO: \"rtprio\",\n RTTIME: \"rttime\",\n SIGPENDING: \"sigpending\",\n STACK: \"stack\"\n};\nvar VersionConsistency = {\n DISABLED: \"disabled\",\n ENABLED: \"enabled\"\n};\nvar IpcMode = {\n HOST: \"host\",\n NONE: \"none\",\n TASK: \"task\"\n};\nvar NetworkMode = {\n AWSVPC: \"awsvpc\",\n BRIDGE: \"bridge\",\n HOST: \"host\",\n NONE: \"none\"\n};\nvar PidMode = {\n HOST: \"host\",\n TASK: \"task\"\n};\nvar TaskDefinitionPlacementConstraintType = {\n MEMBER_OF: \"memberOf\"\n};\nvar ProxyConfigurationType = {\n APPMESH: \"APPMESH\"\n};\nvar CPUArchitecture = {\n ARM64: \"ARM64\",\n X86_64: \"X86_64\"\n};\nvar OSFamily = {\n LINUX: \"LINUX\",\n WINDOWS_SERVER_2004_CORE: \"WINDOWS_SERVER_2004_CORE\",\n WINDOWS_SERVER_2016_FULL: \"WINDOWS_SERVER_2016_FULL\",\n WINDOWS_SERVER_2019_CORE: \"WINDOWS_SERVER_2019_CORE\",\n WINDOWS_SERVER_2019_FULL: \"WINDOWS_SERVER_2019_FULL\",\n WINDOWS_SERVER_2022_CORE: \"WINDOWS_SERVER_2022_CORE\",\n WINDOWS_SERVER_2022_FULL: \"WINDOWS_SERVER_2022_FULL\",\n WINDOWS_SERVER_20H2_CORE: \"WINDOWS_SERVER_20H2_CORE\"\n};\nvar TaskDefinitionStatus = {\n ACTIVE: \"ACTIVE\",\n DELETE_IN_PROGRESS: \"DELETE_IN_PROGRESS\",\n INACTIVE: \"INACTIVE\"\n};\nvar Scope = {\n SHARED: \"shared\",\n TASK: \"task\"\n};\nvar EFSAuthorizationConfigIAM = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar EFSTransitEncryption = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\"\n};\nvar TaskSetNotFoundException = class _TaskSetNotFoundException extends ECSServiceException {\n static {\n __name(this, \"TaskSetNotFoundException\");\n }\n name = \"TaskSetNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TaskSetNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TaskSetNotFoundException.prototype);\n }\n};\nvar InstanceHealthCheckState = {\n IMPAIRED: \"IMPAIRED\",\n INITIALIZING: \"INITIALIZING\",\n INSUFFICIENT_DATA: \"INSUFFICIENT_DATA\",\n OK: \"OK\"\n};\nvar InstanceHealthCheckType = {\n CONTAINER_RUNTIME: \"CONTAINER_RUNTIME\"\n};\nvar CapacityProviderField = {\n TAGS: \"TAGS\"\n};\nvar ClusterField = {\n ATTACHMENTS: \"ATTACHMENTS\",\n CONFIGURATIONS: \"CONFIGURATIONS\",\n SETTINGS: \"SETTINGS\",\n STATISTICS: \"STATISTICS\",\n TAGS: \"TAGS\"\n};\nvar ContainerInstanceField = {\n CONTAINER_INSTANCE_HEALTH: \"CONTAINER_INSTANCE_HEALTH\",\n TAGS: \"TAGS\"\n};\nvar ServiceDeploymentRollbackMonitorsStatus = {\n DISABLED: \"DISABLED\",\n MONITORING: \"MONITORING\",\n MONITORING_COMPLETE: \"MONITORING_COMPLETE\",\n TRIGGERED: \"TRIGGERED\"\n};\nvar ServiceDeploymentStatus = {\n IN_PROGRESS: \"IN_PROGRESS\",\n PENDING: \"PENDING\",\n ROLLBACK_FAILED: \"ROLLBACK_FAILED\",\n ROLLBACK_IN_PROGRESS: \"ROLLBACK_IN_PROGRESS\",\n ROLLBACK_REQUESTED: \"ROLLBACK_REQUESTED\",\n ROLLBACK_SUCCESSFUL: \"ROLLBACK_SUCCESSFUL\",\n STOPPED: \"STOPPED\",\n STOP_REQUESTED: \"STOP_REQUESTED\",\n SUCCESSFUL: \"SUCCESSFUL\"\n};\nvar ServiceField = {\n TAGS: \"TAGS\"\n};\nvar TaskDefinitionField = {\n TAGS: \"TAGS\"\n};\nvar TaskField = {\n TAGS: \"TAGS\"\n};\nvar Connectivity = {\n CONNECTED: \"CONNECTED\",\n DISCONNECTED: \"DISCONNECTED\"\n};\nvar HealthStatus = {\n HEALTHY: \"HEALTHY\",\n UNHEALTHY: \"UNHEALTHY\",\n UNKNOWN: \"UNKNOWN\"\n};\nvar ManagedAgentName = {\n ExecuteCommandAgent: \"ExecuteCommandAgent\"\n};\nvar TaskStopCode = {\n ESSENTIAL_CONTAINER_EXITED: \"EssentialContainerExited\",\n SERVICE_SCHEDULER_INITIATED: \"ServiceSchedulerInitiated\",\n SPOT_INTERRUPTION: \"SpotInterruption\",\n TASK_FAILED_TO_START: \"TaskFailedToStart\",\n TERMINATION_NOTICE: \"TerminationNotice\",\n USER_INITIATED: \"UserInitiated\"\n};\nvar TaskSetField = {\n TAGS: \"TAGS\"\n};\nvar TargetNotConnectedException = class _TargetNotConnectedException extends ECSServiceException {\n static {\n __name(this, \"TargetNotConnectedException\");\n }\n name = \"TargetNotConnectedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TargetNotConnectedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TargetNotConnectedException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends ECSServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar ContainerInstanceStatus = {\n ACTIVE: \"ACTIVE\",\n DEREGISTERING: \"DEREGISTERING\",\n DRAINING: \"DRAINING\",\n REGISTERING: \"REGISTERING\",\n REGISTRATION_FAILED: \"REGISTRATION_FAILED\"\n};\nvar TaskDefinitionFamilyStatus = {\n ACTIVE: \"ACTIVE\",\n ALL: \"ALL\",\n INACTIVE: \"INACTIVE\"\n};\nvar SortOrder = {\n ASC: \"ASC\",\n DESC: \"DESC\"\n};\nvar DesiredStatus = {\n PENDING: \"PENDING\",\n RUNNING: \"RUNNING\",\n STOPPED: \"STOPPED\"\n};\nvar AttributeLimitExceededException = class _AttributeLimitExceededException extends ECSServiceException {\n static {\n __name(this, \"AttributeLimitExceededException\");\n }\n name = \"AttributeLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AttributeLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AttributeLimitExceededException.prototype);\n }\n};\nvar ResourceInUseException = class _ResourceInUseException extends ECSServiceException {\n static {\n __name(this, \"ResourceInUseException\");\n }\n name = \"ResourceInUseException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceInUseException.prototype);\n }\n};\nvar PlatformDeviceType = {\n GPU: \"GPU\"\n};\nvar BlockedException = class _BlockedException extends ECSServiceException {\n static {\n __name(this, \"BlockedException\");\n }\n name = \"BlockedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"BlockedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _BlockedException.prototype);\n }\n};\nvar ConflictException = class _ConflictException extends ECSServiceException {\n static {\n __name(this, \"ConflictException\");\n }\n name = \"ConflictException\";\n $fault = \"client\";\n /**\n *The existing task ARNs which are already associated with the\n * \t\t\t\tclientToken.
The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidParameterValueException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidParameterValueException.prototype);\n this.Type = opts.Type;\n }\n};\nvar PolicyLengthExceededException = class _PolicyLengthExceededException extends LambdaServiceException {\n static {\n __name(this, \"PolicyLengthExceededException\");\n }\n name = \"PolicyLengthExceededException\";\n $fault = \"client\";\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PolicyLengthExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PolicyLengthExceededException.prototype);\n this.Type = opts.Type;\n }\n};\nvar PreconditionFailedException = class _PreconditionFailedException extends LambdaServiceException {\n static {\n __name(this, \"PreconditionFailedException\");\n }\n name = \"PreconditionFailedException\";\n $fault = \"client\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PreconditionFailedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PreconditionFailedException.prototype);\n this.Type = opts.Type;\n }\n};\nvar ResourceConflictException = class _ResourceConflictException extends LambdaServiceException {\n static {\n __name(this, \"ResourceConflictException\");\n }\n name = \"ResourceConflictException\";\n $fault = \"client\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceConflictException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceConflictException.prototype);\n this.Type = opts.Type;\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends LambdaServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar ServiceException = class _ServiceException extends LambdaServiceException {\n static {\n __name(this, \"ServiceException\");\n }\n name = \"ServiceException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar ThrottleReason = {\n CallerRateLimitExceeded: \"CallerRateLimitExceeded\",\n ConcurrentInvocationLimitExceeded: \"ConcurrentInvocationLimitExceeded\",\n ConcurrentSnapshotCreateLimitExceeded: \"ConcurrentSnapshotCreateLimitExceeded\",\n FunctionInvocationRateLimitExceeded: \"FunctionInvocationRateLimitExceeded\",\n ReservedFunctionConcurrentInvocationLimitExceeded: \"ReservedFunctionConcurrentInvocationLimitExceeded\",\n ReservedFunctionInvocationRateLimitExceeded: \"ReservedFunctionInvocationRateLimitExceeded\"\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends LambdaServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n *The number of seconds the caller should wait before retrying.
\n * @public\n */\n retryAfterSeconds;\n Type;\n Reason;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n this.retryAfterSeconds = opts.retryAfterSeconds;\n this.Type = opts.Type;\n this.Reason = opts.Reason;\n }\n};\nvar FunctionUrlAuthType = {\n AWS_IAM: \"AWS_IAM\",\n NONE: \"NONE\"\n};\nvar ApplicationLogLevel = {\n Debug: \"DEBUG\",\n Error: \"ERROR\",\n Fatal: \"FATAL\",\n Info: \"INFO\",\n Trace: \"TRACE\",\n Warn: \"WARN\"\n};\nvar Architecture = {\n arm64: \"arm64\",\n x86_64: \"x86_64\"\n};\nvar CodeSigningPolicy = {\n Enforce: \"Enforce\",\n Warn: \"Warn\"\n};\nvar FullDocument = {\n Default: \"Default\",\n UpdateLookup: \"UpdateLookup\"\n};\nvar FunctionResponseType = {\n ReportBatchItemFailures: \"ReportBatchItemFailures\"\n};\nvar EventSourceMappingMetric = {\n EventCount: \"EventCount\"\n};\nvar EndPointType = {\n KAFKA_BOOTSTRAP_SERVERS: \"KAFKA_BOOTSTRAP_SERVERS\"\n};\nvar SourceAccessType = {\n BASIC_AUTH: \"BASIC_AUTH\",\n CLIENT_CERTIFICATE_TLS_AUTH: \"CLIENT_CERTIFICATE_TLS_AUTH\",\n SASL_SCRAM_256_AUTH: \"SASL_SCRAM_256_AUTH\",\n SASL_SCRAM_512_AUTH: \"SASL_SCRAM_512_AUTH\",\n SERVER_ROOT_CA_CERTIFICATE: \"SERVER_ROOT_CA_CERTIFICATE\",\n VIRTUAL_HOST: \"VIRTUAL_HOST\",\n VPC_SECURITY_GROUP: \"VPC_SECURITY_GROUP\",\n VPC_SUBNET: \"VPC_SUBNET\"\n};\nvar EventSourcePosition = {\n AT_TIMESTAMP: \"AT_TIMESTAMP\",\n LATEST: \"LATEST\",\n TRIM_HORIZON: \"TRIM_HORIZON\"\n};\nvar CodeSigningConfigNotFoundException = class _CodeSigningConfigNotFoundException extends LambdaServiceException {\n static {\n __name(this, \"CodeSigningConfigNotFoundException\");\n }\n name = \"CodeSigningConfigNotFoundException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CodeSigningConfigNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CodeSigningConfigNotFoundException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar CodeStorageExceededException = class _CodeStorageExceededException extends LambdaServiceException {\n static {\n __name(this, \"CodeStorageExceededException\");\n }\n name = \"CodeStorageExceededException\";\n $fault = \"client\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CodeStorageExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CodeStorageExceededException.prototype);\n this.Type = opts.Type;\n }\n};\nvar CodeVerificationFailedException = class _CodeVerificationFailedException extends LambdaServiceException {\n static {\n __name(this, \"CodeVerificationFailedException\");\n }\n name = \"CodeVerificationFailedException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CodeVerificationFailedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CodeVerificationFailedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar LogFormat = {\n Json: \"JSON\",\n Text: \"Text\"\n};\nvar SystemLogLevel = {\n Debug: \"DEBUG\",\n Info: \"INFO\",\n Warn: \"WARN\"\n};\nvar PackageType = {\n Image: \"Image\",\n Zip: \"Zip\"\n};\nvar Runtime = {\n dotnet6: \"dotnet6\",\n dotnet8: \"dotnet8\",\n dotnetcore10: \"dotnetcore1.0\",\n dotnetcore20: \"dotnetcore2.0\",\n dotnetcore21: \"dotnetcore2.1\",\n dotnetcore31: \"dotnetcore3.1\",\n go1x: \"go1.x\",\n java11: \"java11\",\n java17: \"java17\",\n java21: \"java21\",\n java8: \"java8\",\n java8al2: \"java8.al2\",\n nodejs: \"nodejs\",\n nodejs10x: \"nodejs10.x\",\n nodejs12x: \"nodejs12.x\",\n nodejs14x: \"nodejs14.x\",\n nodejs16x: \"nodejs16.x\",\n nodejs18x: \"nodejs18.x\",\n nodejs20x: \"nodejs20.x\",\n nodejs22x: \"nodejs22.x\",\n nodejs43: \"nodejs4.3\",\n nodejs43edge: \"nodejs4.3-edge\",\n nodejs610: \"nodejs6.10\",\n nodejs810: \"nodejs8.10\",\n provided: \"provided\",\n providedal2: \"provided.al2\",\n providedal2023: \"provided.al2023\",\n python27: \"python2.7\",\n python310: \"python3.10\",\n python311: \"python3.11\",\n python312: \"python3.12\",\n python313: \"python3.13\",\n python36: \"python3.6\",\n python37: \"python3.7\",\n python38: \"python3.8\",\n python39: \"python3.9\",\n ruby25: \"ruby2.5\",\n ruby27: \"ruby2.7\",\n ruby32: \"ruby3.2\",\n ruby33: \"ruby3.3\",\n ruby34: \"ruby3.4\"\n};\nvar SnapStartApplyOn = {\n None: \"None\",\n PublishedVersions: \"PublishedVersions\"\n};\nvar TracingMode = {\n Active: \"Active\",\n PassThrough: \"PassThrough\"\n};\nvar LastUpdateStatus = {\n Failed: \"Failed\",\n InProgress: \"InProgress\",\n Successful: \"Successful\"\n};\nvar LastUpdateStatusReasonCode = {\n DisabledKMSKey: \"DisabledKMSKey\",\n EFSIOError: \"EFSIOError\",\n EFSMountConnectivityError: \"EFSMountConnectivityError\",\n EFSMountFailure: \"EFSMountFailure\",\n EFSMountTimeout: \"EFSMountTimeout\",\n EniLimitExceeded: \"EniLimitExceeded\",\n FunctionError: \"FunctionError\",\n ImageAccessDenied: \"ImageAccessDenied\",\n ImageDeleted: \"ImageDeleted\",\n InsufficientRolePermissions: \"InsufficientRolePermissions\",\n InternalError: \"InternalError\",\n InvalidConfiguration: \"InvalidConfiguration\",\n InvalidImage: \"InvalidImage\",\n InvalidRuntime: \"InvalidRuntime\",\n InvalidSecurityGroup: \"InvalidSecurityGroup\",\n InvalidStateKMSKey: \"InvalidStateKMSKey\",\n InvalidSubnet: \"InvalidSubnet\",\n InvalidZipFileException: \"InvalidZipFileException\",\n KMSKeyAccessDenied: \"KMSKeyAccessDenied\",\n KMSKeyNotFound: \"KMSKeyNotFound\",\n SubnetOutOfIPAddresses: \"SubnetOutOfIPAddresses\"\n};\nvar SnapStartOptimizationStatus = {\n Off: \"Off\",\n On: \"On\"\n};\nvar State = {\n Active: \"Active\",\n Failed: \"Failed\",\n Inactive: \"Inactive\",\n Pending: \"Pending\"\n};\nvar StateReasonCode = {\n Creating: \"Creating\",\n DisabledKMSKey: \"DisabledKMSKey\",\n EFSIOError: \"EFSIOError\",\n EFSMountConnectivityError: \"EFSMountConnectivityError\",\n EFSMountFailure: \"EFSMountFailure\",\n EFSMountTimeout: \"EFSMountTimeout\",\n EniLimitExceeded: \"EniLimitExceeded\",\n FunctionError: \"FunctionError\",\n Idle: \"Idle\",\n ImageAccessDenied: \"ImageAccessDenied\",\n ImageDeleted: \"ImageDeleted\",\n InsufficientRolePermissions: \"InsufficientRolePermissions\",\n InternalError: \"InternalError\",\n InvalidConfiguration: \"InvalidConfiguration\",\n InvalidImage: \"InvalidImage\",\n InvalidRuntime: \"InvalidRuntime\",\n InvalidSecurityGroup: \"InvalidSecurityGroup\",\n InvalidStateKMSKey: \"InvalidStateKMSKey\",\n InvalidSubnet: \"InvalidSubnet\",\n InvalidZipFileException: \"InvalidZipFileException\",\n KMSKeyAccessDenied: \"KMSKeyAccessDenied\",\n KMSKeyNotFound: \"KMSKeyNotFound\",\n Restoring: \"Restoring\",\n SubnetOutOfIPAddresses: \"SubnetOutOfIPAddresses\"\n};\nvar InvalidCodeSignatureException = class _InvalidCodeSignatureException extends LambdaServiceException {\n static {\n __name(this, \"InvalidCodeSignatureException\");\n }\n name = \"InvalidCodeSignatureException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidCodeSignatureException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidCodeSignatureException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvokeMode = {\n BUFFERED: \"BUFFERED\",\n RESPONSE_STREAM: \"RESPONSE_STREAM\"\n};\nvar ResourceInUseException = class _ResourceInUseException extends LambdaServiceException {\n static {\n __name(this, \"ResourceInUseException\");\n }\n name = \"ResourceInUseException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceInUseException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar RecursiveLoop = {\n Allow: \"Allow\",\n Terminate: \"Terminate\"\n};\nvar ProvisionedConcurrencyStatusEnum = {\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n READY: \"READY\"\n};\nvar ProvisionedConcurrencyConfigNotFoundException = class _ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException {\n static {\n __name(this, \"ProvisionedConcurrencyConfigNotFoundException\");\n }\n name = \"ProvisionedConcurrencyConfigNotFoundException\";\n $fault = \"client\";\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ProvisionedConcurrencyConfigNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ProvisionedConcurrencyConfigNotFoundException.prototype);\n this.Type = opts.Type;\n }\n};\nvar UpdateRuntimeOn = {\n Auto: \"Auto\",\n FunctionUpdate: \"FunctionUpdate\",\n Manual: \"Manual\"\n};\nvar EC2AccessDeniedException = class _EC2AccessDeniedException extends LambdaServiceException {\n static {\n __name(this, \"EC2AccessDeniedException\");\n }\n name = \"EC2AccessDeniedException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EC2AccessDeniedException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _EC2AccessDeniedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar EC2ThrottledException = class _EC2ThrottledException extends LambdaServiceException {\n static {\n __name(this, \"EC2ThrottledException\");\n }\n name = \"EC2ThrottledException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EC2ThrottledException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _EC2ThrottledException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar EC2UnexpectedException = class _EC2UnexpectedException extends LambdaServiceException {\n static {\n __name(this, \"EC2UnexpectedException\");\n }\n name = \"EC2UnexpectedException\";\n $fault = \"server\";\n Type;\n Message;\n EC2ErrorCode;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EC2UnexpectedException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _EC2UnexpectedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n this.EC2ErrorCode = opts.EC2ErrorCode;\n }\n};\nvar EFSIOException = class _EFSIOException extends LambdaServiceException {\n static {\n __name(this, \"EFSIOException\");\n }\n name = \"EFSIOException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EFSIOException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EFSIOException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar EFSMountConnectivityException = class _EFSMountConnectivityException extends LambdaServiceException {\n static {\n __name(this, \"EFSMountConnectivityException\");\n }\n name = \"EFSMountConnectivityException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EFSMountConnectivityException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EFSMountConnectivityException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar EFSMountFailureException = class _EFSMountFailureException extends LambdaServiceException {\n static {\n __name(this, \"EFSMountFailureException\");\n }\n name = \"EFSMountFailureException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EFSMountFailureException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EFSMountFailureException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar EFSMountTimeoutException = class _EFSMountTimeoutException extends LambdaServiceException {\n static {\n __name(this, \"EFSMountTimeoutException\");\n }\n name = \"EFSMountTimeoutException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EFSMountTimeoutException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EFSMountTimeoutException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar ENILimitReachedException = class _ENILimitReachedException extends LambdaServiceException {\n static {\n __name(this, \"ENILimitReachedException\");\n }\n name = \"ENILimitReachedException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ENILimitReachedException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _ENILimitReachedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvalidRequestContentException = class _InvalidRequestContentException extends LambdaServiceException {\n static {\n __name(this, \"InvalidRequestContentException\");\n }\n name = \"InvalidRequestContentException\";\n $fault = \"client\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestContentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestContentException.prototype);\n this.Type = opts.Type;\n }\n};\nvar InvalidRuntimeException = class _InvalidRuntimeException extends LambdaServiceException {\n static {\n __name(this, \"InvalidRuntimeException\");\n }\n name = \"InvalidRuntimeException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRuntimeException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRuntimeException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvalidSecurityGroupIDException = class _InvalidSecurityGroupIDException extends LambdaServiceException {\n static {\n __name(this, \"InvalidSecurityGroupIDException\");\n }\n name = \"InvalidSecurityGroupIDException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidSecurityGroupIDException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidSecurityGroupIDException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvalidSubnetIDException = class _InvalidSubnetIDException extends LambdaServiceException {\n static {\n __name(this, \"InvalidSubnetIDException\");\n }\n name = \"InvalidSubnetIDException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidSubnetIDException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidSubnetIDException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvalidZipFileException = class _InvalidZipFileException extends LambdaServiceException {\n static {\n __name(this, \"InvalidZipFileException\");\n }\n name = \"InvalidZipFileException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidZipFileException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidZipFileException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar InvocationType = {\n DryRun: \"DryRun\",\n Event: \"Event\",\n RequestResponse: \"RequestResponse\"\n};\nvar LogType = {\n None: \"None\",\n Tail: \"Tail\"\n};\nvar KMSAccessDeniedException = class _KMSAccessDeniedException extends LambdaServiceException {\n static {\n __name(this, \"KMSAccessDeniedException\");\n }\n name = \"KMSAccessDeniedException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KMSAccessDeniedException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _KMSAccessDeniedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar KMSDisabledException = class _KMSDisabledException extends LambdaServiceException {\n static {\n __name(this, \"KMSDisabledException\");\n }\n name = \"KMSDisabledException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KMSDisabledException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _KMSDisabledException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar KMSInvalidStateException = class _KMSInvalidStateException extends LambdaServiceException {\n static {\n __name(this, \"KMSInvalidStateException\");\n }\n name = \"KMSInvalidStateException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KMSInvalidStateException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _KMSInvalidStateException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar KMSNotFoundException = class _KMSNotFoundException extends LambdaServiceException {\n static {\n __name(this, \"KMSNotFoundException\");\n }\n name = \"KMSNotFoundException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KMSNotFoundException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _KMSNotFoundException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar RecursiveInvocationException = class _RecursiveInvocationException extends LambdaServiceException {\n static {\n __name(this, \"RecursiveInvocationException\");\n }\n name = \"RecursiveInvocationException\";\n $fault = \"client\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n *The exception message.
\n * @public\n */\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RecursiveInvocationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RecursiveInvocationException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar RequestTooLargeException = class _RequestTooLargeException extends LambdaServiceException {\n static {\n __name(this, \"RequestTooLargeException\");\n }\n name = \"RequestTooLargeException\";\n $fault = \"client\";\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RequestTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RequestTooLargeException.prototype);\n this.Type = opts.Type;\n }\n};\nvar ResourceNotReadyException = class _ResourceNotReadyException extends LambdaServiceException {\n static {\n __name(this, \"ResourceNotReadyException\");\n }\n name = \"ResourceNotReadyException\";\n $fault = \"server\";\n /**\n *The exception type.
\n * @public\n */\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotReadyException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotReadyException.prototype);\n this.Type = opts.Type;\n }\n};\nvar SnapStartException = class _SnapStartException extends LambdaServiceException {\n static {\n __name(this, \"SnapStartException\");\n }\n name = \"SnapStartException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SnapStartException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SnapStartException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar SnapStartNotReadyException = class _SnapStartNotReadyException extends LambdaServiceException {\n static {\n __name(this, \"SnapStartNotReadyException\");\n }\n name = \"SnapStartNotReadyException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SnapStartNotReadyException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SnapStartNotReadyException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar SnapStartTimeoutException = class _SnapStartTimeoutException extends LambdaServiceException {\n static {\n __name(this, \"SnapStartTimeoutException\");\n }\n name = \"SnapStartTimeoutException\";\n $fault = \"client\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SnapStartTimeoutException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SnapStartTimeoutException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar SubnetIPAddressLimitReachedException = class _SubnetIPAddressLimitReachedException extends LambdaServiceException {\n static {\n __name(this, \"SubnetIPAddressLimitReachedException\");\n }\n name = \"SubnetIPAddressLimitReachedException\";\n $fault = \"server\";\n Type;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SubnetIPAddressLimitReachedException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _SubnetIPAddressLimitReachedException.prototype);\n this.Type = opts.Type;\n this.Message = opts.Message;\n }\n};\nvar UnsupportedMediaTypeException = class _UnsupportedMediaTypeException extends LambdaServiceException {\n static {\n __name(this, \"UnsupportedMediaTypeException\");\n }\n name = \"UnsupportedMediaTypeException\";\n $fault = \"client\";\n Type;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedMediaTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedMediaTypeException.prototype);\n this.Type = opts.Type;\n }\n};\nvar ResponseStreamingInvocationType = {\n DryRun: \"DryRun\",\n RequestResponse: \"RequestResponse\"\n};\nvar InvokeWithResponseStreamResponseEvent;\n((InvokeWithResponseStreamResponseEvent3) => {\n InvokeWithResponseStreamResponseEvent3.visit = /* @__PURE__ */ __name((value, visitor) => {\n if (value.PayloadChunk !== void 0) return visitor.PayloadChunk(value.PayloadChunk);\n if (value.InvokeComplete !== void 0) return visitor.InvokeComplete(value.InvokeComplete);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n }, \"visit\");\n})(InvokeWithResponseStreamResponseEvent || (InvokeWithResponseStreamResponseEvent = {}));\nvar FunctionVersion = {\n ALL: \"ALL\"\n};\nvar FunctionCodeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ZipFile && { ZipFile: import_smithy_client.SENSITIVE_STRING }\n}), \"FunctionCodeFilterSensitiveLog\");\nvar EnvironmentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Variables && { Variables: import_smithy_client.SENSITIVE_STRING }\n}), \"EnvironmentFilterSensitiveLog\");\nvar CreateFunctionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Code && { Code: FunctionCodeFilterSensitiveLog(obj.Code) },\n ...obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }\n}), \"CreateFunctionRequestFilterSensitiveLog\");\nvar EnvironmentErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Message && { Message: import_smithy_client.SENSITIVE_STRING }\n}), \"EnvironmentErrorFilterSensitiveLog\");\nvar EnvironmentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Variables && { Variables: import_smithy_client.SENSITIVE_STRING },\n ...obj.Error && { Error: EnvironmentErrorFilterSensitiveLog(obj.Error) }\n}), \"EnvironmentResponseFilterSensitiveLog\");\nvar ImageConfigErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Message && { Message: import_smithy_client.SENSITIVE_STRING }\n}), \"ImageConfigErrorFilterSensitiveLog\");\nvar ImageConfigResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Error && { Error: ImageConfigErrorFilterSensitiveLog(obj.Error) }\n}), \"ImageConfigResponseFilterSensitiveLog\");\nvar RuntimeVersionErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Message && { Message: import_smithy_client.SENSITIVE_STRING }\n}), \"RuntimeVersionErrorFilterSensitiveLog\");\nvar RuntimeVersionConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Error && { Error: RuntimeVersionErrorFilterSensitiveLog(obj.Error) }\n}), \"RuntimeVersionConfigFilterSensitiveLog\");\nvar FunctionConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Environment && { Environment: EnvironmentResponseFilterSensitiveLog(obj.Environment) },\n ...obj.ImageConfigResponse && {\n ImageConfigResponse: ImageConfigResponseFilterSensitiveLog(obj.ImageConfigResponse)\n },\n ...obj.RuntimeVersionConfig && {\n RuntimeVersionConfig: RuntimeVersionConfigFilterSensitiveLog(obj.RuntimeVersionConfig)\n }\n}), \"FunctionConfigurationFilterSensitiveLog\");\nvar GetFunctionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Configuration && { Configuration: FunctionConfigurationFilterSensitiveLog(obj.Configuration) }\n}), \"GetFunctionResponseFilterSensitiveLog\");\nvar InvocationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Payload && { Payload: import_smithy_client.SENSITIVE_STRING }\n}), \"InvocationRequestFilterSensitiveLog\");\nvar InvocationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Payload && { Payload: import_smithy_client.SENSITIVE_STRING }\n}), \"InvocationResponseFilterSensitiveLog\");\nvar InvokeAsyncRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"InvokeAsyncRequestFilterSensitiveLog\");\nvar InvokeWithResponseStreamRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Payload && { Payload: import_smithy_client.SENSITIVE_STRING }\n}), \"InvokeWithResponseStreamRequestFilterSensitiveLog\");\nvar InvokeResponseStreamUpdateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Payload && { Payload: import_smithy_client.SENSITIVE_STRING }\n}), \"InvokeResponseStreamUpdateFilterSensitiveLog\");\nvar InvokeWithResponseStreamResponseEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {\n if (obj.PayloadChunk !== void 0)\n return { PayloadChunk: InvokeResponseStreamUpdateFilterSensitiveLog(obj.PayloadChunk) };\n if (obj.InvokeComplete !== void 0) return { InvokeComplete: obj.InvokeComplete };\n if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: \"UNKNOWN\" };\n}, \"InvokeWithResponseStreamResponseEventFilterSensitiveLog\");\nvar InvokeWithResponseStreamResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.EventStream && { EventStream: \"STREAMING_CONTENT\" }\n}), \"InvokeWithResponseStreamResponseFilterSensitiveLog\");\nvar ListFunctionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Functions && { Functions: obj.Functions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }\n}), \"ListFunctionsResponseFilterSensitiveLog\");\nvar ListVersionsByFunctionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Versions && { Versions: obj.Versions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }\n}), \"ListVersionsByFunctionResponseFilterSensitiveLog\");\nvar LayerVersionContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ZipFile && { ZipFile: import_smithy_client.SENSITIVE_STRING }\n}), \"LayerVersionContentInputFilterSensitiveLog\");\nvar PublishLayerVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Content && { Content: LayerVersionContentInputFilterSensitiveLog(obj.Content) }\n}), \"PublishLayerVersionRequestFilterSensitiveLog\");\nvar UpdateFunctionCodeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.ZipFile && { ZipFile: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateFunctionCodeRequestFilterSensitiveLog\");\nvar UpdateFunctionConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }\n}), \"UpdateFunctionConfigurationRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar se_AddLayerVersionPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n b.p(\"VersionNumber\", () => input.VersionNumber.toString(), \"{VersionNumber}\", false);\n const query = (0, import_smithy_client.map)({\n [_RI]: [, input[_RI]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Action: [],\n OrganizationId: [],\n Principal: [],\n StatementId: []\n })\n );\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_AddLayerVersionPermissionCommand\");\nvar se_AddPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/policy\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Action: [],\n EventSourceToken: [],\n FunctionUrlAuthType: [],\n Principal: [],\n PrincipalOrgID: [],\n RevisionId: [],\n SourceAccount: [],\n SourceArn: [],\n StatementId: []\n })\n );\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_AddPermissionCommand\");\nvar se_CreateAliasCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/aliases\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Description: [],\n FunctionVersion: [],\n Name: [],\n RoutingConfig: /* @__PURE__ */ __name((_) => se_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateAliasCommand\");\nvar se_CreateCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2020-04-22/code-signing-configs\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n AllowedPublishers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"AllowedPublishers\"),\n CodeSigningPolicies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"CodeSigningPolicies\"),\n Description: [],\n Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Tags\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateCodeSigningConfigCommand\");\nvar se_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/event-source-mappings\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n AmazonManagedKafkaEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"AmazonManagedKafkaEventSourceConfig\"),\n BatchSize: [],\n BisectBatchOnFunctionError: [],\n DestinationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DestinationConfig\"),\n DocumentDBEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DocumentDBEventSourceConfig\"),\n Enabled: [],\n EventSourceArn: [],\n FilterCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FilterCriteria\"),\n FunctionName: [],\n FunctionResponseTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FunctionResponseTypes\"),\n KMSKeyArn: [],\n MaximumBatchingWindowInSeconds: [],\n MaximumRecordAgeInSeconds: [],\n MaximumRetryAttempts: [],\n MetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"MetricsConfig\"),\n ParallelizationFactor: [],\n ProvisionedPollerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ProvisionedPollerConfig\"),\n Queues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Queues\"),\n ScalingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ScalingConfig\"),\n SelfManagedEventSource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SelfManagedEventSource\"),\n SelfManagedKafkaEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SelfManagedKafkaEventSourceConfig\"),\n SourceAccessConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SourceAccessConfigurations\"),\n StartingPosition: [],\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"StartingPositionTimestamp\"),\n Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Tags\"),\n Topics: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Topics\"),\n TumblingWindowInSeconds: []\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateEventSourceMappingCommand\");\nvar se_CreateFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Architectures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Architectures\"),\n Code: /* @__PURE__ */ __name((_) => se_FunctionCode(_, context), \"Code\"),\n CodeSigningConfigArn: [],\n DeadLetterConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DeadLetterConfig\"),\n Description: [],\n Environment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Environment\"),\n EphemeralStorage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"EphemeralStorage\"),\n FileSystemConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FileSystemConfigs\"),\n FunctionName: [],\n Handler: [],\n ImageConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ImageConfig\"),\n KMSKeyArn: [],\n Layers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Layers\"),\n LoggingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"LoggingConfig\"),\n MemorySize: [],\n PackageType: [],\n Publish: [],\n Role: [],\n Runtime: [],\n SnapStart: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SnapStart\"),\n Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Tags\"),\n Timeout: [],\n TracingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"TracingConfig\"),\n VpcConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"VpcConfig\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateFunctionCommand\");\nvar se_CreateFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2021-10-31/functions/{FunctionName}/url\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n AuthType: [],\n Cors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Cors\"),\n InvokeMode: []\n })\n );\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_CreateFunctionUrlConfigCommand\");\nvar se_DeleteAliasCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/aliases/{Name}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteAliasCommand\");\nvar se_DeleteCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}\");\n b.p(\"CodeSigningConfigArn\", () => input.CodeSigningConfigArn, \"{CodeSigningConfigArn}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteCodeSigningConfigCommand\");\nvar se_DeleteEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/event-source-mappings/{UUID}\");\n b.p(\"UUID\", () => input.UUID, \"{UUID}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteEventSourceMappingCommand\");\nvar se_DeleteFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_DeleteFunctionCommand\");\nvar se_DeleteFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-06-30/functions/{FunctionName}/code-signing-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteFunctionCodeSigningConfigCommand\");\nvar se_DeleteFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2017-10-31/functions/{FunctionName}/concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteFunctionConcurrencyCommand\");\nvar se_DeleteFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-25/functions/{FunctionName}/event-invoke-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_DeleteFunctionEventInvokeConfigCommand\");\nvar se_DeleteFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2021-10-31/functions/{FunctionName}/url\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_DeleteFunctionUrlConfigCommand\");\nvar se_DeleteLayerVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n b.p(\"VersionNumber\", () => input.VersionNumber.toString(), \"{VersionNumber}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteLayerVersionCommand\");\nvar se_DeleteProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-30/functions/{FunctionName}/provisioned-concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, (0, import_smithy_client.expectNonNull)(input[_Q], `Qualifier`)]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_DeleteProvisionedConcurrencyConfigCommand\");\nvar se_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2016-08-19/account-settings\");\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetAccountSettingsCommand\");\nvar se_GetAliasCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/aliases/{Name}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetAliasCommand\");\nvar se_GetCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}\");\n b.p(\"CodeSigningConfigArn\", () => input.CodeSigningConfigArn, \"{CodeSigningConfigArn}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetCodeSigningConfigCommand\");\nvar se_GetEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/event-source-mappings/{UUID}\");\n b.p(\"UUID\", () => input.UUID, \"{UUID}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetEventSourceMappingCommand\");\nvar se_GetFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetFunctionCommand\");\nvar se_GetFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-06-30/functions/{FunctionName}/code-signing-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetFunctionCodeSigningConfigCommand\");\nvar se_GetFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-30/functions/{FunctionName}/concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetFunctionConcurrencyCommand\");\nvar se_GetFunctionConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/configuration\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetFunctionConfigurationCommand\");\nvar se_GetFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-25/functions/{FunctionName}/event-invoke-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetFunctionEventInvokeConfigCommand\");\nvar se_GetFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2024-08-31/functions/{FunctionName}/recursion-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetFunctionRecursionConfigCommand\");\nvar se_GetFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2021-10-31/functions/{FunctionName}/url\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetFunctionUrlConfigCommand\");\nvar se_GetLayerVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n b.p(\"VersionNumber\", () => input.VersionNumber.toString(), \"{VersionNumber}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetLayerVersionCommand\");\nvar se_GetLayerVersionByArnCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers\");\n const query = (0, import_smithy_client.map)({\n [_f]: [, \"LayerVersion\"],\n [_A]: [, (0, import_smithy_client.expectNonNull)(input[_A], `Arn`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetLayerVersionByArnCommand\");\nvar se_GetLayerVersionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n b.p(\"VersionNumber\", () => input.VersionNumber.toString(), \"{VersionNumber}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetLayerVersionPolicyCommand\");\nvar se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/policy\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetPolicyCommand\");\nvar se_GetProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-30/functions/{FunctionName}/provisioned-concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, (0, import_smithy_client.expectNonNull)(input[_Q], `Qualifier`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetProvisionedConcurrencyConfigCommand\");\nvar se_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2021-07-20/functions/{FunctionName}/runtime-management-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRuntimeManagementConfigCommand\");\nvar se_InvokeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n \"content-type\": \"application/octet-stream\",\n [_xait]: input[_IT],\n [_xalt]: input[_LT],\n [_xacc]: input[_CC]\n });\n b.bp(\"/2015-03-31/functions/{FunctionName}/invocations\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n if (input.Payload !== void 0) {\n body = input.Payload;\n }\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_InvokeCommand\");\nvar se_InvokeAsyncCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/octet-stream\"\n };\n b.bp(\"/2014-11-13/functions/{FunctionName}/invoke-async\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n if (input.InvokeArgs !== void 0) {\n body = input.InvokeArgs;\n }\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_InvokeAsyncCommand\");\nvar se_InvokeWithResponseStreamCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n \"content-type\": \"application/octet-stream\",\n [_xait]: input[_IT],\n [_xalt]: input[_LT],\n [_xacc]: input[_CC]\n });\n b.bp(\"/2021-11-15/functions/{FunctionName}/response-streaming-invocations\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n if (input.Payload !== void 0) {\n body = input.Payload;\n }\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_InvokeWithResponseStreamCommand\");\nvar se_ListAliasesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/aliases\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_FV]: [, input[_FV]],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAliasesCommand\");\nvar se_ListCodeSigningConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-04-22/code-signing-configs\");\n const query = (0, import_smithy_client.map)({\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListCodeSigningConfigsCommand\");\nvar se_ListEventSourceMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/event-source-mappings\");\n const query = (0, import_smithy_client.map)({\n [_ESA]: [, input[_ESA]],\n [_FN]: [, input[_FN]],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListEventSourceMappingsCommand\");\nvar se_ListFunctionEventInvokeConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-25/functions/{FunctionName}/event-invoke-config/list\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListFunctionEventInvokeConfigsCommand\");\nvar se_ListFunctionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions\");\n const query = (0, import_smithy_client.map)({\n [_MR]: [, input[_MR]],\n [_FV]: [, input[_FV]],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListFunctionsCommand\");\nvar se_ListFunctionsByCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions\");\n b.p(\"CodeSigningConfigArn\", () => input.CodeSigningConfigArn, \"{CodeSigningConfigArn}\", false);\n const query = (0, import_smithy_client.map)({\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListFunctionsByCodeSigningConfigCommand\");\nvar se_ListFunctionUrlConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2021-10-31/functions/{FunctionName}/urls\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListFunctionUrlConfigsCommand\");\nvar se_ListLayersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers\");\n const query = (0, import_smithy_client.map)({\n [_CR]: [, input[_CR]],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],\n [_CA]: [, input[_CA]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListLayersCommand\");\nvar se_ListLayerVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers/{LayerName}/versions\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n const query = (0, import_smithy_client.map)({\n [_CR]: [, input[_CR]],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],\n [_CA]: [, input[_CA]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListLayerVersionsCommand\");\nvar se_ListProvisionedConcurrencyConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2019-09-30/functions/{FunctionName}/provisioned-concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_L]: [, \"ALL\"],\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListProvisionedConcurrencyConfigsCommand\");\nvar se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2017-03-31/tags/{Resource}\");\n b.p(\"Resource\", () => input.Resource, \"{Resource}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_ListTagsCommand\");\nvar se_ListVersionsByFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/versions\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_M]: [, input[_M]],\n [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListVersionsByFunctionCommand\");\nvar se_PublishLayerVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2018-10-31/layers/{LayerName}/versions\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n CompatibleArchitectures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"CompatibleArchitectures\"),\n CompatibleRuntimes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"CompatibleRuntimes\"),\n Content: /* @__PURE__ */ __name((_) => se_LayerVersionContentInput(_, context), \"Content\"),\n Description: [],\n LicenseInfo: []\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_PublishLayerVersionCommand\");\nvar se_PublishVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/versions\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n CodeSha256: [],\n Description: [],\n RevisionId: []\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_PublishVersionCommand\");\nvar se_PutFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2020-06-30/functions/{FunctionName}/code-signing-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n CodeSigningConfigArn: []\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_PutFunctionCodeSigningConfigCommand\");\nvar se_PutFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2017-10-31/functions/{FunctionName}/concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n ReservedConcurrentExecutions: []\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_PutFunctionConcurrencyCommand\");\nvar se_PutFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2019-09-25/functions/{FunctionName}/event-invoke-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n DestinationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DestinationConfig\"),\n MaximumEventAgeInSeconds: [],\n MaximumRetryAttempts: []\n })\n );\n b.m(\"PUT\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_PutFunctionEventInvokeConfigCommand\");\nvar se_PutFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2024-08-31/functions/{FunctionName}/recursion-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n RecursiveLoop: []\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_PutFunctionRecursionConfigCommand\");\nvar se_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2019-09-30/functions/{FunctionName}/provisioned-concurrency\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, (0, import_smithy_client.expectNonNull)(input[_Q], `Qualifier`)]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n ProvisionedConcurrentExecutions: []\n })\n );\n b.m(\"PUT\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_PutProvisionedConcurrencyConfigCommand\");\nvar se_PutRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2021-07-20/functions/{FunctionName}/runtime-management-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n RuntimeVersionArn: [],\n UpdateRuntimeOn: []\n })\n );\n b.m(\"PUT\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_PutRuntimeManagementConfigCommand\");\nvar se_RemoveLayerVersionPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}\");\n b.p(\"LayerName\", () => input.LayerName, \"{LayerName}\", false);\n b.p(\"VersionNumber\", () => input.VersionNumber.toString(), \"{VersionNumber}\", false);\n b.p(\"StatementId\", () => input.StatementId, \"{StatementId}\", false);\n const query = (0, import_smithy_client.map)({\n [_RI]: [, input[_RI]]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_RemoveLayerVersionPermissionCommand\");\nvar se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2015-03-31/functions/{FunctionName}/policy/{StatementId}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n b.p(\"StatementId\", () => input.StatementId, \"{StatementId}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]],\n [_RI]: [, input[_RI]]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_RemovePermissionCommand\");\nvar se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2017-03-31/tags/{Resource}\");\n b.p(\"Resource\", () => input.Resource, \"{Resource}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Tags\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_TagResourceCommand\");\nvar se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2017-03-31/tags/{Resource}\");\n b.p(\"Resource\", () => input.Resource, \"{Resource}\", false);\n const query = (0, import_smithy_client.map)({\n [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]\n });\n let body;\n b.m(\"DELETE\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_UntagResourceCommand\");\nvar se_UpdateAliasCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/aliases/{Name}\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Description: [],\n FunctionVersion: [],\n RevisionId: [],\n RoutingConfig: /* @__PURE__ */ __name((_) => se_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateAliasCommand\");\nvar se_UpdateCodeSigningConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}\");\n b.p(\"CodeSigningConfigArn\", () => input.CodeSigningConfigArn, \"{CodeSigningConfigArn}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n AllowedPublishers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"AllowedPublishers\"),\n CodeSigningPolicies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"CodeSigningPolicies\"),\n Description: []\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateCodeSigningConfigCommand\");\nvar se_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/event-source-mappings/{UUID}\");\n b.p(\"UUID\", () => input.UUID, \"{UUID}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n BatchSize: [],\n BisectBatchOnFunctionError: [],\n DestinationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DestinationConfig\"),\n DocumentDBEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DocumentDBEventSourceConfig\"),\n Enabled: [],\n FilterCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FilterCriteria\"),\n FunctionName: [],\n FunctionResponseTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FunctionResponseTypes\"),\n KMSKeyArn: [],\n MaximumBatchingWindowInSeconds: [],\n MaximumRecordAgeInSeconds: [],\n MaximumRetryAttempts: [],\n MetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"MetricsConfig\"),\n ParallelizationFactor: [],\n ProvisionedPollerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ProvisionedPollerConfig\"),\n ScalingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ScalingConfig\"),\n SourceAccessConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SourceAccessConfigurations\"),\n TumblingWindowInSeconds: []\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateEventSourceMappingCommand\");\nvar se_UpdateFunctionCodeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/code\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n Architectures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Architectures\"),\n DryRun: [],\n ImageUri: [],\n Publish: [],\n RevisionId: [],\n S3Bucket: [],\n S3Key: [],\n S3ObjectVersion: [],\n SourceKMSKeyArn: [],\n ZipFile: /* @__PURE__ */ __name((_) => context.base64Encoder(_), \"ZipFile\")\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateFunctionCodeCommand\");\nvar se_UpdateFunctionConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2015-03-31/functions/{FunctionName}/configuration\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n DeadLetterConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DeadLetterConfig\"),\n Description: [],\n Environment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Environment\"),\n EphemeralStorage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"EphemeralStorage\"),\n FileSystemConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"FileSystemConfigs\"),\n Handler: [],\n ImageConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"ImageConfig\"),\n KMSKeyArn: [],\n Layers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Layers\"),\n LoggingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"LoggingConfig\"),\n MemorySize: [],\n RevisionId: [],\n Role: [],\n Runtime: [],\n SnapStart: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"SnapStart\"),\n Timeout: [],\n TracingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"TracingConfig\"),\n VpcConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"VpcConfig\")\n })\n );\n b.m(\"PUT\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateFunctionConfigurationCommand\");\nvar se_UpdateFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2019-09-25/functions/{FunctionName}/event-invoke-config\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n DestinationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"DestinationConfig\"),\n MaximumEventAgeInSeconds: [],\n MaximumRetryAttempts: []\n })\n );\n b.m(\"POST\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_UpdateFunctionEventInvokeConfigCommand\");\nvar se_UpdateFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/2021-10-31/functions/{FunctionName}/url\");\n b.p(\"FunctionName\", () => input.FunctionName, \"{FunctionName}\", false);\n const query = (0, import_smithy_client.map)({\n [_Q]: [, input[_Q]]\n });\n let body;\n body = JSON.stringify(\n (0, import_smithy_client.take)(input, {\n AuthType: [],\n Cors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), \"Cors\"),\n InvokeMode: []\n })\n );\n b.m(\"PUT\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_UpdateFunctionUrlConfigCommand\");\nvar de_AddLayerVersionPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n RevisionId: import_smithy_client.expectString,\n Statement: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_AddLayerVersionPermissionCommand\");\nvar de_AddPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Statement: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_AddPermissionCommand\");\nvar de_CreateAliasCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AliasArn: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n FunctionVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n RoutingConfig: /* @__PURE__ */ __name((_) => de_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateAliasCommand\");\nvar de_CreateCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateCodeSigningConfigCommand\");\nvar de_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 202 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AmazonManagedKafkaEventSourceConfig: import_smithy_client._json,\n BatchSize: import_smithy_client.expectInt32,\n BisectBatchOnFunctionError: import_smithy_client.expectBoolean,\n DestinationConfig: import_smithy_client._json,\n DocumentDBEventSourceConfig: import_smithy_client._json,\n EventSourceArn: import_smithy_client.expectString,\n EventSourceMappingArn: import_smithy_client.expectString,\n FilterCriteria: import_smithy_client._json,\n FilterCriteriaError: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionResponseTypes: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n LastProcessingResult: import_smithy_client.expectString,\n MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,\n MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32,\n MetricsConfig: import_smithy_client._json,\n ParallelizationFactor: import_smithy_client.expectInt32,\n ProvisionedPollerConfig: import_smithy_client._json,\n Queues: import_smithy_client._json,\n ScalingConfig: import_smithy_client._json,\n SelfManagedEventSource: import_smithy_client._json,\n SelfManagedKafkaEventSourceConfig: import_smithy_client._json,\n SourceAccessConfigurations: import_smithy_client._json,\n StartingPosition: import_smithy_client.expectString,\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartingPositionTimestamp\"),\n State: import_smithy_client.expectString,\n StateTransitionReason: import_smithy_client.expectString,\n Topics: import_smithy_client._json,\n TumblingWindowInSeconds: import_smithy_client.expectInt32,\n UUID: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateEventSourceMappingCommand\");\nvar de_CreateFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Architectures: import_smithy_client._json,\n CodeSha256: import_smithy_client.expectString,\n CodeSize: import_smithy_client.expectLong,\n DeadLetterConfig: import_smithy_client._json,\n Description: import_smithy_client.expectString,\n Environment: import_smithy_client._json,\n EphemeralStorage: import_smithy_client._json,\n FileSystemConfigs: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString,\n Handler: import_smithy_client.expectString,\n ImageConfigResponse: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: import_smithy_client.expectString,\n LastUpdateStatus: import_smithy_client.expectString,\n LastUpdateStatusReason: import_smithy_client.expectString,\n LastUpdateStatusReasonCode: import_smithy_client.expectString,\n Layers: import_smithy_client._json,\n LoggingConfig: import_smithy_client._json,\n MasterArn: import_smithy_client.expectString,\n MemorySize: import_smithy_client.expectInt32,\n PackageType: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n Role: import_smithy_client.expectString,\n Runtime: import_smithy_client.expectString,\n RuntimeVersionConfig: import_smithy_client._json,\n SigningJobArn: import_smithy_client.expectString,\n SigningProfileVersionArn: import_smithy_client.expectString,\n SnapStart: import_smithy_client._json,\n State: import_smithy_client.expectString,\n StateReason: import_smithy_client.expectString,\n StateReasonCode: import_smithy_client.expectString,\n Timeout: import_smithy_client.expectInt32,\n TracingConfig: import_smithy_client._json,\n Version: import_smithy_client.expectString,\n VpcConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateFunctionCommand\");\nvar de_CreateFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AuthType: import_smithy_client.expectString,\n Cors: import_smithy_client._json,\n CreationTime: import_smithy_client.expectString,\n FunctionArn: import_smithy_client.expectString,\n FunctionUrl: import_smithy_client.expectString,\n InvokeMode: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateFunctionUrlConfigCommand\");\nvar de_DeleteAliasCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteAliasCommand\");\nvar de_DeleteCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteCodeSigningConfigCommand\");\nvar de_DeleteEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 202 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AmazonManagedKafkaEventSourceConfig: import_smithy_client._json,\n BatchSize: import_smithy_client.expectInt32,\n BisectBatchOnFunctionError: import_smithy_client.expectBoolean,\n DestinationConfig: import_smithy_client._json,\n DocumentDBEventSourceConfig: import_smithy_client._json,\n EventSourceArn: import_smithy_client.expectString,\n EventSourceMappingArn: import_smithy_client.expectString,\n FilterCriteria: import_smithy_client._json,\n FilterCriteriaError: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionResponseTypes: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n LastProcessingResult: import_smithy_client.expectString,\n MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,\n MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32,\n MetricsConfig: import_smithy_client._json,\n ParallelizationFactor: import_smithy_client.expectInt32,\n ProvisionedPollerConfig: import_smithy_client._json,\n Queues: import_smithy_client._json,\n ScalingConfig: import_smithy_client._json,\n SelfManagedEventSource: import_smithy_client._json,\n SelfManagedKafkaEventSourceConfig: import_smithy_client._json,\n SourceAccessConfigurations: import_smithy_client._json,\n StartingPosition: import_smithy_client.expectString,\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartingPositionTimestamp\"),\n State: import_smithy_client.expectString,\n StateTransitionReason: import_smithy_client.expectString,\n Topics: import_smithy_client._json,\n TumblingWindowInSeconds: import_smithy_client.expectInt32,\n UUID: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_DeleteEventSourceMappingCommand\");\nvar de_DeleteFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteFunctionCommand\");\nvar de_DeleteFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteFunctionCodeSigningConfigCommand\");\nvar de_DeleteFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteFunctionConcurrencyCommand\");\nvar de_DeleteFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteFunctionEventInvokeConfigCommand\");\nvar de_DeleteFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteFunctionUrlConfigCommand\");\nvar de_DeleteLayerVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteLayerVersionCommand\");\nvar de_DeleteProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteProvisionedConcurrencyConfigCommand\");\nvar de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AccountLimit: import_smithy_client._json,\n AccountUsage: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetAccountSettingsCommand\");\nvar de_GetAliasCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AliasArn: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n FunctionVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n RoutingConfig: /* @__PURE__ */ __name((_) => de_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetAliasCommand\");\nvar de_GetCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetCodeSigningConfigCommand\");\nvar de_GetEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AmazonManagedKafkaEventSourceConfig: import_smithy_client._json,\n BatchSize: import_smithy_client.expectInt32,\n BisectBatchOnFunctionError: import_smithy_client.expectBoolean,\n DestinationConfig: import_smithy_client._json,\n DocumentDBEventSourceConfig: import_smithy_client._json,\n EventSourceArn: import_smithy_client.expectString,\n EventSourceMappingArn: import_smithy_client.expectString,\n FilterCriteria: import_smithy_client._json,\n FilterCriteriaError: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionResponseTypes: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n LastProcessingResult: import_smithy_client.expectString,\n MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,\n MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32,\n MetricsConfig: import_smithy_client._json,\n ParallelizationFactor: import_smithy_client.expectInt32,\n ProvisionedPollerConfig: import_smithy_client._json,\n Queues: import_smithy_client._json,\n ScalingConfig: import_smithy_client._json,\n SelfManagedEventSource: import_smithy_client._json,\n SelfManagedKafkaEventSourceConfig: import_smithy_client._json,\n SourceAccessConfigurations: import_smithy_client._json,\n StartingPosition: import_smithy_client.expectString,\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartingPositionTimestamp\"),\n State: import_smithy_client.expectString,\n StateTransitionReason: import_smithy_client.expectString,\n Topics: import_smithy_client._json,\n TumblingWindowInSeconds: import_smithy_client.expectInt32,\n UUID: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetEventSourceMappingCommand\");\nvar de_GetFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Code: import_smithy_client._json,\n Concurrency: import_smithy_client._json,\n Configuration: import_smithy_client._json,\n Tags: import_smithy_client._json,\n TagsError: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionCommand\");\nvar de_GetFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfigArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionCodeSigningConfigCommand\");\nvar de_GetFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n ReservedConcurrentExecutions: import_smithy_client.expectInt32\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionConcurrencyCommand\");\nvar de_GetFunctionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Architectures: import_smithy_client._json,\n CodeSha256: import_smithy_client.expectString,\n CodeSize: import_smithy_client.expectLong,\n DeadLetterConfig: import_smithy_client._json,\n Description: import_smithy_client.expectString,\n Environment: import_smithy_client._json,\n EphemeralStorage: import_smithy_client._json,\n FileSystemConfigs: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString,\n Handler: import_smithy_client.expectString,\n ImageConfigResponse: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: import_smithy_client.expectString,\n LastUpdateStatus: import_smithy_client.expectString,\n LastUpdateStatusReason: import_smithy_client.expectString,\n LastUpdateStatusReasonCode: import_smithy_client.expectString,\n Layers: import_smithy_client._json,\n LoggingConfig: import_smithy_client._json,\n MasterArn: import_smithy_client.expectString,\n MemorySize: import_smithy_client.expectInt32,\n PackageType: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n Role: import_smithy_client.expectString,\n Runtime: import_smithy_client.expectString,\n RuntimeVersionConfig: import_smithy_client._json,\n SigningJobArn: import_smithy_client.expectString,\n SigningProfileVersionArn: import_smithy_client.expectString,\n SnapStart: import_smithy_client._json,\n State: import_smithy_client.expectString,\n StateReason: import_smithy_client.expectString,\n StateReasonCode: import_smithy_client.expectString,\n Timeout: import_smithy_client.expectInt32,\n TracingConfig: import_smithy_client._json,\n Version: import_smithy_client.expectString,\n VpcConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionConfigurationCommand\");\nvar de_GetFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n DestinationConfig: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n MaximumEventAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionEventInvokeConfigCommand\");\nvar de_GetFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n RecursiveLoop: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionRecursionConfigCommand\");\nvar de_GetFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AuthType: import_smithy_client.expectString,\n Cors: import_smithy_client._json,\n CreationTime: import_smithy_client.expectString,\n FunctionArn: import_smithy_client.expectString,\n FunctionUrl: import_smithy_client.expectString,\n InvokeMode: import_smithy_client.expectString,\n LastModifiedTime: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetFunctionUrlConfigCommand\");\nvar de_GetLayerVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CompatibleArchitectures: import_smithy_client._json,\n CompatibleRuntimes: import_smithy_client._json,\n Content: import_smithy_client._json,\n CreatedDate: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n LayerArn: import_smithy_client.expectString,\n LayerVersionArn: import_smithy_client.expectString,\n LicenseInfo: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetLayerVersionCommand\");\nvar de_GetLayerVersionByArnCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CompatibleArchitectures: import_smithy_client._json,\n CompatibleRuntimes: import_smithy_client._json,\n Content: import_smithy_client._json,\n CreatedDate: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n LayerArn: import_smithy_client.expectString,\n LayerVersionArn: import_smithy_client.expectString,\n LicenseInfo: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetLayerVersionByArnCommand\");\nvar de_GetLayerVersionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Policy: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetLayerVersionPolicyCommand\");\nvar de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Policy: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetPolicyCommand\");\nvar de_GetProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AllocatedProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n AvailableProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n LastModified: import_smithy_client.expectString,\n RequestedProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n Status: import_smithy_client.expectString,\n StatusReason: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetProvisionedConcurrencyConfigCommand\");\nvar de_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n FunctionArn: import_smithy_client.expectString,\n RuntimeVersionArn: import_smithy_client.expectString,\n UpdateRuntimeOn: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRuntimeManagementConfigCommand\");\nvar de_InvokeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_FE]: [, output.headers[_xafe]],\n [_LR]: [, output.headers[_xalr]],\n [_EV]: [, output.headers[_xaev]]\n });\n const data = await (0, import_smithy_client.collectBody)(output.body, context);\n contents.Payload = data;\n (0, import_smithy_client.map)(contents, {\n StatusCode: [, output.statusCode]\n });\n return contents;\n}, \"de_InvokeCommand\");\nvar de_InvokeAsyncCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 202 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n (0, import_smithy_client.map)(contents, {\n Status: [, output.statusCode]\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_InvokeAsyncCommand\");\nvar de_InvokeWithResponseStreamCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_EV]: [, output.headers[_xaev]],\n [_RSCT]: [, output.headers[_ct]]\n });\n const data = output.body;\n contents.EventStream = de_InvokeWithResponseStreamResponseEvent(data, context);\n (0, import_smithy_client.map)(contents, {\n StatusCode: [, output.statusCode]\n });\n return contents;\n}, \"de_InvokeWithResponseStreamCommand\");\nvar de_ListAliasesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Aliases: /* @__PURE__ */ __name((_) => de_AliasList(_, context), \"Aliases\"),\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAliasesCommand\");\nvar de_ListCodeSigningConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfigs: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListCodeSigningConfigsCommand\");\nvar de_ListEventSourceMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n EventSourceMappings: /* @__PURE__ */ __name((_) => de_EventSourceMappingsList(_, context), \"EventSourceMappings\"),\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListEventSourceMappingsCommand\");\nvar de_ListFunctionEventInvokeConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n FunctionEventInvokeConfigs: /* @__PURE__ */ __name((_) => de_FunctionEventInvokeConfigList(_, context), \"FunctionEventInvokeConfigs\"),\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListFunctionEventInvokeConfigsCommand\");\nvar de_ListFunctionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Functions: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListFunctionsCommand\");\nvar de_ListFunctionsByCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n FunctionArns: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListFunctionsByCodeSigningConfigCommand\");\nvar de_ListFunctionUrlConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n FunctionUrlConfigs: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListFunctionUrlConfigsCommand\");\nvar de_ListLayersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Layers: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListLayersCommand\");\nvar de_ListLayerVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n LayerVersions: import_smithy_client._json,\n NextMarker: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListLayerVersionsCommand\");\nvar de_ListProvisionedConcurrencyConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n NextMarker: import_smithy_client.expectString,\n ProvisionedConcurrencyConfigs: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListProvisionedConcurrencyConfigsCommand\");\nvar de_ListTagsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Tags: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListTagsCommand\");\nvar de_ListVersionsByFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n NextMarker: import_smithy_client.expectString,\n Versions: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListVersionsByFunctionCommand\");\nvar de_PublishLayerVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CompatibleArchitectures: import_smithy_client._json,\n CompatibleRuntimes: import_smithy_client._json,\n Content: import_smithy_client._json,\n CreatedDate: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n LayerArn: import_smithy_client.expectString,\n LayerVersionArn: import_smithy_client.expectString,\n LicenseInfo: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PublishLayerVersionCommand\");\nvar de_PublishVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Architectures: import_smithy_client._json,\n CodeSha256: import_smithy_client.expectString,\n CodeSize: import_smithy_client.expectLong,\n DeadLetterConfig: import_smithy_client._json,\n Description: import_smithy_client.expectString,\n Environment: import_smithy_client._json,\n EphemeralStorage: import_smithy_client._json,\n FileSystemConfigs: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString,\n Handler: import_smithy_client.expectString,\n ImageConfigResponse: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: import_smithy_client.expectString,\n LastUpdateStatus: import_smithy_client.expectString,\n LastUpdateStatusReason: import_smithy_client.expectString,\n LastUpdateStatusReasonCode: import_smithy_client.expectString,\n Layers: import_smithy_client._json,\n LoggingConfig: import_smithy_client._json,\n MasterArn: import_smithy_client.expectString,\n MemorySize: import_smithy_client.expectInt32,\n PackageType: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n Role: import_smithy_client.expectString,\n Runtime: import_smithy_client.expectString,\n RuntimeVersionConfig: import_smithy_client._json,\n SigningJobArn: import_smithy_client.expectString,\n SigningProfileVersionArn: import_smithy_client.expectString,\n SnapStart: import_smithy_client._json,\n State: import_smithy_client.expectString,\n StateReason: import_smithy_client.expectString,\n StateReasonCode: import_smithy_client.expectString,\n Timeout: import_smithy_client.expectInt32,\n TracingConfig: import_smithy_client._json,\n Version: import_smithy_client.expectString,\n VpcConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PublishVersionCommand\");\nvar de_PutFunctionCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfigArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutFunctionCodeSigningConfigCommand\");\nvar de_PutFunctionConcurrencyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n ReservedConcurrentExecutions: import_smithy_client.expectInt32\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutFunctionConcurrencyCommand\");\nvar de_PutFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n DestinationConfig: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n MaximumEventAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutFunctionEventInvokeConfigCommand\");\nvar de_PutFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n RecursiveLoop: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutFunctionRecursionConfigCommand\");\nvar de_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 202 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AllocatedProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n AvailableProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n LastModified: import_smithy_client.expectString,\n RequestedProvisionedConcurrentExecutions: import_smithy_client.expectInt32,\n Status: import_smithy_client.expectString,\n StatusReason: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutProvisionedConcurrencyConfigCommand\");\nvar de_PutRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n FunctionArn: import_smithy_client.expectString,\n RuntimeVersionArn: import_smithy_client.expectString,\n UpdateRuntimeOn: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_PutRuntimeManagementConfigCommand\");\nvar de_RemoveLayerVersionPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_RemoveLayerVersionPermissionCommand\");\nvar de_RemovePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_RemovePermissionCommand\");\nvar de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_TagResourceCommand\");\nvar de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_UntagResourceCommand\");\nvar de_UpdateAliasCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AliasArn: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n FunctionVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n RoutingConfig: /* @__PURE__ */ __name((_) => de_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateAliasCommand\");\nvar de_UpdateCodeSigningConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n CodeSigningConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateCodeSigningConfigCommand\");\nvar de_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 202 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AmazonManagedKafkaEventSourceConfig: import_smithy_client._json,\n BatchSize: import_smithy_client.expectInt32,\n BisectBatchOnFunctionError: import_smithy_client.expectBoolean,\n DestinationConfig: import_smithy_client._json,\n DocumentDBEventSourceConfig: import_smithy_client._json,\n EventSourceArn: import_smithy_client.expectString,\n EventSourceMappingArn: import_smithy_client.expectString,\n FilterCriteria: import_smithy_client._json,\n FilterCriteriaError: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionResponseTypes: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n LastProcessingResult: import_smithy_client.expectString,\n MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,\n MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32,\n MetricsConfig: import_smithy_client._json,\n ParallelizationFactor: import_smithy_client.expectInt32,\n ProvisionedPollerConfig: import_smithy_client._json,\n Queues: import_smithy_client._json,\n ScalingConfig: import_smithy_client._json,\n SelfManagedEventSource: import_smithy_client._json,\n SelfManagedKafkaEventSourceConfig: import_smithy_client._json,\n SourceAccessConfigurations: import_smithy_client._json,\n StartingPosition: import_smithy_client.expectString,\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartingPositionTimestamp\"),\n State: import_smithy_client.expectString,\n StateTransitionReason: import_smithy_client.expectString,\n Topics: import_smithy_client._json,\n TumblingWindowInSeconds: import_smithy_client.expectInt32,\n UUID: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateEventSourceMappingCommand\");\nvar de_UpdateFunctionCodeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Architectures: import_smithy_client._json,\n CodeSha256: import_smithy_client.expectString,\n CodeSize: import_smithy_client.expectLong,\n DeadLetterConfig: import_smithy_client._json,\n Description: import_smithy_client.expectString,\n Environment: import_smithy_client._json,\n EphemeralStorage: import_smithy_client._json,\n FileSystemConfigs: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString,\n Handler: import_smithy_client.expectString,\n ImageConfigResponse: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: import_smithy_client.expectString,\n LastUpdateStatus: import_smithy_client.expectString,\n LastUpdateStatusReason: import_smithy_client.expectString,\n LastUpdateStatusReasonCode: import_smithy_client.expectString,\n Layers: import_smithy_client._json,\n LoggingConfig: import_smithy_client._json,\n MasterArn: import_smithy_client.expectString,\n MemorySize: import_smithy_client.expectInt32,\n PackageType: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n Role: import_smithy_client.expectString,\n Runtime: import_smithy_client.expectString,\n RuntimeVersionConfig: import_smithy_client._json,\n SigningJobArn: import_smithy_client.expectString,\n SigningProfileVersionArn: import_smithy_client.expectString,\n SnapStart: import_smithy_client._json,\n State: import_smithy_client.expectString,\n StateReason: import_smithy_client.expectString,\n StateReasonCode: import_smithy_client.expectString,\n Timeout: import_smithy_client.expectInt32,\n TracingConfig: import_smithy_client._json,\n Version: import_smithy_client.expectString,\n VpcConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateFunctionCodeCommand\");\nvar de_UpdateFunctionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n Architectures: import_smithy_client._json,\n CodeSha256: import_smithy_client.expectString,\n CodeSize: import_smithy_client.expectLong,\n DeadLetterConfig: import_smithy_client._json,\n Description: import_smithy_client.expectString,\n Environment: import_smithy_client._json,\n EphemeralStorage: import_smithy_client._json,\n FileSystemConfigs: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionName: import_smithy_client.expectString,\n Handler: import_smithy_client.expectString,\n ImageConfigResponse: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: import_smithy_client.expectString,\n LastUpdateStatus: import_smithy_client.expectString,\n LastUpdateStatusReason: import_smithy_client.expectString,\n LastUpdateStatusReasonCode: import_smithy_client.expectString,\n Layers: import_smithy_client._json,\n LoggingConfig: import_smithy_client._json,\n MasterArn: import_smithy_client.expectString,\n MemorySize: import_smithy_client.expectInt32,\n PackageType: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n Role: import_smithy_client.expectString,\n Runtime: import_smithy_client.expectString,\n RuntimeVersionConfig: import_smithy_client._json,\n SigningJobArn: import_smithy_client.expectString,\n SigningProfileVersionArn: import_smithy_client.expectString,\n SnapStart: import_smithy_client._json,\n State: import_smithy_client.expectString,\n StateReason: import_smithy_client.expectString,\n StateReasonCode: import_smithy_client.expectString,\n Timeout: import_smithy_client.expectInt32,\n TracingConfig: import_smithy_client._json,\n Version: import_smithy_client.expectString,\n VpcConfig: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateFunctionConfigurationCommand\");\nvar de_UpdateFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n DestinationConfig: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n MaximumEventAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateFunctionEventInvokeConfigCommand\");\nvar de_UpdateFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n AuthType: import_smithy_client.expectString,\n Cors: import_smithy_client._json,\n CreationTime: import_smithy_client.expectString,\n FunctionArn: import_smithy_client.expectString,\n FunctionUrl: import_smithy_client.expectString,\n InvokeMode: import_smithy_client.expectString,\n LastModifiedTime: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_UpdateFunctionUrlConfigCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidParameterValueException\":\n case \"com.amazonaws.lambda#InvalidParameterValueException\":\n throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);\n case \"PolicyLengthExceededException\":\n case \"com.amazonaws.lambda#PolicyLengthExceededException\":\n throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context);\n case \"PreconditionFailedException\":\n case \"com.amazonaws.lambda#PreconditionFailedException\":\n throw await de_PreconditionFailedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.lambda#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.lambda#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"ServiceException\":\n case \"com.amazonaws.lambda#ServiceException\":\n throw await de_ServiceExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.lambda#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"CodeSigningConfigNotFoundException\":\n case \"com.amazonaws.lambda#CodeSigningConfigNotFoundException\":\n throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context);\n case \"CodeStorageExceededException\":\n case \"com.amazonaws.lambda#CodeStorageExceededException\":\n throw await de_CodeStorageExceededExceptionRes(parsedOutput, context);\n case \"CodeVerificationFailedException\":\n case \"com.amazonaws.lambda#CodeVerificationFailedException\":\n throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context);\n case \"InvalidCodeSignatureException\":\n case \"com.amazonaws.lambda#InvalidCodeSignatureException\":\n throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context);\n case \"ResourceInUseException\":\n case \"com.amazonaws.lambda#ResourceInUseException\":\n throw await de_ResourceInUseExceptionRes(parsedOutput, context);\n case \"ProvisionedConcurrencyConfigNotFoundException\":\n case \"com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException\":\n throw await de_ProvisionedConcurrencyConfigNotFoundExceptionRes(parsedOutput, context);\n case \"EC2AccessDeniedException\":\n case \"com.amazonaws.lambda#EC2AccessDeniedException\":\n throw await de_EC2AccessDeniedExceptionRes(parsedOutput, context);\n case \"EC2ThrottledException\":\n case \"com.amazonaws.lambda#EC2ThrottledException\":\n throw await de_EC2ThrottledExceptionRes(parsedOutput, context);\n case \"EC2UnexpectedException\":\n case \"com.amazonaws.lambda#EC2UnexpectedException\":\n throw await de_EC2UnexpectedExceptionRes(parsedOutput, context);\n case \"EFSIOException\":\n case \"com.amazonaws.lambda#EFSIOException\":\n throw await de_EFSIOExceptionRes(parsedOutput, context);\n case \"EFSMountConnectivityException\":\n case \"com.amazonaws.lambda#EFSMountConnectivityException\":\n throw await de_EFSMountConnectivityExceptionRes(parsedOutput, context);\n case \"EFSMountFailureException\":\n case \"com.amazonaws.lambda#EFSMountFailureException\":\n throw await de_EFSMountFailureExceptionRes(parsedOutput, context);\n case \"EFSMountTimeoutException\":\n case \"com.amazonaws.lambda#EFSMountTimeoutException\":\n throw await de_EFSMountTimeoutExceptionRes(parsedOutput, context);\n case \"ENILimitReachedException\":\n case \"com.amazonaws.lambda#ENILimitReachedException\":\n throw await de_ENILimitReachedExceptionRes(parsedOutput, context);\n case \"InvalidRequestContentException\":\n case \"com.amazonaws.lambda#InvalidRequestContentException\":\n throw await de_InvalidRequestContentExceptionRes(parsedOutput, context);\n case \"InvalidRuntimeException\":\n case \"com.amazonaws.lambda#InvalidRuntimeException\":\n throw await de_InvalidRuntimeExceptionRes(parsedOutput, context);\n case \"InvalidSecurityGroupIDException\":\n case \"com.amazonaws.lambda#InvalidSecurityGroupIDException\":\n throw await de_InvalidSecurityGroupIDExceptionRes(parsedOutput, context);\n case \"InvalidSubnetIDException\":\n case \"com.amazonaws.lambda#InvalidSubnetIDException\":\n throw await de_InvalidSubnetIDExceptionRes(parsedOutput, context);\n case \"InvalidZipFileException\":\n case \"com.amazonaws.lambda#InvalidZipFileException\":\n throw await de_InvalidZipFileExceptionRes(parsedOutput, context);\n case \"KMSAccessDeniedException\":\n case \"com.amazonaws.lambda#KMSAccessDeniedException\":\n throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context);\n case \"KMSDisabledException\":\n case \"com.amazonaws.lambda#KMSDisabledException\":\n throw await de_KMSDisabledExceptionRes(parsedOutput, context);\n case \"KMSInvalidStateException\":\n case \"com.amazonaws.lambda#KMSInvalidStateException\":\n throw await de_KMSInvalidStateExceptionRes(parsedOutput, context);\n case \"KMSNotFoundException\":\n case \"com.amazonaws.lambda#KMSNotFoundException\":\n throw await de_KMSNotFoundExceptionRes(parsedOutput, context);\n case \"RecursiveInvocationException\":\n case \"com.amazonaws.lambda#RecursiveInvocationException\":\n throw await de_RecursiveInvocationExceptionRes(parsedOutput, context);\n case \"RequestTooLargeException\":\n case \"com.amazonaws.lambda#RequestTooLargeException\":\n throw await de_RequestTooLargeExceptionRes(parsedOutput, context);\n case \"ResourceNotReadyException\":\n case \"com.amazonaws.lambda#ResourceNotReadyException\":\n throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);\n case \"SnapStartException\":\n case \"com.amazonaws.lambda#SnapStartException\":\n throw await de_SnapStartExceptionRes(parsedOutput, context);\n case \"SnapStartNotReadyException\":\n case \"com.amazonaws.lambda#SnapStartNotReadyException\":\n throw await de_SnapStartNotReadyExceptionRes(parsedOutput, context);\n case \"SnapStartTimeoutException\":\n case \"com.amazonaws.lambda#SnapStartTimeoutException\":\n throw await de_SnapStartTimeoutExceptionRes(parsedOutput, context);\n case \"SubnetIPAddressLimitReachedException\":\n case \"com.amazonaws.lambda#SubnetIPAddressLimitReachedException\":\n throw await de_SubnetIPAddressLimitReachedExceptionRes(parsedOutput, context);\n case \"UnsupportedMediaTypeException\":\n case \"com.amazonaws.lambda#UnsupportedMediaTypeException\":\n throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(LambdaServiceException);\nvar de_CodeSigningConfigNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new CodeSigningConfigNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_CodeSigningConfigNotFoundExceptionRes\");\nvar de_CodeStorageExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new CodeStorageExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_CodeStorageExceededExceptionRes\");\nvar de_CodeVerificationFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new CodeVerificationFailedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_CodeVerificationFailedExceptionRes\");\nvar de_EC2AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EC2AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EC2AccessDeniedExceptionRes\");\nvar de_EC2ThrottledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EC2ThrottledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EC2ThrottledExceptionRes\");\nvar de_EC2UnexpectedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n EC2ErrorCode: import_smithy_client.expectString,\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EC2UnexpectedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EC2UnexpectedExceptionRes\");\nvar de_EFSIOExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EFSIOException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EFSIOExceptionRes\");\nvar de_EFSMountConnectivityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EFSMountConnectivityException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EFSMountConnectivityExceptionRes\");\nvar de_EFSMountFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EFSMountFailureException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EFSMountFailureExceptionRes\");\nvar de_EFSMountTimeoutExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new EFSMountTimeoutException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_EFSMountTimeoutExceptionRes\");\nvar de_ENILimitReachedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ENILimitReachedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ENILimitReachedExceptionRes\");\nvar de_InvalidCodeSignatureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidCodeSignatureException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidCodeSignatureExceptionRes\");\nvar de_InvalidParameterValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidParameterValueException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidParameterValueExceptionRes\");\nvar de_InvalidRequestContentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestContentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestContentExceptionRes\");\nvar de_InvalidRuntimeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRuntimeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRuntimeExceptionRes\");\nvar de_InvalidSecurityGroupIDExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidSecurityGroupIDException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidSecurityGroupIDExceptionRes\");\nvar de_InvalidSubnetIDExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidSubnetIDException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidSubnetIDExceptionRes\");\nvar de_InvalidZipFileExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidZipFileException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidZipFileExceptionRes\");\nvar de_KMSAccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new KMSAccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_KMSAccessDeniedExceptionRes\");\nvar de_KMSDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new KMSDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_KMSDisabledExceptionRes\");\nvar de_KMSInvalidStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new KMSInvalidStateException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_KMSInvalidStateExceptionRes\");\nvar de_KMSNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new KMSNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_KMSNotFoundExceptionRes\");\nvar de_PolicyLengthExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new PolicyLengthExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_PolicyLengthExceededExceptionRes\");\nvar de_PreconditionFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new PreconditionFailedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_PreconditionFailedExceptionRes\");\nvar de_ProvisionedConcurrencyConfigNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ProvisionedConcurrencyConfigNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ProvisionedConcurrencyConfigNotFoundExceptionRes\");\nvar de_RecursiveInvocationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new RecursiveInvocationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_RecursiveInvocationExceptionRes\");\nvar de_RequestTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new RequestTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_RequestTooLargeExceptionRes\");\nvar de_ResourceConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceConflictExceptionRes\");\nvar de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceInUseException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceInUseExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_ResourceNotReadyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotReadyException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotReadyExceptionRes\");\nvar de_ServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ServiceException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ServiceExceptionRes\");\nvar de_SnapStartExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new SnapStartException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SnapStartExceptionRes\");\nvar de_SnapStartNotReadyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new SnapStartNotReadyException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SnapStartNotReadyExceptionRes\");\nvar de_SnapStartTimeoutExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new SnapStartTimeoutException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SnapStartTimeoutExceptionRes\");\nvar de_SubnetIPAddressLimitReachedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Message: import_smithy_client.expectString,\n Type: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new SubnetIPAddressLimitReachedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SubnetIPAddressLimitReachedExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({\n [_rAS]: [, parsedOutput.headers[_ra]]\n });\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Reason: import_smithy_client.expectString,\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnsupportedMediaTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n Type: import_smithy_client.expectString,\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedMediaTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedMediaTypeExceptionRes\");\nvar de_InvokeWithResponseStreamResponseEvent = /* @__PURE__ */ __name((output, context) => {\n return context.eventStreamMarshaller.deserialize(output, async (event) => {\n if (event[\"PayloadChunk\"] != null) {\n return {\n PayloadChunk: await de_InvokeResponseStreamUpdate_event(event[\"PayloadChunk\"], context)\n };\n }\n if (event[\"InvokeComplete\"] != null) {\n return {\n InvokeComplete: await de_InvokeWithResponseStreamCompleteEvent_event(event[\"InvokeComplete\"], context)\n };\n }\n return { $unknown: output };\n });\n}, \"de_InvokeWithResponseStreamResponseEvent\");\nvar de_InvokeResponseStreamUpdate_event = /* @__PURE__ */ __name(async (output, context) => {\n const contents = {};\n contents.Payload = output.body;\n return contents;\n}, \"de_InvokeResponseStreamUpdate_event\");\nvar de_InvokeWithResponseStreamCompleteEvent_event = /* @__PURE__ */ __name(async (output, context) => {\n const contents = {};\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n Object.assign(contents, (0, import_smithy_client._json)(data));\n return contents;\n}, \"de_InvokeWithResponseStreamCompleteEvent_event\");\nvar se_AdditionalVersionWeights = /* @__PURE__ */ __name((input, context) => {\n return Object.entries(input).reduce((acc, [key, value]) => {\n if (value === null) {\n return acc;\n }\n acc[key] = (0, import_smithy_client.serializeFloat)(value);\n return acc;\n }, {});\n}, \"se_AdditionalVersionWeights\");\nvar se_AliasRoutingConfiguration = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AdditionalVersionWeights: /* @__PURE__ */ __name((_) => se_AdditionalVersionWeights(_, context), \"AdditionalVersionWeights\")\n });\n}, \"se_AliasRoutingConfiguration\");\nvar se_FunctionCode = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ImageUri: [],\n S3Bucket: [],\n S3Key: [],\n S3ObjectVersion: [],\n SourceKMSKeyArn: [],\n ZipFile: context.base64Encoder\n });\n}, \"se_FunctionCode\");\nvar se_LayerVersionContentInput = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n S3Bucket: [],\n S3Key: [],\n S3ObjectVersion: [],\n ZipFile: context.base64Encoder\n });\n}, \"se_LayerVersionContentInput\");\nvar de_AdditionalVersionWeights = /* @__PURE__ */ __name((output, context) => {\n return Object.entries(output).reduce((acc, [key, value]) => {\n if (value === null) {\n return acc;\n }\n acc[key] = (0, import_smithy_client.limitedParseDouble)(value);\n return acc;\n }, {});\n}, \"de_AdditionalVersionWeights\");\nvar de_AliasConfiguration = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AliasArn: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n FunctionVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n RevisionId: import_smithy_client.expectString,\n RoutingConfig: /* @__PURE__ */ __name((_) => de_AliasRoutingConfiguration(_, context), \"RoutingConfig\")\n });\n}, \"de_AliasConfiguration\");\nvar de_AliasList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AliasConfiguration(entry, context);\n });\n return retVal;\n}, \"de_AliasList\");\nvar de_AliasRoutingConfiguration = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AdditionalVersionWeights: /* @__PURE__ */ __name((_) => de_AdditionalVersionWeights(_, context), \"AdditionalVersionWeights\")\n });\n}, \"de_AliasRoutingConfiguration\");\nvar de_EventSourceMappingConfiguration = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AmazonManagedKafkaEventSourceConfig: import_smithy_client._json,\n BatchSize: import_smithy_client.expectInt32,\n BisectBatchOnFunctionError: import_smithy_client.expectBoolean,\n DestinationConfig: import_smithy_client._json,\n DocumentDBEventSourceConfig: import_smithy_client._json,\n EventSourceArn: import_smithy_client.expectString,\n EventSourceMappingArn: import_smithy_client.expectString,\n FilterCriteria: import_smithy_client._json,\n FilterCriteriaError: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n FunctionResponseTypes: import_smithy_client._json,\n KMSKeyArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n LastProcessingResult: import_smithy_client.expectString,\n MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,\n MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32,\n MetricsConfig: import_smithy_client._json,\n ParallelizationFactor: import_smithy_client.expectInt32,\n ProvisionedPollerConfig: import_smithy_client._json,\n Queues: import_smithy_client._json,\n ScalingConfig: import_smithy_client._json,\n SelfManagedEventSource: import_smithy_client._json,\n SelfManagedKafkaEventSourceConfig: import_smithy_client._json,\n SourceAccessConfigurations: import_smithy_client._json,\n StartingPosition: import_smithy_client.expectString,\n StartingPositionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartingPositionTimestamp\"),\n State: import_smithy_client.expectString,\n StateTransitionReason: import_smithy_client.expectString,\n Topics: import_smithy_client._json,\n TumblingWindowInSeconds: import_smithy_client.expectInt32,\n UUID: import_smithy_client.expectString\n });\n}, \"de_EventSourceMappingConfiguration\");\nvar de_EventSourceMappingsList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_EventSourceMappingConfiguration(entry, context);\n });\n return retVal;\n}, \"de_EventSourceMappingsList\");\nvar de_FunctionEventInvokeConfig = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DestinationConfig: import_smithy_client._json,\n FunctionArn: import_smithy_client.expectString,\n LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModified\"),\n MaximumEventAgeInSeconds: import_smithy_client.expectInt32,\n MaximumRetryAttempts: import_smithy_client.expectInt32\n });\n}, \"de_FunctionEventInvokeConfig\");\nvar de_FunctionEventInvokeConfigList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_FunctionEventInvokeConfig(entry, context);\n });\n return retVal;\n}, \"de_FunctionEventInvokeConfigList\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _A = \"Arn\";\nvar _CA = \"CompatibleArchitecture\";\nvar _CC = \"ClientContext\";\nvar _CR = \"CompatibleRuntime\";\nvar _ESA = \"EventSourceArn\";\nvar _EV = \"ExecutedVersion\";\nvar _FE = \"FunctionError\";\nvar _FN = \"FunctionName\";\nvar _FV = \"FunctionVersion\";\nvar _IT = \"InvocationType\";\nvar _L = \"List\";\nvar _LR = \"LogResult\";\nvar _LT = \"LogType\";\nvar _M = \"Marker\";\nvar _MI = \"MaxItems\";\nvar _MR = \"MasterRegion\";\nvar _Q = \"Qualifier\";\nvar _RI = \"RevisionId\";\nvar _RSCT = \"ResponseStreamContentType\";\nvar _TK = \"TagKeys\";\nvar _ct = \"content-type\";\nvar _f = \"find\";\nvar _rAS = \"retryAfterSeconds\";\nvar _ra = \"retry-after\";\nvar _tK = \"tagKeys\";\nvar _xacc = \"x-amz-client-context\";\nvar _xaev = \"x-amz-executed-version\";\nvar _xafe = \"x-amz-function-error\";\nvar _xait = \"x-amz-invocation-type\";\nvar _xalr = \"x-amz-log-result\";\nvar _xalt = \"x-amz-log-type\";\n\n// src/commands/AddLayerVersionPermissionCommand.ts\nvar AddLayerVersionPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"AddLayerVersionPermission\", {}).n(\"LambdaClient\", \"AddLayerVersionPermissionCommand\").f(void 0, void 0).ser(se_AddLayerVersionPermissionCommand).de(de_AddLayerVersionPermissionCommand).build() {\n static {\n __name(this, \"AddLayerVersionPermissionCommand\");\n }\n};\n\n// src/commands/AddPermissionCommand.ts\n\n\n\nvar AddPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"AddPermission\", {}).n(\"LambdaClient\", \"AddPermissionCommand\").f(void 0, void 0).ser(se_AddPermissionCommand).de(de_AddPermissionCommand).build() {\n static {\n __name(this, \"AddPermissionCommand\");\n }\n};\n\n// src/commands/CreateAliasCommand.ts\n\n\n\nvar CreateAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"CreateAlias\", {}).n(\"LambdaClient\", \"CreateAliasCommand\").f(void 0, void 0).ser(se_CreateAliasCommand).de(de_CreateAliasCommand).build() {\n static {\n __name(this, \"CreateAliasCommand\");\n }\n};\n\n// src/commands/CreateCodeSigningConfigCommand.ts\n\n\n\nvar CreateCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"CreateCodeSigningConfig\", {}).n(\"LambdaClient\", \"CreateCodeSigningConfigCommand\").f(void 0, void 0).ser(se_CreateCodeSigningConfigCommand).de(de_CreateCodeSigningConfigCommand).build() {\n static {\n __name(this, \"CreateCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/CreateEventSourceMappingCommand.ts\n\n\n\nvar CreateEventSourceMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"CreateEventSourceMapping\", {}).n(\"LambdaClient\", \"CreateEventSourceMappingCommand\").f(void 0, void 0).ser(se_CreateEventSourceMappingCommand).de(de_CreateEventSourceMappingCommand).build() {\n static {\n __name(this, \"CreateEventSourceMappingCommand\");\n }\n};\n\n// src/commands/CreateFunctionCommand.ts\n\n\n\nvar CreateFunctionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"CreateFunction\", {}).n(\"LambdaClient\", \"CreateFunctionCommand\").f(CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog).ser(se_CreateFunctionCommand).de(de_CreateFunctionCommand).build() {\n static {\n __name(this, \"CreateFunctionCommand\");\n }\n};\n\n// src/commands/CreateFunctionUrlConfigCommand.ts\n\n\n\nvar CreateFunctionUrlConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"CreateFunctionUrlConfig\", {}).n(\"LambdaClient\", \"CreateFunctionUrlConfigCommand\").f(void 0, void 0).ser(se_CreateFunctionUrlConfigCommand).de(de_CreateFunctionUrlConfigCommand).build() {\n static {\n __name(this, \"CreateFunctionUrlConfigCommand\");\n }\n};\n\n// src/commands/DeleteAliasCommand.ts\n\n\n\nvar DeleteAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteAlias\", {}).n(\"LambdaClient\", \"DeleteAliasCommand\").f(void 0, void 0).ser(se_DeleteAliasCommand).de(de_DeleteAliasCommand).build() {\n static {\n __name(this, \"DeleteAliasCommand\");\n }\n};\n\n// src/commands/DeleteCodeSigningConfigCommand.ts\n\n\n\nvar DeleteCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteCodeSigningConfig\", {}).n(\"LambdaClient\", \"DeleteCodeSigningConfigCommand\").f(void 0, void 0).ser(se_DeleteCodeSigningConfigCommand).de(de_DeleteCodeSigningConfigCommand).build() {\n static {\n __name(this, \"DeleteCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/DeleteEventSourceMappingCommand.ts\n\n\n\nvar DeleteEventSourceMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteEventSourceMapping\", {}).n(\"LambdaClient\", \"DeleteEventSourceMappingCommand\").f(void 0, void 0).ser(se_DeleteEventSourceMappingCommand).de(de_DeleteEventSourceMappingCommand).build() {\n static {\n __name(this, \"DeleteEventSourceMappingCommand\");\n }\n};\n\n// src/commands/DeleteFunctionCodeSigningConfigCommand.ts\n\n\n\nvar DeleteFunctionCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteFunctionCodeSigningConfig\", {}).n(\"LambdaClient\", \"DeleteFunctionCodeSigningConfigCommand\").f(void 0, void 0).ser(se_DeleteFunctionCodeSigningConfigCommand).de(de_DeleteFunctionCodeSigningConfigCommand).build() {\n static {\n __name(this, \"DeleteFunctionCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/DeleteFunctionCommand.ts\n\n\n\nvar DeleteFunctionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteFunction\", {}).n(\"LambdaClient\", \"DeleteFunctionCommand\").f(void 0, void 0).ser(se_DeleteFunctionCommand).de(de_DeleteFunctionCommand).build() {\n static {\n __name(this, \"DeleteFunctionCommand\");\n }\n};\n\n// src/commands/DeleteFunctionConcurrencyCommand.ts\n\n\n\nvar DeleteFunctionConcurrencyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteFunctionConcurrency\", {}).n(\"LambdaClient\", \"DeleteFunctionConcurrencyCommand\").f(void 0, void 0).ser(se_DeleteFunctionConcurrencyCommand).de(de_DeleteFunctionConcurrencyCommand).build() {\n static {\n __name(this, \"DeleteFunctionConcurrencyCommand\");\n }\n};\n\n// src/commands/DeleteFunctionEventInvokeConfigCommand.ts\n\n\n\nvar DeleteFunctionEventInvokeConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteFunctionEventInvokeConfig\", {}).n(\"LambdaClient\", \"DeleteFunctionEventInvokeConfigCommand\").f(void 0, void 0).ser(se_DeleteFunctionEventInvokeConfigCommand).de(de_DeleteFunctionEventInvokeConfigCommand).build() {\n static {\n __name(this, \"DeleteFunctionEventInvokeConfigCommand\");\n }\n};\n\n// src/commands/DeleteFunctionUrlConfigCommand.ts\n\n\n\nvar DeleteFunctionUrlConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteFunctionUrlConfig\", {}).n(\"LambdaClient\", \"DeleteFunctionUrlConfigCommand\").f(void 0, void 0).ser(se_DeleteFunctionUrlConfigCommand).de(de_DeleteFunctionUrlConfigCommand).build() {\n static {\n __name(this, \"DeleteFunctionUrlConfigCommand\");\n }\n};\n\n// src/commands/DeleteLayerVersionCommand.ts\n\n\n\nvar DeleteLayerVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteLayerVersion\", {}).n(\"LambdaClient\", \"DeleteLayerVersionCommand\").f(void 0, void 0).ser(se_DeleteLayerVersionCommand).de(de_DeleteLayerVersionCommand).build() {\n static {\n __name(this, \"DeleteLayerVersionCommand\");\n }\n};\n\n// src/commands/DeleteProvisionedConcurrencyConfigCommand.ts\n\n\n\nvar DeleteProvisionedConcurrencyConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"DeleteProvisionedConcurrencyConfig\", {}).n(\"LambdaClient\", \"DeleteProvisionedConcurrencyConfigCommand\").f(void 0, void 0).ser(se_DeleteProvisionedConcurrencyConfigCommand).de(de_DeleteProvisionedConcurrencyConfigCommand).build() {\n static {\n __name(this, \"DeleteProvisionedConcurrencyConfigCommand\");\n }\n};\n\n// src/commands/GetAccountSettingsCommand.ts\n\n\n\nvar GetAccountSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetAccountSettings\", {}).n(\"LambdaClient\", \"GetAccountSettingsCommand\").f(void 0, void 0).ser(se_GetAccountSettingsCommand).de(de_GetAccountSettingsCommand).build() {\n static {\n __name(this, \"GetAccountSettingsCommand\");\n }\n};\n\n// src/commands/GetAliasCommand.ts\n\n\n\nvar GetAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetAlias\", {}).n(\"LambdaClient\", \"GetAliasCommand\").f(void 0, void 0).ser(se_GetAliasCommand).de(de_GetAliasCommand).build() {\n static {\n __name(this, \"GetAliasCommand\");\n }\n};\n\n// src/commands/GetCodeSigningConfigCommand.ts\n\n\n\nvar GetCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetCodeSigningConfig\", {}).n(\"LambdaClient\", \"GetCodeSigningConfigCommand\").f(void 0, void 0).ser(se_GetCodeSigningConfigCommand).de(de_GetCodeSigningConfigCommand).build() {\n static {\n __name(this, \"GetCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/GetEventSourceMappingCommand.ts\n\n\n\nvar GetEventSourceMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetEventSourceMapping\", {}).n(\"LambdaClient\", \"GetEventSourceMappingCommand\").f(void 0, void 0).ser(se_GetEventSourceMappingCommand).de(de_GetEventSourceMappingCommand).build() {\n static {\n __name(this, \"GetEventSourceMappingCommand\");\n }\n};\n\n// src/commands/GetFunctionCodeSigningConfigCommand.ts\n\n\n\nvar GetFunctionCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionCodeSigningConfig\", {}).n(\"LambdaClient\", \"GetFunctionCodeSigningConfigCommand\").f(void 0, void 0).ser(se_GetFunctionCodeSigningConfigCommand).de(de_GetFunctionCodeSigningConfigCommand).build() {\n static {\n __name(this, \"GetFunctionCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/GetFunctionCommand.ts\n\n\n\nvar GetFunctionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunction\", {}).n(\"LambdaClient\", \"GetFunctionCommand\").f(void 0, GetFunctionResponseFilterSensitiveLog).ser(se_GetFunctionCommand).de(de_GetFunctionCommand).build() {\n static {\n __name(this, \"GetFunctionCommand\");\n }\n};\n\n// src/commands/GetFunctionConcurrencyCommand.ts\n\n\n\nvar GetFunctionConcurrencyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionConcurrency\", {}).n(\"LambdaClient\", \"GetFunctionConcurrencyCommand\").f(void 0, void 0).ser(se_GetFunctionConcurrencyCommand).de(de_GetFunctionConcurrencyCommand).build() {\n static {\n __name(this, \"GetFunctionConcurrencyCommand\");\n }\n};\n\n// src/commands/GetFunctionConfigurationCommand.ts\n\n\n\nvar GetFunctionConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionConfiguration\", {}).n(\"LambdaClient\", \"GetFunctionConfigurationCommand\").f(void 0, FunctionConfigurationFilterSensitiveLog).ser(se_GetFunctionConfigurationCommand).de(de_GetFunctionConfigurationCommand).build() {\n static {\n __name(this, \"GetFunctionConfigurationCommand\");\n }\n};\n\n// src/commands/GetFunctionEventInvokeConfigCommand.ts\n\n\n\nvar GetFunctionEventInvokeConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionEventInvokeConfig\", {}).n(\"LambdaClient\", \"GetFunctionEventInvokeConfigCommand\").f(void 0, void 0).ser(se_GetFunctionEventInvokeConfigCommand).de(de_GetFunctionEventInvokeConfigCommand).build() {\n static {\n __name(this, \"GetFunctionEventInvokeConfigCommand\");\n }\n};\n\n// src/commands/GetFunctionRecursionConfigCommand.ts\n\n\n\nvar GetFunctionRecursionConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionRecursionConfig\", {}).n(\"LambdaClient\", \"GetFunctionRecursionConfigCommand\").f(void 0, void 0).ser(se_GetFunctionRecursionConfigCommand).de(de_GetFunctionRecursionConfigCommand).build() {\n static {\n __name(this, \"GetFunctionRecursionConfigCommand\");\n }\n};\n\n// src/commands/GetFunctionUrlConfigCommand.ts\n\n\n\nvar GetFunctionUrlConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetFunctionUrlConfig\", {}).n(\"LambdaClient\", \"GetFunctionUrlConfigCommand\").f(void 0, void 0).ser(se_GetFunctionUrlConfigCommand).de(de_GetFunctionUrlConfigCommand).build() {\n static {\n __name(this, \"GetFunctionUrlConfigCommand\");\n }\n};\n\n// src/commands/GetLayerVersionByArnCommand.ts\n\n\n\nvar GetLayerVersionByArnCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetLayerVersionByArn\", {}).n(\"LambdaClient\", \"GetLayerVersionByArnCommand\").f(void 0, void 0).ser(se_GetLayerVersionByArnCommand).de(de_GetLayerVersionByArnCommand).build() {\n static {\n __name(this, \"GetLayerVersionByArnCommand\");\n }\n};\n\n// src/commands/GetLayerVersionCommand.ts\n\n\n\nvar GetLayerVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetLayerVersion\", {}).n(\"LambdaClient\", \"GetLayerVersionCommand\").f(void 0, void 0).ser(se_GetLayerVersionCommand).de(de_GetLayerVersionCommand).build() {\n static {\n __name(this, \"GetLayerVersionCommand\");\n }\n};\n\n// src/commands/GetLayerVersionPolicyCommand.ts\n\n\n\nvar GetLayerVersionPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetLayerVersionPolicy\", {}).n(\"LambdaClient\", \"GetLayerVersionPolicyCommand\").f(void 0, void 0).ser(se_GetLayerVersionPolicyCommand).de(de_GetLayerVersionPolicyCommand).build() {\n static {\n __name(this, \"GetLayerVersionPolicyCommand\");\n }\n};\n\n// src/commands/GetPolicyCommand.ts\n\n\n\nvar GetPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetPolicy\", {}).n(\"LambdaClient\", \"GetPolicyCommand\").f(void 0, void 0).ser(se_GetPolicyCommand).de(de_GetPolicyCommand).build() {\n static {\n __name(this, \"GetPolicyCommand\");\n }\n};\n\n// src/commands/GetProvisionedConcurrencyConfigCommand.ts\n\n\n\nvar GetProvisionedConcurrencyConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetProvisionedConcurrencyConfig\", {}).n(\"LambdaClient\", \"GetProvisionedConcurrencyConfigCommand\").f(void 0, void 0).ser(se_GetProvisionedConcurrencyConfigCommand).de(de_GetProvisionedConcurrencyConfigCommand).build() {\n static {\n __name(this, \"GetProvisionedConcurrencyConfigCommand\");\n }\n};\n\n// src/commands/GetRuntimeManagementConfigCommand.ts\n\n\n\nvar GetRuntimeManagementConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"GetRuntimeManagementConfig\", {}).n(\"LambdaClient\", \"GetRuntimeManagementConfigCommand\").f(void 0, void 0).ser(se_GetRuntimeManagementConfigCommand).de(de_GetRuntimeManagementConfigCommand).build() {\n static {\n __name(this, \"GetRuntimeManagementConfigCommand\");\n }\n};\n\n// src/commands/InvokeAsyncCommand.ts\n\n\n\nvar InvokeAsyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"InvokeAsync\", {}).n(\"LambdaClient\", \"InvokeAsyncCommand\").f(InvokeAsyncRequestFilterSensitiveLog, void 0).ser(se_InvokeAsyncCommand).de(de_InvokeAsyncCommand).build() {\n static {\n __name(this, \"InvokeAsyncCommand\");\n }\n};\n\n// src/commands/InvokeCommand.ts\n\n\n\nvar InvokeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"Invoke\", {}).n(\"LambdaClient\", \"InvokeCommand\").f(InvocationRequestFilterSensitiveLog, InvocationResponseFilterSensitiveLog).ser(se_InvokeCommand).de(de_InvokeCommand).build() {\n static {\n __name(this, \"InvokeCommand\");\n }\n};\n\n// src/commands/InvokeWithResponseStreamCommand.ts\n\n\n\nvar InvokeWithResponseStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"InvokeWithResponseStream\", {\n /**\n * @internal\n */\n eventStream: {\n output: true\n }\n}).n(\"LambdaClient\", \"InvokeWithResponseStreamCommand\").f(InvokeWithResponseStreamRequestFilterSensitiveLog, InvokeWithResponseStreamResponseFilterSensitiveLog).ser(se_InvokeWithResponseStreamCommand).de(de_InvokeWithResponseStreamCommand).build() {\n static {\n __name(this, \"InvokeWithResponseStreamCommand\");\n }\n};\n\n// src/commands/ListAliasesCommand.ts\n\n\n\nvar ListAliasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListAliases\", {}).n(\"LambdaClient\", \"ListAliasesCommand\").f(void 0, void 0).ser(se_ListAliasesCommand).de(de_ListAliasesCommand).build() {\n static {\n __name(this, \"ListAliasesCommand\");\n }\n};\n\n// src/commands/ListCodeSigningConfigsCommand.ts\n\n\n\nvar ListCodeSigningConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListCodeSigningConfigs\", {}).n(\"LambdaClient\", \"ListCodeSigningConfigsCommand\").f(void 0, void 0).ser(se_ListCodeSigningConfigsCommand).de(de_ListCodeSigningConfigsCommand).build() {\n static {\n __name(this, \"ListCodeSigningConfigsCommand\");\n }\n};\n\n// src/commands/ListEventSourceMappingsCommand.ts\n\n\n\nvar ListEventSourceMappingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListEventSourceMappings\", {}).n(\"LambdaClient\", \"ListEventSourceMappingsCommand\").f(void 0, void 0).ser(se_ListEventSourceMappingsCommand).de(de_ListEventSourceMappingsCommand).build() {\n static {\n __name(this, \"ListEventSourceMappingsCommand\");\n }\n};\n\n// src/commands/ListFunctionEventInvokeConfigsCommand.ts\n\n\n\nvar ListFunctionEventInvokeConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListFunctionEventInvokeConfigs\", {}).n(\"LambdaClient\", \"ListFunctionEventInvokeConfigsCommand\").f(void 0, void 0).ser(se_ListFunctionEventInvokeConfigsCommand).de(de_ListFunctionEventInvokeConfigsCommand).build() {\n static {\n __name(this, \"ListFunctionEventInvokeConfigsCommand\");\n }\n};\n\n// src/commands/ListFunctionsByCodeSigningConfigCommand.ts\n\n\n\nvar ListFunctionsByCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListFunctionsByCodeSigningConfig\", {}).n(\"LambdaClient\", \"ListFunctionsByCodeSigningConfigCommand\").f(void 0, void 0).ser(se_ListFunctionsByCodeSigningConfigCommand).de(de_ListFunctionsByCodeSigningConfigCommand).build() {\n static {\n __name(this, \"ListFunctionsByCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/ListFunctionsCommand.ts\n\n\n\nvar ListFunctionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListFunctions\", {}).n(\"LambdaClient\", \"ListFunctionsCommand\").f(void 0, ListFunctionsResponseFilterSensitiveLog).ser(se_ListFunctionsCommand).de(de_ListFunctionsCommand).build() {\n static {\n __name(this, \"ListFunctionsCommand\");\n }\n};\n\n// src/commands/ListFunctionUrlConfigsCommand.ts\n\n\n\nvar ListFunctionUrlConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListFunctionUrlConfigs\", {}).n(\"LambdaClient\", \"ListFunctionUrlConfigsCommand\").f(void 0, void 0).ser(se_ListFunctionUrlConfigsCommand).de(de_ListFunctionUrlConfigsCommand).build() {\n static {\n __name(this, \"ListFunctionUrlConfigsCommand\");\n }\n};\n\n// src/commands/ListLayersCommand.ts\n\n\n\nvar ListLayersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListLayers\", {}).n(\"LambdaClient\", \"ListLayersCommand\").f(void 0, void 0).ser(se_ListLayersCommand).de(de_ListLayersCommand).build() {\n static {\n __name(this, \"ListLayersCommand\");\n }\n};\n\n// src/commands/ListLayerVersionsCommand.ts\n\n\n\nvar ListLayerVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListLayerVersions\", {}).n(\"LambdaClient\", \"ListLayerVersionsCommand\").f(void 0, void 0).ser(se_ListLayerVersionsCommand).de(de_ListLayerVersionsCommand).build() {\n static {\n __name(this, \"ListLayerVersionsCommand\");\n }\n};\n\n// src/commands/ListProvisionedConcurrencyConfigsCommand.ts\n\n\n\nvar ListProvisionedConcurrencyConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListProvisionedConcurrencyConfigs\", {}).n(\"LambdaClient\", \"ListProvisionedConcurrencyConfigsCommand\").f(void 0, void 0).ser(se_ListProvisionedConcurrencyConfigsCommand).de(de_ListProvisionedConcurrencyConfigsCommand).build() {\n static {\n __name(this, \"ListProvisionedConcurrencyConfigsCommand\");\n }\n};\n\n// src/commands/ListTagsCommand.ts\n\n\n\nvar ListTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListTags\", {}).n(\"LambdaClient\", \"ListTagsCommand\").f(void 0, void 0).ser(se_ListTagsCommand).de(de_ListTagsCommand).build() {\n static {\n __name(this, \"ListTagsCommand\");\n }\n};\n\n// src/commands/ListVersionsByFunctionCommand.ts\n\n\n\nvar ListVersionsByFunctionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"ListVersionsByFunction\", {}).n(\"LambdaClient\", \"ListVersionsByFunctionCommand\").f(void 0, ListVersionsByFunctionResponseFilterSensitiveLog).ser(se_ListVersionsByFunctionCommand).de(de_ListVersionsByFunctionCommand).build() {\n static {\n __name(this, \"ListVersionsByFunctionCommand\");\n }\n};\n\n// src/commands/PublishLayerVersionCommand.ts\n\n\n\nvar PublishLayerVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PublishLayerVersion\", {}).n(\"LambdaClient\", \"PublishLayerVersionCommand\").f(PublishLayerVersionRequestFilterSensitiveLog, void 0).ser(se_PublishLayerVersionCommand).de(de_PublishLayerVersionCommand).build() {\n static {\n __name(this, \"PublishLayerVersionCommand\");\n }\n};\n\n// src/commands/PublishVersionCommand.ts\n\n\n\nvar PublishVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PublishVersion\", {}).n(\"LambdaClient\", \"PublishVersionCommand\").f(void 0, FunctionConfigurationFilterSensitiveLog).ser(se_PublishVersionCommand).de(de_PublishVersionCommand).build() {\n static {\n __name(this, \"PublishVersionCommand\");\n }\n};\n\n// src/commands/PutFunctionCodeSigningConfigCommand.ts\n\n\n\nvar PutFunctionCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutFunctionCodeSigningConfig\", {}).n(\"LambdaClient\", \"PutFunctionCodeSigningConfigCommand\").f(void 0, void 0).ser(se_PutFunctionCodeSigningConfigCommand).de(de_PutFunctionCodeSigningConfigCommand).build() {\n static {\n __name(this, \"PutFunctionCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/PutFunctionConcurrencyCommand.ts\n\n\n\nvar PutFunctionConcurrencyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutFunctionConcurrency\", {}).n(\"LambdaClient\", \"PutFunctionConcurrencyCommand\").f(void 0, void 0).ser(se_PutFunctionConcurrencyCommand).de(de_PutFunctionConcurrencyCommand).build() {\n static {\n __name(this, \"PutFunctionConcurrencyCommand\");\n }\n};\n\n// src/commands/PutFunctionEventInvokeConfigCommand.ts\n\n\n\nvar PutFunctionEventInvokeConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutFunctionEventInvokeConfig\", {}).n(\"LambdaClient\", \"PutFunctionEventInvokeConfigCommand\").f(void 0, void 0).ser(se_PutFunctionEventInvokeConfigCommand).de(de_PutFunctionEventInvokeConfigCommand).build() {\n static {\n __name(this, \"PutFunctionEventInvokeConfigCommand\");\n }\n};\n\n// src/commands/PutFunctionRecursionConfigCommand.ts\n\n\n\nvar PutFunctionRecursionConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutFunctionRecursionConfig\", {}).n(\"LambdaClient\", \"PutFunctionRecursionConfigCommand\").f(void 0, void 0).ser(se_PutFunctionRecursionConfigCommand).de(de_PutFunctionRecursionConfigCommand).build() {\n static {\n __name(this, \"PutFunctionRecursionConfigCommand\");\n }\n};\n\n// src/commands/PutProvisionedConcurrencyConfigCommand.ts\n\n\n\nvar PutProvisionedConcurrencyConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutProvisionedConcurrencyConfig\", {}).n(\"LambdaClient\", \"PutProvisionedConcurrencyConfigCommand\").f(void 0, void 0).ser(se_PutProvisionedConcurrencyConfigCommand).de(de_PutProvisionedConcurrencyConfigCommand).build() {\n static {\n __name(this, \"PutProvisionedConcurrencyConfigCommand\");\n }\n};\n\n// src/commands/PutRuntimeManagementConfigCommand.ts\n\n\n\nvar PutRuntimeManagementConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"PutRuntimeManagementConfig\", {}).n(\"LambdaClient\", \"PutRuntimeManagementConfigCommand\").f(void 0, void 0).ser(se_PutRuntimeManagementConfigCommand).de(de_PutRuntimeManagementConfigCommand).build() {\n static {\n __name(this, \"PutRuntimeManagementConfigCommand\");\n }\n};\n\n// src/commands/RemoveLayerVersionPermissionCommand.ts\n\n\n\nvar RemoveLayerVersionPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"RemoveLayerVersionPermission\", {}).n(\"LambdaClient\", \"RemoveLayerVersionPermissionCommand\").f(void 0, void 0).ser(se_RemoveLayerVersionPermissionCommand).de(de_RemoveLayerVersionPermissionCommand).build() {\n static {\n __name(this, \"RemoveLayerVersionPermissionCommand\");\n }\n};\n\n// src/commands/RemovePermissionCommand.ts\n\n\n\nvar RemovePermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"RemovePermission\", {}).n(\"LambdaClient\", \"RemovePermissionCommand\").f(void 0, void 0).ser(se_RemovePermissionCommand).de(de_RemovePermissionCommand).build() {\n static {\n __name(this, \"RemovePermissionCommand\");\n }\n};\n\n// src/commands/TagResourceCommand.ts\n\n\n\nvar TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"TagResource\", {}).n(\"LambdaClient\", \"TagResourceCommand\").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {\n static {\n __name(this, \"TagResourceCommand\");\n }\n};\n\n// src/commands/UntagResourceCommand.ts\n\n\n\nvar UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UntagResource\", {}).n(\"LambdaClient\", \"UntagResourceCommand\").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {\n static {\n __name(this, \"UntagResourceCommand\");\n }\n};\n\n// src/commands/UpdateAliasCommand.ts\n\n\n\nvar UpdateAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateAlias\", {}).n(\"LambdaClient\", \"UpdateAliasCommand\").f(void 0, void 0).ser(se_UpdateAliasCommand).de(de_UpdateAliasCommand).build() {\n static {\n __name(this, \"UpdateAliasCommand\");\n }\n};\n\n// src/commands/UpdateCodeSigningConfigCommand.ts\n\n\n\nvar UpdateCodeSigningConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateCodeSigningConfig\", {}).n(\"LambdaClient\", \"UpdateCodeSigningConfigCommand\").f(void 0, void 0).ser(se_UpdateCodeSigningConfigCommand).de(de_UpdateCodeSigningConfigCommand).build() {\n static {\n __name(this, \"UpdateCodeSigningConfigCommand\");\n }\n};\n\n// src/commands/UpdateEventSourceMappingCommand.ts\n\n\n\nvar UpdateEventSourceMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateEventSourceMapping\", {}).n(\"LambdaClient\", \"UpdateEventSourceMappingCommand\").f(void 0, void 0).ser(se_UpdateEventSourceMappingCommand).de(de_UpdateEventSourceMappingCommand).build() {\n static {\n __name(this, \"UpdateEventSourceMappingCommand\");\n }\n};\n\n// src/commands/UpdateFunctionCodeCommand.ts\n\n\n\nvar UpdateFunctionCodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateFunctionCode\", {}).n(\"LambdaClient\", \"UpdateFunctionCodeCommand\").f(UpdateFunctionCodeRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog).ser(se_UpdateFunctionCodeCommand).de(de_UpdateFunctionCodeCommand).build() {\n static {\n __name(this, \"UpdateFunctionCodeCommand\");\n }\n};\n\n// src/commands/UpdateFunctionConfigurationCommand.ts\n\n\n\nvar UpdateFunctionConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateFunctionConfiguration\", {}).n(\"LambdaClient\", \"UpdateFunctionConfigurationCommand\").f(UpdateFunctionConfigurationRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog).ser(se_UpdateFunctionConfigurationCommand).de(de_UpdateFunctionConfigurationCommand).build() {\n static {\n __name(this, \"UpdateFunctionConfigurationCommand\");\n }\n};\n\n// src/commands/UpdateFunctionEventInvokeConfigCommand.ts\n\n\n\nvar UpdateFunctionEventInvokeConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateFunctionEventInvokeConfig\", {}).n(\"LambdaClient\", \"UpdateFunctionEventInvokeConfigCommand\").f(void 0, void 0).ser(se_UpdateFunctionEventInvokeConfigCommand).de(de_UpdateFunctionEventInvokeConfigCommand).build() {\n static {\n __name(this, \"UpdateFunctionEventInvokeConfigCommand\");\n }\n};\n\n// src/commands/UpdateFunctionUrlConfigCommand.ts\n\n\n\nvar UpdateFunctionUrlConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSGirApiService\", \"UpdateFunctionUrlConfig\", {}).n(\"LambdaClient\", \"UpdateFunctionUrlConfigCommand\").f(void 0, void 0).ser(se_UpdateFunctionUrlConfigCommand).de(de_UpdateFunctionUrlConfigCommand).build() {\n static {\n __name(this, \"UpdateFunctionUrlConfigCommand\");\n }\n};\n\n// src/Lambda.ts\nvar commands = {\n AddLayerVersionPermissionCommand,\n AddPermissionCommand,\n CreateAliasCommand,\n CreateCodeSigningConfigCommand,\n CreateEventSourceMappingCommand,\n CreateFunctionCommand,\n CreateFunctionUrlConfigCommand,\n DeleteAliasCommand,\n DeleteCodeSigningConfigCommand,\n DeleteEventSourceMappingCommand,\n DeleteFunctionCommand,\n DeleteFunctionCodeSigningConfigCommand,\n DeleteFunctionConcurrencyCommand,\n DeleteFunctionEventInvokeConfigCommand,\n DeleteFunctionUrlConfigCommand,\n DeleteLayerVersionCommand,\n DeleteProvisionedConcurrencyConfigCommand,\n GetAccountSettingsCommand,\n GetAliasCommand,\n GetCodeSigningConfigCommand,\n GetEventSourceMappingCommand,\n GetFunctionCommand,\n GetFunctionCodeSigningConfigCommand,\n GetFunctionConcurrencyCommand,\n GetFunctionConfigurationCommand,\n GetFunctionEventInvokeConfigCommand,\n GetFunctionRecursionConfigCommand,\n GetFunctionUrlConfigCommand,\n GetLayerVersionCommand,\n GetLayerVersionByArnCommand,\n GetLayerVersionPolicyCommand,\n GetPolicyCommand,\n GetProvisionedConcurrencyConfigCommand,\n GetRuntimeManagementConfigCommand,\n InvokeCommand,\n InvokeAsyncCommand,\n InvokeWithResponseStreamCommand,\n ListAliasesCommand,\n ListCodeSigningConfigsCommand,\n ListEventSourceMappingsCommand,\n ListFunctionEventInvokeConfigsCommand,\n ListFunctionsCommand,\n ListFunctionsByCodeSigningConfigCommand,\n ListFunctionUrlConfigsCommand,\n ListLayersCommand,\n ListLayerVersionsCommand,\n ListProvisionedConcurrencyConfigsCommand,\n ListTagsCommand,\n ListVersionsByFunctionCommand,\n PublishLayerVersionCommand,\n PublishVersionCommand,\n PutFunctionCodeSigningConfigCommand,\n PutFunctionConcurrencyCommand,\n PutFunctionEventInvokeConfigCommand,\n PutFunctionRecursionConfigCommand,\n PutProvisionedConcurrencyConfigCommand,\n PutRuntimeManagementConfigCommand,\n RemoveLayerVersionPermissionCommand,\n RemovePermissionCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdateAliasCommand,\n UpdateCodeSigningConfigCommand,\n UpdateEventSourceMappingCommand,\n UpdateFunctionCodeCommand,\n UpdateFunctionConfigurationCommand,\n UpdateFunctionEventInvokeConfigCommand,\n UpdateFunctionUrlConfigCommand\n};\nvar Lambda = class extends LambdaClient {\n static {\n __name(this, \"Lambda\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, Lambda);\n\n// src/pagination/ListAliasesPaginator.ts\n\nvar paginateListAliases = (0, import_core.createPaginator)(LambdaClient, ListAliasesCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListCodeSigningConfigsPaginator.ts\n\nvar paginateListCodeSigningConfigs = (0, import_core.createPaginator)(LambdaClient, ListCodeSigningConfigsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListEventSourceMappingsPaginator.ts\n\nvar paginateListEventSourceMappings = (0, import_core.createPaginator)(LambdaClient, ListEventSourceMappingsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListFunctionEventInvokeConfigsPaginator.ts\n\nvar paginateListFunctionEventInvokeConfigs = (0, import_core.createPaginator)(LambdaClient, ListFunctionEventInvokeConfigsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListFunctionUrlConfigsPaginator.ts\n\nvar paginateListFunctionUrlConfigs = (0, import_core.createPaginator)(LambdaClient, ListFunctionUrlConfigsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListFunctionsByCodeSigningConfigPaginator.ts\n\nvar paginateListFunctionsByCodeSigningConfig = (0, import_core.createPaginator)(LambdaClient, ListFunctionsByCodeSigningConfigCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListFunctionsPaginator.ts\n\nvar paginateListFunctions = (0, import_core.createPaginator)(LambdaClient, ListFunctionsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListLayerVersionsPaginator.ts\n\nvar paginateListLayerVersions = (0, import_core.createPaginator)(LambdaClient, ListLayerVersionsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListLayersPaginator.ts\n\nvar paginateListLayers = (0, import_core.createPaginator)(LambdaClient, ListLayersCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListProvisionedConcurrencyConfigsPaginator.ts\n\nvar paginateListProvisionedConcurrencyConfigs = (0, import_core.createPaginator)(LambdaClient, ListProvisionedConcurrencyConfigsCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListVersionsByFunctionPaginator.ts\n\nvar paginateListVersionsByFunction = (0, import_core.createPaginator)(LambdaClient, ListVersionsByFunctionCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/waiters/waitForFunctionActive.ts\nvar import_util_waiter = require(\"@smithy/util-waiter\");\nvar checkState = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionConfigurationCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Active\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Pending\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForFunctionActive = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n}, \"waitForFunctionActive\");\nvar waitUntilFunctionActive = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilFunctionActive\");\n\n// src/waiters/waitForFunctionActiveV2.ts\n\nvar checkState2 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Active\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Pending\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForFunctionActiveV2 = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n}, \"waitForFunctionActiveV2\");\nvar waitUntilFunctionActiveV2 = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilFunctionActiveV2\");\n\n// src/waiters/waitForFunctionExists.ts\n\nvar checkState3 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionCommand(input));\n reason = result;\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"ResourceNotFoundException\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForFunctionExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);\n}, \"waitForFunctionExists\");\nvar waitUntilFunctionExists = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilFunctionExists\");\n\n// src/waiters/waitForFunctionUpdated.ts\n\nvar checkState4 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionConfigurationCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"Successful\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"InProgress\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForFunctionUpdated = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);\n}, \"waitForFunctionUpdated\");\nvar waitUntilFunctionUpdated = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilFunctionUpdated\");\n\n// src/waiters/waitForFunctionUpdatedV2.ts\n\nvar checkState5 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"Successful\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Configuration.LastUpdateStatus;\n }, \"returnComparator\");\n if (returnComparator() === \"InProgress\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForFunctionUpdatedV2 = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);\n}, \"waitForFunctionUpdatedV2\");\nvar waitUntilFunctionUpdatedV2 = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 1, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilFunctionUpdatedV2\");\n\n// src/waiters/waitForPublishedVersionActive.ts\n\nvar checkState6 = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetFunctionConfigurationCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Active\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.State;\n }, \"returnComparator\");\n if (returnComparator() === \"Pending\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForPublishedVersionActive = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);\n}, \"waitForPublishedVersionActive\");\nvar waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilPublishedVersionActive\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n LambdaServiceException,\n __Client,\n LambdaClient,\n Lambda,\n $Command,\n AddLayerVersionPermissionCommand,\n AddPermissionCommand,\n CreateAliasCommand,\n CreateCodeSigningConfigCommand,\n CreateEventSourceMappingCommand,\n CreateFunctionCommand,\n CreateFunctionUrlConfigCommand,\n DeleteAliasCommand,\n DeleteCodeSigningConfigCommand,\n DeleteEventSourceMappingCommand,\n DeleteFunctionCodeSigningConfigCommand,\n DeleteFunctionCommand,\n DeleteFunctionConcurrencyCommand,\n DeleteFunctionEventInvokeConfigCommand,\n DeleteFunctionUrlConfigCommand,\n DeleteLayerVersionCommand,\n DeleteProvisionedConcurrencyConfigCommand,\n GetAccountSettingsCommand,\n GetAliasCommand,\n GetCodeSigningConfigCommand,\n GetEventSourceMappingCommand,\n GetFunctionCodeSigningConfigCommand,\n GetFunctionCommand,\n GetFunctionConcurrencyCommand,\n GetFunctionConfigurationCommand,\n GetFunctionEventInvokeConfigCommand,\n GetFunctionRecursionConfigCommand,\n GetFunctionUrlConfigCommand,\n GetLayerVersionByArnCommand,\n GetLayerVersionCommand,\n GetLayerVersionPolicyCommand,\n GetPolicyCommand,\n GetProvisionedConcurrencyConfigCommand,\n GetRuntimeManagementConfigCommand,\n InvokeAsyncCommand,\n InvokeCommand,\n InvokeWithResponseStreamCommand,\n ListAliasesCommand,\n ListCodeSigningConfigsCommand,\n ListEventSourceMappingsCommand,\n ListFunctionEventInvokeConfigsCommand,\n ListFunctionUrlConfigsCommand,\n ListFunctionsByCodeSigningConfigCommand,\n ListFunctionsCommand,\n ListLayerVersionsCommand,\n ListLayersCommand,\n ListProvisionedConcurrencyConfigsCommand,\n ListTagsCommand,\n ListVersionsByFunctionCommand,\n PublishLayerVersionCommand,\n PublishVersionCommand,\n PutFunctionCodeSigningConfigCommand,\n PutFunctionConcurrencyCommand,\n PutFunctionEventInvokeConfigCommand,\n PutFunctionRecursionConfigCommand,\n PutProvisionedConcurrencyConfigCommand,\n PutRuntimeManagementConfigCommand,\n RemoveLayerVersionPermissionCommand,\n RemovePermissionCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdateAliasCommand,\n UpdateCodeSigningConfigCommand,\n UpdateEventSourceMappingCommand,\n UpdateFunctionCodeCommand,\n UpdateFunctionConfigurationCommand,\n UpdateFunctionEventInvokeConfigCommand,\n UpdateFunctionUrlConfigCommand,\n paginateListAliases,\n paginateListCodeSigningConfigs,\n paginateListEventSourceMappings,\n paginateListFunctionEventInvokeConfigs,\n paginateListFunctionUrlConfigs,\n paginateListFunctionsByCodeSigningConfig,\n paginateListFunctions,\n paginateListLayerVersions,\n paginateListLayers,\n paginateListProvisionedConcurrencyConfigs,\n paginateListVersionsByFunction,\n waitForFunctionActive,\n waitUntilFunctionActive,\n waitForFunctionActiveV2,\n waitUntilFunctionActiveV2,\n waitForFunctionExists,\n waitUntilFunctionExists,\n waitForFunctionUpdated,\n waitUntilFunctionUpdated,\n waitForFunctionUpdatedV2,\n waitUntilFunctionUpdatedV2,\n waitForPublishedVersionActive,\n waitUntilPublishedVersionActive,\n InvalidParameterValueException,\n PolicyLengthExceededException,\n PreconditionFailedException,\n ResourceConflictException,\n ResourceNotFoundException,\n ServiceException,\n ThrottleReason,\n TooManyRequestsException,\n FunctionUrlAuthType,\n ApplicationLogLevel,\n Architecture,\n CodeSigningPolicy,\n FullDocument,\n FunctionResponseType,\n EventSourceMappingMetric,\n EndPointType,\n SourceAccessType,\n EventSourcePosition,\n CodeSigningConfigNotFoundException,\n CodeStorageExceededException,\n CodeVerificationFailedException,\n LogFormat,\n SystemLogLevel,\n PackageType,\n Runtime,\n SnapStartApplyOn,\n TracingMode,\n LastUpdateStatus,\n LastUpdateStatusReasonCode,\n SnapStartOptimizationStatus,\n State,\n StateReasonCode,\n InvalidCodeSignatureException,\n InvokeMode,\n ResourceInUseException,\n RecursiveLoop,\n ProvisionedConcurrencyStatusEnum,\n ProvisionedConcurrencyConfigNotFoundException,\n UpdateRuntimeOn,\n EC2AccessDeniedException,\n EC2ThrottledException,\n EC2UnexpectedException,\n EFSIOException,\n EFSMountConnectivityException,\n EFSMountFailureException,\n EFSMountTimeoutException,\n ENILimitReachedException,\n InvalidRequestContentException,\n InvalidRuntimeException,\n InvalidSecurityGroupIDException,\n InvalidSubnetIDException,\n InvalidZipFileException,\n InvocationType,\n LogType,\n KMSAccessDeniedException,\n KMSDisabledException,\n KMSInvalidStateException,\n KMSNotFoundException,\n RecursiveInvocationException,\n RequestTooLargeException,\n ResourceNotReadyException,\n SnapStartException,\n SnapStartNotReadyException,\n SnapStartTimeoutException,\n SubnetIPAddressLimitReachedException,\n UnsupportedMediaTypeException,\n ResponseStreamingInvocationType,\n InvokeWithResponseStreamResponseEvent,\n FunctionVersion,\n FunctionCodeFilterSensitiveLog,\n EnvironmentFilterSensitiveLog,\n CreateFunctionRequestFilterSensitiveLog,\n EnvironmentErrorFilterSensitiveLog,\n EnvironmentResponseFilterSensitiveLog,\n ImageConfigErrorFilterSensitiveLog,\n ImageConfigResponseFilterSensitiveLog,\n RuntimeVersionErrorFilterSensitiveLog,\n RuntimeVersionConfigFilterSensitiveLog,\n FunctionConfigurationFilterSensitiveLog,\n GetFunctionResponseFilterSensitiveLog,\n InvocationRequestFilterSensitiveLog,\n InvocationResponseFilterSensitiveLog,\n InvokeAsyncRequestFilterSensitiveLog,\n InvokeWithResponseStreamRequestFilterSensitiveLog,\n InvokeResponseStreamUpdateFilterSensitiveLog,\n InvokeWithResponseStreamResponseEventFilterSensitiveLog,\n InvokeWithResponseStreamResponseFilterSensitiveLog,\n ListFunctionsResponseFilterSensitiveLog,\n ListVersionsByFunctionResponseFilterSensitiveLog,\n LayerVersionContentInputFilterSensitiveLog,\n PublishLayerVersionRequestFilterSensitiveLog,\n UpdateFunctionCodeRequestFilterSensitiveLog,\n UpdateFunctionConfigurationRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst eventstream_serde_node_1 = require(\"@smithy/eventstream-serde-node\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2015-03-31\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultLambdaHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"Lambda\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultRoute53HttpAuthSchemeProvider = exports.defaultRoute53HttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultRoute53HttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultRoute53HttpAuthSchemeParametersProvider = defaultRoute53HttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"route53\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultRoute53HttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultRoute53HttpAuthSchemeProvider = defaultRoute53HttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst C = \"required\", D = \"fn\", E = \"argv\", F = \"ref\", G = \"authSchemes\", H = \"signingName\", I = \"signingRegion\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"stringEquals\", i = \"sigv4\", j = \"route53\", k = { [C]: false, \"type\": \"String\" }, l = { [C]: true, \"default\": false, \"type\": \"Boolean\" }, m = { [F]: \"Endpoint\" }, n = { [D]: c, [E]: [{ [F]: \"UseFIPS\" }, true] }, o = { [D]: c, [E]: [{ [F]: \"UseDualStack\" }, true] }, p = {}, q = { [D]: h, [E]: [{ [D]: \"getAttr\", [E]: [{ [F]: g }, \"name\"] }, \"aws\"] }, r = { [D]: \"getAttr\", [E]: [{ [F]: g }, \"name\"] }, s = { [D]: c, [E]: [{ [F]: \"UseFIPS\" }, false] }, t = { [D]: c, [E]: [{ [F]: \"UseDualStack\" }, false] }, u = { [G]: [{ \"name\": i, [H]: j, [I]: \"us-east-1\" }] }, v = { [D]: h, [E]: [r, \"aws-us-gov\"] }, w = { \"url\": \"https://route53.us-gov.amazonaws.com\", \"properties\": { [G]: [{ \"name\": i, [H]: j, [I]: \"us-gov-west-1\" }] }, \"headers\": {} }, x = { [D]: \"getAttr\", [E]: [{ [F]: g }, \"supportsFIPS\"] }, y = { [D]: c, [E]: [true, { [D]: \"getAttr\", [E]: [{ [F]: g }, \"supportsDualStack\"] }] }, z = [n], A = [o], B = [{ [F]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [D]: b, [E]: [m] }], rules: [{ conditions: z, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: A, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [D]: b, [E]: B }], rules: [{ conditions: [{ [D]: \"aws.partition\", [E]: B, assign: g }], rules: [{ conditions: [q, s, t], endpoint: { url: \"https://route53.amazonaws.com\", properties: u, headers: p }, type: e }, { conditions: [q, n, t], endpoint: { url: \"https://route53-fips.amazonaws.com\", properties: u, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, \"aws-cn\"] }, s, t], endpoint: { url: \"https://route53.amazonaws.com.cn\", properties: { [G]: [{ name: i, [H]: j, [I]: \"cn-northwest-1\" }] }, headers: p }, type: e }, { conditions: [v, s, t], endpoint: w, type: e }, { conditions: [v, n, t], endpoint: w, type: e }, { conditions: [{ [D]: h, [E]: [r, \"aws-iso\"] }, s, t], endpoint: { url: \"https://route53.c2s.ic.gov\", properties: { [G]: [{ name: i, [H]: j, [I]: \"us-iso-east-1\" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, \"aws-iso-b\"] }, s, t], endpoint: { url: \"https://route53.sc2s.sgov.gov\", properties: { [G]: [{ name: i, [H]: j, [I]: \"us-isob-east-1\" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, \"aws-iso-e\"] }, s, t], endpoint: { url: \"https://route53.cloud.adc-e.uk\", properties: { [G]: [{ name: i, [H]: j, [I]: \"eu-isoe-west-1\" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, \"aws-iso-f\"] }, s, t], endpoint: { url: \"https://route53.csp.hci.ic.gov\", properties: { [G]: [{ name: i, [H]: j, [I]: \"us-isof-south-1\" }] }, headers: p }, type: e }, { conditions: [n, o], rules: [{ conditions: [{ [D]: c, [E]: [a, x] }, y], rules: [{ endpoint: { url: \"https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: p, headers: p }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: z, rules: [{ conditions: [{ [D]: c, [E]: [x, a] }], rules: [{ endpoint: { url: \"https://route53-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: p, headers: p }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: A, rules: [{ conditions: [y], rules: [{ endpoint: { url: \"https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: p, headers: p }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://route53.{Region}.{PartitionResult#dnsSuffix}\", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AccountLimitType: () => AccountLimitType,\n ActivateKeySigningKeyCommand: () => ActivateKeySigningKeyCommand,\n AssociateVPCWithHostedZoneCommand: () => AssociateVPCWithHostedZoneCommand,\n ChangeAction: () => ChangeAction,\n ChangeCidrCollectionCommand: () => ChangeCidrCollectionCommand,\n ChangeResourceRecordSetsCommand: () => ChangeResourceRecordSetsCommand,\n ChangeStatus: () => ChangeStatus,\n ChangeTagsForResourceCommand: () => ChangeTagsForResourceCommand,\n CidrBlockInUseException: () => CidrBlockInUseException,\n CidrCollectionAlreadyExistsException: () => CidrCollectionAlreadyExistsException,\n CidrCollectionChangeAction: () => CidrCollectionChangeAction,\n CidrCollectionInUseException: () => CidrCollectionInUseException,\n CidrCollectionVersionMismatchException: () => CidrCollectionVersionMismatchException,\n CloudWatchRegion: () => CloudWatchRegion,\n ComparisonOperator: () => ComparisonOperator,\n ConcurrentModification: () => ConcurrentModification,\n ConflictingDomainExists: () => ConflictingDomainExists,\n ConflictingTypes: () => ConflictingTypes,\n CreateCidrCollectionCommand: () => CreateCidrCollectionCommand,\n CreateHealthCheckCommand: () => CreateHealthCheckCommand,\n CreateHostedZoneCommand: () => CreateHostedZoneCommand,\n CreateKeySigningKeyCommand: () => CreateKeySigningKeyCommand,\n CreateQueryLoggingConfigCommand: () => CreateQueryLoggingConfigCommand,\n CreateReusableDelegationSetCommand: () => CreateReusableDelegationSetCommand,\n CreateTrafficPolicyCommand: () => CreateTrafficPolicyCommand,\n CreateTrafficPolicyInstanceCommand: () => CreateTrafficPolicyInstanceCommand,\n CreateTrafficPolicyVersionCommand: () => CreateTrafficPolicyVersionCommand,\n CreateVPCAssociationAuthorizationCommand: () => CreateVPCAssociationAuthorizationCommand,\n DNSSECNotFound: () => DNSSECNotFound,\n DeactivateKeySigningKeyCommand: () => DeactivateKeySigningKeyCommand,\n DelegationSetAlreadyCreated: () => DelegationSetAlreadyCreated,\n DelegationSetAlreadyReusable: () => DelegationSetAlreadyReusable,\n DelegationSetInUse: () => DelegationSetInUse,\n DelegationSetNotAvailable: () => DelegationSetNotAvailable,\n DelegationSetNotReusable: () => DelegationSetNotReusable,\n DeleteCidrCollectionCommand: () => DeleteCidrCollectionCommand,\n DeleteHealthCheckCommand: () => DeleteHealthCheckCommand,\n DeleteHostedZoneCommand: () => DeleteHostedZoneCommand,\n DeleteKeySigningKeyCommand: () => DeleteKeySigningKeyCommand,\n DeleteQueryLoggingConfigCommand: () => DeleteQueryLoggingConfigCommand,\n DeleteReusableDelegationSetCommand: () => DeleteReusableDelegationSetCommand,\n DeleteTrafficPolicyCommand: () => DeleteTrafficPolicyCommand,\n DeleteTrafficPolicyInstanceCommand: () => DeleteTrafficPolicyInstanceCommand,\n DeleteVPCAssociationAuthorizationCommand: () => DeleteVPCAssociationAuthorizationCommand,\n DisableHostedZoneDNSSECCommand: () => DisableHostedZoneDNSSECCommand,\n DisassociateVPCFromHostedZoneCommand: () => DisassociateVPCFromHostedZoneCommand,\n EnableHostedZoneDNSSECCommand: () => EnableHostedZoneDNSSECCommand,\n GetAccountLimitCommand: () => GetAccountLimitCommand,\n GetChangeCommand: () => GetChangeCommand,\n GetCheckerIpRangesCommand: () => GetCheckerIpRangesCommand,\n GetDNSSECCommand: () => GetDNSSECCommand,\n GetGeoLocationCommand: () => GetGeoLocationCommand,\n GetHealthCheckCommand: () => GetHealthCheckCommand,\n GetHealthCheckCountCommand: () => GetHealthCheckCountCommand,\n GetHealthCheckLastFailureReasonCommand: () => GetHealthCheckLastFailureReasonCommand,\n GetHealthCheckStatusCommand: () => GetHealthCheckStatusCommand,\n GetHostedZoneCommand: () => GetHostedZoneCommand,\n GetHostedZoneCountCommand: () => GetHostedZoneCountCommand,\n GetHostedZoneLimitCommand: () => GetHostedZoneLimitCommand,\n GetQueryLoggingConfigCommand: () => GetQueryLoggingConfigCommand,\n GetReusableDelegationSetCommand: () => GetReusableDelegationSetCommand,\n GetReusableDelegationSetLimitCommand: () => GetReusableDelegationSetLimitCommand,\n GetTrafficPolicyCommand: () => GetTrafficPolicyCommand,\n GetTrafficPolicyInstanceCommand: () => GetTrafficPolicyInstanceCommand,\n GetTrafficPolicyInstanceCountCommand: () => GetTrafficPolicyInstanceCountCommand,\n HealthCheckAlreadyExists: () => HealthCheckAlreadyExists,\n HealthCheckInUse: () => HealthCheckInUse,\n HealthCheckRegion: () => HealthCheckRegion,\n HealthCheckType: () => HealthCheckType,\n HealthCheckVersionMismatch: () => HealthCheckVersionMismatch,\n HostedZoneAlreadyExists: () => HostedZoneAlreadyExists,\n HostedZoneLimitType: () => HostedZoneLimitType,\n HostedZoneNotEmpty: () => HostedZoneNotEmpty,\n HostedZoneNotFound: () => HostedZoneNotFound,\n HostedZoneNotPrivate: () => HostedZoneNotPrivate,\n HostedZonePartiallyDelegated: () => HostedZonePartiallyDelegated,\n HostedZoneType: () => HostedZoneType,\n IncompatibleVersion: () => IncompatibleVersion,\n InsufficientCloudWatchLogsResourcePolicy: () => InsufficientCloudWatchLogsResourcePolicy,\n InsufficientDataHealthStatus: () => InsufficientDataHealthStatus,\n InvalidArgument: () => InvalidArgument,\n InvalidChangeBatch: () => InvalidChangeBatch,\n InvalidDomainName: () => InvalidDomainName,\n InvalidInput: () => InvalidInput,\n InvalidKMSArn: () => InvalidKMSArn,\n InvalidKeySigningKeyName: () => InvalidKeySigningKeyName,\n InvalidKeySigningKeyStatus: () => InvalidKeySigningKeyStatus,\n InvalidPaginationToken: () => InvalidPaginationToken,\n InvalidSigningStatus: () => InvalidSigningStatus,\n InvalidTrafficPolicyDocument: () => InvalidTrafficPolicyDocument,\n InvalidVPCId: () => InvalidVPCId,\n KeySigningKeyAlreadyExists: () => KeySigningKeyAlreadyExists,\n KeySigningKeyInParentDSRecord: () => KeySigningKeyInParentDSRecord,\n KeySigningKeyInUse: () => KeySigningKeyInUse,\n KeySigningKeyWithActiveStatusNotFound: () => KeySigningKeyWithActiveStatusNotFound,\n LastVPCAssociation: () => LastVPCAssociation,\n LimitsExceeded: () => LimitsExceeded,\n ListCidrBlocksCommand: () => ListCidrBlocksCommand,\n ListCidrCollectionsCommand: () => ListCidrCollectionsCommand,\n ListCidrLocationsCommand: () => ListCidrLocationsCommand,\n ListGeoLocationsCommand: () => ListGeoLocationsCommand,\n ListHealthChecksCommand: () => ListHealthChecksCommand,\n ListHostedZonesByNameCommand: () => ListHostedZonesByNameCommand,\n ListHostedZonesByVPCCommand: () => ListHostedZonesByVPCCommand,\n ListHostedZonesCommand: () => ListHostedZonesCommand,\n ListQueryLoggingConfigsCommand: () => ListQueryLoggingConfigsCommand,\n ListResourceRecordSetsCommand: () => ListResourceRecordSetsCommand,\n ListReusableDelegationSetsCommand: () => ListReusableDelegationSetsCommand,\n ListTagsForResourceCommand: () => ListTagsForResourceCommand,\n ListTagsForResourcesCommand: () => ListTagsForResourcesCommand,\n ListTrafficPoliciesCommand: () => ListTrafficPoliciesCommand,\n ListTrafficPolicyInstancesByHostedZoneCommand: () => ListTrafficPolicyInstancesByHostedZoneCommand,\n ListTrafficPolicyInstancesByPolicyCommand: () => ListTrafficPolicyInstancesByPolicyCommand,\n ListTrafficPolicyInstancesCommand: () => ListTrafficPolicyInstancesCommand,\n ListTrafficPolicyVersionsCommand: () => ListTrafficPolicyVersionsCommand,\n ListVPCAssociationAuthorizationsCommand: () => ListVPCAssociationAuthorizationsCommand,\n NoSuchChange: () => NoSuchChange,\n NoSuchCidrCollectionException: () => NoSuchCidrCollectionException,\n NoSuchCidrLocationException: () => NoSuchCidrLocationException,\n NoSuchCloudWatchLogsLogGroup: () => NoSuchCloudWatchLogsLogGroup,\n NoSuchDelegationSet: () => NoSuchDelegationSet,\n NoSuchGeoLocation: () => NoSuchGeoLocation,\n NoSuchHealthCheck: () => NoSuchHealthCheck,\n NoSuchHostedZone: () => NoSuchHostedZone,\n NoSuchKeySigningKey: () => NoSuchKeySigningKey,\n NoSuchQueryLoggingConfig: () => NoSuchQueryLoggingConfig,\n NoSuchTrafficPolicy: () => NoSuchTrafficPolicy,\n NoSuchTrafficPolicyInstance: () => NoSuchTrafficPolicyInstance,\n NotAuthorizedException: () => NotAuthorizedException,\n PriorRequestNotComplete: () => PriorRequestNotComplete,\n PublicZoneVPCAssociation: () => PublicZoneVPCAssociation,\n QueryLoggingConfigAlreadyExists: () => QueryLoggingConfigAlreadyExists,\n RRType: () => RRType,\n ResettableElementName: () => ResettableElementName,\n ResourceRecordSetFailover: () => ResourceRecordSetFailover,\n ResourceRecordSetRegion: () => ResourceRecordSetRegion,\n ReusableDelegationSetLimitType: () => ReusableDelegationSetLimitType,\n Route53: () => Route53,\n Route53Client: () => Route53Client,\n Route53ServiceException: () => Route53ServiceException,\n Statistic: () => Statistic,\n TagResourceType: () => TagResourceType,\n TestDNSAnswerCommand: () => TestDNSAnswerCommand,\n ThrottlingException: () => ThrottlingException,\n TooManyHealthChecks: () => TooManyHealthChecks,\n TooManyHostedZones: () => TooManyHostedZones,\n TooManyKeySigningKeys: () => TooManyKeySigningKeys,\n TooManyTrafficPolicies: () => TooManyTrafficPolicies,\n TooManyTrafficPolicyInstances: () => TooManyTrafficPolicyInstances,\n TooManyTrafficPolicyVersionsForCurrentPolicy: () => TooManyTrafficPolicyVersionsForCurrentPolicy,\n TooManyVPCAssociationAuthorizations: () => TooManyVPCAssociationAuthorizations,\n TrafficPolicyAlreadyExists: () => TrafficPolicyAlreadyExists,\n TrafficPolicyInUse: () => TrafficPolicyInUse,\n TrafficPolicyInstanceAlreadyExists: () => TrafficPolicyInstanceAlreadyExists,\n UpdateHealthCheckCommand: () => UpdateHealthCheckCommand,\n UpdateHostedZoneCommentCommand: () => UpdateHostedZoneCommentCommand,\n UpdateTrafficPolicyCommentCommand: () => UpdateTrafficPolicyCommentCommand,\n UpdateTrafficPolicyInstanceCommand: () => UpdateTrafficPolicyInstanceCommand,\n VPCAssociationAuthorizationNotFound: () => VPCAssociationAuthorizationNotFound,\n VPCAssociationNotFound: () => VPCAssociationNotFound,\n VPCRegion: () => VPCRegion,\n __Client: () => import_smithy_client.Client,\n paginateListCidrBlocks: () => paginateListCidrBlocks,\n paginateListCidrCollections: () => paginateListCidrCollections,\n paginateListCidrLocations: () => paginateListCidrLocations,\n paginateListHealthChecks: () => paginateListHealthChecks,\n paginateListHostedZones: () => paginateListHostedZones,\n paginateListQueryLoggingConfigs: () => paginateListQueryLoggingConfigs,\n waitForResourceRecordSetsChanged: () => waitForResourceRecordSetsChanged,\n waitUntilResourceRecordSetsChanged: () => waitUntilResourceRecordSetsChanged\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/Route53Client.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"route53\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/Route53Client.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/Route53Client.ts\nvar Route53Client = class extends import_smithy_client.Client {\n static {\n __name(this, \"Route53Client\");\n }\n /**\n * The resolved configuration of Route53Client class. This is resolved and normalized from the {@link Route53ClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRoute53HttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/Route53.ts\n\n\n// src/commands/ActivateKeySigningKeyCommand.ts\nvar import_middleware_sdk_route53 = require(\"@aws-sdk/middleware-sdk-route53\");\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_restXml.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\n\n\n\n// src/models/Route53ServiceException.ts\n\nvar Route53ServiceException = class _Route53ServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"Route53ServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _Route53ServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar AccountLimitType = {\n MAX_HEALTH_CHECKS_BY_OWNER: \"MAX_HEALTH_CHECKS_BY_OWNER\",\n MAX_HOSTED_ZONES_BY_OWNER: \"MAX_HOSTED_ZONES_BY_OWNER\",\n MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: \"MAX_REUSABLE_DELEGATION_SETS_BY_OWNER\",\n MAX_TRAFFIC_POLICIES_BY_OWNER: \"MAX_TRAFFIC_POLICIES_BY_OWNER\",\n MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: \"MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER\"\n};\nvar ChangeStatus = {\n INSYNC: \"INSYNC\",\n PENDING: \"PENDING\"\n};\nvar ConcurrentModification = class _ConcurrentModification extends Route53ServiceException {\n static {\n __name(this, \"ConcurrentModification\");\n }\n name = \"ConcurrentModification\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ConcurrentModification\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ConcurrentModification.prototype);\n }\n};\nvar InvalidInput = class _InvalidInput extends Route53ServiceException {\n static {\n __name(this, \"InvalidInput\");\n }\n name = \"InvalidInput\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInput\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInput.prototype);\n }\n};\nvar InvalidKeySigningKeyStatus = class _InvalidKeySigningKeyStatus extends Route53ServiceException {\n static {\n __name(this, \"InvalidKeySigningKeyStatus\");\n }\n name = \"InvalidKeySigningKeyStatus\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidKeySigningKeyStatus\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidKeySigningKeyStatus.prototype);\n }\n};\nvar InvalidKMSArn = class _InvalidKMSArn extends Route53ServiceException {\n static {\n __name(this, \"InvalidKMSArn\");\n }\n name = \"InvalidKMSArn\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidKMSArn\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidKMSArn.prototype);\n }\n};\nvar InvalidSigningStatus = class _InvalidSigningStatus extends Route53ServiceException {\n static {\n __name(this, \"InvalidSigningStatus\");\n }\n name = \"InvalidSigningStatus\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidSigningStatus\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidSigningStatus.prototype);\n }\n};\nvar NoSuchKeySigningKey = class _NoSuchKeySigningKey extends Route53ServiceException {\n static {\n __name(this, \"NoSuchKeySigningKey\");\n }\n name = \"NoSuchKeySigningKey\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchKeySigningKey\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchKeySigningKey.prototype);\n }\n};\nvar CloudWatchRegion = {\n af_south_1: \"af-south-1\",\n ap_east_1: \"ap-east-1\",\n ap_northeast_1: \"ap-northeast-1\",\n ap_northeast_2: \"ap-northeast-2\",\n ap_northeast_3: \"ap-northeast-3\",\n ap_south_1: \"ap-south-1\",\n ap_south_2: \"ap-south-2\",\n ap_southeast_1: \"ap-southeast-1\",\n ap_southeast_2: \"ap-southeast-2\",\n ap_southeast_3: \"ap-southeast-3\",\n ap_southeast_4: \"ap-southeast-4\",\n ap_southeast_5: \"ap-southeast-5\",\n ap_southeast_7: \"ap-southeast-7\",\n ca_central_1: \"ca-central-1\",\n ca_west_1: \"ca-west-1\",\n cn_north_1: \"cn-north-1\",\n cn_northwest_1: \"cn-northwest-1\",\n eu_central_1: \"eu-central-1\",\n eu_central_2: \"eu-central-2\",\n eu_north_1: \"eu-north-1\",\n eu_south_1: \"eu-south-1\",\n eu_south_2: \"eu-south-2\",\n eu_west_1: \"eu-west-1\",\n eu_west_2: \"eu-west-2\",\n eu_west_3: \"eu-west-3\",\n il_central_1: \"il-central-1\",\n me_central_1: \"me-central-1\",\n me_south_1: \"me-south-1\",\n mx_central_1: \"mx-central-1\",\n sa_east_1: \"sa-east-1\",\n us_east_1: \"us-east-1\",\n us_east_2: \"us-east-2\",\n us_gov_east_1: \"us-gov-east-1\",\n us_gov_west_1: \"us-gov-west-1\",\n us_iso_east_1: \"us-iso-east-1\",\n us_iso_west_1: \"us-iso-west-1\",\n us_isob_east_1: \"us-isob-east-1\",\n us_isof_east_1: \"us-isof-east-1\",\n us_isof_south_1: \"us-isof-south-1\",\n us_west_1: \"us-west-1\",\n us_west_2: \"us-west-2\"\n};\nvar VPCRegion = {\n af_south_1: \"af-south-1\",\n ap_east_1: \"ap-east-1\",\n ap_northeast_1: \"ap-northeast-1\",\n ap_northeast_2: \"ap-northeast-2\",\n ap_northeast_3: \"ap-northeast-3\",\n ap_south_1: \"ap-south-1\",\n ap_south_2: \"ap-south-2\",\n ap_southeast_1: \"ap-southeast-1\",\n ap_southeast_2: \"ap-southeast-2\",\n ap_southeast_3: \"ap-southeast-3\",\n ap_southeast_4: \"ap-southeast-4\",\n ap_southeast_5: \"ap-southeast-5\",\n ap_southeast_7: \"ap-southeast-7\",\n ca_central_1: \"ca-central-1\",\n ca_west_1: \"ca-west-1\",\n cn_north_1: \"cn-north-1\",\n cn_northwest_1: \"cn-northwest-1\",\n eu_central_1: \"eu-central-1\",\n eu_central_2: \"eu-central-2\",\n eu_north_1: \"eu-north-1\",\n eu_south_1: \"eu-south-1\",\n eu_south_2: \"eu-south-2\",\n eu_west_1: \"eu-west-1\",\n eu_west_2: \"eu-west-2\",\n eu_west_3: \"eu-west-3\",\n il_central_1: \"il-central-1\",\n me_central_1: \"me-central-1\",\n me_south_1: \"me-south-1\",\n mx_central_1: \"mx-central-1\",\n sa_east_1: \"sa-east-1\",\n us_east_1: \"us-east-1\",\n us_east_2: \"us-east-2\",\n us_gov_east_1: \"us-gov-east-1\",\n us_gov_west_1: \"us-gov-west-1\",\n us_iso_east_1: \"us-iso-east-1\",\n us_iso_west_1: \"us-iso-west-1\",\n us_isob_east_1: \"us-isob-east-1\",\n us_isof_east_1: \"us-isof-east-1\",\n us_isof_south_1: \"us-isof-south-1\",\n us_west_1: \"us-west-1\",\n us_west_2: \"us-west-2\"\n};\nvar ConflictingDomainExists = class _ConflictingDomainExists extends Route53ServiceException {\n static {\n __name(this, \"ConflictingDomainExists\");\n }\n name = \"ConflictingDomainExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ConflictingDomainExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ConflictingDomainExists.prototype);\n }\n};\nvar InvalidVPCId = class _InvalidVPCId extends Route53ServiceException {\n static {\n __name(this, \"InvalidVPCId\");\n }\n name = \"InvalidVPCId\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidVPCId\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidVPCId.prototype);\n }\n};\nvar LimitsExceeded = class _LimitsExceeded extends Route53ServiceException {\n static {\n __name(this, \"LimitsExceeded\");\n }\n name = \"LimitsExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LimitsExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LimitsExceeded.prototype);\n }\n};\nvar NoSuchHostedZone = class _NoSuchHostedZone extends Route53ServiceException {\n static {\n __name(this, \"NoSuchHostedZone\");\n }\n name = \"NoSuchHostedZone\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchHostedZone\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchHostedZone.prototype);\n }\n};\nvar NotAuthorizedException = class _NotAuthorizedException extends Route53ServiceException {\n static {\n __name(this, \"NotAuthorizedException\");\n }\n name = \"NotAuthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NotAuthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NotAuthorizedException.prototype);\n }\n};\nvar PriorRequestNotComplete = class _PriorRequestNotComplete extends Route53ServiceException {\n static {\n __name(this, \"PriorRequestNotComplete\");\n }\n name = \"PriorRequestNotComplete\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PriorRequestNotComplete\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PriorRequestNotComplete.prototype);\n }\n};\nvar PublicZoneVPCAssociation = class _PublicZoneVPCAssociation extends Route53ServiceException {\n static {\n __name(this, \"PublicZoneVPCAssociation\");\n }\n name = \"PublicZoneVPCAssociation\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PublicZoneVPCAssociation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PublicZoneVPCAssociation.prototype);\n }\n};\nvar CidrCollectionChangeAction = {\n DELETE_IF_EXISTS: \"DELETE_IF_EXISTS\",\n PUT: \"PUT\"\n};\nvar CidrBlockInUseException = class _CidrBlockInUseException extends Route53ServiceException {\n static {\n __name(this, \"CidrBlockInUseException\");\n }\n name = \"CidrBlockInUseException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CidrBlockInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CidrBlockInUseException.prototype);\n this.Message = opts.Message;\n }\n};\nvar CidrCollectionVersionMismatchException = class _CidrCollectionVersionMismatchException extends Route53ServiceException {\n static {\n __name(this, \"CidrCollectionVersionMismatchException\");\n }\n name = \"CidrCollectionVersionMismatchException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CidrCollectionVersionMismatchException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CidrCollectionVersionMismatchException.prototype);\n this.Message = opts.Message;\n }\n};\nvar NoSuchCidrCollectionException = class _NoSuchCidrCollectionException extends Route53ServiceException {\n static {\n __name(this, \"NoSuchCidrCollectionException\");\n }\n name = \"NoSuchCidrCollectionException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchCidrCollectionException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchCidrCollectionException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ChangeAction = {\n CREATE: \"CREATE\",\n DELETE: \"DELETE\",\n UPSERT: \"UPSERT\"\n};\nvar ResourceRecordSetFailover = {\n PRIMARY: \"PRIMARY\",\n SECONDARY: \"SECONDARY\"\n};\nvar ResourceRecordSetRegion = {\n af_south_1: \"af-south-1\",\n ap_east_1: \"ap-east-1\",\n ap_northeast_1: \"ap-northeast-1\",\n ap_northeast_2: \"ap-northeast-2\",\n ap_northeast_3: \"ap-northeast-3\",\n ap_south_1: \"ap-south-1\",\n ap_south_2: \"ap-south-2\",\n ap_southeast_1: \"ap-southeast-1\",\n ap_southeast_2: \"ap-southeast-2\",\n ap_southeast_3: \"ap-southeast-3\",\n ap_southeast_4: \"ap-southeast-4\",\n ap_southeast_5: \"ap-southeast-5\",\n ap_southeast_7: \"ap-southeast-7\",\n ca_central_1: \"ca-central-1\",\n ca_west_1: \"ca-west-1\",\n cn_north_1: \"cn-north-1\",\n cn_northwest_1: \"cn-northwest-1\",\n eu_central_1: \"eu-central-1\",\n eu_central_2: \"eu-central-2\",\n eu_north_1: \"eu-north-1\",\n eu_south_1: \"eu-south-1\",\n eu_south_2: \"eu-south-2\",\n eu_west_1: \"eu-west-1\",\n eu_west_2: \"eu-west-2\",\n eu_west_3: \"eu-west-3\",\n il_central_1: \"il-central-1\",\n me_central_1: \"me-central-1\",\n me_south_1: \"me-south-1\",\n mx_central_1: \"mx-central-1\",\n sa_east_1: \"sa-east-1\",\n us_east_1: \"us-east-1\",\n us_east_2: \"us-east-2\",\n us_gov_east_1: \"us-gov-east-1\",\n us_gov_west_1: \"us-gov-west-1\",\n us_west_1: \"us-west-1\",\n us_west_2: \"us-west-2\"\n};\nvar RRType = {\n A: \"A\",\n AAAA: \"AAAA\",\n CAA: \"CAA\",\n CNAME: \"CNAME\",\n DS: \"DS\",\n HTTPS: \"HTTPS\",\n MX: \"MX\",\n NAPTR: \"NAPTR\",\n NS: \"NS\",\n PTR: \"PTR\",\n SOA: \"SOA\",\n SPF: \"SPF\",\n SRV: \"SRV\",\n SSHFP: \"SSHFP\",\n SVCB: \"SVCB\",\n TLSA: \"TLSA\",\n TXT: \"TXT\"\n};\nvar InvalidChangeBatch = class _InvalidChangeBatch extends Route53ServiceException {\n static {\n __name(this, \"InvalidChangeBatch\");\n }\n name = \"InvalidChangeBatch\";\n $fault = \"client\";\n /**\n * \n * @public\n */\n messages;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidChangeBatch\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidChangeBatch.prototype);\n this.messages = opts.messages;\n }\n};\nvar NoSuchHealthCheck = class _NoSuchHealthCheck extends Route53ServiceException {\n static {\n __name(this, \"NoSuchHealthCheck\");\n }\n name = \"NoSuchHealthCheck\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchHealthCheck\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchHealthCheck.prototype);\n }\n};\nvar TagResourceType = {\n healthcheck: \"healthcheck\",\n hostedzone: \"hostedzone\"\n};\nvar ThrottlingException = class _ThrottlingException extends Route53ServiceException {\n static {\n __name(this, \"ThrottlingException\");\n }\n name = \"ThrottlingException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ThrottlingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ThrottlingException.prototype);\n }\n};\nvar CidrCollectionAlreadyExistsException = class _CidrCollectionAlreadyExistsException extends Route53ServiceException {\n static {\n __name(this, \"CidrCollectionAlreadyExistsException\");\n }\n name = \"CidrCollectionAlreadyExistsException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CidrCollectionAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CidrCollectionAlreadyExistsException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InsufficientDataHealthStatus = {\n Healthy: \"Healthy\",\n LastKnownStatus: \"LastKnownStatus\",\n Unhealthy: \"Unhealthy\"\n};\nvar HealthCheckRegion = {\n ap_northeast_1: \"ap-northeast-1\",\n ap_southeast_1: \"ap-southeast-1\",\n ap_southeast_2: \"ap-southeast-2\",\n eu_west_1: \"eu-west-1\",\n sa_east_1: \"sa-east-1\",\n us_east_1: \"us-east-1\",\n us_west_1: \"us-west-1\",\n us_west_2: \"us-west-2\"\n};\nvar HealthCheckType = {\n CALCULATED: \"CALCULATED\",\n CLOUDWATCH_METRIC: \"CLOUDWATCH_METRIC\",\n HTTP: \"HTTP\",\n HTTPS: \"HTTPS\",\n HTTPS_STR_MATCH: \"HTTPS_STR_MATCH\",\n HTTP_STR_MATCH: \"HTTP_STR_MATCH\",\n RECOVERY_CONTROL: \"RECOVERY_CONTROL\",\n TCP: \"TCP\"\n};\nvar ComparisonOperator = {\n GreaterThanOrEqualToThreshold: \"GreaterThanOrEqualToThreshold\",\n GreaterThanThreshold: \"GreaterThanThreshold\",\n LessThanOrEqualToThreshold: \"LessThanOrEqualToThreshold\",\n LessThanThreshold: \"LessThanThreshold\"\n};\nvar Statistic = {\n Average: \"Average\",\n Maximum: \"Maximum\",\n Minimum: \"Minimum\",\n SampleCount: \"SampleCount\",\n Sum: \"Sum\"\n};\nvar HealthCheckAlreadyExists = class _HealthCheckAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"HealthCheckAlreadyExists\");\n }\n name = \"HealthCheckAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HealthCheckAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HealthCheckAlreadyExists.prototype);\n }\n};\nvar TooManyHealthChecks = class _TooManyHealthChecks extends Route53ServiceException {\n static {\n __name(this, \"TooManyHealthChecks\");\n }\n name = \"TooManyHealthChecks\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyHealthChecks\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyHealthChecks.prototype);\n }\n};\nvar DelegationSetNotAvailable = class _DelegationSetNotAvailable extends Route53ServiceException {\n static {\n __name(this, \"DelegationSetNotAvailable\");\n }\n name = \"DelegationSetNotAvailable\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DelegationSetNotAvailable\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DelegationSetNotAvailable.prototype);\n }\n};\nvar DelegationSetNotReusable = class _DelegationSetNotReusable extends Route53ServiceException {\n static {\n __name(this, \"DelegationSetNotReusable\");\n }\n name = \"DelegationSetNotReusable\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DelegationSetNotReusable\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DelegationSetNotReusable.prototype);\n }\n};\nvar HostedZoneAlreadyExists = class _HostedZoneAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"HostedZoneAlreadyExists\");\n }\n name = \"HostedZoneAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HostedZoneAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HostedZoneAlreadyExists.prototype);\n }\n};\nvar InvalidDomainName = class _InvalidDomainName extends Route53ServiceException {\n static {\n __name(this, \"InvalidDomainName\");\n }\n name = \"InvalidDomainName\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDomainName\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDomainName.prototype);\n }\n};\nvar NoSuchDelegationSet = class _NoSuchDelegationSet extends Route53ServiceException {\n static {\n __name(this, \"NoSuchDelegationSet\");\n }\n name = \"NoSuchDelegationSet\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchDelegationSet\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchDelegationSet.prototype);\n }\n};\nvar TooManyHostedZones = class _TooManyHostedZones extends Route53ServiceException {\n static {\n __name(this, \"TooManyHostedZones\");\n }\n name = \"TooManyHostedZones\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyHostedZones\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyHostedZones.prototype);\n }\n};\nvar InvalidArgument = class _InvalidArgument extends Route53ServiceException {\n static {\n __name(this, \"InvalidArgument\");\n }\n name = \"InvalidArgument\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidArgument\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidArgument.prototype);\n }\n};\nvar InvalidKeySigningKeyName = class _InvalidKeySigningKeyName extends Route53ServiceException {\n static {\n __name(this, \"InvalidKeySigningKeyName\");\n }\n name = \"InvalidKeySigningKeyName\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidKeySigningKeyName\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidKeySigningKeyName.prototype);\n }\n};\nvar KeySigningKeyAlreadyExists = class _KeySigningKeyAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"KeySigningKeyAlreadyExists\");\n }\n name = \"KeySigningKeyAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KeySigningKeyAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KeySigningKeyAlreadyExists.prototype);\n }\n};\nvar TooManyKeySigningKeys = class _TooManyKeySigningKeys extends Route53ServiceException {\n static {\n __name(this, \"TooManyKeySigningKeys\");\n }\n name = \"TooManyKeySigningKeys\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyKeySigningKeys\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyKeySigningKeys.prototype);\n }\n};\nvar InsufficientCloudWatchLogsResourcePolicy = class _InsufficientCloudWatchLogsResourcePolicy extends Route53ServiceException {\n static {\n __name(this, \"InsufficientCloudWatchLogsResourcePolicy\");\n }\n name = \"InsufficientCloudWatchLogsResourcePolicy\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InsufficientCloudWatchLogsResourcePolicy\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InsufficientCloudWatchLogsResourcePolicy.prototype);\n }\n};\nvar NoSuchCloudWatchLogsLogGroup = class _NoSuchCloudWatchLogsLogGroup extends Route53ServiceException {\n static {\n __name(this, \"NoSuchCloudWatchLogsLogGroup\");\n }\n name = \"NoSuchCloudWatchLogsLogGroup\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchCloudWatchLogsLogGroup\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchCloudWatchLogsLogGroup.prototype);\n }\n};\nvar QueryLoggingConfigAlreadyExists = class _QueryLoggingConfigAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"QueryLoggingConfigAlreadyExists\");\n }\n name = \"QueryLoggingConfigAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"QueryLoggingConfigAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _QueryLoggingConfigAlreadyExists.prototype);\n }\n};\nvar DelegationSetAlreadyCreated = class _DelegationSetAlreadyCreated extends Route53ServiceException {\n static {\n __name(this, \"DelegationSetAlreadyCreated\");\n }\n name = \"DelegationSetAlreadyCreated\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DelegationSetAlreadyCreated\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DelegationSetAlreadyCreated.prototype);\n }\n};\nvar DelegationSetAlreadyReusable = class _DelegationSetAlreadyReusable extends Route53ServiceException {\n static {\n __name(this, \"DelegationSetAlreadyReusable\");\n }\n name = \"DelegationSetAlreadyReusable\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DelegationSetAlreadyReusable\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DelegationSetAlreadyReusable.prototype);\n }\n};\nvar HostedZoneNotFound = class _HostedZoneNotFound extends Route53ServiceException {\n static {\n __name(this, \"HostedZoneNotFound\");\n }\n name = \"HostedZoneNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HostedZoneNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HostedZoneNotFound.prototype);\n }\n};\nvar InvalidTrafficPolicyDocument = class _InvalidTrafficPolicyDocument extends Route53ServiceException {\n static {\n __name(this, \"InvalidTrafficPolicyDocument\");\n }\n name = \"InvalidTrafficPolicyDocument\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTrafficPolicyDocument\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTrafficPolicyDocument.prototype);\n }\n};\nvar TooManyTrafficPolicies = class _TooManyTrafficPolicies extends Route53ServiceException {\n static {\n __name(this, \"TooManyTrafficPolicies\");\n }\n name = \"TooManyTrafficPolicies\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTrafficPolicies\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTrafficPolicies.prototype);\n }\n};\nvar TrafficPolicyAlreadyExists = class _TrafficPolicyAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"TrafficPolicyAlreadyExists\");\n }\n name = \"TrafficPolicyAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TrafficPolicyAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TrafficPolicyAlreadyExists.prototype);\n }\n};\nvar NoSuchTrafficPolicy = class _NoSuchTrafficPolicy extends Route53ServiceException {\n static {\n __name(this, \"NoSuchTrafficPolicy\");\n }\n name = \"NoSuchTrafficPolicy\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchTrafficPolicy\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchTrafficPolicy.prototype);\n }\n};\nvar TooManyTrafficPolicyInstances = class _TooManyTrafficPolicyInstances extends Route53ServiceException {\n static {\n __name(this, \"TooManyTrafficPolicyInstances\");\n }\n name = \"TooManyTrafficPolicyInstances\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTrafficPolicyInstances\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTrafficPolicyInstances.prototype);\n }\n};\nvar TrafficPolicyInstanceAlreadyExists = class _TrafficPolicyInstanceAlreadyExists extends Route53ServiceException {\n static {\n __name(this, \"TrafficPolicyInstanceAlreadyExists\");\n }\n name = \"TrafficPolicyInstanceAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TrafficPolicyInstanceAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TrafficPolicyInstanceAlreadyExists.prototype);\n }\n};\nvar TooManyTrafficPolicyVersionsForCurrentPolicy = class _TooManyTrafficPolicyVersionsForCurrentPolicy extends Route53ServiceException {\n static {\n __name(this, \"TooManyTrafficPolicyVersionsForCurrentPolicy\");\n }\n name = \"TooManyTrafficPolicyVersionsForCurrentPolicy\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTrafficPolicyVersionsForCurrentPolicy\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTrafficPolicyVersionsForCurrentPolicy.prototype);\n }\n};\nvar TooManyVPCAssociationAuthorizations = class _TooManyVPCAssociationAuthorizations extends Route53ServiceException {\n static {\n __name(this, \"TooManyVPCAssociationAuthorizations\");\n }\n name = \"TooManyVPCAssociationAuthorizations\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyVPCAssociationAuthorizations\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyVPCAssociationAuthorizations.prototype);\n }\n};\nvar KeySigningKeyInParentDSRecord = class _KeySigningKeyInParentDSRecord extends Route53ServiceException {\n static {\n __name(this, \"KeySigningKeyInParentDSRecord\");\n }\n name = \"KeySigningKeyInParentDSRecord\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KeySigningKeyInParentDSRecord\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KeySigningKeyInParentDSRecord.prototype);\n }\n};\nvar KeySigningKeyInUse = class _KeySigningKeyInUse extends Route53ServiceException {\n static {\n __name(this, \"KeySigningKeyInUse\");\n }\n name = \"KeySigningKeyInUse\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KeySigningKeyInUse\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KeySigningKeyInUse.prototype);\n }\n};\nvar CidrCollectionInUseException = class _CidrCollectionInUseException extends Route53ServiceException {\n static {\n __name(this, \"CidrCollectionInUseException\");\n }\n name = \"CidrCollectionInUseException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CidrCollectionInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CidrCollectionInUseException.prototype);\n this.Message = opts.Message;\n }\n};\nvar HealthCheckInUse = class _HealthCheckInUse extends Route53ServiceException {\n static {\n __name(this, \"HealthCheckInUse\");\n }\n name = \"HealthCheckInUse\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HealthCheckInUse\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HealthCheckInUse.prototype);\n }\n};\nvar HostedZoneNotEmpty = class _HostedZoneNotEmpty extends Route53ServiceException {\n static {\n __name(this, \"HostedZoneNotEmpty\");\n }\n name = \"HostedZoneNotEmpty\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HostedZoneNotEmpty\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HostedZoneNotEmpty.prototype);\n }\n};\nvar NoSuchQueryLoggingConfig = class _NoSuchQueryLoggingConfig extends Route53ServiceException {\n static {\n __name(this, \"NoSuchQueryLoggingConfig\");\n }\n name = \"NoSuchQueryLoggingConfig\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchQueryLoggingConfig\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchQueryLoggingConfig.prototype);\n }\n};\nvar DelegationSetInUse = class _DelegationSetInUse extends Route53ServiceException {\n static {\n __name(this, \"DelegationSetInUse\");\n }\n name = \"DelegationSetInUse\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DelegationSetInUse\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DelegationSetInUse.prototype);\n }\n};\nvar TrafficPolicyInUse = class _TrafficPolicyInUse extends Route53ServiceException {\n static {\n __name(this, \"TrafficPolicyInUse\");\n }\n name = \"TrafficPolicyInUse\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TrafficPolicyInUse\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TrafficPolicyInUse.prototype);\n }\n};\nvar NoSuchTrafficPolicyInstance = class _NoSuchTrafficPolicyInstance extends Route53ServiceException {\n static {\n __name(this, \"NoSuchTrafficPolicyInstance\");\n }\n name = \"NoSuchTrafficPolicyInstance\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchTrafficPolicyInstance\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchTrafficPolicyInstance.prototype);\n }\n};\nvar VPCAssociationAuthorizationNotFound = class _VPCAssociationAuthorizationNotFound extends Route53ServiceException {\n static {\n __name(this, \"VPCAssociationAuthorizationNotFound\");\n }\n name = \"VPCAssociationAuthorizationNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"VPCAssociationAuthorizationNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _VPCAssociationAuthorizationNotFound.prototype);\n }\n};\nvar DNSSECNotFound = class _DNSSECNotFound extends Route53ServiceException {\n static {\n __name(this, \"DNSSECNotFound\");\n }\n name = \"DNSSECNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DNSSECNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DNSSECNotFound.prototype);\n }\n};\nvar LastVPCAssociation = class _LastVPCAssociation extends Route53ServiceException {\n static {\n __name(this, \"LastVPCAssociation\");\n }\n name = \"LastVPCAssociation\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LastVPCAssociation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LastVPCAssociation.prototype);\n }\n};\nvar VPCAssociationNotFound = class _VPCAssociationNotFound extends Route53ServiceException {\n static {\n __name(this, \"VPCAssociationNotFound\");\n }\n name = \"VPCAssociationNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"VPCAssociationNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _VPCAssociationNotFound.prototype);\n }\n};\nvar HostedZonePartiallyDelegated = class _HostedZonePartiallyDelegated extends Route53ServiceException {\n static {\n __name(this, \"HostedZonePartiallyDelegated\");\n }\n name = \"HostedZonePartiallyDelegated\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HostedZonePartiallyDelegated\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HostedZonePartiallyDelegated.prototype);\n }\n};\nvar KeySigningKeyWithActiveStatusNotFound = class _KeySigningKeyWithActiveStatusNotFound extends Route53ServiceException {\n static {\n __name(this, \"KeySigningKeyWithActiveStatusNotFound\");\n }\n name = \"KeySigningKeyWithActiveStatusNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KeySigningKeyWithActiveStatusNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KeySigningKeyWithActiveStatusNotFound.prototype);\n }\n};\nvar NoSuchChange = class _NoSuchChange extends Route53ServiceException {\n static {\n __name(this, \"NoSuchChange\");\n }\n name = \"NoSuchChange\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchChange\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchChange.prototype);\n }\n};\nvar NoSuchGeoLocation = class _NoSuchGeoLocation extends Route53ServiceException {\n static {\n __name(this, \"NoSuchGeoLocation\");\n }\n name = \"NoSuchGeoLocation\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchGeoLocation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchGeoLocation.prototype);\n }\n};\nvar IncompatibleVersion = class _IncompatibleVersion extends Route53ServiceException {\n static {\n __name(this, \"IncompatibleVersion\");\n }\n name = \"IncompatibleVersion\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IncompatibleVersion\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IncompatibleVersion.prototype);\n }\n};\nvar HostedZoneLimitType = {\n MAX_RRSETS_BY_ZONE: \"MAX_RRSETS_BY_ZONE\",\n MAX_VPCS_ASSOCIATED_BY_ZONE: \"MAX_VPCS_ASSOCIATED_BY_ZONE\"\n};\nvar HostedZoneNotPrivate = class _HostedZoneNotPrivate extends Route53ServiceException {\n static {\n __name(this, \"HostedZoneNotPrivate\");\n }\n name = \"HostedZoneNotPrivate\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HostedZoneNotPrivate\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HostedZoneNotPrivate.prototype);\n }\n};\nvar ReusableDelegationSetLimitType = {\n MAX_ZONES_BY_REUSABLE_DELEGATION_SET: \"MAX_ZONES_BY_REUSABLE_DELEGATION_SET\"\n};\nvar NoSuchCidrLocationException = class _NoSuchCidrLocationException extends Route53ServiceException {\n static {\n __name(this, \"NoSuchCidrLocationException\");\n }\n name = \"NoSuchCidrLocationException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"NoSuchCidrLocationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _NoSuchCidrLocationException.prototype);\n this.Message = opts.Message;\n }\n};\nvar HostedZoneType = {\n PRIVATE_HOSTED_ZONE: \"PrivateHostedZone\"\n};\nvar InvalidPaginationToken = class _InvalidPaginationToken extends Route53ServiceException {\n static {\n __name(this, \"InvalidPaginationToken\");\n }\n name = \"InvalidPaginationToken\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidPaginationToken\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidPaginationToken.prototype);\n }\n};\nvar HealthCheckVersionMismatch = class _HealthCheckVersionMismatch extends Route53ServiceException {\n static {\n __name(this, \"HealthCheckVersionMismatch\");\n }\n name = \"HealthCheckVersionMismatch\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HealthCheckVersionMismatch\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HealthCheckVersionMismatch.prototype);\n }\n};\nvar ResettableElementName = {\n ChildHealthChecks: \"ChildHealthChecks\",\n FullyQualifiedDomainName: \"FullyQualifiedDomainName\",\n Regions: \"Regions\",\n ResourcePath: \"ResourcePath\"\n};\nvar ConflictingTypes = class _ConflictingTypes extends Route53ServiceException {\n static {\n __name(this, \"ConflictingTypes\");\n }\n name = \"ConflictingTypes\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ConflictingTypes\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ConflictingTypes.prototype);\n }\n};\n\n// src/protocols/Aws_restXml.ts\nvar se_ActivateKeySigningKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_ActivateKeySigningKeyCommand\");\nvar se_AssociateVPCWithHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/associatevpc\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_AVPCWHZR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_AVPCC, input[_C]).n(_C));\n }\n if (input[_VPC] != null) {\n bn.c(se_VPC(input[_VPC], context).n(_VPC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_AssociateVPCWithHostedZoneCommand\");\nvar se_ChangeCidrCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/cidrcollection/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CCCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n bn.lc(input, \"Changes\", \"Changes\", () => se_CidrCollectionChanges(input[_Ch], context));\n if (input[_CV] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CV, String(input[_CV])).n(_CV));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_ChangeCidrCollectionCommand\");\nvar se_ChangeResourceRecordSetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/rrset\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CRRSR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CB] != null) {\n bn.c(se_ChangeBatch(input[_CB], context).n(_CB));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_ChangeResourceRecordSetsCommand\");\nvar se_ChangeTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/tags/{ResourceType}/{ResourceId}\");\n b.p(\"ResourceType\", () => input.ResourceType, \"{ResourceType}\", false);\n b.p(\"ResourceId\", () => input.ResourceId, \"{ResourceId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CTFRR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n bn.lc(input, \"AddTags\", \"AddTags\", () => se_TagList(input[_AT], context));\n bn.lc(input, \"RemoveTagKeys\", \"RemoveTagKeys\", () => se_TagKeyList(input[_RTK], context));\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_ChangeTagsForResourceCommand\");\nvar se_CreateCidrCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/cidrcollection\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CCCRr);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CR] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CN, input[_CR]).n(_CR));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CNo, input[_N]).n(_N));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateCidrCollectionCommand\");\nvar se_CreateHealthCheckCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/healthcheck\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CHCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CR] != null) {\n bn.c(import_xml_builder.XmlNode.of(_HCN, input[_CR]).n(_CR));\n }\n if (input[_HCC] != null) {\n bn.c(se_HealthCheckConfig(input[_HCC], context).n(_HCC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateHealthCheckCommand\");\nvar se_CreateHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CHZR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CR] != null) {\n bn.c(import_xml_builder.XmlNode.of(_No, input[_CR]).n(_CR));\n }\n if (input[_DSI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_DSI]).n(_DSI));\n }\n if (input[_HZC] != null) {\n bn.c(se_HostedZoneConfig(input[_HZC], context).n(_HZC));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_DNSN, input[_N]).n(_N));\n }\n if (input[_VPC] != null) {\n bn.c(se_VPC(input[_VPC], context).n(_VPC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateHostedZoneCommand\");\nvar se_CreateKeySigningKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/keysigningkey\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CKSKR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CR] != null) {\n bn.c(import_xml_builder.XmlNode.of(_No, input[_CR]).n(_CR));\n }\n if (input[_HZI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_HZI]).n(_HZI));\n }\n if (input[_KMSA] != null) {\n bn.c(import_xml_builder.XmlNode.of(_SKS, input[_KMSA]).n(_KMSA));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_SKN, input[_N]).n(_N));\n }\n if (input[_S] != null) {\n bn.c(import_xml_builder.XmlNode.of(_SKSi, input[_S]).n(_S));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateKeySigningKeyCommand\");\nvar se_CreateQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/queryloggingconfig\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CQLCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n bn.cc(input, _CWLLGA);\n if (input[_HZI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_HZI]).n(_HZI));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateQueryLoggingConfigCommand\");\nvar se_CreateReusableDelegationSetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/delegationset\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CRDSR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_CR] != null) {\n bn.c(import_xml_builder.XmlNode.of(_No, input[_CR]).n(_CR));\n }\n if (input[_HZI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_HZI]).n(_HZI));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateReusableDelegationSetCommand\");\nvar se_CreateTrafficPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/trafficpolicy\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CTPR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPC, input[_C]).n(_C));\n }\n if (input[_D] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPD, input[_D]).n(_D));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPN, input[_N]).n(_N));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTrafficPolicyCommand\");\nvar se_CreateTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/trafficpolicyinstance\");\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CTPIR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_HZI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_HZI]).n(_HZI));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_DNSN, input[_N]).n(_N));\n }\n if (input[_TTL] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TTL, String(input[_TTL])).n(_TTL));\n }\n bn.cc(input, _TPI);\n if (input[_TPV] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPV, String(input[_TPV])).n(_TPV));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTrafficPolicyInstanceCommand\");\nvar se_CreateTrafficPolicyVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/trafficpolicy/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CTPVR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPC, input[_C]).n(_C));\n }\n if (input[_D] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPD, input[_D]).n(_D));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTrafficPolicyVersionCommand\");\nvar se_CreateVPCAssociationAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_CVPCAAR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_VPC] != null) {\n bn.c(se_VPC(input[_VPC], context).n(_VPC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateVPCAssociationAuthorizationCommand\");\nvar se_DeactivateKeySigningKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_DeactivateKeySigningKeyCommand\");\nvar se_DeleteCidrCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/cidrcollection/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteCidrCollectionCommand\");\nvar se_DeleteHealthCheckCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheck/{HealthCheckId}\");\n b.p(\"HealthCheckId\", () => input.HealthCheckId, \"{HealthCheckId}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteHealthCheckCommand\");\nvar se_DeleteHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteHostedZoneCommand\");\nvar se_DeleteKeySigningKeyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n b.p(\"Name\", () => input.Name, \"{Name}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteKeySigningKeyCommand\");\nvar se_DeleteQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/queryloggingconfig/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteQueryLoggingConfigCommand\");\nvar se_DeleteReusableDelegationSetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/delegationset/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteReusableDelegationSetCommand\");\nvar se_DeleteTrafficPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicy/{Id}/{Version}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n b.p(\"Version\", () => input.Version.toString(), \"{Version}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteTrafficPolicyCommand\");\nvar se_DeleteTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstance/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"DELETE\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteTrafficPolicyInstanceCommand\");\nvar se_DeleteVPCAssociationAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/deauthorizevpcassociation\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_DVPCAAR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_VPC] != null) {\n bn.c(se_VPC(input[_VPC], context).n(_VPC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_DeleteVPCAssociationAuthorizationCommand\");\nvar se_DisableHostedZoneDNSSECCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/disable-dnssec\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_DisableHostedZoneDNSSECCommand\");\nvar se_DisassociateVPCFromHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/disassociatevpc\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_DVPCFHZR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_DVPCC, input[_C]).n(_C));\n }\n if (input[_VPC] != null) {\n bn.c(se_VPC(input[_VPC], context).n(_VPC));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_DisassociateVPCFromHostedZoneCommand\");\nvar se_EnableHostedZoneDNSSECCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/enable-dnssec\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_EnableHostedZoneDNSSECCommand\");\nvar se_GetAccountLimitCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/accountlimit/{Type}\");\n b.p(\"Type\", () => input.Type, \"{Type}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetAccountLimitCommand\");\nvar se_GetChangeCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/change/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetChangeCommand\");\nvar se_GetCheckerIpRangesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/checkeripranges\");\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetCheckerIpRangesCommand\");\nvar se_GetDNSSECCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/dnssec\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetDNSSECCommand\");\nvar se_GetGeoLocationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/geolocation\");\n const query = (0, import_smithy_client.map)({\n [_c]: [, input[_CC]],\n [_co]: [, input[_CCo]],\n [_s]: [, input[_SC]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetGeoLocationCommand\");\nvar se_GetHealthCheckCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheck/{HealthCheckId}\");\n b.p(\"HealthCheckId\", () => input.HealthCheckId, \"{HealthCheckId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHealthCheckCommand\");\nvar se_GetHealthCheckCountCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheckcount\");\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHealthCheckCountCommand\");\nvar se_GetHealthCheckLastFailureReasonCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason\");\n b.p(\"HealthCheckId\", () => input.HealthCheckId, \"{HealthCheckId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHealthCheckLastFailureReasonCommand\");\nvar se_GetHealthCheckStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheck/{HealthCheckId}/status\");\n b.p(\"HealthCheckId\", () => input.HealthCheckId, \"{HealthCheckId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHealthCheckStatusCommand\");\nvar se_GetHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHostedZoneCommand\");\nvar se_GetHostedZoneCountCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzonecount\");\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHostedZoneCountCommand\");\nvar se_GetHostedZoneLimitCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzonelimit/{HostedZoneId}/{Type}\");\n b.p(\"Type\", () => input.Type, \"{Type}\", false);\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetHostedZoneLimitCommand\");\nvar se_GetQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/queryloggingconfig/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetQueryLoggingConfigCommand\");\nvar se_GetReusableDelegationSetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/delegationset/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetReusableDelegationSetCommand\");\nvar se_GetReusableDelegationSetLimitCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/reusabledelegationsetlimit/{DelegationSetId}/{Type}\");\n b.p(\"Type\", () => input.Type, \"{Type}\", false);\n b.p(\"DelegationSetId\", () => input.DelegationSetId, \"{DelegationSetId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetReusableDelegationSetLimitCommand\");\nvar se_GetTrafficPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicy/{Id}/{Version}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n b.p(\"Version\", () => input.Version.toString(), \"{Version}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetTrafficPolicyCommand\");\nvar se_GetTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstance/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetTrafficPolicyInstanceCommand\");\nvar se_GetTrafficPolicyInstanceCountCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstancecount\");\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_GetTrafficPolicyInstanceCountCommand\");\nvar se_ListCidrBlocksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/cidrcollection/{CollectionId}/cidrblocks\");\n b.p(\"CollectionId\", () => input.CollectionId, \"{CollectionId}\", false);\n const query = (0, import_smithy_client.map)({\n [_l]: [, input[_LN]],\n [_n]: [, input[_NT]],\n [_m]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListCidrBlocksCommand\");\nvar se_ListCidrCollectionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/cidrcollection\");\n const query = (0, import_smithy_client.map)({\n [_n]: [, input[_NT]],\n [_m]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListCidrCollectionsCommand\");\nvar se_ListCidrLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/cidrcollection/{CollectionId}\");\n b.p(\"CollectionId\", () => input.CollectionId, \"{CollectionId}\", false);\n const query = (0, import_smithy_client.map)({\n [_n]: [, input[_NT]],\n [_m]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListCidrLocationsCommand\");\nvar se_ListGeoLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/geolocations\");\n const query = (0, import_smithy_client.map)({\n [_st]: [, input[_SCC]],\n [_sta]: [, input[_SCCt]],\n [_star]: [, input[_SSC]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListGeoLocationsCommand\");\nvar se_ListHealthChecksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/healthcheck\");\n const query = (0, import_smithy_client.map)({\n [_mar]: [, input[_M]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListHealthChecksCommand\");\nvar se_ListHostedZonesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone\");\n const query = (0, import_smithy_client.map)({\n [_mar]: [, input[_M]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],\n [_d]: [, input[_DSI]],\n [_h]: [, input[_HZT]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListHostedZonesCommand\");\nvar se_ListHostedZonesByNameCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzonesbyname\");\n const query = (0, import_smithy_client.map)({\n [_dn]: [, input[_DNSN]],\n [_ho]: [, input[_HZI]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListHostedZonesByNameCommand\");\nvar se_ListHostedZonesByVPCCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzonesbyvpc\");\n const query = (0, import_smithy_client.map)({\n [_v]: [, (0, import_smithy_client.expectNonNull)(input[_VPCI], `VPCId`)],\n [_vp]: [, (0, import_smithy_client.expectNonNull)(input[_VPCR], `VPCRegion`)],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],\n [_n]: [, input[_NT]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListHostedZonesByVPCCommand\");\nvar se_ListQueryLoggingConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/queryloggingconfig\");\n const query = (0, import_smithy_client.map)({\n [_ho]: [, input[_HZI]],\n [_n]: [, input[_NT]],\n [_m]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListQueryLoggingConfigsCommand\");\nvar se_ListResourceRecordSetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/rrset\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n const query = (0, import_smithy_client.map)({\n [_na]: [, input[_SRN]],\n [_t]: [, input[_SRT]],\n [_i]: [, input[_SRI]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListResourceRecordSetsCommand\");\nvar se_ListReusableDelegationSetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/delegationset\");\n const query = (0, import_smithy_client.map)({\n [_mar]: [, input[_M]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListReusableDelegationSetsCommand\");\nvar se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/tags/{ResourceType}/{ResourceId}\");\n b.p(\"ResourceType\", () => input.ResourceType, \"{ResourceType}\", false);\n b.p(\"ResourceId\", () => input.ResourceId, \"{ResourceId}\", false);\n let body;\n b.m(\"GET\").h(headers).b(body);\n return b.build();\n}, \"se_ListTagsForResourceCommand\");\nvar se_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/tags/{ResourceType}\");\n b.p(\"ResourceType\", () => input.ResourceType, \"{ResourceType}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_LTFRR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n bn.lc(input, \"ResourceIds\", \"ResourceIds\", () => se_TagResourceIdList(input[_RIe], context));\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_ListTagsForResourcesCommand\");\nvar se_ListTrafficPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicies\");\n const query = (0, import_smithy_client.map)({\n [_tr]: [, input[_TPIM]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListTrafficPoliciesCommand\");\nvar se_ListTrafficPolicyInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstances\");\n const query = (0, import_smithy_client.map)({\n [_ho]: [, input[_HZIM]],\n [_tra]: [, input[_TPINM]],\n [_traf]: [, input[_TPITM]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListTrafficPolicyInstancesCommand\");\nvar se_ListTrafficPolicyInstancesByHostedZoneCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstances/hostedzone\");\n const query = (0, import_smithy_client.map)({\n [_id]: [, (0, import_smithy_client.expectNonNull)(input[_HZI], `HostedZoneId`)],\n [_tra]: [, input[_TPINM]],\n [_traf]: [, input[_TPITM]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListTrafficPolicyInstancesByHostedZoneCommand\");\nvar se_ListTrafficPolicyInstancesByPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicyinstances/trafficpolicy\");\n const query = (0, import_smithy_client.map)({\n [_id]: [, (0, import_smithy_client.expectNonNull)(input[_TPI], `TrafficPolicyId`)],\n [_ver]: [\n (0, import_smithy_client.expectNonNull)(input.TrafficPolicyVersion, `TrafficPolicyVersion`) != null,\n () => input[_TPV].toString()\n ],\n [_ho]: [, input[_HZIM]],\n [_tra]: [, input[_TPINM]],\n [_traf]: [, input[_TPITM]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListTrafficPolicyInstancesByPolicyCommand\");\nvar se_ListTrafficPolicyVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/trafficpolicies/{Id}/versions\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n const query = (0, import_smithy_client.map)({\n [_traff]: [, input[_TPVM]],\n [_ma]: [() => input.MaxItems !== void 0, () => input[_MI].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListTrafficPolicyVersionsCommand\");\nvar se_ListVPCAssociationAuthorizationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation\");\n b.p(\"HostedZoneId\", () => input.HostedZoneId, \"{HostedZoneId}\", false);\n const query = (0, import_smithy_client.map)({\n [_n]: [, input[_NT]],\n [_m]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListVPCAssociationAuthorizationsCommand\");\nvar se_TestDNSAnswerCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {};\n b.bp(\"/2013-04-01/testdnsanswer\");\n const query = (0, import_smithy_client.map)({\n [_ho]: [, (0, import_smithy_client.expectNonNull)(input[_HZI], `HostedZoneId`)],\n [_r]: [, (0, import_smithy_client.expectNonNull)(input[_RN], `RecordName`)],\n [_re]: [, (0, import_smithy_client.expectNonNull)(input[_RT], `RecordType`)],\n [_res]: [, input[_RIP]],\n [_e]: [, input[_EDNSCSIP]],\n [_ed]: [, input[_EDNSCSM]]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_TestDNSAnswerCommand\");\nvar se_UpdateHealthCheckCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/healthcheck/{HealthCheckId}\");\n b.p(\"HealthCheckId\", () => input.HealthCheckId, \"{HealthCheckId}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_UHCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_AI] != null) {\n bn.c(se_AlarmIdentifier(input[_AI], context).n(_AI));\n }\n bn.lc(input, \"ChildHealthChecks\", \"ChildHealthChecks\", () => se_ChildHealthCheckList(input[_CHC], context));\n if (input[_Di] != null) {\n bn.c(import_xml_builder.XmlNode.of(_Di, String(input[_Di])).n(_Di));\n }\n if (input[_ESNI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_ESNI, String(input[_ESNI])).n(_ESNI));\n }\n if (input[_FT] != null) {\n bn.c(import_xml_builder.XmlNode.of(_FT, String(input[_FT])).n(_FT));\n }\n bn.cc(input, _FQDN);\n if (input[_HCV] != null) {\n bn.c(import_xml_builder.XmlNode.of(_HCV, String(input[_HCV])).n(_HCV));\n }\n if (input[_HT] != null) {\n bn.c(import_xml_builder.XmlNode.of(_HT, String(input[_HT])).n(_HT));\n }\n bn.cc(input, _IPA);\n bn.cc(input, _IDHS);\n if (input[_I] != null) {\n bn.c(import_xml_builder.XmlNode.of(_I, String(input[_I])).n(_I));\n }\n if (input[_P] != null) {\n bn.c(import_xml_builder.XmlNode.of(_P, String(input[_P])).n(_P));\n }\n bn.lc(input, \"Regions\", \"Regions\", () => se_HealthCheckRegionList(input[_R], context));\n bn.lc(input, \"ResetElements\", \"ResetElements\", () => se_ResettableElementNameList(input[_RE], context));\n bn.cc(input, _RP);\n bn.cc(input, _SS);\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateHealthCheckCommand\");\nvar se_UpdateHostedZoneCommentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/hostedzone/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_UHZCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RD, input[_C]).n(_C));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateHostedZoneCommentCommand\");\nvar se_UpdateTrafficPolicyCommentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/trafficpolicy/{Id}/{Version}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n b.p(\"Version\", () => input.Version.toString(), \"{Version}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_UTPCR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPC, input[_C]).n(_C));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateTrafficPolicyCommentCommand\");\nvar se_UpdateTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/xml\"\n };\n b.bp(\"/2013-04-01/trafficpolicyinstance/{Id}\");\n b.p(\"Id\", () => input.Id, \"{Id}\", false);\n let body;\n body = _ve;\n const bn = new import_xml_builder.XmlNode(_UTPIR);\n bn.a(\"xmlns\", \"https://route53.amazonaws.com/doc/2013-04-01/\");\n if (input[_TTL] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TTL, String(input[_TTL])).n(_TTL));\n }\n bn.cc(input, _TPI);\n if (input[_TPV] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TPV, String(input[_TPV])).n(_TPV));\n }\n body += bn.toString();\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_UpdateTrafficPolicyInstanceCommand\");\nvar de_ActivateKeySigningKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_ActivateKeySigningKeyCommand\");\nvar de_AssociateVPCWithHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_AssociateVPCWithHostedZoneCommand\");\nvar de_ChangeCidrCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(data[_Id]);\n }\n return contents;\n}, \"de_ChangeCidrCollectionCommand\");\nvar de_ChangeResourceRecordSetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_ChangeResourceRecordSetsCommand\");\nvar de_ChangeTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_ChangeTagsForResourceCommand\");\nvar de_CreateCidrCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Co] != null) {\n contents[_Co] = de_CidrCollection(data[_Co], context);\n }\n return contents;\n}, \"de_CreateCidrCollectionCommand\");\nvar de_CreateHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HC] != null) {\n contents[_HC] = de_HealthCheck(data[_HC], context);\n }\n return contents;\n}, \"de_CreateHealthCheckCommand\");\nvar de_CreateHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n if (data[_DS] != null) {\n contents[_DS] = de_DelegationSet(data[_DS], context);\n }\n if (data[_HZ] != null) {\n contents[_HZ] = de_HostedZone(data[_HZ], context);\n }\n if (data[_VPC] != null) {\n contents[_VPC] = de_VPC(data[_VPC], context);\n }\n return contents;\n}, \"de_CreateHostedZoneCommand\");\nvar de_CreateKeySigningKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n if (data[_KSK] != null) {\n contents[_KSK] = de_KeySigningKey(data[_KSK], context);\n }\n return contents;\n}, \"de_CreateKeySigningKeyCommand\");\nvar de_CreateQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_QLC] != null) {\n contents[_QLC] = de_QueryLoggingConfig(data[_QLC], context);\n }\n return contents;\n}, \"de_CreateQueryLoggingConfigCommand\");\nvar de_CreateReusableDelegationSetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_DS] != null) {\n contents[_DS] = de_DelegationSet(data[_DS], context);\n }\n return contents;\n}, \"de_CreateReusableDelegationSetCommand\");\nvar de_CreateTrafficPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TP] != null) {\n contents[_TP] = de_TrafficPolicy(data[_TP], context);\n }\n return contents;\n}, \"de_CreateTrafficPolicyCommand\");\nvar de_CreateTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TPIr] != null) {\n contents[_TPIr] = de_TrafficPolicyInstance(data[_TPIr], context);\n }\n return contents;\n}, \"de_CreateTrafficPolicyInstanceCommand\");\nvar de_CreateTrafficPolicyVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output),\n [_L]: [, output.headers[_l]]\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TP] != null) {\n contents[_TP] = de_TrafficPolicy(data[_TP], context);\n }\n return contents;\n}, \"de_CreateTrafficPolicyVersionCommand\");\nvar de_CreateVPCAssociationAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(data[_HZI]);\n }\n if (data[_VPC] != null) {\n contents[_VPC] = de_VPC(data[_VPC], context);\n }\n return contents;\n}, \"de_CreateVPCAssociationAuthorizationCommand\");\nvar de_DeactivateKeySigningKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_DeactivateKeySigningKeyCommand\");\nvar de_DeleteCidrCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteCidrCollectionCommand\");\nvar de_DeleteHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteHealthCheckCommand\");\nvar de_DeleteHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_DeleteHostedZoneCommand\");\nvar de_DeleteKeySigningKeyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_DeleteKeySigningKeyCommand\");\nvar de_DeleteQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteQueryLoggingConfigCommand\");\nvar de_DeleteReusableDelegationSetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteReusableDelegationSetCommand\");\nvar de_DeleteTrafficPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteTrafficPolicyCommand\");\nvar de_DeleteTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteTrafficPolicyInstanceCommand\");\nvar de_DeleteVPCAssociationAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_DeleteVPCAssociationAuthorizationCommand\");\nvar de_DisableHostedZoneDNSSECCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_DisableHostedZoneDNSSECCommand\");\nvar de_DisassociateVPCFromHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_DisassociateVPCFromHostedZoneCommand\");\nvar de_EnableHostedZoneDNSSECCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_EnableHostedZoneDNSSECCommand\");\nvar de_GetAccountLimitCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseLong)(data[_Cou]);\n }\n if (data[_Li] != null) {\n contents[_Li] = de_AccountLimit(data[_Li], context);\n }\n return contents;\n}, \"de_GetAccountLimitCommand\");\nvar de_GetChangeCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_CI] != null) {\n contents[_CI] = de_ChangeInfo(data[_CI], context);\n }\n return contents;\n}, \"de_GetChangeCommand\");\nvar de_GetCheckerIpRangesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.CheckerIpRanges === \"\") {\n contents[_CIR] = [];\n } else if (data[_CIR] != null && data[_CIR][_me] != null) {\n contents[_CIR] = de_CheckerIpRanges((0, import_smithy_client.getArrayIfSingleItem)(data[_CIR][_me]), context);\n }\n return contents;\n}, \"de_GetCheckerIpRangesCommand\");\nvar de_GetDNSSECCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.KeySigningKeys === \"\") {\n contents[_KSKe] = [];\n } else if (data[_KSKe] != null && data[_KSKe][_me] != null) {\n contents[_KSKe] = de_KeySigningKeys((0, import_smithy_client.getArrayIfSingleItem)(data[_KSKe][_me]), context);\n }\n if (data[_S] != null) {\n contents[_S] = de_DNSSECStatus(data[_S], context);\n }\n return contents;\n}, \"de_GetDNSSECCommand\");\nvar de_GetGeoLocationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_GLD] != null) {\n contents[_GLD] = de_GeoLocationDetails(data[_GLD], context);\n }\n return contents;\n}, \"de_GetGeoLocationCommand\");\nvar de_GetHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HC] != null) {\n contents[_HC] = de_HealthCheck(data[_HC], context);\n }\n return contents;\n}, \"de_GetHealthCheckCommand\");\nvar de_GetHealthCheckCountCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HCCe] != null) {\n contents[_HCCe] = (0, import_smithy_client.strictParseLong)(data[_HCCe]);\n }\n return contents;\n}, \"de_GetHealthCheckCountCommand\");\nvar de_GetHealthCheckLastFailureReasonCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.HealthCheckObservations === \"\") {\n contents[_HCO] = [];\n } else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {\n contents[_HCO] = de_HealthCheckObservations((0, import_smithy_client.getArrayIfSingleItem)(data[_HCO][_HCOe]), context);\n }\n return contents;\n}, \"de_GetHealthCheckLastFailureReasonCommand\");\nvar de_GetHealthCheckStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.HealthCheckObservations === \"\") {\n contents[_HCO] = [];\n } else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {\n contents[_HCO] = de_HealthCheckObservations((0, import_smithy_client.getArrayIfSingleItem)(data[_HCO][_HCOe]), context);\n }\n return contents;\n}, \"de_GetHealthCheckStatusCommand\");\nvar de_GetHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_DS] != null) {\n contents[_DS] = de_DelegationSet(data[_DS], context);\n }\n if (data[_HZ] != null) {\n contents[_HZ] = de_HostedZone(data[_HZ], context);\n }\n if (data.VPCs === \"\") {\n contents[_VPCs] = [];\n } else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {\n contents[_VPCs] = de_VPCs((0, import_smithy_client.getArrayIfSingleItem)(data[_VPCs][_VPC]), context);\n }\n return contents;\n}, \"de_GetHostedZoneCommand\");\nvar de_GetHostedZoneCountCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZCo] != null) {\n contents[_HZCo] = (0, import_smithy_client.strictParseLong)(data[_HZCo]);\n }\n return contents;\n}, \"de_GetHostedZoneCountCommand\");\nvar de_GetHostedZoneLimitCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseLong)(data[_Cou]);\n }\n if (data[_Li] != null) {\n contents[_Li] = de_HostedZoneLimit(data[_Li], context);\n }\n return contents;\n}, \"de_GetHostedZoneLimitCommand\");\nvar de_GetQueryLoggingConfigCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_QLC] != null) {\n contents[_QLC] = de_QueryLoggingConfig(data[_QLC], context);\n }\n return contents;\n}, \"de_GetQueryLoggingConfigCommand\");\nvar de_GetReusableDelegationSetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_DS] != null) {\n contents[_DS] = de_DelegationSet(data[_DS], context);\n }\n return contents;\n}, \"de_GetReusableDelegationSetCommand\");\nvar de_GetReusableDelegationSetLimitCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Cou] != null) {\n contents[_Cou] = (0, import_smithy_client.strictParseLong)(data[_Cou]);\n }\n if (data[_Li] != null) {\n contents[_Li] = de_ReusableDelegationSetLimit(data[_Li], context);\n }\n return contents;\n}, \"de_GetReusableDelegationSetLimitCommand\");\nvar de_GetTrafficPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TP] != null) {\n contents[_TP] = de_TrafficPolicy(data[_TP], context);\n }\n return contents;\n}, \"de_GetTrafficPolicyCommand\");\nvar de_GetTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TPIr] != null) {\n contents[_TPIr] = de_TrafficPolicyInstance(data[_TPIr], context);\n }\n return contents;\n}, \"de_GetTrafficPolicyInstanceCommand\");\nvar de_GetTrafficPolicyInstanceCountCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TPIC] != null) {\n contents[_TPIC] = (0, import_smithy_client.strictParseInt32)(data[_TPIC]);\n }\n return contents;\n}, \"de_GetTrafficPolicyInstanceCountCommand\");\nvar de_ListCidrBlocksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.CidrBlocks === \"\") {\n contents[_CBi] = [];\n } else if (data[_CBi] != null && data[_CBi][_me] != null) {\n contents[_CBi] = de_CidrBlockSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CBi][_me]), context);\n }\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n return contents;\n}, \"de_ListCidrBlocksCommand\");\nvar de_ListCidrCollectionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.CidrCollections === \"\") {\n contents[_CCi] = [];\n } else if (data[_CCi] != null && data[_CCi][_me] != null) {\n contents[_CCi] = de_CollectionSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CCi][_me]), context);\n }\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n return contents;\n}, \"de_ListCidrCollectionsCommand\");\nvar de_ListCidrLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.CidrLocations === \"\") {\n contents[_CL] = [];\n } else if (data[_CL] != null && data[_CL][_me] != null) {\n contents[_CL] = de_LocationSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CL][_me]), context);\n }\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n return contents;\n}, \"de_ListCidrLocationsCommand\");\nvar de_ListGeoLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.GeoLocationDetailsList === \"\") {\n contents[_GLDL] = [];\n } else if (data[_GLDL] != null && data[_GLDL][_GLD] != null) {\n contents[_GLDL] = de_GeoLocationDetailsList((0, import_smithy_client.getArrayIfSingleItem)(data[_GLDL][_GLD]), context);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NCC] != null) {\n contents[_NCC] = (0, import_smithy_client.expectString)(data[_NCC]);\n }\n if (data[_NCCe] != null) {\n contents[_NCCe] = (0, import_smithy_client.expectString)(data[_NCCe]);\n }\n if (data[_NSC] != null) {\n contents[_NSC] = (0, import_smithy_client.expectString)(data[_NSC]);\n }\n return contents;\n}, \"de_ListGeoLocationsCommand\");\nvar de_ListHealthChecksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.HealthChecks === \"\") {\n contents[_HCe] = [];\n } else if (data[_HCe] != null && data[_HCe][_HC] != null) {\n contents[_HCe] = de_HealthChecks((0, import_smithy_client.getArrayIfSingleItem)(data[_HCe][_HC]), context);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_M] != null) {\n contents[_M] = (0, import_smithy_client.expectString)(data[_M]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NM] != null) {\n contents[_NM] = (0, import_smithy_client.expectString)(data[_NM]);\n }\n return contents;\n}, \"de_ListHealthChecksCommand\");\nvar de_ListHostedZonesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.HostedZones === \"\") {\n contents[_HZo] = [];\n } else if (data[_HZo] != null && data[_HZo][_HZ] != null) {\n contents[_HZo] = de_HostedZones((0, import_smithy_client.getArrayIfSingleItem)(data[_HZo][_HZ]), context);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_M] != null) {\n contents[_M] = (0, import_smithy_client.expectString)(data[_M]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NM] != null) {\n contents[_NM] = (0, import_smithy_client.expectString)(data[_NM]);\n }\n return contents;\n}, \"de_ListHostedZonesCommand\");\nvar de_ListHostedZonesByNameCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_DNSN] != null) {\n contents[_DNSN] = (0, import_smithy_client.expectString)(data[_DNSN]);\n }\n if (data[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(data[_HZI]);\n }\n if (data.HostedZones === \"\") {\n contents[_HZo] = [];\n } else if (data[_HZo] != null && data[_HZo][_HZ] != null) {\n contents[_HZo] = de_HostedZones((0, import_smithy_client.getArrayIfSingleItem)(data[_HZo][_HZ]), context);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NDNSN] != null) {\n contents[_NDNSN] = (0, import_smithy_client.expectString)(data[_NDNSN]);\n }\n if (data[_NHZI] != null) {\n contents[_NHZI] = (0, import_smithy_client.expectString)(data[_NHZI]);\n }\n return contents;\n}, \"de_ListHostedZonesByNameCommand\");\nvar de_ListHostedZonesByVPCCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.HostedZoneSummaries === \"\") {\n contents[_HZS] = [];\n } else if (data[_HZS] != null && data[_HZS][_HZSo] != null) {\n contents[_HZS] = de_HostedZoneSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_HZS][_HZSo]), context);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n return contents;\n}, \"de_ListHostedZonesByVPCCommand\");\nvar de_ListQueryLoggingConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n if (data.QueryLoggingConfigs === \"\") {\n contents[_QLCu] = [];\n } else if (data[_QLCu] != null && data[_QLCu][_QLC] != null) {\n contents[_QLCu] = de_QueryLoggingConfigs((0, import_smithy_client.getArrayIfSingleItem)(data[_QLCu][_QLC]), context);\n }\n return contents;\n}, \"de_ListQueryLoggingConfigsCommand\");\nvar de_ListResourceRecordSetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NRI] != null) {\n contents[_NRI] = (0, import_smithy_client.expectString)(data[_NRI]);\n }\n if (data[_NRN] != null) {\n contents[_NRN] = (0, import_smithy_client.expectString)(data[_NRN]);\n }\n if (data[_NRT] != null) {\n contents[_NRT] = (0, import_smithy_client.expectString)(data[_NRT]);\n }\n if (data.ResourceRecordSets === \"\") {\n contents[_RRS] = [];\n } else if (data[_RRS] != null && data[_RRS][_RRSe] != null) {\n contents[_RRS] = de_ResourceRecordSets((0, import_smithy_client.getArrayIfSingleItem)(data[_RRS][_RRSe]), context);\n }\n return contents;\n}, \"de_ListResourceRecordSetsCommand\");\nvar de_ListReusableDelegationSetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.DelegationSets === \"\") {\n contents[_DSe] = [];\n } else if (data[_DSe] != null && data[_DSe][_DS] != null) {\n contents[_DSe] = de_DelegationSets((0, import_smithy_client.getArrayIfSingleItem)(data[_DSe][_DS]), context);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_M] != null) {\n contents[_M] = (0, import_smithy_client.expectString)(data[_M]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_NM] != null) {\n contents[_NM] = (0, import_smithy_client.expectString)(data[_NM]);\n }\n return contents;\n}, \"de_ListReusableDelegationSetsCommand\");\nvar de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_RTS] != null) {\n contents[_RTS] = de_ResourceTagSet(data[_RTS], context);\n }\n return contents;\n}, \"de_ListTagsForResourceCommand\");\nvar de_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data.ResourceTagSets === \"\") {\n contents[_RTSe] = [];\n } else if (data[_RTSe] != null && data[_RTSe][_RTS] != null) {\n contents[_RTSe] = de_ResourceTagSetList((0, import_smithy_client.getArrayIfSingleItem)(data[_RTSe][_RTS]), context);\n }\n return contents;\n}, \"de_ListTagsForResourcesCommand\");\nvar de_ListTrafficPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_TPIM] != null) {\n contents[_TPIM] = (0, import_smithy_client.expectString)(data[_TPIM]);\n }\n if (data.TrafficPolicySummaries === \"\") {\n contents[_TPS] = [];\n } else if (data[_TPS] != null && data[_TPS][_TPSr] != null) {\n contents[_TPS] = de_TrafficPolicySummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_TPS][_TPSr]), context);\n }\n return contents;\n}, \"de_ListTrafficPoliciesCommand\");\nvar de_ListTrafficPolicyInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZIM] != null) {\n contents[_HZIM] = (0, import_smithy_client.expectString)(data[_HZIM]);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_TPINM] != null) {\n contents[_TPINM] = (0, import_smithy_client.expectString)(data[_TPINM]);\n }\n if (data[_TPITM] != null) {\n contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);\n }\n if (data.TrafficPolicyInstances === \"\") {\n contents[_TPIra] = [];\n } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {\n contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);\n }\n return contents;\n}, \"de_ListTrafficPolicyInstancesCommand\");\nvar de_ListTrafficPolicyInstancesByHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_TPINM] != null) {\n contents[_TPINM] = (0, import_smithy_client.expectString)(data[_TPINM]);\n }\n if (data[_TPITM] != null) {\n contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);\n }\n if (data.TrafficPolicyInstances === \"\") {\n contents[_TPIra] = [];\n } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {\n contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);\n }\n return contents;\n}, \"de_ListTrafficPolicyInstancesByHostedZoneCommand\");\nvar de_ListTrafficPolicyInstancesByPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZIM] != null) {\n contents[_HZIM] = (0, import_smithy_client.expectString)(data[_HZIM]);\n }\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data[_TPINM] != null) {\n contents[_TPINM] = (0, import_smithy_client.expectString)(data[_TPINM]);\n }\n if (data[_TPITM] != null) {\n contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);\n }\n if (data.TrafficPolicyInstances === \"\") {\n contents[_TPIra] = [];\n } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {\n contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);\n }\n return contents;\n}, \"de_ListTrafficPolicyInstancesByPolicyCommand\");\nvar de_ListTrafficPolicyVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_IT] != null) {\n contents[_IT] = (0, import_smithy_client.parseBoolean)(data[_IT]);\n }\n if (data[_MI] != null) {\n contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);\n }\n if (data.TrafficPolicies === \"\") {\n contents[_TPr] = [];\n } else if (data[_TPr] != null && data[_TPr][_TP] != null) {\n contents[_TPr] = de_TrafficPolicies((0, import_smithy_client.getArrayIfSingleItem)(data[_TPr][_TP]), context);\n }\n if (data[_TPVM] != null) {\n contents[_TPVM] = (0, import_smithy_client.expectString)(data[_TPVM]);\n }\n return contents;\n}, \"de_ListTrafficPolicyVersionsCommand\");\nvar de_ListVPCAssociationAuthorizationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(data[_HZI]);\n }\n if (data[_NT] != null) {\n contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);\n }\n if (data.VPCs === \"\") {\n contents[_VPCs] = [];\n } else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {\n contents[_VPCs] = de_VPCs((0, import_smithy_client.getArrayIfSingleItem)(data[_VPCs][_VPC]), context);\n }\n return contents;\n}, \"de_ListVPCAssociationAuthorizationsCommand\");\nvar de_TestDNSAnswerCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_Na] != null) {\n contents[_Na] = (0, import_smithy_client.expectString)(data[_Na]);\n }\n if (data[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(data[_Pr]);\n }\n if (data.RecordData === \"\") {\n contents[_RDe] = [];\n } else if (data[_RDe] != null && data[_RDe][_RDE] != null) {\n contents[_RDe] = de_RecordData((0, import_smithy_client.getArrayIfSingleItem)(data[_RDe][_RDE]), context);\n }\n if (data[_RN] != null) {\n contents[_RN] = (0, import_smithy_client.expectString)(data[_RN]);\n }\n if (data[_RT] != null) {\n contents[_RT] = (0, import_smithy_client.expectString)(data[_RT]);\n }\n if (data[_RC] != null) {\n contents[_RC] = (0, import_smithy_client.expectString)(data[_RC]);\n }\n return contents;\n}, \"de_TestDNSAnswerCommand\");\nvar de_UpdateHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HC] != null) {\n contents[_HC] = de_HealthCheck(data[_HC], context);\n }\n return contents;\n}, \"de_UpdateHealthCheckCommand\");\nvar de_UpdateHostedZoneCommentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_HZ] != null) {\n contents[_HZ] = de_HostedZone(data[_HZ], context);\n }\n return contents;\n}, \"de_UpdateHostedZoneCommentCommand\");\nvar de_UpdateTrafficPolicyCommentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TP] != null) {\n contents[_TP] = de_TrafficPolicy(data[_TP], context);\n }\n return contents;\n}, \"de_UpdateTrafficPolicyCommentCommand\");\nvar de_UpdateTrafficPolicyInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), \"body\");\n if (data[_TPIr] != null) {\n contents[_TPIr] = de_TrafficPolicyInstance(data[_TPIr], context);\n }\n return contents;\n}, \"de_UpdateTrafficPolicyInstanceCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestXmlErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"ConcurrentModification\":\n case \"com.amazonaws.route53#ConcurrentModification\":\n throw await de_ConcurrentModificationRes(parsedOutput, context);\n case \"InvalidInput\":\n case \"com.amazonaws.route53#InvalidInput\":\n throw await de_InvalidInputRes(parsedOutput, context);\n case \"InvalidKMSArn\":\n case \"com.amazonaws.route53#InvalidKMSArn\":\n throw await de_InvalidKMSArnRes(parsedOutput, context);\n case \"InvalidKeySigningKeyStatus\":\n case \"com.amazonaws.route53#InvalidKeySigningKeyStatus\":\n throw await de_InvalidKeySigningKeyStatusRes(parsedOutput, context);\n case \"InvalidSigningStatus\":\n case \"com.amazonaws.route53#InvalidSigningStatus\":\n throw await de_InvalidSigningStatusRes(parsedOutput, context);\n case \"NoSuchKeySigningKey\":\n case \"com.amazonaws.route53#NoSuchKeySigningKey\":\n throw await de_NoSuchKeySigningKeyRes(parsedOutput, context);\n case \"ConflictingDomainExists\":\n case \"com.amazonaws.route53#ConflictingDomainExists\":\n throw await de_ConflictingDomainExistsRes(parsedOutput, context);\n case \"InvalidVPCId\":\n case \"com.amazonaws.route53#InvalidVPCId\":\n throw await de_InvalidVPCIdRes(parsedOutput, context);\n case \"LimitsExceeded\":\n case \"com.amazonaws.route53#LimitsExceeded\":\n throw await de_LimitsExceededRes(parsedOutput, context);\n case \"NoSuchHostedZone\":\n case \"com.amazonaws.route53#NoSuchHostedZone\":\n throw await de_NoSuchHostedZoneRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.route53#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"PriorRequestNotComplete\":\n case \"com.amazonaws.route53#PriorRequestNotComplete\":\n throw await de_PriorRequestNotCompleteRes(parsedOutput, context);\n case \"PublicZoneVPCAssociation\":\n case \"com.amazonaws.route53#PublicZoneVPCAssociation\":\n throw await de_PublicZoneVPCAssociationRes(parsedOutput, context);\n case \"CidrBlockInUseException\":\n case \"com.amazonaws.route53#CidrBlockInUseException\":\n throw await de_CidrBlockInUseExceptionRes(parsedOutput, context);\n case \"CidrCollectionVersionMismatchException\":\n case \"com.amazonaws.route53#CidrCollectionVersionMismatchException\":\n throw await de_CidrCollectionVersionMismatchExceptionRes(parsedOutput, context);\n case \"NoSuchCidrCollectionException\":\n case \"com.amazonaws.route53#NoSuchCidrCollectionException\":\n throw await de_NoSuchCidrCollectionExceptionRes(parsedOutput, context);\n case \"InvalidChangeBatch\":\n case \"com.amazonaws.route53#InvalidChangeBatch\":\n throw await de_InvalidChangeBatchRes(parsedOutput, context);\n case \"NoSuchHealthCheck\":\n case \"com.amazonaws.route53#NoSuchHealthCheck\":\n throw await de_NoSuchHealthCheckRes(parsedOutput, context);\n case \"ThrottlingException\":\n case \"com.amazonaws.route53#ThrottlingException\":\n throw await de_ThrottlingExceptionRes(parsedOutput, context);\n case \"CidrCollectionAlreadyExistsException\":\n case \"com.amazonaws.route53#CidrCollectionAlreadyExistsException\":\n throw await de_CidrCollectionAlreadyExistsExceptionRes(parsedOutput, context);\n case \"HealthCheckAlreadyExists\":\n case \"com.amazonaws.route53#HealthCheckAlreadyExists\":\n throw await de_HealthCheckAlreadyExistsRes(parsedOutput, context);\n case \"TooManyHealthChecks\":\n case \"com.amazonaws.route53#TooManyHealthChecks\":\n throw await de_TooManyHealthChecksRes(parsedOutput, context);\n case \"DelegationSetNotAvailable\":\n case \"com.amazonaws.route53#DelegationSetNotAvailable\":\n throw await de_DelegationSetNotAvailableRes(parsedOutput, context);\n case \"DelegationSetNotReusable\":\n case \"com.amazonaws.route53#DelegationSetNotReusable\":\n throw await de_DelegationSetNotReusableRes(parsedOutput, context);\n case \"HostedZoneAlreadyExists\":\n case \"com.amazonaws.route53#HostedZoneAlreadyExists\":\n throw await de_HostedZoneAlreadyExistsRes(parsedOutput, context);\n case \"InvalidDomainName\":\n case \"com.amazonaws.route53#InvalidDomainName\":\n throw await de_InvalidDomainNameRes(parsedOutput, context);\n case \"NoSuchDelegationSet\":\n case \"com.amazonaws.route53#NoSuchDelegationSet\":\n throw await de_NoSuchDelegationSetRes(parsedOutput, context);\n case \"TooManyHostedZones\":\n case \"com.amazonaws.route53#TooManyHostedZones\":\n throw await de_TooManyHostedZonesRes(parsedOutput, context);\n case \"InvalidArgument\":\n case \"com.amazonaws.route53#InvalidArgument\":\n throw await de_InvalidArgumentRes(parsedOutput, context);\n case \"InvalidKeySigningKeyName\":\n case \"com.amazonaws.route53#InvalidKeySigningKeyName\":\n throw await de_InvalidKeySigningKeyNameRes(parsedOutput, context);\n case \"KeySigningKeyAlreadyExists\":\n case \"com.amazonaws.route53#KeySigningKeyAlreadyExists\":\n throw await de_KeySigningKeyAlreadyExistsRes(parsedOutput, context);\n case \"TooManyKeySigningKeys\":\n case \"com.amazonaws.route53#TooManyKeySigningKeys\":\n throw await de_TooManyKeySigningKeysRes(parsedOutput, context);\n case \"InsufficientCloudWatchLogsResourcePolicy\":\n case \"com.amazonaws.route53#InsufficientCloudWatchLogsResourcePolicy\":\n throw await de_InsufficientCloudWatchLogsResourcePolicyRes(parsedOutput, context);\n case \"NoSuchCloudWatchLogsLogGroup\":\n case \"com.amazonaws.route53#NoSuchCloudWatchLogsLogGroup\":\n throw await de_NoSuchCloudWatchLogsLogGroupRes(parsedOutput, context);\n case \"QueryLoggingConfigAlreadyExists\":\n case \"com.amazonaws.route53#QueryLoggingConfigAlreadyExists\":\n throw await de_QueryLoggingConfigAlreadyExistsRes(parsedOutput, context);\n case \"DelegationSetAlreadyCreated\":\n case \"com.amazonaws.route53#DelegationSetAlreadyCreated\":\n throw await de_DelegationSetAlreadyCreatedRes(parsedOutput, context);\n case \"DelegationSetAlreadyReusable\":\n case \"com.amazonaws.route53#DelegationSetAlreadyReusable\":\n throw await de_DelegationSetAlreadyReusableRes(parsedOutput, context);\n case \"HostedZoneNotFound\":\n case \"com.amazonaws.route53#HostedZoneNotFound\":\n throw await de_HostedZoneNotFoundRes(parsedOutput, context);\n case \"InvalidTrafficPolicyDocument\":\n case \"com.amazonaws.route53#InvalidTrafficPolicyDocument\":\n throw await de_InvalidTrafficPolicyDocumentRes(parsedOutput, context);\n case \"TooManyTrafficPolicies\":\n case \"com.amazonaws.route53#TooManyTrafficPolicies\":\n throw await de_TooManyTrafficPoliciesRes(parsedOutput, context);\n case \"TrafficPolicyAlreadyExists\":\n case \"com.amazonaws.route53#TrafficPolicyAlreadyExists\":\n throw await de_TrafficPolicyAlreadyExistsRes(parsedOutput, context);\n case \"NoSuchTrafficPolicy\":\n case \"com.amazonaws.route53#NoSuchTrafficPolicy\":\n throw await de_NoSuchTrafficPolicyRes(parsedOutput, context);\n case \"TooManyTrafficPolicyInstances\":\n case \"com.amazonaws.route53#TooManyTrafficPolicyInstances\":\n throw await de_TooManyTrafficPolicyInstancesRes(parsedOutput, context);\n case \"TrafficPolicyInstanceAlreadyExists\":\n case \"com.amazonaws.route53#TrafficPolicyInstanceAlreadyExists\":\n throw await de_TrafficPolicyInstanceAlreadyExistsRes(parsedOutput, context);\n case \"TooManyTrafficPolicyVersionsForCurrentPolicy\":\n case \"com.amazonaws.route53#TooManyTrafficPolicyVersionsForCurrentPolicy\":\n throw await de_TooManyTrafficPolicyVersionsForCurrentPolicyRes(parsedOutput, context);\n case \"TooManyVPCAssociationAuthorizations\":\n case \"com.amazonaws.route53#TooManyVPCAssociationAuthorizations\":\n throw await de_TooManyVPCAssociationAuthorizationsRes(parsedOutput, context);\n case \"KeySigningKeyInParentDSRecord\":\n case \"com.amazonaws.route53#KeySigningKeyInParentDSRecord\":\n throw await de_KeySigningKeyInParentDSRecordRes(parsedOutput, context);\n case \"KeySigningKeyInUse\":\n case \"com.amazonaws.route53#KeySigningKeyInUse\":\n throw await de_KeySigningKeyInUseRes(parsedOutput, context);\n case \"CidrCollectionInUseException\":\n case \"com.amazonaws.route53#CidrCollectionInUseException\":\n throw await de_CidrCollectionInUseExceptionRes(parsedOutput, context);\n case \"HealthCheckInUse\":\n case \"com.amazonaws.route53#HealthCheckInUse\":\n throw await de_HealthCheckInUseRes(parsedOutput, context);\n case \"HostedZoneNotEmpty\":\n case \"com.amazonaws.route53#HostedZoneNotEmpty\":\n throw await de_HostedZoneNotEmptyRes(parsedOutput, context);\n case \"NoSuchQueryLoggingConfig\":\n case \"com.amazonaws.route53#NoSuchQueryLoggingConfig\":\n throw await de_NoSuchQueryLoggingConfigRes(parsedOutput, context);\n case \"DelegationSetInUse\":\n case \"com.amazonaws.route53#DelegationSetInUse\":\n throw await de_DelegationSetInUseRes(parsedOutput, context);\n case \"TrafficPolicyInUse\":\n case \"com.amazonaws.route53#TrafficPolicyInUse\":\n throw await de_TrafficPolicyInUseRes(parsedOutput, context);\n case \"NoSuchTrafficPolicyInstance\":\n case \"com.amazonaws.route53#NoSuchTrafficPolicyInstance\":\n throw await de_NoSuchTrafficPolicyInstanceRes(parsedOutput, context);\n case \"VPCAssociationAuthorizationNotFound\":\n case \"com.amazonaws.route53#VPCAssociationAuthorizationNotFound\":\n throw await de_VPCAssociationAuthorizationNotFoundRes(parsedOutput, context);\n case \"DNSSECNotFound\":\n case \"com.amazonaws.route53#DNSSECNotFound\":\n throw await de_DNSSECNotFoundRes(parsedOutput, context);\n case \"LastVPCAssociation\":\n case \"com.amazonaws.route53#LastVPCAssociation\":\n throw await de_LastVPCAssociationRes(parsedOutput, context);\n case \"VPCAssociationNotFound\":\n case \"com.amazonaws.route53#VPCAssociationNotFound\":\n throw await de_VPCAssociationNotFoundRes(parsedOutput, context);\n case \"HostedZonePartiallyDelegated\":\n case \"com.amazonaws.route53#HostedZonePartiallyDelegated\":\n throw await de_HostedZonePartiallyDelegatedRes(parsedOutput, context);\n case \"KeySigningKeyWithActiveStatusNotFound\":\n case \"com.amazonaws.route53#KeySigningKeyWithActiveStatusNotFound\":\n throw await de_KeySigningKeyWithActiveStatusNotFoundRes(parsedOutput, context);\n case \"NoSuchChange\":\n case \"com.amazonaws.route53#NoSuchChange\":\n throw await de_NoSuchChangeRes(parsedOutput, context);\n case \"NoSuchGeoLocation\":\n case \"com.amazonaws.route53#NoSuchGeoLocation\":\n throw await de_NoSuchGeoLocationRes(parsedOutput, context);\n case \"IncompatibleVersion\":\n case \"com.amazonaws.route53#IncompatibleVersion\":\n throw await de_IncompatibleVersionRes(parsedOutput, context);\n case \"HostedZoneNotPrivate\":\n case \"com.amazonaws.route53#HostedZoneNotPrivate\":\n throw await de_HostedZoneNotPrivateRes(parsedOutput, context);\n case \"NoSuchCidrLocationException\":\n case \"com.amazonaws.route53#NoSuchCidrLocationException\":\n throw await de_NoSuchCidrLocationExceptionRes(parsedOutput, context);\n case \"InvalidPaginationToken\":\n case \"com.amazonaws.route53#InvalidPaginationToken\":\n throw await de_InvalidPaginationTokenRes(parsedOutput, context);\n case \"HealthCheckVersionMismatch\":\n case \"com.amazonaws.route53#HealthCheckVersionMismatch\":\n throw await de_HealthCheckVersionMismatchRes(parsedOutput, context);\n case \"ConflictingTypes\":\n case \"com.amazonaws.route53#ConflictingTypes\":\n throw await de_ConflictingTypesRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(Route53ServiceException);\nvar de_CidrBlockInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new CidrBlockInUseException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_CidrBlockInUseExceptionRes\");\nvar de_CidrCollectionAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new CidrCollectionAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_CidrCollectionAlreadyExistsExceptionRes\");\nvar de_CidrCollectionInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new CidrCollectionInUseException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_CidrCollectionInUseExceptionRes\");\nvar de_CidrCollectionVersionMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new CidrCollectionVersionMismatchException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_CidrCollectionVersionMismatchExceptionRes\");\nvar de_ConcurrentModificationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new ConcurrentModification({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_ConcurrentModificationRes\");\nvar de_ConflictingDomainExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new ConflictingDomainExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_ConflictingDomainExistsRes\");\nvar de_ConflictingTypesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new ConflictingTypes({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_ConflictingTypesRes\");\nvar de_DelegationSetAlreadyCreatedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DelegationSetAlreadyCreated({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DelegationSetAlreadyCreatedRes\");\nvar de_DelegationSetAlreadyReusableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DelegationSetAlreadyReusable({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DelegationSetAlreadyReusableRes\");\nvar de_DelegationSetInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DelegationSetInUse({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DelegationSetInUseRes\");\nvar de_DelegationSetNotAvailableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DelegationSetNotAvailable({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DelegationSetNotAvailableRes\");\nvar de_DelegationSetNotReusableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DelegationSetNotReusable({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DelegationSetNotReusableRes\");\nvar de_DNSSECNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new DNSSECNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_DNSSECNotFoundRes\");\nvar de_HealthCheckAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HealthCheckAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HealthCheckAlreadyExistsRes\");\nvar de_HealthCheckInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HealthCheckInUse({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HealthCheckInUseRes\");\nvar de_HealthCheckVersionMismatchRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HealthCheckVersionMismatch({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HealthCheckVersionMismatchRes\");\nvar de_HostedZoneAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HostedZoneAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HostedZoneAlreadyExistsRes\");\nvar de_HostedZoneNotEmptyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HostedZoneNotEmpty({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HostedZoneNotEmptyRes\");\nvar de_HostedZoneNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HostedZoneNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HostedZoneNotFoundRes\");\nvar de_HostedZoneNotPrivateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HostedZoneNotPrivate({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HostedZoneNotPrivateRes\");\nvar de_HostedZonePartiallyDelegatedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new HostedZonePartiallyDelegated({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_HostedZonePartiallyDelegatedRes\");\nvar de_IncompatibleVersionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new IncompatibleVersion({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_IncompatibleVersionRes\");\nvar de_InsufficientCloudWatchLogsResourcePolicyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InsufficientCloudWatchLogsResourcePolicy({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InsufficientCloudWatchLogsResourcePolicyRes\");\nvar de_InvalidArgumentRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidArgument({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidArgumentRes\");\nvar de_InvalidChangeBatchRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n if (data.messages === \"\") {\n contents[_mess] = [];\n } else if (data[_mess] != null && data[_mess][_Me] != null) {\n contents[_mess] = de_ErrorMessages((0, import_smithy_client.getArrayIfSingleItem)(data[_mess][_Me]), context);\n }\n const exception = new InvalidChangeBatch({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidChangeBatchRes\");\nvar de_InvalidDomainNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidDomainName({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidDomainNameRes\");\nvar de_InvalidInputRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidInput({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidInputRes\");\nvar de_InvalidKeySigningKeyNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidKeySigningKeyName({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidKeySigningKeyNameRes\");\nvar de_InvalidKeySigningKeyStatusRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidKeySigningKeyStatus({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidKeySigningKeyStatusRes\");\nvar de_InvalidKMSArnRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidKMSArn({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidKMSArnRes\");\nvar de_InvalidPaginationTokenRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidPaginationToken({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidPaginationTokenRes\");\nvar de_InvalidSigningStatusRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidSigningStatus({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidSigningStatusRes\");\nvar de_InvalidTrafficPolicyDocumentRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidTrafficPolicyDocument({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidTrafficPolicyDocumentRes\");\nvar de_InvalidVPCIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new InvalidVPCId({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_InvalidVPCIdRes\");\nvar de_KeySigningKeyAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new KeySigningKeyAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_KeySigningKeyAlreadyExistsRes\");\nvar de_KeySigningKeyInParentDSRecordRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new KeySigningKeyInParentDSRecord({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_KeySigningKeyInParentDSRecordRes\");\nvar de_KeySigningKeyInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new KeySigningKeyInUse({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_KeySigningKeyInUseRes\");\nvar de_KeySigningKeyWithActiveStatusNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new KeySigningKeyWithActiveStatusNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_KeySigningKeyWithActiveStatusNotFoundRes\");\nvar de_LastVPCAssociationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new LastVPCAssociation({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_LastVPCAssociationRes\");\nvar de_LimitsExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new LimitsExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_LimitsExceededRes\");\nvar de_NoSuchChangeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchChange({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchChangeRes\");\nvar de_NoSuchCidrCollectionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new NoSuchCidrCollectionException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchCidrCollectionExceptionRes\");\nvar de_NoSuchCidrLocationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(data[_Me]);\n }\n const exception = new NoSuchCidrLocationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchCidrLocationExceptionRes\");\nvar de_NoSuchCloudWatchLogsLogGroupRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchCloudWatchLogsLogGroup({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchCloudWatchLogsLogGroupRes\");\nvar de_NoSuchDelegationSetRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchDelegationSet({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchDelegationSetRes\");\nvar de_NoSuchGeoLocationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchGeoLocation({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchGeoLocationRes\");\nvar de_NoSuchHealthCheckRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchHealthCheck({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchHealthCheckRes\");\nvar de_NoSuchHostedZoneRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchHostedZone({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchHostedZoneRes\");\nvar de_NoSuchKeySigningKeyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchKeySigningKey({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchKeySigningKeyRes\");\nvar de_NoSuchQueryLoggingConfigRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchQueryLoggingConfig({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchQueryLoggingConfigRes\");\nvar de_NoSuchTrafficPolicyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchTrafficPolicy({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchTrafficPolicyRes\");\nvar de_NoSuchTrafficPolicyInstanceRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NoSuchTrafficPolicyInstance({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NoSuchTrafficPolicyInstanceRes\");\nvar de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new NotAuthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_NotAuthorizedExceptionRes\");\nvar de_PriorRequestNotCompleteRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new PriorRequestNotComplete({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_PriorRequestNotCompleteRes\");\nvar de_PublicZoneVPCAssociationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new PublicZoneVPCAssociation({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_PublicZoneVPCAssociationRes\");\nvar de_QueryLoggingConfigAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new QueryLoggingConfigAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_QueryLoggingConfigAlreadyExistsRes\");\nvar de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new ThrottlingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_ThrottlingExceptionRes\");\nvar de_TooManyHealthChecksRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyHealthChecks({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyHealthChecksRes\");\nvar de_TooManyHostedZonesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyHostedZones({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyHostedZonesRes\");\nvar de_TooManyKeySigningKeysRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyKeySigningKeys({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyKeySigningKeysRes\");\nvar de_TooManyTrafficPoliciesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyTrafficPolicies({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyTrafficPoliciesRes\");\nvar de_TooManyTrafficPolicyInstancesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyTrafficPolicyInstances({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyTrafficPolicyInstancesRes\");\nvar de_TooManyTrafficPolicyVersionsForCurrentPolicyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyTrafficPolicyVersionsForCurrentPolicy({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyTrafficPolicyVersionsForCurrentPolicyRes\");\nvar de_TooManyVPCAssociationAuthorizationsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TooManyVPCAssociationAuthorizations({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TooManyVPCAssociationAuthorizationsRes\");\nvar de_TrafficPolicyAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TrafficPolicyAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TrafficPolicyAlreadyExistsRes\");\nvar de_TrafficPolicyInstanceAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TrafficPolicyInstanceAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TrafficPolicyInstanceAlreadyExistsRes\");\nvar de_TrafficPolicyInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new TrafficPolicyInUse({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_TrafficPolicyInUseRes\");\nvar de_VPCAssociationAuthorizationNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new VPCAssociationAuthorizationNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_VPCAssociationAuthorizationNotFoundRes\");\nvar de_VPCAssociationNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body.Error;\n if (data[_mes] != null) {\n contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);\n }\n const exception = new VPCAssociationNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body.Error);\n}, \"de_VPCAssociationNotFoundRes\");\nvar se_AlarmIdentifier = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_AI);\n if (input[_Re] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CWR, input[_Re]).n(_Re));\n }\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_AN, input[_N]).n(_N));\n }\n return bn;\n}, \"se_AlarmIdentifier\");\nvar se_AliasTarget = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_ATl);\n if (input[_HZI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RI, input[_HZI]).n(_HZI));\n }\n bn.cc(input, _DNSN);\n if (input[_ETH] != null) {\n bn.c(import_xml_builder.XmlNode.of(_AHE, String(input[_ETH])).n(_ETH));\n }\n return bn;\n}, \"se_AliasTarget\");\nvar se_Change = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_Cha);\n if (input[_A] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CA, input[_A]).n(_A));\n }\n if (input[_RRSe] != null) {\n bn.c(se_ResourceRecordSet(input[_RRSe], context).n(_RRSe));\n }\n return bn;\n}, \"se_Change\");\nvar se_ChangeBatch = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_CB);\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RD, input[_C]).n(_C));\n }\n bn.lc(input, \"Changes\", \"Changes\", () => se_Changes(input[_Ch], context));\n return bn;\n}, \"se_ChangeBatch\");\nvar se_Changes = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = se_Change(entry, context);\n return n.n(_Cha);\n });\n}, \"se_Changes\");\nvar se_ChildHealthCheckList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_HCI, entry);\n return n.n(_CHCh);\n });\n}, \"se_ChildHealthCheckList\");\nvar se_CidrCollectionChange = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_CCC);\n if (input[_LN] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CLNDNA, input[_LN]).n(_LN));\n }\n if (input[_A] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CCCA, input[_A]).n(_A));\n }\n bn.lc(input, \"CidrList\", \"CidrList\", () => se_CidrList(input[_CLi], context));\n return bn;\n}, \"se_CidrCollectionChange\");\nvar se_CidrCollectionChanges = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = se_CidrCollectionChange(entry, context);\n return n.n(_me);\n });\n}, \"se_CidrCollectionChanges\");\nvar se_CidrList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_Ci, entry);\n return n.n(_Ci);\n });\n}, \"se_CidrList\");\nvar se_CidrRoutingConfig = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_CRC);\n if (input[_CIo] != null) {\n bn.c(import_xml_builder.XmlNode.of(_UUID, input[_CIo]).n(_CIo));\n }\n if (input[_LN] != null) {\n bn.c(import_xml_builder.XmlNode.of(_CLNDA, input[_LN]).n(_LN));\n }\n return bn;\n}, \"se_CidrRoutingConfig\");\nvar se_Coordinates = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_Coo);\n bn.cc(input, _La);\n bn.cc(input, _Lo);\n return bn;\n}, \"se_Coordinates\");\nvar se_GeoLocation = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_GL);\n if (input[_CC] != null) {\n bn.c(import_xml_builder.XmlNode.of(_GLCC, input[_CC]).n(_CC));\n }\n if (input[_CCo] != null) {\n bn.c(import_xml_builder.XmlNode.of(_GLCCe, input[_CCo]).n(_CCo));\n }\n if (input[_SC] != null) {\n bn.c(import_xml_builder.XmlNode.of(_GLSC, input[_SC]).n(_SC));\n }\n return bn;\n}, \"se_GeoLocation\");\nvar se_GeoProximityLocation = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_GPL);\n bn.cc(input, _AWSR);\n bn.cc(input, _LZG);\n if (input[_Coo] != null) {\n bn.c(se_Coordinates(input[_Coo], context).n(_Coo));\n }\n if (input[_B] != null) {\n bn.c(import_xml_builder.XmlNode.of(_B, String(input[_B])).n(_B));\n }\n return bn;\n}, \"se_GeoProximityLocation\");\nvar se_HealthCheckConfig = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_HCC);\n bn.cc(input, _IPA);\n if (input[_P] != null) {\n bn.c(import_xml_builder.XmlNode.of(_P, String(input[_P])).n(_P));\n }\n if (input[_T] != null) {\n bn.c(import_xml_builder.XmlNode.of(_HCT, input[_T]).n(_T));\n }\n bn.cc(input, _RP);\n bn.cc(input, _FQDN);\n bn.cc(input, _SS);\n if (input[_RIeq] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RIeq, String(input[_RIeq])).n(_RIeq));\n }\n if (input[_FT] != null) {\n bn.c(import_xml_builder.XmlNode.of(_FT, String(input[_FT])).n(_FT));\n }\n if (input[_ML] != null) {\n bn.c(import_xml_builder.XmlNode.of(_ML, String(input[_ML])).n(_ML));\n }\n if (input[_I] != null) {\n bn.c(import_xml_builder.XmlNode.of(_I, String(input[_I])).n(_I));\n }\n if (input[_Di] != null) {\n bn.c(import_xml_builder.XmlNode.of(_Di, String(input[_Di])).n(_Di));\n }\n if (input[_HT] != null) {\n bn.c(import_xml_builder.XmlNode.of(_HT, String(input[_HT])).n(_HT));\n }\n bn.lc(input, \"ChildHealthChecks\", \"ChildHealthChecks\", () => se_ChildHealthCheckList(input[_CHC], context));\n if (input[_ESNI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_ESNI, String(input[_ESNI])).n(_ESNI));\n }\n bn.lc(input, \"Regions\", \"Regions\", () => se_HealthCheckRegionList(input[_R], context));\n if (input[_AI] != null) {\n bn.c(se_AlarmIdentifier(input[_AI], context).n(_AI));\n }\n bn.cc(input, _IDHS);\n bn.cc(input, _RCA);\n return bn;\n}, \"se_HealthCheckConfig\");\nvar se_HealthCheckRegionList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_HCR, entry);\n return n.n(_Re);\n });\n}, \"se_HealthCheckRegionList\");\nvar se_HostedZoneConfig = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_HZC);\n if (input[_C] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RD, input[_C]).n(_C));\n }\n if (input[_PZ] != null) {\n bn.c(import_xml_builder.XmlNode.of(_IPZ, String(input[_PZ])).n(_PZ));\n }\n return bn;\n}, \"se_HostedZoneConfig\");\nvar se_ResettableElementNameList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_REN, entry);\n return n.n(_REN);\n });\n}, \"se_ResettableElementNameList\");\nvar se_ResourceRecord = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_RR);\n if (input[_V] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RDa, input[_V]).n(_V));\n }\n return bn;\n}, \"se_ResourceRecord\");\nvar se_ResourceRecords = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = se_ResourceRecord(entry, context);\n return n.n(_RR);\n });\n}, \"se_ResourceRecords\");\nvar se_ResourceRecordSet = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_RRSe);\n if (input[_N] != null) {\n bn.c(import_xml_builder.XmlNode.of(_DNSN, input[_N]).n(_N));\n }\n if (input[_T] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRT, input[_T]).n(_T));\n }\n if (input[_SI] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRSI, input[_SI]).n(_SI));\n }\n if (input[_W] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRSW, String(input[_W])).n(_W));\n }\n if (input[_Re] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRSR, input[_Re]).n(_Re));\n }\n if (input[_GL] != null) {\n bn.c(se_GeoLocation(input[_GL], context).n(_GL));\n }\n if (input[_F] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRSF, input[_F]).n(_F));\n }\n if (input[_MVA] != null) {\n bn.c(import_xml_builder.XmlNode.of(_RRSMVA, String(input[_MVA])).n(_MVA));\n }\n if (input[_TTL] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TTL, String(input[_TTL])).n(_TTL));\n }\n bn.lc(input, \"ResourceRecords\", \"ResourceRecords\", () => se_ResourceRecords(input[_RRe], context));\n if (input[_ATl] != null) {\n bn.c(se_AliasTarget(input[_ATl], context).n(_ATl));\n }\n bn.cc(input, _HCI);\n bn.cc(input, _TPII);\n if (input[_CRC] != null) {\n bn.c(se_CidrRoutingConfig(input[_CRC], context).n(_CRC));\n }\n if (input[_GPL] != null) {\n bn.c(se_GeoProximityLocation(input[_GPL], context).n(_GPL));\n }\n return bn;\n}, \"se_ResourceRecordSet\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_Ta);\n if (input[_K] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TK, input[_K]).n(_K));\n }\n if (input[_V] != null) {\n bn.c(import_xml_builder.XmlNode.of(_TV, input[_V]).n(_V));\n }\n return bn;\n}, \"se_Tag\");\nvar se_TagKeyList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_TK, entry);\n return n.n(_K);\n });\n}, \"se_TagKeyList\");\nvar se_TagList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = se_Tag(entry, context);\n return n.n(_Ta);\n });\n}, \"se_TagList\");\nvar se_TagResourceIdList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n const n = import_xml_builder.XmlNode.of(_TRI, entry);\n return n.n(_RI);\n });\n}, \"se_TagResourceIdList\");\nvar se_VPC = /* @__PURE__ */ __name((input, context) => {\n const bn = new import_xml_builder.XmlNode(_VPC);\n bn.cc(input, _VPCR);\n bn.cc(input, _VPCI);\n return bn;\n}, \"se_VPC\");\nvar de_AccountLimit = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.strictParseLong)(output[_V]);\n }\n return contents;\n}, \"de_AccountLimit\");\nvar de_AlarmIdentifier = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Re] != null) {\n contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n return contents;\n}, \"de_AlarmIdentifier\");\nvar de_AliasTarget = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(output[_HZI]);\n }\n if (output[_DNSN] != null) {\n contents[_DNSN] = (0, import_smithy_client.expectString)(output[_DNSN]);\n }\n if (output[_ETH] != null) {\n contents[_ETH] = (0, import_smithy_client.parseBoolean)(output[_ETH]);\n }\n return contents;\n}, \"de_AliasTarget\");\nvar de_ChangeInfo = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_S] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_S]);\n }\n if (output[_SA] != null) {\n contents[_SA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_SA]));\n }\n if (output[_C] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_C]);\n }\n return contents;\n}, \"de_ChangeInfo\");\nvar de_CheckerIpRanges = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_CheckerIpRanges\");\nvar de_ChildHealthCheckList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ChildHealthCheckList\");\nvar de_CidrBlockSummaries = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CidrBlockSummary(entry, context);\n });\n}, \"de_CidrBlockSummaries\");\nvar de_CidrBlockSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_CBid] != null) {\n contents[_CBid] = (0, import_smithy_client.expectString)(output[_CBid]);\n }\n if (output[_LN] != null) {\n contents[_LN] = (0, import_smithy_client.expectString)(output[_LN]);\n }\n return contents;\n}, \"de_CidrBlockSummary\");\nvar de_CidrCollection = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);\n }\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_Ve] != null) {\n contents[_Ve] = (0, import_smithy_client.strictParseLong)(output[_Ve]);\n }\n return contents;\n}, \"de_CidrCollection\");\nvar de_CidrRoutingConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_CIo] != null) {\n contents[_CIo] = (0, import_smithy_client.expectString)(output[_CIo]);\n }\n if (output[_LN] != null) {\n contents[_LN] = (0, import_smithy_client.expectString)(output[_LN]);\n }\n return contents;\n}, \"de_CidrRoutingConfig\");\nvar de_CloudWatchAlarmConfiguration = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_EP] != null) {\n contents[_EP] = (0, import_smithy_client.strictParseInt32)(output[_EP]);\n }\n if (output[_Th] != null) {\n contents[_Th] = (0, import_smithy_client.strictParseFloat)(output[_Th]);\n }\n if (output[_CO] != null) {\n contents[_CO] = (0, import_smithy_client.expectString)(output[_CO]);\n }\n if (output[_Pe] != null) {\n contents[_Pe] = (0, import_smithy_client.strictParseInt32)(output[_Pe]);\n }\n if (output[_MN] != null) {\n contents[_MN] = (0, import_smithy_client.expectString)(output[_MN]);\n }\n if (output[_Nam] != null) {\n contents[_Nam] = (0, import_smithy_client.expectString)(output[_Nam]);\n }\n if (output[_St] != null) {\n contents[_St] = (0, import_smithy_client.expectString)(output[_St]);\n }\n if (output.Dimensions === \"\") {\n contents[_Dim] = [];\n } else if (output[_Dim] != null && output[_Dim][_Dime] != null) {\n contents[_Dim] = de_DimensionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Dim][_Dime]), context);\n }\n return contents;\n}, \"de_CloudWatchAlarmConfiguration\");\nvar de_CollectionSummaries = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_CollectionSummary(entry, context);\n });\n}, \"de_CollectionSummaries\");\nvar de_CollectionSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);\n }\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_Ve] != null) {\n contents[_Ve] = (0, import_smithy_client.strictParseLong)(output[_Ve]);\n }\n return contents;\n}, \"de_CollectionSummary\");\nvar de_Coordinates = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_La] != null) {\n contents[_La] = (0, import_smithy_client.expectString)(output[_La]);\n }\n if (output[_Lo] != null) {\n contents[_Lo] = (0, import_smithy_client.expectString)(output[_Lo]);\n }\n return contents;\n}, \"de_Coordinates\");\nvar de_DelegationSet = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_CR] != null) {\n contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);\n }\n if (output.NameServers === \"\") {\n contents[_NS] = [];\n } else if (output[_NS] != null && output[_NS][_NSa] != null) {\n contents[_NS] = de_DelegationSetNameServers((0, import_smithy_client.getArrayIfSingleItem)(output[_NS][_NSa]), context);\n }\n return contents;\n}, \"de_DelegationSet\");\nvar de_DelegationSetNameServers = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_DelegationSetNameServers\");\nvar de_DelegationSets = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_DelegationSet(entry, context);\n });\n}, \"de_DelegationSets\");\nvar de_Dimension = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_V]);\n }\n return contents;\n}, \"de_Dimension\");\nvar de_DimensionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Dimension(entry, context);\n });\n}, \"de_DimensionList\");\nvar de_DNSSECStatus = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_SSe] != null) {\n contents[_SSe] = (0, import_smithy_client.expectString)(output[_SSe]);\n }\n if (output[_SM] != null) {\n contents[_SM] = (0, import_smithy_client.expectString)(output[_SM]);\n }\n return contents;\n}, \"de_DNSSECStatus\");\nvar de_ErrorMessages = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_ErrorMessages\");\nvar de_GeoLocation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_CC] != null) {\n contents[_CC] = (0, import_smithy_client.expectString)(output[_CC]);\n }\n if (output[_CCo] != null) {\n contents[_CCo] = (0, import_smithy_client.expectString)(output[_CCo]);\n }\n if (output[_SC] != null) {\n contents[_SC] = (0, import_smithy_client.expectString)(output[_SC]);\n }\n return contents;\n}, \"de_GeoLocation\");\nvar de_GeoLocationDetails = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_CC] != null) {\n contents[_CC] = (0, import_smithy_client.expectString)(output[_CC]);\n }\n if (output[_CNon] != null) {\n contents[_CNon] = (0, import_smithy_client.expectString)(output[_CNon]);\n }\n if (output[_CCo] != null) {\n contents[_CCo] = (0, import_smithy_client.expectString)(output[_CCo]);\n }\n if (output[_CNou] != null) {\n contents[_CNou] = (0, import_smithy_client.expectString)(output[_CNou]);\n }\n if (output[_SC] != null) {\n contents[_SC] = (0, import_smithy_client.expectString)(output[_SC]);\n }\n if (output[_SN] != null) {\n contents[_SN] = (0, import_smithy_client.expectString)(output[_SN]);\n }\n return contents;\n}, \"de_GeoLocationDetails\");\nvar de_GeoLocationDetailsList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_GeoLocationDetails(entry, context);\n });\n}, \"de_GeoLocationDetailsList\");\nvar de_GeoProximityLocation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AWSR] != null) {\n contents[_AWSR] = (0, import_smithy_client.expectString)(output[_AWSR]);\n }\n if (output[_LZG] != null) {\n contents[_LZG] = (0, import_smithy_client.expectString)(output[_LZG]);\n }\n if (output[_Coo] != null) {\n contents[_Coo] = de_Coordinates(output[_Coo], context);\n }\n if (output[_B] != null) {\n contents[_B] = (0, import_smithy_client.strictParseInt32)(output[_B]);\n }\n return contents;\n}, \"de_GeoProximityLocation\");\nvar de_HealthCheck = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_CR] != null) {\n contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);\n }\n if (output[_LS] != null) {\n contents[_LS] = de_LinkedService(output[_LS], context);\n }\n if (output[_HCC] != null) {\n contents[_HCC] = de_HealthCheckConfig(output[_HCC], context);\n }\n if (output[_HCV] != null) {\n contents[_HCV] = (0, import_smithy_client.strictParseLong)(output[_HCV]);\n }\n if (output[_CWAC] != null) {\n contents[_CWAC] = de_CloudWatchAlarmConfiguration(output[_CWAC], context);\n }\n return contents;\n}, \"de_HealthCheck\");\nvar de_HealthCheckConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_IPA] != null) {\n contents[_IPA] = (0, import_smithy_client.expectString)(output[_IPA]);\n }\n if (output[_P] != null) {\n contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_P]);\n }\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_RP] != null) {\n contents[_RP] = (0, import_smithy_client.expectString)(output[_RP]);\n }\n if (output[_FQDN] != null) {\n contents[_FQDN] = (0, import_smithy_client.expectString)(output[_FQDN]);\n }\n if (output[_SS] != null) {\n contents[_SS] = (0, import_smithy_client.expectString)(output[_SS]);\n }\n if (output[_RIeq] != null) {\n contents[_RIeq] = (0, import_smithy_client.strictParseInt32)(output[_RIeq]);\n }\n if (output[_FT] != null) {\n contents[_FT] = (0, import_smithy_client.strictParseInt32)(output[_FT]);\n }\n if (output[_ML] != null) {\n contents[_ML] = (0, import_smithy_client.parseBoolean)(output[_ML]);\n }\n if (output[_I] != null) {\n contents[_I] = (0, import_smithy_client.parseBoolean)(output[_I]);\n }\n if (output[_Di] != null) {\n contents[_Di] = (0, import_smithy_client.parseBoolean)(output[_Di]);\n }\n if (output[_HT] != null) {\n contents[_HT] = (0, import_smithy_client.strictParseInt32)(output[_HT]);\n }\n if (output.ChildHealthChecks === \"\") {\n contents[_CHC] = [];\n } else if (output[_CHC] != null && output[_CHC][_CHCh] != null) {\n contents[_CHC] = de_ChildHealthCheckList((0, import_smithy_client.getArrayIfSingleItem)(output[_CHC][_CHCh]), context);\n }\n if (output[_ESNI] != null) {\n contents[_ESNI] = (0, import_smithy_client.parseBoolean)(output[_ESNI]);\n }\n if (output.Regions === \"\") {\n contents[_R] = [];\n } else if (output[_R] != null && output[_R][_Re] != null) {\n contents[_R] = de_HealthCheckRegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_Re]), context);\n }\n if (output[_AI] != null) {\n contents[_AI] = de_AlarmIdentifier(output[_AI], context);\n }\n if (output[_IDHS] != null) {\n contents[_IDHS] = (0, import_smithy_client.expectString)(output[_IDHS]);\n }\n if (output[_RCA] != null) {\n contents[_RCA] = (0, import_smithy_client.expectString)(output[_RCA]);\n }\n return contents;\n}, \"de_HealthCheckConfig\");\nvar de_HealthCheckObservation = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Re] != null) {\n contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);\n }\n if (output[_IPA] != null) {\n contents[_IPA] = (0, import_smithy_client.expectString)(output[_IPA]);\n }\n if (output[_SR] != null) {\n contents[_SR] = de_StatusReport(output[_SR], context);\n }\n return contents;\n}, \"de_HealthCheckObservation\");\nvar de_HealthCheckObservations = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HealthCheckObservation(entry, context);\n });\n}, \"de_HealthCheckObservations\");\nvar de_HealthCheckRegionList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_HealthCheckRegionList\");\nvar de_HealthChecks = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HealthCheck(entry, context);\n });\n}, \"de_HealthChecks\");\nvar de_HostedZone = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_CR] != null) {\n contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);\n }\n if (output[_Con] != null) {\n contents[_Con] = de_HostedZoneConfig(output[_Con], context);\n }\n if (output[_RRSC] != null) {\n contents[_RRSC] = (0, import_smithy_client.strictParseLong)(output[_RRSC]);\n }\n if (output[_LS] != null) {\n contents[_LS] = de_LinkedService(output[_LS], context);\n }\n return contents;\n}, \"de_HostedZone\");\nvar de_HostedZoneConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_C]);\n }\n if (output[_PZ] != null) {\n contents[_PZ] = (0, import_smithy_client.parseBoolean)(output[_PZ]);\n }\n return contents;\n}, \"de_HostedZoneConfig\");\nvar de_HostedZoneLimit = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.strictParseLong)(output[_V]);\n }\n return contents;\n}, \"de_HostedZoneLimit\");\nvar de_HostedZoneOwner = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_OA] != null) {\n contents[_OA] = (0, import_smithy_client.expectString)(output[_OA]);\n }\n if (output[_OS] != null) {\n contents[_OS] = (0, import_smithy_client.expectString)(output[_OS]);\n }\n return contents;\n}, \"de_HostedZoneOwner\");\nvar de_HostedZones = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HostedZone(entry, context);\n });\n}, \"de_HostedZones\");\nvar de_HostedZoneSummaries = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_HostedZoneSummary(entry, context);\n });\n}, \"de_HostedZoneSummaries\");\nvar de_HostedZoneSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(output[_HZI]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_O] != null) {\n contents[_O] = de_HostedZoneOwner(output[_O], context);\n }\n return contents;\n}, \"de_HostedZoneSummary\");\nvar de_KeySigningKey = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_KA] != null) {\n contents[_KA] = (0, import_smithy_client.expectString)(output[_KA]);\n }\n if (output[_Fl] != null) {\n contents[_Fl] = (0, import_smithy_client.strictParseInt32)(output[_Fl]);\n }\n if (output[_SAM] != null) {\n contents[_SAM] = (0, import_smithy_client.expectString)(output[_SAM]);\n }\n if (output[_SAT] != null) {\n contents[_SAT] = (0, import_smithy_client.strictParseInt32)(output[_SAT]);\n }\n if (output[_DAM] != null) {\n contents[_DAM] = (0, import_smithy_client.expectString)(output[_DAM]);\n }\n if (output[_DAT] != null) {\n contents[_DAT] = (0, import_smithy_client.strictParseInt32)(output[_DAT]);\n }\n if (output[_KT] != null) {\n contents[_KT] = (0, import_smithy_client.strictParseInt32)(output[_KT]);\n }\n if (output[_DV] != null) {\n contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);\n }\n if (output[_PK] != null) {\n contents[_PK] = (0, import_smithy_client.expectString)(output[_PK]);\n }\n if (output[_DSR] != null) {\n contents[_DSR] = (0, import_smithy_client.expectString)(output[_DSR]);\n }\n if (output[_DNSKEYR] != null) {\n contents[_DNSKEYR] = (0, import_smithy_client.expectString)(output[_DNSKEYR]);\n }\n if (output[_S] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_S]);\n }\n if (output[_SM] != null) {\n contents[_SM] = (0, import_smithy_client.expectString)(output[_SM]);\n }\n if (output[_CD] != null) {\n contents[_CD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CD]));\n }\n if (output[_LMD] != null) {\n contents[_LMD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LMD]));\n }\n return contents;\n}, \"de_KeySigningKey\");\nvar de_KeySigningKeys = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_KeySigningKey(entry, context);\n });\n}, \"de_KeySigningKeys\");\nvar de_LinkedService = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_SP] != null) {\n contents[_SP] = (0, import_smithy_client.expectString)(output[_SP]);\n }\n if (output[_De] != null) {\n contents[_De] = (0, import_smithy_client.expectString)(output[_De]);\n }\n return contents;\n}, \"de_LinkedService\");\nvar de_LocationSummaries = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_LocationSummary(entry, context);\n });\n}, \"de_LocationSummaries\");\nvar de_LocationSummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_LN] != null) {\n contents[_LN] = (0, import_smithy_client.expectString)(output[_LN]);\n }\n return contents;\n}, \"de_LocationSummary\");\nvar de_QueryLoggingConfig = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(output[_HZI]);\n }\n if (output[_CWLLGA] != null) {\n contents[_CWLLGA] = (0, import_smithy_client.expectString)(output[_CWLLGA]);\n }\n return contents;\n}, \"de_QueryLoggingConfig\");\nvar de_QueryLoggingConfigs = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_QueryLoggingConfig(entry, context);\n });\n}, \"de_QueryLoggingConfigs\");\nvar de_RecordData = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return (0, import_smithy_client.expectString)(entry);\n });\n}, \"de_RecordData\");\nvar de_ResourceRecord = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_V]);\n }\n return contents;\n}, \"de_ResourceRecord\");\nvar de_ResourceRecords = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ResourceRecord(entry, context);\n });\n}, \"de_ResourceRecords\");\nvar de_ResourceRecordSet = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);\n }\n if (output[_W] != null) {\n contents[_W] = (0, import_smithy_client.strictParseLong)(output[_W]);\n }\n if (output[_Re] != null) {\n contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);\n }\n if (output[_GL] != null) {\n contents[_GL] = de_GeoLocation(output[_GL], context);\n }\n if (output[_F] != null) {\n contents[_F] = (0, import_smithy_client.expectString)(output[_F]);\n }\n if (output[_MVA] != null) {\n contents[_MVA] = (0, import_smithy_client.parseBoolean)(output[_MVA]);\n }\n if (output[_TTL] != null) {\n contents[_TTL] = (0, import_smithy_client.strictParseLong)(output[_TTL]);\n }\n if (output.ResourceRecords === \"\") {\n contents[_RRe] = [];\n } else if (output[_RRe] != null && output[_RRe][_RR] != null) {\n contents[_RRe] = de_ResourceRecords((0, import_smithy_client.getArrayIfSingleItem)(output[_RRe][_RR]), context);\n }\n if (output[_ATl] != null) {\n contents[_ATl] = de_AliasTarget(output[_ATl], context);\n }\n if (output[_HCI] != null) {\n contents[_HCI] = (0, import_smithy_client.expectString)(output[_HCI]);\n }\n if (output[_TPII] != null) {\n contents[_TPII] = (0, import_smithy_client.expectString)(output[_TPII]);\n }\n if (output[_CRC] != null) {\n contents[_CRC] = de_CidrRoutingConfig(output[_CRC], context);\n }\n if (output[_GPL] != null) {\n contents[_GPL] = de_GeoProximityLocation(output[_GPL], context);\n }\n return contents;\n}, \"de_ResourceRecordSet\");\nvar de_ResourceRecordSets = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ResourceRecordSet(entry, context);\n });\n}, \"de_ResourceRecordSets\");\nvar de_ResourceTagSet = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_RTe] != null) {\n contents[_RTe] = (0, import_smithy_client.expectString)(output[_RTe]);\n }\n if (output[_RI] != null) {\n contents[_RI] = (0, import_smithy_client.expectString)(output[_RI]);\n }\n if (output.Tags === \"\") {\n contents[_Tag] = [];\n } else if (output[_Tag] != null && output[_Tag][_Ta] != null) {\n contents[_Tag] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tag][_Ta]), context);\n }\n return contents;\n}, \"de_ResourceTagSet\");\nvar de_ResourceTagSetList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_ResourceTagSet(entry, context);\n });\n}, \"de_ResourceTagSetList\");\nvar de_ReusableDelegationSetLimit = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.strictParseLong)(output[_V]);\n }\n return contents;\n}, \"de_ReusableDelegationSetLimit\");\nvar de_StatusReport = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_S] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_S]);\n }\n if (output[_CT] != null) {\n contents[_CT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CT]));\n }\n return contents;\n}, \"de_StatusReport\");\nvar de_Tag = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_K] != null) {\n contents[_K] = (0, import_smithy_client.expectString)(output[_K]);\n }\n if (output[_V] != null) {\n contents[_V] = (0, import_smithy_client.expectString)(output[_V]);\n }\n return contents;\n}, \"de_Tag\");\nvar de_TagList = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_Tag(entry, context);\n });\n}, \"de_TagList\");\nvar de_TrafficPolicies = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficPolicy(entry, context);\n });\n}, \"de_TrafficPolicies\");\nvar de_TrafficPolicy = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_Ve] != null) {\n contents[_Ve] = (0, import_smithy_client.strictParseInt32)(output[_Ve]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_D] != null) {\n contents[_D] = (0, import_smithy_client.expectString)(output[_D]);\n }\n if (output[_C] != null) {\n contents[_C] = (0, import_smithy_client.expectString)(output[_C]);\n }\n return contents;\n}, \"de_TrafficPolicy\");\nvar de_TrafficPolicyInstance = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_HZI] != null) {\n contents[_HZI] = (0, import_smithy_client.expectString)(output[_HZI]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_TTL] != null) {\n contents[_TTL] = (0, import_smithy_client.strictParseLong)(output[_TTL]);\n }\n if (output[_Sta] != null) {\n contents[_Sta] = (0, import_smithy_client.expectString)(output[_Sta]);\n }\n if (output[_Me] != null) {\n contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);\n }\n if (output[_TPI] != null) {\n contents[_TPI] = (0, import_smithy_client.expectString)(output[_TPI]);\n }\n if (output[_TPV] != null) {\n contents[_TPV] = (0, import_smithy_client.strictParseInt32)(output[_TPV]);\n }\n if (output[_TPT] != null) {\n contents[_TPT] = (0, import_smithy_client.expectString)(output[_TPT]);\n }\n return contents;\n}, \"de_TrafficPolicyInstance\");\nvar de_TrafficPolicyInstances = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficPolicyInstance(entry, context);\n });\n}, \"de_TrafficPolicyInstances\");\nvar de_TrafficPolicySummaries = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_TrafficPolicySummary(entry, context);\n });\n}, \"de_TrafficPolicySummaries\");\nvar de_TrafficPolicySummary = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Id] != null) {\n contents[_Id] = (0, import_smithy_client.expectString)(output[_Id]);\n }\n if (output[_N] != null) {\n contents[_N] = (0, import_smithy_client.expectString)(output[_N]);\n }\n if (output[_T] != null) {\n contents[_T] = (0, import_smithy_client.expectString)(output[_T]);\n }\n if (output[_LV] != null) {\n contents[_LV] = (0, import_smithy_client.strictParseInt32)(output[_LV]);\n }\n if (output[_TPCr] != null) {\n contents[_TPCr] = (0, import_smithy_client.strictParseInt32)(output[_TPCr]);\n }\n return contents;\n}, \"de_TrafficPolicySummary\");\nvar de_VPC = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_VPCR] != null) {\n contents[_VPCR] = (0, import_smithy_client.expectString)(output[_VPCR]);\n }\n if (output[_VPCI] != null) {\n contents[_VPCI] = (0, import_smithy_client.expectString)(output[_VPCI]);\n }\n return contents;\n}, \"de_VPC\");\nvar de_VPCs = /* @__PURE__ */ __name((output, context) => {\n return (output || []).filter((e) => e != null).map((entry) => {\n return de_VPC(entry, context);\n });\n}, \"de_VPCs\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _A = \"Action\";\nvar _AHE = \"AliasHealthEnabled\";\nvar _AI = \"AlarmIdentifier\";\nvar _AN = \"AlarmName\";\nvar _AT = \"AddTags\";\nvar _ATl = \"AliasTarget\";\nvar _AVPCC = \"AssociateVPCComment\";\nvar _AVPCWHZR = \"AssociateVPCWithHostedZoneRequest\";\nvar _AWSR = \"AWSRegion\";\nvar _Ar = \"Arn\";\nvar _B = \"Bias\";\nvar _C = \"Comment\";\nvar _CA = \"ChangeAction\";\nvar _CB = \"ChangeBatch\";\nvar _CBi = \"CidrBlocks\";\nvar _CBid = \"CidrBlock\";\nvar _CC = \"ContinentCode\";\nvar _CCC = \"CidrCollectionChange\";\nvar _CCCA = \"CidrCollectionChangeAction\";\nvar _CCCR = \"ChangeCidrCollectionRequest\";\nvar _CCCRr = \"CreateCidrCollectionRequest\";\nvar _CCi = \"CidrCollections\";\nvar _CCo = \"CountryCode\";\nvar _CD = \"CreatedDate\";\nvar _CHC = \"ChildHealthChecks\";\nvar _CHCR = \"CreateHealthCheckRequest\";\nvar _CHCh = \"ChildHealthCheck\";\nvar _CHZR = \"CreateHostedZoneRequest\";\nvar _CI = \"ChangeInfo\";\nvar _CIR = \"CheckerIpRanges\";\nvar _CIo = \"CollectionId\";\nvar _CKSKR = \"CreateKeySigningKeyRequest\";\nvar _CL = \"CidrLocations\";\nvar _CLNDA = \"CidrLocationNameDefaultAllowed\";\nvar _CLNDNA = \"CidrLocationNameDefaultNotAllowed\";\nvar _CLi = \"CidrList\";\nvar _CN = \"CidrNonce\";\nvar _CNo = \"CollectionName\";\nvar _CNon = \"ContinentName\";\nvar _CNou = \"CountryName\";\nvar _CO = \"ComparisonOperator\";\nvar _CQLCR = \"CreateQueryLoggingConfigRequest\";\nvar _CR = \"CallerReference\";\nvar _CRC = \"CidrRoutingConfig\";\nvar _CRDSR = \"CreateReusableDelegationSetRequest\";\nvar _CRRSR = \"ChangeResourceRecordSetsRequest\";\nvar _CT = \"CheckedTime\";\nvar _CTFRR = \"ChangeTagsForResourceRequest\";\nvar _CTPIR = \"CreateTrafficPolicyInstanceRequest\";\nvar _CTPR = \"CreateTrafficPolicyRequest\";\nvar _CTPVR = \"CreateTrafficPolicyVersionRequest\";\nvar _CV = \"CollectionVersion\";\nvar _CVPCAAR = \"CreateVPCAssociationAuthorizationRequest\";\nvar _CWAC = \"CloudWatchAlarmConfiguration\";\nvar _CWLLGA = \"CloudWatchLogsLogGroupArn\";\nvar _CWR = \"CloudWatchRegion\";\nvar _Ch = \"Changes\";\nvar _Cha = \"Change\";\nvar _Ci = \"Cidr\";\nvar _Co = \"Collection\";\nvar _Con = \"Config\";\nvar _Coo = \"Coordinates\";\nvar _Cou = \"Count\";\nvar _D = \"Document\";\nvar _DAM = \"DigestAlgorithmMnemonic\";\nvar _DAT = \"DigestAlgorithmType\";\nvar _DNSKEYR = \"DNSKEYRecord\";\nvar _DNSN = \"DNSName\";\nvar _DS = \"DelegationSet\";\nvar _DSI = \"DelegationSetId\";\nvar _DSR = \"DSRecord\";\nvar _DSe = \"DelegationSets\";\nvar _DV = \"DigestValue\";\nvar _DVPCAAR = \"DeleteVPCAssociationAuthorizationRequest\";\nvar _DVPCC = \"DisassociateVPCComment\";\nvar _DVPCFHZR = \"DisassociateVPCFromHostedZoneRequest\";\nvar _De = \"Description\";\nvar _Di = \"Disabled\";\nvar _Dim = \"Dimensions\";\nvar _Dime = \"Dimension\";\nvar _EDNSCSIP = \"EDNS0ClientSubnetIP\";\nvar _EDNSCSM = \"EDNS0ClientSubnetMask\";\nvar _EP = \"EvaluationPeriods\";\nvar _ESNI = \"EnableSNI\";\nvar _ETH = \"EvaluateTargetHealth\";\nvar _F = \"Failover\";\nvar _FQDN = \"FullyQualifiedDomainName\";\nvar _FT = \"FailureThreshold\";\nvar _Fl = \"Flag\";\nvar _GL = \"GeoLocation\";\nvar _GLCC = \"GeoLocationContinentCode\";\nvar _GLCCe = \"GeoLocationCountryCode\";\nvar _GLD = \"GeoLocationDetails\";\nvar _GLDL = \"GeoLocationDetailsList\";\nvar _GLSC = \"GeoLocationSubdivisionCode\";\nvar _GPL = \"GeoProximityLocation\";\nvar _HC = \"HealthCheck\";\nvar _HCC = \"HealthCheckConfig\";\nvar _HCCe = \"HealthCheckCount\";\nvar _HCI = \"HealthCheckId\";\nvar _HCN = \"HealthCheckNonce\";\nvar _HCO = \"HealthCheckObservations\";\nvar _HCOe = \"HealthCheckObservation\";\nvar _HCR = \"HealthCheckRegion\";\nvar _HCT = \"HealthCheckType\";\nvar _HCV = \"HealthCheckVersion\";\nvar _HCe = \"HealthChecks\";\nvar _HT = \"HealthThreshold\";\nvar _HZ = \"HostedZone\";\nvar _HZC = \"HostedZoneConfig\";\nvar _HZCo = \"HostedZoneCount\";\nvar _HZI = \"HostedZoneId\";\nvar _HZIM = \"HostedZoneIdMarker\";\nvar _HZS = \"HostedZoneSummaries\";\nvar _HZSo = \"HostedZoneSummary\";\nvar _HZT = \"HostedZoneType\";\nvar _HZo = \"HostedZones\";\nvar _I = \"Inverted\";\nvar _IDHS = \"InsufficientDataHealthStatus\";\nvar _IPA = \"IPAddress\";\nvar _IPZ = \"IsPrivateZone\";\nvar _IT = \"IsTruncated\";\nvar _Id = \"Id\";\nvar _K = \"Key\";\nvar _KA = \"KmsArn\";\nvar _KMSA = \"KeyManagementServiceArn\";\nvar _KSK = \"KeySigningKey\";\nvar _KSKe = \"KeySigningKeys\";\nvar _KT = \"KeyTag\";\nvar _L = \"Location\";\nvar _LMD = \"LastModifiedDate\";\nvar _LN = \"LocationName\";\nvar _LS = \"LinkedService\";\nvar _LTFRR = \"ListTagsForResourcesRequest\";\nvar _LV = \"LatestVersion\";\nvar _LZG = \"LocalZoneGroup\";\nvar _La = \"Latitude\";\nvar _Li = \"Limit\";\nvar _Lo = \"Longitude\";\nvar _M = \"Marker\";\nvar _MI = \"MaxItems\";\nvar _ML = \"MeasureLatency\";\nvar _MN = \"MetricName\";\nvar _MR = \"MaxResults\";\nvar _MVA = \"MultiValueAnswer\";\nvar _Me = \"Message\";\nvar _N = \"Name\";\nvar _NCC = \"NextContinentCode\";\nvar _NCCe = \"NextCountryCode\";\nvar _NDNSN = \"NextDNSName\";\nvar _NHZI = \"NextHostedZoneId\";\nvar _NM = \"NextMarker\";\nvar _NRI = \"NextRecordIdentifier\";\nvar _NRN = \"NextRecordName\";\nvar _NRT = \"NextRecordType\";\nvar _NS = \"NameServers\";\nvar _NSC = \"NextSubdivisionCode\";\nvar _NSa = \"NameServer\";\nvar _NT = \"NextToken\";\nvar _Na = \"Nameserver\";\nvar _Nam = \"Namespace\";\nvar _No = \"Nonce\";\nvar _O = \"Owner\";\nvar _OA = \"OwningAccount\";\nvar _OS = \"OwningService\";\nvar _P = \"Port\";\nvar _PK = \"PublicKey\";\nvar _PZ = \"PrivateZone\";\nvar _Pe = \"Period\";\nvar _Pr = \"Protocol\";\nvar _QLC = \"QueryLoggingConfig\";\nvar _QLCu = \"QueryLoggingConfigs\";\nvar _R = \"Regions\";\nvar _RC = \"ResponseCode\";\nvar _RCA = \"RoutingControlArn\";\nvar _RD = \"ResourceDescription\";\nvar _RDE = \"RecordDataEntry\";\nvar _RDa = \"RData\";\nvar _RDe = \"RecordData\";\nvar _RE = \"ResetElements\";\nvar _REN = \"ResettableElementName\";\nvar _RI = \"ResourceId\";\nvar _RIP = \"ResolverIP\";\nvar _RIe = \"ResourceIds\";\nvar _RIeq = \"RequestInterval\";\nvar _RN = \"RecordName\";\nvar _RP = \"ResourcePath\";\nvar _RR = \"ResourceRecord\";\nvar _RRS = \"ResourceRecordSets\";\nvar _RRSC = \"ResourceRecordSetCount\";\nvar _RRSF = \"ResourceRecordSetFailover\";\nvar _RRSI = \"ResourceRecordSetIdentifier\";\nvar _RRSMVA = \"ResourceRecordSetMultiValueAnswer\";\nvar _RRSR = \"ResourceRecordSetRegion\";\nvar _RRSW = \"ResourceRecordSetWeight\";\nvar _RRSe = \"ResourceRecordSet\";\nvar _RRT = \"RRType\";\nvar _RRe = \"ResourceRecords\";\nvar _RT = \"RecordType\";\nvar _RTK = \"RemoveTagKeys\";\nvar _RTS = \"ResourceTagSet\";\nvar _RTSe = \"ResourceTagSets\";\nvar _RTe = \"ResourceType\";\nvar _Re = \"Region\";\nvar _S = \"Status\";\nvar _SA = \"SubmittedAt\";\nvar _SAM = \"SigningAlgorithmMnemonic\";\nvar _SAT = \"SigningAlgorithmType\";\nvar _SC = \"SubdivisionCode\";\nvar _SCC = \"StartContinentCode\";\nvar _SCCt = \"StartCountryCode\";\nvar _SI = \"SetIdentifier\";\nvar _SKN = \"SigningKeyName\";\nvar _SKS = \"SigningKeyString\";\nvar _SKSi = \"SigningKeyStatus\";\nvar _SM = \"StatusMessage\";\nvar _SN = \"SubdivisionName\";\nvar _SP = \"ServicePrincipal\";\nvar _SR = \"StatusReport\";\nvar _SRI = \"StartRecordIdentifier\";\nvar _SRN = \"StartRecordName\";\nvar _SRT = \"StartRecordType\";\nvar _SS = \"SearchString\";\nvar _SSC = \"StartSubdivisionCode\";\nvar _SSe = \"ServeSignature\";\nvar _St = \"Statistic\";\nvar _Sta = \"State\";\nvar _T = \"Type\";\nvar _TK = \"TagKey\";\nvar _TP = \"TrafficPolicy\";\nvar _TPC = \"TrafficPolicyComment\";\nvar _TPCr = \"TrafficPolicyCount\";\nvar _TPD = \"TrafficPolicyDocument\";\nvar _TPI = \"TrafficPolicyId\";\nvar _TPIC = \"TrafficPolicyInstanceCount\";\nvar _TPII = \"TrafficPolicyInstanceId\";\nvar _TPIM = \"TrafficPolicyIdMarker\";\nvar _TPINM = \"TrafficPolicyInstanceNameMarker\";\nvar _TPITM = \"TrafficPolicyInstanceTypeMarker\";\nvar _TPIr = \"TrafficPolicyInstance\";\nvar _TPIra = \"TrafficPolicyInstances\";\nvar _TPN = \"TrafficPolicyName\";\nvar _TPS = \"TrafficPolicySummaries\";\nvar _TPSr = \"TrafficPolicySummary\";\nvar _TPT = \"TrafficPolicyType\";\nvar _TPV = \"TrafficPolicyVersion\";\nvar _TPVM = \"TrafficPolicyVersionMarker\";\nvar _TPr = \"TrafficPolicies\";\nvar _TRI = \"TagResourceId\";\nvar _TTL = \"TTL\";\nvar _TV = \"TagValue\";\nvar _Ta = \"Tag\";\nvar _Tag = \"Tags\";\nvar _Th = \"Threshold\";\nvar _UHCR = \"UpdateHealthCheckRequest\";\nvar _UHZCR = \"UpdateHostedZoneCommentRequest\";\nvar _UTPCR = \"UpdateTrafficPolicyCommentRequest\";\nvar _UTPIR = \"UpdateTrafficPolicyInstanceRequest\";\nvar _UUID = \"UUID\";\nvar _V = \"Value\";\nvar _VPC = \"VPC\";\nvar _VPCI = \"VPCId\";\nvar _VPCR = \"VPCRegion\";\nvar _VPCs = \"VPCs\";\nvar _Ve = \"Version\";\nvar _W = \"Weight\";\nvar _c = \"continentcode\";\nvar _co = \"countrycode\";\nvar _d = \"delegationsetid\";\nvar _dn = \"dnsname\";\nvar _e = \"edns0clientsubnetip\";\nvar _ed = \"edns0clientsubnetmask\";\nvar _h = \"hostedzonetype\";\nvar _ho = \"hostedzoneid\";\nvar _i = \"identifier\";\nvar _id = \"id\";\nvar _l = \"location\";\nvar _m = \"maxresults\";\nvar _ma = \"maxitems\";\nvar _mar = \"marker\";\nvar _me = \"member\";\nvar _mes = \"message\";\nvar _mess = \"messages\";\nvar _n = \"nexttoken\";\nvar _na = \"name\";\nvar _r = \"recordname\";\nvar _re = \"recordtype\";\nvar _res = \"resolverip\";\nvar _s = \"subdivisioncode\";\nvar _st = \"startcontinentcode\";\nvar _sta = \"startcountrycode\";\nvar _star = \"startsubdivisioncode\";\nvar _t = \"type\";\nvar _tr = \"trafficpolicyid\";\nvar _tra = \"trafficpolicyinstancename\";\nvar _traf = \"trafficpolicyinstancetype\";\nvar _traff = \"trafficpolicyversion\";\nvar _v = \"vpcid\";\nvar _ve = '';\nvar _ver = \"version\";\nvar _vp = \"vpcregion\";\n\n// src/commands/ActivateKeySigningKeyCommand.ts\nvar ActivateKeySigningKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route53.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ActivateKeySigningKey\", {}).n(\"Route53Client\", \"ActivateKeySigningKeyCommand\").f(void 0, void 0).ser(se_ActivateKeySigningKeyCommand).de(de_ActivateKeySigningKeyCommand).build() {\n static {\n __name(this, \"ActivateKeySigningKeyCommand\");\n }\n};\n\n// src/commands/AssociateVPCWithHostedZoneCommand.ts\nvar import_middleware_sdk_route532 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar AssociateVPCWithHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route532.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"AssociateVPCWithHostedZone\", {}).n(\"Route53Client\", \"AssociateVPCWithHostedZoneCommand\").f(void 0, void 0).ser(se_AssociateVPCWithHostedZoneCommand).de(de_AssociateVPCWithHostedZoneCommand).build() {\n static {\n __name(this, \"AssociateVPCWithHostedZoneCommand\");\n }\n};\n\n// src/commands/ChangeCidrCollectionCommand.ts\nvar import_middleware_sdk_route533 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ChangeCidrCollectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route533.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ChangeCidrCollection\", {}).n(\"Route53Client\", \"ChangeCidrCollectionCommand\").f(void 0, void 0).ser(se_ChangeCidrCollectionCommand).de(de_ChangeCidrCollectionCommand).build() {\n static {\n __name(this, \"ChangeCidrCollectionCommand\");\n }\n};\n\n// src/commands/ChangeResourceRecordSetsCommand.ts\nvar import_middleware_sdk_route534 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ChangeResourceRecordSetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route534.getChangeResourceRecordSetsPlugin)(config),\n (0, import_middleware_sdk_route534.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ChangeResourceRecordSets\", {}).n(\"Route53Client\", \"ChangeResourceRecordSetsCommand\").f(void 0, void 0).ser(se_ChangeResourceRecordSetsCommand).de(de_ChangeResourceRecordSetsCommand).build() {\n static {\n __name(this, \"ChangeResourceRecordSetsCommand\");\n }\n};\n\n// src/commands/ChangeTagsForResourceCommand.ts\n\n\n\nvar ChangeTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ChangeTagsForResource\", {}).n(\"Route53Client\", \"ChangeTagsForResourceCommand\").f(void 0, void 0).ser(se_ChangeTagsForResourceCommand).de(de_ChangeTagsForResourceCommand).build() {\n static {\n __name(this, \"ChangeTagsForResourceCommand\");\n }\n};\n\n// src/commands/CreateCidrCollectionCommand.ts\n\n\n\nvar CreateCidrCollectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"CreateCidrCollection\", {}).n(\"Route53Client\", \"CreateCidrCollectionCommand\").f(void 0, void 0).ser(se_CreateCidrCollectionCommand).de(de_CreateCidrCollectionCommand).build() {\n static {\n __name(this, \"CreateCidrCollectionCommand\");\n }\n};\n\n// src/commands/CreateHealthCheckCommand.ts\n\n\n\nvar CreateHealthCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"CreateHealthCheck\", {}).n(\"Route53Client\", \"CreateHealthCheckCommand\").f(void 0, void 0).ser(se_CreateHealthCheckCommand).de(de_CreateHealthCheckCommand).build() {\n static {\n __name(this, \"CreateHealthCheckCommand\");\n }\n};\n\n// src/commands/CreateHostedZoneCommand.ts\nvar import_middleware_sdk_route535 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route535.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateHostedZone\", {}).n(\"Route53Client\", \"CreateHostedZoneCommand\").f(void 0, void 0).ser(se_CreateHostedZoneCommand).de(de_CreateHostedZoneCommand).build() {\n static {\n __name(this, \"CreateHostedZoneCommand\");\n }\n};\n\n// src/commands/CreateKeySigningKeyCommand.ts\nvar import_middleware_sdk_route536 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateKeySigningKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route536.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateKeySigningKey\", {}).n(\"Route53Client\", \"CreateKeySigningKeyCommand\").f(void 0, void 0).ser(se_CreateKeySigningKeyCommand).de(de_CreateKeySigningKeyCommand).build() {\n static {\n __name(this, \"CreateKeySigningKeyCommand\");\n }\n};\n\n// src/commands/CreateQueryLoggingConfigCommand.ts\nvar import_middleware_sdk_route537 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateQueryLoggingConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route537.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateQueryLoggingConfig\", {}).n(\"Route53Client\", \"CreateQueryLoggingConfigCommand\").f(void 0, void 0).ser(se_CreateQueryLoggingConfigCommand).de(de_CreateQueryLoggingConfigCommand).build() {\n static {\n __name(this, \"CreateQueryLoggingConfigCommand\");\n }\n};\n\n// src/commands/CreateReusableDelegationSetCommand.ts\nvar import_middleware_sdk_route538 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateReusableDelegationSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route538.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateReusableDelegationSet\", {}).n(\"Route53Client\", \"CreateReusableDelegationSetCommand\").f(void 0, void 0).ser(se_CreateReusableDelegationSetCommand).de(de_CreateReusableDelegationSetCommand).build() {\n static {\n __name(this, \"CreateReusableDelegationSetCommand\");\n }\n};\n\n// src/commands/CreateTrafficPolicyCommand.ts\n\n\n\nvar CreateTrafficPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"CreateTrafficPolicy\", {}).n(\"Route53Client\", \"CreateTrafficPolicyCommand\").f(void 0, void 0).ser(se_CreateTrafficPolicyCommand).de(de_CreateTrafficPolicyCommand).build() {\n static {\n __name(this, \"CreateTrafficPolicyCommand\");\n }\n};\n\n// src/commands/CreateTrafficPolicyInstanceCommand.ts\nvar import_middleware_sdk_route539 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateTrafficPolicyInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route539.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateTrafficPolicyInstance\", {}).n(\"Route53Client\", \"CreateTrafficPolicyInstanceCommand\").f(void 0, void 0).ser(se_CreateTrafficPolicyInstanceCommand).de(de_CreateTrafficPolicyInstanceCommand).build() {\n static {\n __name(this, \"CreateTrafficPolicyInstanceCommand\");\n }\n};\n\n// src/commands/CreateTrafficPolicyVersionCommand.ts\nvar import_middleware_sdk_route5310 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateTrafficPolicyVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5310.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateTrafficPolicyVersion\", {}).n(\"Route53Client\", \"CreateTrafficPolicyVersionCommand\").f(void 0, void 0).ser(se_CreateTrafficPolicyVersionCommand).de(de_CreateTrafficPolicyVersionCommand).build() {\n static {\n __name(this, \"CreateTrafficPolicyVersionCommand\");\n }\n};\n\n// src/commands/CreateVPCAssociationAuthorizationCommand.ts\nvar import_middleware_sdk_route5311 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar CreateVPCAssociationAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5311.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"CreateVPCAssociationAuthorization\", {}).n(\"Route53Client\", \"CreateVPCAssociationAuthorizationCommand\").f(void 0, void 0).ser(se_CreateVPCAssociationAuthorizationCommand).de(de_CreateVPCAssociationAuthorizationCommand).build() {\n static {\n __name(this, \"CreateVPCAssociationAuthorizationCommand\");\n }\n};\n\n// src/commands/DeactivateKeySigningKeyCommand.ts\nvar import_middleware_sdk_route5312 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeactivateKeySigningKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5312.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeactivateKeySigningKey\", {}).n(\"Route53Client\", \"DeactivateKeySigningKeyCommand\").f(void 0, void 0).ser(se_DeactivateKeySigningKeyCommand).de(de_DeactivateKeySigningKeyCommand).build() {\n static {\n __name(this, \"DeactivateKeySigningKeyCommand\");\n }\n};\n\n// src/commands/DeleteCidrCollectionCommand.ts\nvar import_middleware_sdk_route5313 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteCidrCollectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5313.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteCidrCollection\", {}).n(\"Route53Client\", \"DeleteCidrCollectionCommand\").f(void 0, void 0).ser(se_DeleteCidrCollectionCommand).de(de_DeleteCidrCollectionCommand).build() {\n static {\n __name(this, \"DeleteCidrCollectionCommand\");\n }\n};\n\n// src/commands/DeleteHealthCheckCommand.ts\n\n\n\nvar DeleteHealthCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteHealthCheck\", {}).n(\"Route53Client\", \"DeleteHealthCheckCommand\").f(void 0, void 0).ser(se_DeleteHealthCheckCommand).de(de_DeleteHealthCheckCommand).build() {\n static {\n __name(this, \"DeleteHealthCheckCommand\");\n }\n};\n\n// src/commands/DeleteHostedZoneCommand.ts\nvar import_middleware_sdk_route5314 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5314.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteHostedZone\", {}).n(\"Route53Client\", \"DeleteHostedZoneCommand\").f(void 0, void 0).ser(se_DeleteHostedZoneCommand).de(de_DeleteHostedZoneCommand).build() {\n static {\n __name(this, \"DeleteHostedZoneCommand\");\n }\n};\n\n// src/commands/DeleteKeySigningKeyCommand.ts\nvar import_middleware_sdk_route5315 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteKeySigningKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5315.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteKeySigningKey\", {}).n(\"Route53Client\", \"DeleteKeySigningKeyCommand\").f(void 0, void 0).ser(se_DeleteKeySigningKeyCommand).de(de_DeleteKeySigningKeyCommand).build() {\n static {\n __name(this, \"DeleteKeySigningKeyCommand\");\n }\n};\n\n// src/commands/DeleteQueryLoggingConfigCommand.ts\nvar import_middleware_sdk_route5316 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteQueryLoggingConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5316.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteQueryLoggingConfig\", {}).n(\"Route53Client\", \"DeleteQueryLoggingConfigCommand\").f(void 0, void 0).ser(se_DeleteQueryLoggingConfigCommand).de(de_DeleteQueryLoggingConfigCommand).build() {\n static {\n __name(this, \"DeleteQueryLoggingConfigCommand\");\n }\n};\n\n// src/commands/DeleteReusableDelegationSetCommand.ts\nvar import_middleware_sdk_route5317 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteReusableDelegationSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5317.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteReusableDelegationSet\", {}).n(\"Route53Client\", \"DeleteReusableDelegationSetCommand\").f(void 0, void 0).ser(se_DeleteReusableDelegationSetCommand).de(de_DeleteReusableDelegationSetCommand).build() {\n static {\n __name(this, \"DeleteReusableDelegationSetCommand\");\n }\n};\n\n// src/commands/DeleteTrafficPolicyCommand.ts\nvar import_middleware_sdk_route5318 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteTrafficPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5318.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteTrafficPolicy\", {}).n(\"Route53Client\", \"DeleteTrafficPolicyCommand\").f(void 0, void 0).ser(se_DeleteTrafficPolicyCommand).de(de_DeleteTrafficPolicyCommand).build() {\n static {\n __name(this, \"DeleteTrafficPolicyCommand\");\n }\n};\n\n// src/commands/DeleteTrafficPolicyInstanceCommand.ts\nvar import_middleware_sdk_route5319 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteTrafficPolicyInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5319.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteTrafficPolicyInstance\", {}).n(\"Route53Client\", \"DeleteTrafficPolicyInstanceCommand\").f(void 0, void 0).ser(se_DeleteTrafficPolicyInstanceCommand).de(de_DeleteTrafficPolicyInstanceCommand).build() {\n static {\n __name(this, \"DeleteTrafficPolicyInstanceCommand\");\n }\n};\n\n// src/commands/DeleteVPCAssociationAuthorizationCommand.ts\nvar import_middleware_sdk_route5320 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DeleteVPCAssociationAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5320.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DeleteVPCAssociationAuthorization\", {}).n(\"Route53Client\", \"DeleteVPCAssociationAuthorizationCommand\").f(void 0, void 0).ser(se_DeleteVPCAssociationAuthorizationCommand).de(de_DeleteVPCAssociationAuthorizationCommand).build() {\n static {\n __name(this, \"DeleteVPCAssociationAuthorizationCommand\");\n }\n};\n\n// src/commands/DisableHostedZoneDNSSECCommand.ts\nvar import_middleware_sdk_route5321 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DisableHostedZoneDNSSECCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5321.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DisableHostedZoneDNSSEC\", {}).n(\"Route53Client\", \"DisableHostedZoneDNSSECCommand\").f(void 0, void 0).ser(se_DisableHostedZoneDNSSECCommand).de(de_DisableHostedZoneDNSSECCommand).build() {\n static {\n __name(this, \"DisableHostedZoneDNSSECCommand\");\n }\n};\n\n// src/commands/DisassociateVPCFromHostedZoneCommand.ts\nvar import_middleware_sdk_route5322 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar DisassociateVPCFromHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5322.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"DisassociateVPCFromHostedZone\", {}).n(\"Route53Client\", \"DisassociateVPCFromHostedZoneCommand\").f(void 0, void 0).ser(se_DisassociateVPCFromHostedZoneCommand).de(de_DisassociateVPCFromHostedZoneCommand).build() {\n static {\n __name(this, \"DisassociateVPCFromHostedZoneCommand\");\n }\n};\n\n// src/commands/EnableHostedZoneDNSSECCommand.ts\nvar import_middleware_sdk_route5323 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar EnableHostedZoneDNSSECCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5323.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"EnableHostedZoneDNSSEC\", {}).n(\"Route53Client\", \"EnableHostedZoneDNSSECCommand\").f(void 0, void 0).ser(se_EnableHostedZoneDNSSECCommand).de(de_EnableHostedZoneDNSSECCommand).build() {\n static {\n __name(this, \"EnableHostedZoneDNSSECCommand\");\n }\n};\n\n// src/commands/GetAccountLimitCommand.ts\n\n\n\nvar GetAccountLimitCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetAccountLimit\", {}).n(\"Route53Client\", \"GetAccountLimitCommand\").f(void 0, void 0).ser(se_GetAccountLimitCommand).de(de_GetAccountLimitCommand).build() {\n static {\n __name(this, \"GetAccountLimitCommand\");\n }\n};\n\n// src/commands/GetChangeCommand.ts\nvar import_middleware_sdk_route5324 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetChangeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5324.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetChange\", {}).n(\"Route53Client\", \"GetChangeCommand\").f(void 0, void 0).ser(se_GetChangeCommand).de(de_GetChangeCommand).build() {\n static {\n __name(this, \"GetChangeCommand\");\n }\n};\n\n// src/commands/GetCheckerIpRangesCommand.ts\n\n\n\nvar GetCheckerIpRangesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetCheckerIpRanges\", {}).n(\"Route53Client\", \"GetCheckerIpRangesCommand\").f(void 0, void 0).ser(se_GetCheckerIpRangesCommand).de(de_GetCheckerIpRangesCommand).build() {\n static {\n __name(this, \"GetCheckerIpRangesCommand\");\n }\n};\n\n// src/commands/GetDNSSECCommand.ts\nvar import_middleware_sdk_route5325 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetDNSSECCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5325.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetDNSSEC\", {}).n(\"Route53Client\", \"GetDNSSECCommand\").f(void 0, void 0).ser(se_GetDNSSECCommand).de(de_GetDNSSECCommand).build() {\n static {\n __name(this, \"GetDNSSECCommand\");\n }\n};\n\n// src/commands/GetGeoLocationCommand.ts\n\n\n\nvar GetGeoLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetGeoLocation\", {}).n(\"Route53Client\", \"GetGeoLocationCommand\").f(void 0, void 0).ser(se_GetGeoLocationCommand).de(de_GetGeoLocationCommand).build() {\n static {\n __name(this, \"GetGeoLocationCommand\");\n }\n};\n\n// src/commands/GetHealthCheckCommand.ts\n\n\n\nvar GetHealthCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetHealthCheck\", {}).n(\"Route53Client\", \"GetHealthCheckCommand\").f(void 0, void 0).ser(se_GetHealthCheckCommand).de(de_GetHealthCheckCommand).build() {\n static {\n __name(this, \"GetHealthCheckCommand\");\n }\n};\n\n// src/commands/GetHealthCheckCountCommand.ts\n\n\n\nvar GetHealthCheckCountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetHealthCheckCount\", {}).n(\"Route53Client\", \"GetHealthCheckCountCommand\").f(void 0, void 0).ser(se_GetHealthCheckCountCommand).de(de_GetHealthCheckCountCommand).build() {\n static {\n __name(this, \"GetHealthCheckCountCommand\");\n }\n};\n\n// src/commands/GetHealthCheckLastFailureReasonCommand.ts\n\n\n\nvar GetHealthCheckLastFailureReasonCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetHealthCheckLastFailureReason\", {}).n(\"Route53Client\", \"GetHealthCheckLastFailureReasonCommand\").f(void 0, void 0).ser(se_GetHealthCheckLastFailureReasonCommand).de(de_GetHealthCheckLastFailureReasonCommand).build() {\n static {\n __name(this, \"GetHealthCheckLastFailureReasonCommand\");\n }\n};\n\n// src/commands/GetHealthCheckStatusCommand.ts\n\n\n\nvar GetHealthCheckStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetHealthCheckStatus\", {}).n(\"Route53Client\", \"GetHealthCheckStatusCommand\").f(void 0, void 0).ser(se_GetHealthCheckStatusCommand).de(de_GetHealthCheckStatusCommand).build() {\n static {\n __name(this, \"GetHealthCheckStatusCommand\");\n }\n};\n\n// src/commands/GetHostedZoneCommand.ts\nvar import_middleware_sdk_route5326 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5326.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetHostedZone\", {}).n(\"Route53Client\", \"GetHostedZoneCommand\").f(void 0, void 0).ser(se_GetHostedZoneCommand).de(de_GetHostedZoneCommand).build() {\n static {\n __name(this, \"GetHostedZoneCommand\");\n }\n};\n\n// src/commands/GetHostedZoneCountCommand.ts\n\n\n\nvar GetHostedZoneCountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetHostedZoneCount\", {}).n(\"Route53Client\", \"GetHostedZoneCountCommand\").f(void 0, void 0).ser(se_GetHostedZoneCountCommand).de(de_GetHostedZoneCountCommand).build() {\n static {\n __name(this, \"GetHostedZoneCountCommand\");\n }\n};\n\n// src/commands/GetHostedZoneLimitCommand.ts\nvar import_middleware_sdk_route5327 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetHostedZoneLimitCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5327.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetHostedZoneLimit\", {}).n(\"Route53Client\", \"GetHostedZoneLimitCommand\").f(void 0, void 0).ser(se_GetHostedZoneLimitCommand).de(de_GetHostedZoneLimitCommand).build() {\n static {\n __name(this, \"GetHostedZoneLimitCommand\");\n }\n};\n\n// src/commands/GetQueryLoggingConfigCommand.ts\nvar import_middleware_sdk_route5328 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetQueryLoggingConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5328.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetQueryLoggingConfig\", {}).n(\"Route53Client\", \"GetQueryLoggingConfigCommand\").f(void 0, void 0).ser(se_GetQueryLoggingConfigCommand).de(de_GetQueryLoggingConfigCommand).build() {\n static {\n __name(this, \"GetQueryLoggingConfigCommand\");\n }\n};\n\n// src/commands/GetReusableDelegationSetCommand.ts\nvar import_middleware_sdk_route5329 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetReusableDelegationSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5329.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetReusableDelegationSet\", {}).n(\"Route53Client\", \"GetReusableDelegationSetCommand\").f(void 0, void 0).ser(se_GetReusableDelegationSetCommand).de(de_GetReusableDelegationSetCommand).build() {\n static {\n __name(this, \"GetReusableDelegationSetCommand\");\n }\n};\n\n// src/commands/GetReusableDelegationSetLimitCommand.ts\nvar import_middleware_sdk_route5330 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetReusableDelegationSetLimitCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5330.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetReusableDelegationSetLimit\", {}).n(\"Route53Client\", \"GetReusableDelegationSetLimitCommand\").f(void 0, void 0).ser(se_GetReusableDelegationSetLimitCommand).de(de_GetReusableDelegationSetLimitCommand).build() {\n static {\n __name(this, \"GetReusableDelegationSetLimitCommand\");\n }\n};\n\n// src/commands/GetTrafficPolicyCommand.ts\nvar import_middleware_sdk_route5331 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetTrafficPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5331.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetTrafficPolicy\", {}).n(\"Route53Client\", \"GetTrafficPolicyCommand\").f(void 0, void 0).ser(se_GetTrafficPolicyCommand).de(de_GetTrafficPolicyCommand).build() {\n static {\n __name(this, \"GetTrafficPolicyCommand\");\n }\n};\n\n// src/commands/GetTrafficPolicyInstanceCommand.ts\nvar import_middleware_sdk_route5332 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar GetTrafficPolicyInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5332.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"GetTrafficPolicyInstance\", {}).n(\"Route53Client\", \"GetTrafficPolicyInstanceCommand\").f(void 0, void 0).ser(se_GetTrafficPolicyInstanceCommand).de(de_GetTrafficPolicyInstanceCommand).build() {\n static {\n __name(this, \"GetTrafficPolicyInstanceCommand\");\n }\n};\n\n// src/commands/GetTrafficPolicyInstanceCountCommand.ts\n\n\n\nvar GetTrafficPolicyInstanceCountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"GetTrafficPolicyInstanceCount\", {}).n(\"Route53Client\", \"GetTrafficPolicyInstanceCountCommand\").f(void 0, void 0).ser(se_GetTrafficPolicyInstanceCountCommand).de(de_GetTrafficPolicyInstanceCountCommand).build() {\n static {\n __name(this, \"GetTrafficPolicyInstanceCountCommand\");\n }\n};\n\n// src/commands/ListCidrBlocksCommand.ts\n\n\n\nvar ListCidrBlocksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListCidrBlocks\", {}).n(\"Route53Client\", \"ListCidrBlocksCommand\").f(void 0, void 0).ser(se_ListCidrBlocksCommand).de(de_ListCidrBlocksCommand).build() {\n static {\n __name(this, \"ListCidrBlocksCommand\");\n }\n};\n\n// src/commands/ListCidrCollectionsCommand.ts\n\n\n\nvar ListCidrCollectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListCidrCollections\", {}).n(\"Route53Client\", \"ListCidrCollectionsCommand\").f(void 0, void 0).ser(se_ListCidrCollectionsCommand).de(de_ListCidrCollectionsCommand).build() {\n static {\n __name(this, \"ListCidrCollectionsCommand\");\n }\n};\n\n// src/commands/ListCidrLocationsCommand.ts\n\n\n\nvar ListCidrLocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListCidrLocations\", {}).n(\"Route53Client\", \"ListCidrLocationsCommand\").f(void 0, void 0).ser(se_ListCidrLocationsCommand).de(de_ListCidrLocationsCommand).build() {\n static {\n __name(this, \"ListCidrLocationsCommand\");\n }\n};\n\n// src/commands/ListGeoLocationsCommand.ts\n\n\n\nvar ListGeoLocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListGeoLocations\", {}).n(\"Route53Client\", \"ListGeoLocationsCommand\").f(void 0, void 0).ser(se_ListGeoLocationsCommand).de(de_ListGeoLocationsCommand).build() {\n static {\n __name(this, \"ListGeoLocationsCommand\");\n }\n};\n\n// src/commands/ListHealthChecksCommand.ts\n\n\n\nvar ListHealthChecksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListHealthChecks\", {}).n(\"Route53Client\", \"ListHealthChecksCommand\").f(void 0, void 0).ser(se_ListHealthChecksCommand).de(de_ListHealthChecksCommand).build() {\n static {\n __name(this, \"ListHealthChecksCommand\");\n }\n};\n\n// src/commands/ListHostedZonesByNameCommand.ts\nvar import_middleware_sdk_route5333 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListHostedZonesByNameCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5333.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListHostedZonesByName\", {}).n(\"Route53Client\", \"ListHostedZonesByNameCommand\").f(void 0, void 0).ser(se_ListHostedZonesByNameCommand).de(de_ListHostedZonesByNameCommand).build() {\n static {\n __name(this, \"ListHostedZonesByNameCommand\");\n }\n};\n\n// src/commands/ListHostedZonesByVPCCommand.ts\n\n\n\nvar ListHostedZonesByVPCCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListHostedZonesByVPC\", {}).n(\"Route53Client\", \"ListHostedZonesByVPCCommand\").f(void 0, void 0).ser(se_ListHostedZonesByVPCCommand).de(de_ListHostedZonesByVPCCommand).build() {\n static {\n __name(this, \"ListHostedZonesByVPCCommand\");\n }\n};\n\n// src/commands/ListHostedZonesCommand.ts\nvar import_middleware_sdk_route5334 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListHostedZonesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5334.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListHostedZones\", {}).n(\"Route53Client\", \"ListHostedZonesCommand\").f(void 0, void 0).ser(se_ListHostedZonesCommand).de(de_ListHostedZonesCommand).build() {\n static {\n __name(this, \"ListHostedZonesCommand\");\n }\n};\n\n// src/commands/ListQueryLoggingConfigsCommand.ts\nvar import_middleware_sdk_route5335 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListQueryLoggingConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5335.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListQueryLoggingConfigs\", {}).n(\"Route53Client\", \"ListQueryLoggingConfigsCommand\").f(void 0, void 0).ser(se_ListQueryLoggingConfigsCommand).de(de_ListQueryLoggingConfigsCommand).build() {\n static {\n __name(this, \"ListQueryLoggingConfigsCommand\");\n }\n};\n\n// src/commands/ListResourceRecordSetsCommand.ts\nvar import_middleware_sdk_route5336 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListResourceRecordSetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5336.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListResourceRecordSets\", {}).n(\"Route53Client\", \"ListResourceRecordSetsCommand\").f(void 0, void 0).ser(se_ListResourceRecordSetsCommand).de(de_ListResourceRecordSetsCommand).build() {\n static {\n __name(this, \"ListResourceRecordSetsCommand\");\n }\n};\n\n// src/commands/ListReusableDelegationSetsCommand.ts\n\n\n\nvar ListReusableDelegationSetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListReusableDelegationSets\", {}).n(\"Route53Client\", \"ListReusableDelegationSetsCommand\").f(void 0, void 0).ser(se_ListReusableDelegationSetsCommand).de(de_ListReusableDelegationSetsCommand).build() {\n static {\n __name(this, \"ListReusableDelegationSetsCommand\");\n }\n};\n\n// src/commands/ListTagsForResourceCommand.ts\n\n\n\nvar ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListTagsForResource\", {}).n(\"Route53Client\", \"ListTagsForResourceCommand\").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {\n static {\n __name(this, \"ListTagsForResourceCommand\");\n }\n};\n\n// src/commands/ListTagsForResourcesCommand.ts\n\n\n\nvar ListTagsForResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListTagsForResources\", {}).n(\"Route53Client\", \"ListTagsForResourcesCommand\").f(void 0, void 0).ser(se_ListTagsForResourcesCommand).de(de_ListTagsForResourcesCommand).build() {\n static {\n __name(this, \"ListTagsForResourcesCommand\");\n }\n};\n\n// src/commands/ListTrafficPoliciesCommand.ts\n\n\n\nvar ListTrafficPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListTrafficPolicies\", {}).n(\"Route53Client\", \"ListTrafficPoliciesCommand\").f(void 0, void 0).ser(se_ListTrafficPoliciesCommand).de(de_ListTrafficPoliciesCommand).build() {\n static {\n __name(this, \"ListTrafficPoliciesCommand\");\n }\n};\n\n// src/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts\nvar import_middleware_sdk_route5337 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListTrafficPolicyInstancesByHostedZoneCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5337.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListTrafficPolicyInstancesByHostedZone\", {}).n(\"Route53Client\", \"ListTrafficPolicyInstancesByHostedZoneCommand\").f(void 0, void 0).ser(se_ListTrafficPolicyInstancesByHostedZoneCommand).de(de_ListTrafficPolicyInstancesByHostedZoneCommand).build() {\n static {\n __name(this, \"ListTrafficPolicyInstancesByHostedZoneCommand\");\n }\n};\n\n// src/commands/ListTrafficPolicyInstancesByPolicyCommand.ts\n\n\n\nvar ListTrafficPolicyInstancesByPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListTrafficPolicyInstancesByPolicy\", {}).n(\"Route53Client\", \"ListTrafficPolicyInstancesByPolicyCommand\").f(void 0, void 0).ser(se_ListTrafficPolicyInstancesByPolicyCommand).de(de_ListTrafficPolicyInstancesByPolicyCommand).build() {\n static {\n __name(this, \"ListTrafficPolicyInstancesByPolicyCommand\");\n }\n};\n\n// src/commands/ListTrafficPolicyInstancesCommand.ts\n\n\n\nvar ListTrafficPolicyInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"ListTrafficPolicyInstances\", {}).n(\"Route53Client\", \"ListTrafficPolicyInstancesCommand\").f(void 0, void 0).ser(se_ListTrafficPolicyInstancesCommand).de(de_ListTrafficPolicyInstancesCommand).build() {\n static {\n __name(this, \"ListTrafficPolicyInstancesCommand\");\n }\n};\n\n// src/commands/ListTrafficPolicyVersionsCommand.ts\nvar import_middleware_sdk_route5338 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListTrafficPolicyVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5338.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListTrafficPolicyVersions\", {}).n(\"Route53Client\", \"ListTrafficPolicyVersionsCommand\").f(void 0, void 0).ser(se_ListTrafficPolicyVersionsCommand).de(de_ListTrafficPolicyVersionsCommand).build() {\n static {\n __name(this, \"ListTrafficPolicyVersionsCommand\");\n }\n};\n\n// src/commands/ListVPCAssociationAuthorizationsCommand.ts\nvar import_middleware_sdk_route5339 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar ListVPCAssociationAuthorizationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5339.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"ListVPCAssociationAuthorizations\", {}).n(\"Route53Client\", \"ListVPCAssociationAuthorizationsCommand\").f(void 0, void 0).ser(se_ListVPCAssociationAuthorizationsCommand).de(de_ListVPCAssociationAuthorizationsCommand).build() {\n static {\n __name(this, \"ListVPCAssociationAuthorizationsCommand\");\n }\n};\n\n// src/commands/TestDNSAnswerCommand.ts\nvar import_middleware_sdk_route5340 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar TestDNSAnswerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5340.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"TestDNSAnswer\", {}).n(\"Route53Client\", \"TestDNSAnswerCommand\").f(void 0, void 0).ser(se_TestDNSAnswerCommand).de(de_TestDNSAnswerCommand).build() {\n static {\n __name(this, \"TestDNSAnswerCommand\");\n }\n};\n\n// src/commands/UpdateHealthCheckCommand.ts\n\n\n\nvar UpdateHealthCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSDnsV20130401\", \"UpdateHealthCheck\", {}).n(\"Route53Client\", \"UpdateHealthCheckCommand\").f(void 0, void 0).ser(se_UpdateHealthCheckCommand).de(de_UpdateHealthCheckCommand).build() {\n static {\n __name(this, \"UpdateHealthCheckCommand\");\n }\n};\n\n// src/commands/UpdateHostedZoneCommentCommand.ts\nvar import_middleware_sdk_route5341 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar UpdateHostedZoneCommentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5341.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"UpdateHostedZoneComment\", {}).n(\"Route53Client\", \"UpdateHostedZoneCommentCommand\").f(void 0, void 0).ser(se_UpdateHostedZoneCommentCommand).de(de_UpdateHostedZoneCommentCommand).build() {\n static {\n __name(this, \"UpdateHostedZoneCommentCommand\");\n }\n};\n\n// src/commands/UpdateTrafficPolicyCommentCommand.ts\nvar import_middleware_sdk_route5342 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar UpdateTrafficPolicyCommentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5342.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"UpdateTrafficPolicyComment\", {}).n(\"Route53Client\", \"UpdateTrafficPolicyCommentCommand\").f(void 0, void 0).ser(se_UpdateTrafficPolicyCommentCommand).de(de_UpdateTrafficPolicyCommentCommand).build() {\n static {\n __name(this, \"UpdateTrafficPolicyCommentCommand\");\n }\n};\n\n// src/commands/UpdateTrafficPolicyInstanceCommand.ts\nvar import_middleware_sdk_route5343 = require(\"@aws-sdk/middleware-sdk-route53\");\n\n\n\nvar UpdateTrafficPolicyInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),\n (0, import_middleware_sdk_route5343.getIdNormalizerPlugin)(config)\n ];\n}).s(\"AWSDnsV20130401\", \"UpdateTrafficPolicyInstance\", {}).n(\"Route53Client\", \"UpdateTrafficPolicyInstanceCommand\").f(void 0, void 0).ser(se_UpdateTrafficPolicyInstanceCommand).de(de_UpdateTrafficPolicyInstanceCommand).build() {\n static {\n __name(this, \"UpdateTrafficPolicyInstanceCommand\");\n }\n};\n\n// src/Route53.ts\nvar commands = {\n ActivateKeySigningKeyCommand,\n AssociateVPCWithHostedZoneCommand,\n ChangeCidrCollectionCommand,\n ChangeResourceRecordSetsCommand,\n ChangeTagsForResourceCommand,\n CreateCidrCollectionCommand,\n CreateHealthCheckCommand,\n CreateHostedZoneCommand,\n CreateKeySigningKeyCommand,\n CreateQueryLoggingConfigCommand,\n CreateReusableDelegationSetCommand,\n CreateTrafficPolicyCommand,\n CreateTrafficPolicyInstanceCommand,\n CreateTrafficPolicyVersionCommand,\n CreateVPCAssociationAuthorizationCommand,\n DeactivateKeySigningKeyCommand,\n DeleteCidrCollectionCommand,\n DeleteHealthCheckCommand,\n DeleteHostedZoneCommand,\n DeleteKeySigningKeyCommand,\n DeleteQueryLoggingConfigCommand,\n DeleteReusableDelegationSetCommand,\n DeleteTrafficPolicyCommand,\n DeleteTrafficPolicyInstanceCommand,\n DeleteVPCAssociationAuthorizationCommand,\n DisableHostedZoneDNSSECCommand,\n DisassociateVPCFromHostedZoneCommand,\n EnableHostedZoneDNSSECCommand,\n GetAccountLimitCommand,\n GetChangeCommand,\n GetCheckerIpRangesCommand,\n GetDNSSECCommand,\n GetGeoLocationCommand,\n GetHealthCheckCommand,\n GetHealthCheckCountCommand,\n GetHealthCheckLastFailureReasonCommand,\n GetHealthCheckStatusCommand,\n GetHostedZoneCommand,\n GetHostedZoneCountCommand,\n GetHostedZoneLimitCommand,\n GetQueryLoggingConfigCommand,\n GetReusableDelegationSetCommand,\n GetReusableDelegationSetLimitCommand,\n GetTrafficPolicyCommand,\n GetTrafficPolicyInstanceCommand,\n GetTrafficPolicyInstanceCountCommand,\n ListCidrBlocksCommand,\n ListCidrCollectionsCommand,\n ListCidrLocationsCommand,\n ListGeoLocationsCommand,\n ListHealthChecksCommand,\n ListHostedZonesCommand,\n ListHostedZonesByNameCommand,\n ListHostedZonesByVPCCommand,\n ListQueryLoggingConfigsCommand,\n ListResourceRecordSetsCommand,\n ListReusableDelegationSetsCommand,\n ListTagsForResourceCommand,\n ListTagsForResourcesCommand,\n ListTrafficPoliciesCommand,\n ListTrafficPolicyInstancesCommand,\n ListTrafficPolicyInstancesByHostedZoneCommand,\n ListTrafficPolicyInstancesByPolicyCommand,\n ListTrafficPolicyVersionsCommand,\n ListVPCAssociationAuthorizationsCommand,\n TestDNSAnswerCommand,\n UpdateHealthCheckCommand,\n UpdateHostedZoneCommentCommand,\n UpdateTrafficPolicyCommentCommand,\n UpdateTrafficPolicyInstanceCommand\n};\nvar Route53 = class extends Route53Client {\n static {\n __name(this, \"Route53\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, Route53);\n\n// src/pagination/ListCidrBlocksPaginator.ts\n\nvar paginateListCidrBlocks = (0, import_core.createPaginator)(Route53Client, ListCidrBlocksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListCidrCollectionsPaginator.ts\n\nvar paginateListCidrCollections = (0, import_core.createPaginator)(Route53Client, ListCidrCollectionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListCidrLocationsPaginator.ts\n\nvar paginateListCidrLocations = (0, import_core.createPaginator)(Route53Client, ListCidrLocationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListHealthChecksPaginator.ts\n\nvar paginateListHealthChecks = (0, import_core.createPaginator)(Route53Client, ListHealthChecksCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListHostedZonesPaginator.ts\n\nvar paginateListHostedZones = (0, import_core.createPaginator)(Route53Client, ListHostedZonesCommand, \"Marker\", \"NextMarker\", \"MaxItems\");\n\n// src/pagination/ListQueryLoggingConfigsPaginator.ts\n\nvar paginateListQueryLoggingConfigs = (0, import_core.createPaginator)(Route53Client, ListQueryLoggingConfigsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/waiters/waitForResourceRecordSetsChanged.ts\nvar import_util_waiter = require(\"@smithy/util-waiter\");\nvar checkState = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetChangeCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.ChangeInfo.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"INSYNC\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForResourceRecordSetsChanged = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 30, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n}, \"waitForResourceRecordSetsChanged\");\nvar waitUntilResourceRecordSetsChanged = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 30, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilResourceRecordSetsChanged\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n Route53ServiceException,\n __Client,\n Route53Client,\n Route53,\n $Command,\n ActivateKeySigningKeyCommand,\n AssociateVPCWithHostedZoneCommand,\n ChangeCidrCollectionCommand,\n ChangeResourceRecordSetsCommand,\n ChangeTagsForResourceCommand,\n CreateCidrCollectionCommand,\n CreateHealthCheckCommand,\n CreateHostedZoneCommand,\n CreateKeySigningKeyCommand,\n CreateQueryLoggingConfigCommand,\n CreateReusableDelegationSetCommand,\n CreateTrafficPolicyCommand,\n CreateTrafficPolicyInstanceCommand,\n CreateTrafficPolicyVersionCommand,\n CreateVPCAssociationAuthorizationCommand,\n DeactivateKeySigningKeyCommand,\n DeleteCidrCollectionCommand,\n DeleteHealthCheckCommand,\n DeleteHostedZoneCommand,\n DeleteKeySigningKeyCommand,\n DeleteQueryLoggingConfigCommand,\n DeleteReusableDelegationSetCommand,\n DeleteTrafficPolicyCommand,\n DeleteTrafficPolicyInstanceCommand,\n DeleteVPCAssociationAuthorizationCommand,\n DisableHostedZoneDNSSECCommand,\n DisassociateVPCFromHostedZoneCommand,\n EnableHostedZoneDNSSECCommand,\n GetAccountLimitCommand,\n GetChangeCommand,\n GetCheckerIpRangesCommand,\n GetDNSSECCommand,\n GetGeoLocationCommand,\n GetHealthCheckCommand,\n GetHealthCheckCountCommand,\n GetHealthCheckLastFailureReasonCommand,\n GetHealthCheckStatusCommand,\n GetHostedZoneCommand,\n GetHostedZoneCountCommand,\n GetHostedZoneLimitCommand,\n GetQueryLoggingConfigCommand,\n GetReusableDelegationSetCommand,\n GetReusableDelegationSetLimitCommand,\n GetTrafficPolicyCommand,\n GetTrafficPolicyInstanceCommand,\n GetTrafficPolicyInstanceCountCommand,\n ListCidrBlocksCommand,\n ListCidrCollectionsCommand,\n ListCidrLocationsCommand,\n ListGeoLocationsCommand,\n ListHealthChecksCommand,\n ListHostedZonesByNameCommand,\n ListHostedZonesByVPCCommand,\n ListHostedZonesCommand,\n ListQueryLoggingConfigsCommand,\n ListResourceRecordSetsCommand,\n ListReusableDelegationSetsCommand,\n ListTagsForResourceCommand,\n ListTagsForResourcesCommand,\n ListTrafficPoliciesCommand,\n ListTrafficPolicyInstancesByHostedZoneCommand,\n ListTrafficPolicyInstancesByPolicyCommand,\n ListTrafficPolicyInstancesCommand,\n ListTrafficPolicyVersionsCommand,\n ListVPCAssociationAuthorizationsCommand,\n TestDNSAnswerCommand,\n UpdateHealthCheckCommand,\n UpdateHostedZoneCommentCommand,\n UpdateTrafficPolicyCommentCommand,\n UpdateTrafficPolicyInstanceCommand,\n paginateListCidrBlocks,\n paginateListCidrCollections,\n paginateListCidrLocations,\n paginateListHealthChecks,\n paginateListHostedZones,\n paginateListQueryLoggingConfigs,\n waitForResourceRecordSetsChanged,\n waitUntilResourceRecordSetsChanged,\n AccountLimitType,\n ChangeStatus,\n ConcurrentModification,\n InvalidInput,\n InvalidKeySigningKeyStatus,\n InvalidKMSArn,\n InvalidSigningStatus,\n NoSuchKeySigningKey,\n CloudWatchRegion,\n VPCRegion,\n ConflictingDomainExists,\n InvalidVPCId,\n LimitsExceeded,\n NoSuchHostedZone,\n NotAuthorizedException,\n PriorRequestNotComplete,\n PublicZoneVPCAssociation,\n CidrCollectionChangeAction,\n CidrBlockInUseException,\n CidrCollectionVersionMismatchException,\n NoSuchCidrCollectionException,\n ChangeAction,\n ResourceRecordSetFailover,\n ResourceRecordSetRegion,\n RRType,\n InvalidChangeBatch,\n NoSuchHealthCheck,\n TagResourceType,\n ThrottlingException,\n CidrCollectionAlreadyExistsException,\n InsufficientDataHealthStatus,\n HealthCheckRegion,\n HealthCheckType,\n ComparisonOperator,\n Statistic,\n HealthCheckAlreadyExists,\n TooManyHealthChecks,\n DelegationSetNotAvailable,\n DelegationSetNotReusable,\n HostedZoneAlreadyExists,\n InvalidDomainName,\n NoSuchDelegationSet,\n TooManyHostedZones,\n InvalidArgument,\n InvalidKeySigningKeyName,\n KeySigningKeyAlreadyExists,\n TooManyKeySigningKeys,\n InsufficientCloudWatchLogsResourcePolicy,\n NoSuchCloudWatchLogsLogGroup,\n QueryLoggingConfigAlreadyExists,\n DelegationSetAlreadyCreated,\n DelegationSetAlreadyReusable,\n HostedZoneNotFound,\n InvalidTrafficPolicyDocument,\n TooManyTrafficPolicies,\n TrafficPolicyAlreadyExists,\n NoSuchTrafficPolicy,\n TooManyTrafficPolicyInstances,\n TrafficPolicyInstanceAlreadyExists,\n TooManyTrafficPolicyVersionsForCurrentPolicy,\n TooManyVPCAssociationAuthorizations,\n KeySigningKeyInParentDSRecord,\n KeySigningKeyInUse,\n CidrCollectionInUseException,\n HealthCheckInUse,\n HostedZoneNotEmpty,\n NoSuchQueryLoggingConfig,\n DelegationSetInUse,\n TrafficPolicyInUse,\n NoSuchTrafficPolicyInstance,\n VPCAssociationAuthorizationNotFound,\n DNSSECNotFound,\n LastVPCAssociation,\n VPCAssociationNotFound,\n HostedZonePartiallyDelegated,\n KeySigningKeyWithActiveStatusNotFound,\n NoSuchChange,\n NoSuchGeoLocation,\n IncompatibleVersion,\n HostedZoneLimitType,\n HostedZoneNotPrivate,\n ReusableDelegationSetLimitType,\n NoSuchCidrLocationException,\n HostedZoneType,\n InvalidPaginationToken,\n HealthCheckVersionMismatch,\n ResettableElementName,\n ConflictingTypes\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2013-04-01\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultRoute53HttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"Route 53\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst signature_v4_multi_region_1 = require(\"@aws-sdk/signature-v4-multi-region\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst endpointResolver_1 = require(\"../endpoint/endpointResolver\");\nconst createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {\n if (!input) {\n throw new Error(`Could not find \\`input\\` for \\`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\\``);\n }\n const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);\n const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor\n ?.getEndpointParameterInstructions;\n if (!instructionsFn) {\n throw new Error(`getEndpointParameterInstructions() is not defined on \\`${context.commandName}\\``);\n }\n const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);\n return Object.assign(defaultParameters, endpointParameters);\n};\nconst _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultS3HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider);\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"s3\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createAwsAuthSigv4aHttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4a\",\n signingProperties: {\n name: \"s3\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {\n const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {\n const endpoint = defaultEndpointResolver(authParameters);\n const authSchemes = endpoint.properties?.authSchemes;\n if (!authSchemes) {\n return defaultHttpAuthSchemeResolver(authParameters);\n }\n const options = [];\n for (const scheme of authSchemes) {\n const { name: resolvedName, properties = {}, ...rest } = scheme;\n const name = resolvedName.toLowerCase();\n if (resolvedName !== name) {\n console.warn(`HttpAuthScheme has been normalized with lowercasing: \\`${resolvedName}\\` to \\`${name}\\``);\n }\n let schemeId;\n if (name === \"sigv4a\") {\n schemeId = \"aws.auth#sigv4a\";\n const sigv4Present = authSchemes.find((s) => {\n const name = s.name.toLowerCase();\n return name !== \"sigv4a\" && name.startsWith(\"sigv4\");\n });\n if (signature_v4_multi_region_1.SignatureV4MultiRegion.sigv4aDependency() === \"none\" && sigv4Present) {\n continue;\n }\n }\n else if (name.startsWith(\"sigv4\")) {\n schemeId = \"aws.auth#sigv4\";\n }\n else {\n throw new Error(`Unknown HttpAuthScheme found in \\`@smithy.rules#endpointRuleSet\\`: \\`${name}\\``);\n }\n const createOption = createHttpAuthOptionFunctions[schemeId];\n if (!createOption) {\n throw new Error(`Could not find HttpAuthOption create function for \\`${schemeId}\\``);\n }\n const option = createOption(authParameters);\n option.schemeId = schemeId;\n option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };\n options.push(option);\n }\n return options;\n };\n return endpointRuleSetHttpAuthSchemeProvider;\n};\nconst _defaultS3HttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(endpointResolver_1.defaultEndpointResolver, _defaultS3HttpAuthSchemeProvider, {\n \"aws.auth#sigv4\": createAwsAuthSigv4HttpAuthOption,\n \"aws.auth#sigv4a\": createAwsAuthSigv4aHttpAuthOption,\n});\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4AConfig)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\n \"Accelerate\",\n \"Bucket\",\n \"DisableAccessPoints\",\n \"DisableMultiRegionAccessPoints\",\n \"DisableS3ExpressSessionAuth\",\n \"Endpoint\",\n \"ForcePathStyle\",\n \"Region\",\n \"UseArnRegion\",\n \"UseDualStack\",\n \"UseFIPS\",\n \"UseGlobalEndpoint\",\n \"UseObjectLambdaEndpoint\",\n \"UseS3ExpressControlEndpoint\",\n ],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst cp = \"required\", cq = \"type\", cr = \"rules\", cs = \"conditions\", ct = \"fn\", cu = \"argv\", cv = \"ref\", cw = \"assign\", cx = \"url\", cy = \"properties\", cz = \"backend\", cA = \"authSchemes\", cB = \"disableDoubleEncoding\", cC = \"signingName\", cD = \"signingRegion\", cE = \"headers\", cF = \"signingRegionSet\";\nconst a = 6, b = false, c = true, d = \"isSet\", e = \"booleanEquals\", f = \"error\", g = \"aws.partition\", h = \"stringEquals\", i = \"getAttr\", j = \"name\", k = \"substring\", l = \"bucketSuffix\", m = \"parseURL\", n = \"endpoint\", o = \"tree\", p = \"aws.isVirtualHostableS3Bucket\", q = \"{url#scheme}://{Bucket}.{url#authority}{url#path}\", r = \"not\", s = \"accessPointSuffix\", t = \"{url#scheme}://{url#authority}{url#path}\", u = \"hardwareType\", v = \"regionPrefix\", w = \"bucketAliasSuffix\", x = \"outpostId\", y = \"isValidHostLabel\", z = \"sigv4a\", A = \"s3-outposts\", B = \"s3\", C = \"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}\", D = \"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}\", E = \"https://{Bucket}.s3.{partitionResult#dnsSuffix}\", F = \"aws.parseArn\", G = \"bucketArn\", H = \"arnType\", I = \"\", J = \"s3-object-lambda\", K = \"accesspoint\", L = \"accessPointName\", M = \"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}\", N = \"mrapPartition\", O = \"outpostType\", P = \"arnPrefix\", Q = \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", R = \"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", S = \"https://s3.{partitionResult#dnsSuffix}\", T = { [cp]: false, [cq]: \"String\" }, U = { [cp]: true, \"default\": false, [cq]: \"Boolean\" }, V = { [cp]: false, [cq]: \"Boolean\" }, W = { [ct]: e, [cu]: [{ [cv]: \"Accelerate\" }, true] }, X = { [ct]: e, [cu]: [{ [cv]: \"UseFIPS\" }, true] }, Y = { [ct]: e, [cu]: [{ [cv]: \"UseDualStack\" }, true] }, Z = { [ct]: d, [cu]: [{ [cv]: \"Endpoint\" }] }, aa = { [ct]: g, [cu]: [{ [cv]: \"Region\" }], [cw]: \"partitionResult\" }, ab = { [ct]: h, [cu]: [{ [ct]: i, [cu]: [{ [cv]: \"partitionResult\" }, j] }, \"aws-cn\"] }, ac = { [ct]: d, [cu]: [{ [cv]: \"Bucket\" }] }, ad = { [cv]: \"Bucket\" }, ae = { [cs]: [Y], [f]: \"S3Express does not support Dual-stack.\", [cq]: f }, af = { [cs]: [W], [f]: \"S3Express does not support S3 Accelerate.\", [cq]: f }, ag = { [cs]: [Z, { [ct]: m, [cu]: [{ [cv]: \"Endpoint\" }], [cw]: \"url\" }], [cr]: [{ [cs]: [{ [ct]: d, [cu]: [{ [cv]: \"DisableS3ExpressSessionAuth\" }] }, { [ct]: e, [cu]: [{ [cv]: \"DisableS3ExpressSessionAuth\" }, true] }], [cr]: [{ [cs]: [{ [ct]: e, [cu]: [{ [ct]: i, [cu]: [{ [cv]: \"url\" }, \"isIp\"] }, true] }], [cr]: [{ [cs]: [{ [ct]: \"uriEncode\", [cu]: [ad], [cw]: \"uri_encoded_bucket\" }], [cr]: [{ [n]: { [cx]: \"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}\", [cy]: { [cz]: \"S3Express\", [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: \"s3express\", [cD]: \"{Region}\" }] }, [cE]: {} }, [cq]: n }], [cq]: o }], [cq]: o }, { [cs]: [{ [ct]: p, [cu]: [ad, false] }], [cr]: [{ [n]: { [cx]: q, [cy]: { [cz]: \"S3Express\", [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: \"s3express\", [cD]: \"{Region}\" }] }, [cE]: {} }, [cq]: n }], [cq]: o }, { [f]: \"S3Express bucket name is not a valid virtual hostable name.\", [cq]: f }], [cq]: o }, { [cs]: [{ [ct]: e, [cu]: [{ [ct]: i, [cu]: [{ [cv]: \"url\" }, \"isIp\"] }, true] }], [cr]: [{ [cs]: [{ [ct]: \"uriEncode\", [cu]: [ad], [cw]: \"uri_encoded_bucket\" }], [cr]: [{ [n]: { [cx]: \"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}\", [cy]: { [cz]: \"S3Express\", [cA]: [{ [cB]: true, [j]: \"sigv4-s3express\", [cC]: \"s3express\", [cD]: \"{Region}\" }] }, [cE]: {} }, [cq]: n }], [cq]: o }], [cq]: o }, { [cs]: [{ [ct]: p, [cu]: [ad, false] }], [cr]: [{ [n]: { [cx]: q, [cy]: { [cz]: \"S3Express\", [cA]: [{ [cB]: true, [j]: \"sigv4-s3express\", [cC]: \"s3express\", [cD]: \"{Region}\" }] }, [cE]: {} }, [cq]: n }], [cq]: o }, { [f]: \"S3Express bucket name is not a valid virtual hostable name.\", [cq]: f }], [cq]: o }, ah = { [ct]: m, [cu]: [{ [cv]: \"Endpoint\" }], [cw]: \"url\" }, ai = { [ct]: e, [cu]: [{ [ct]: i, [cu]: [{ [cv]: \"url\" }, \"isIp\"] }, true] }, aj = { [cv]: \"url\" }, ak = { [ct]: \"uriEncode\", [cu]: [ad], [cw]: \"uri_encoded_bucket\" }, al = { [cz]: \"S3Express\", [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: \"s3express\", [cD]: \"{Region}\" }] }, am = {}, an = { [ct]: p, [cu]: [ad, false] }, ao = { [f]: \"S3Express bucket name is not a valid virtual hostable name.\", [cq]: f }, ap = { [ct]: d, [cu]: [{ [cv]: \"UseS3ExpressControlEndpoint\" }] }, aq = { [ct]: e, [cu]: [{ [cv]: \"UseS3ExpressControlEndpoint\" }, true] }, ar = { [ct]: r, [cu]: [Z] }, as = { [f]: \"Unrecognized S3Express bucket name format.\", [cq]: f }, at = { [ct]: r, [cu]: [ac] }, au = { [cv]: u }, av = { [cs]: [ar], [f]: \"Expected a endpoint to be specified but no endpoint was found\", [cq]: f }, aw = { [cA]: [{ [cB]: true, [j]: z, [cC]: A, [cF]: [\"*\"] }, { [cB]: true, [j]: \"sigv4\", [cC]: A, [cD]: \"{Region}\" }] }, ax = { [ct]: e, [cu]: [{ [cv]: \"ForcePathStyle\" }, false] }, ay = { [cv]: \"ForcePathStyle\" }, az = { [ct]: e, [cu]: [{ [cv]: \"Accelerate\" }, false] }, aA = { [ct]: h, [cu]: [{ [cv]: \"Region\" }, \"aws-global\"] }, aB = { [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: B, [cD]: \"us-east-1\" }] }, aC = { [ct]: r, [cu]: [aA] }, aD = { [ct]: e, [cu]: [{ [cv]: \"UseGlobalEndpoint\" }, true] }, aE = { [cx]: \"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\", [cy]: { [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: B, [cD]: \"{Region}\" }] }, [cE]: {} }, aF = { [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: B, [cD]: \"{Region}\" }] }, aG = { [ct]: e, [cu]: [{ [cv]: \"UseGlobalEndpoint\" }, false] }, aH = { [ct]: e, [cu]: [{ [cv]: \"UseDualStack\" }, false] }, aI = { [cx]: \"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}\", [cy]: aF, [cE]: {} }, aJ = { [ct]: e, [cu]: [{ [cv]: \"UseFIPS\" }, false] }, aK = { [cx]: \"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}\", [cy]: aF, [cE]: {} }, aL = { [cx]: \"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}\", [cy]: aF, [cE]: {} }, aM = { [ct]: e, [cu]: [{ [ct]: i, [cu]: [aj, \"isIp\"] }, false] }, aN = { [cx]: C, [cy]: aF, [cE]: {} }, aO = { [cx]: q, [cy]: aF, [cE]: {} }, aP = { [n]: aO, [cq]: n }, aQ = { [cx]: D, [cy]: aF, [cE]: {} }, aR = { [cx]: \"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}\", [cy]: aF, [cE]: {} }, aS = { [f]: \"Invalid region: region was not a valid DNS name.\", [cq]: f }, aT = { [cv]: G }, aU = { [cv]: H }, aV = { [ct]: i, [cu]: [aT, \"service\"] }, aW = { [cv]: L }, aX = { [cs]: [Y], [f]: \"S3 Object Lambda does not support Dual-stack\", [cq]: f }, aY = { [cs]: [W], [f]: \"S3 Object Lambda does not support S3 Accelerate\", [cq]: f }, aZ = { [cs]: [{ [ct]: d, [cu]: [{ [cv]: \"DisableAccessPoints\" }] }, { [ct]: e, [cu]: [{ [cv]: \"DisableAccessPoints\" }, true] }], [f]: \"Access points are not supported for this operation\", [cq]: f }, ba = { [cs]: [{ [ct]: d, [cu]: [{ [cv]: \"UseArnRegion\" }] }, { [ct]: e, [cu]: [{ [cv]: \"UseArnRegion\" }, false] }, { [ct]: r, [cu]: [{ [ct]: h, [cu]: [{ [ct]: i, [cu]: [aT, \"region\"] }, \"{Region}\"] }] }], [f]: \"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\", [cq]: f }, bb = { [ct]: i, [cu]: [{ [cv]: \"bucketPartition\" }, j] }, bc = { [ct]: i, [cu]: [aT, \"accountId\"] }, bd = { [cA]: [{ [cB]: true, [j]: \"sigv4\", [cC]: J, [cD]: \"{bucketArn#region}\" }] }, be = { [f]: \"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`\", [cq]: f }, bf = { [f]: \"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`\", [cq]: f }, bg = { [f]: \"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)\", [cq]: f }, bh = { [f]: \"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`\", [cq]: f }, bi = { [f]: \"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.\", [cq]: f }, bj = { [f]: \"Invalid ARN: Expected a resource of the format `accesspoint:Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n randomUUID: _crypto.default.randomUUID\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.unsafeStringify = unsafeStringify;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.unsafeStringify)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.URL = exports.DNS = void 0;\nexports.default = v35;\n\nvar _stringify = require(\"./stringify.js\");\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _native = _interopRequireDefault(require(\"./native.js\"));\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n if (_native.default.randomUUID && !buf && !options) {\n return _native.default.randomUUID();\n }\n\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.slice(14, 15), 16);\n}\n\nvar _default = version;\nexports.default = _default;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSecretsManagerHttpAuthSchemeProvider = exports.defaultSecretsManagerHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSecretsManagerHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSecretsManagerHttpAuthSchemeParametersProvider = defaultSecretsManagerHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"secretsmanager\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultSecretsManagerHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSecretsManagerHttpAuthSchemeProvider = defaultSecretsManagerHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst y = \"required\", z = \"fn\", A = \"argv\", B = \"ref\", C = \"properties\", D = \"headers\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"stringEquals\", i = { [y]: false, \"type\": \"String\" }, j = { [y]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [B]: \"Endpoint\" }, l = { [z]: c, [A]: [{ [B]: \"UseFIPS\" }, true] }, m = { [z]: c, [A]: [{ [B]: \"UseDualStack\" }, true] }, n = {}, o = { [z]: \"getAttr\", [A]: [{ [B]: g }, \"supportsFIPS\"] }, p = { [z]: c, [A]: [true, { [z]: \"getAttr\", [A]: [{ [B]: g }, \"supportsDualStack\"] }] }, q = { [z]: \"getAttr\", [A]: [{ [B]: g }, \"name\"] }, r = { \"url\": \"https://secretsmanager-fips.{Region}.amazonaws.com\", [C]: {}, [D]: {} }, s = { \"url\": \"https://secretsmanager.{Region}.amazonaws.com\", [C]: {}, [D]: {} }, t = [l], u = [m], v = [{ [B]: \"Region\" }], w = [{ [z]: h, [A]: [\"aws\", q] }], x = [{ [z]: h, [A]: [\"aws-us-gov\", q] }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [z]: b, [A]: [k] }], rules: [{ conditions: t, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: u, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, [C]: n, [D]: n }, type: e }], type: f }, { conditions: [{ [z]: b, [A]: v }], rules: [{ conditions: [{ [z]: \"aws.partition\", [A]: v, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [z]: c, [A]: [a, o] }, p], rules: [{ conditions: w, endpoint: r, type: e }, { conditions: x, endpoint: r, type: e }, { endpoint: { url: \"https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", [C]: n, [D]: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [z]: c, [A]: [o, a] }], rules: [{ endpoint: { url: \"https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}\", [C]: n, [D]: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: u, rules: [{ conditions: [p], rules: [{ conditions: w, endpoint: s, type: e }, { conditions: [{ [z]: h, [A]: [\"aws-cn\", q] }], endpoint: { url: \"https://secretsmanager.{Region}.amazonaws.com.cn\", [C]: n, [D]: n }, type: e }, { conditions: x, endpoint: s, type: e }, { endpoint: { url: \"https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}\", [C]: n, [D]: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}\", [C]: n, [D]: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n BatchGetSecretValueCommand: () => BatchGetSecretValueCommand,\n BatchGetSecretValueResponseFilterSensitiveLog: () => BatchGetSecretValueResponseFilterSensitiveLog,\n CancelRotateSecretCommand: () => CancelRotateSecretCommand,\n CreateSecretCommand: () => CreateSecretCommand,\n CreateSecretRequestFilterSensitiveLog: () => CreateSecretRequestFilterSensitiveLog,\n DecryptionFailure: () => DecryptionFailure,\n DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,\n DeleteSecretCommand: () => DeleteSecretCommand,\n DescribeSecretCommand: () => DescribeSecretCommand,\n EncryptionFailure: () => EncryptionFailure,\n FilterNameStringType: () => FilterNameStringType,\n GetRandomPasswordCommand: () => GetRandomPasswordCommand,\n GetRandomPasswordResponseFilterSensitiveLog: () => GetRandomPasswordResponseFilterSensitiveLog,\n GetResourcePolicyCommand: () => GetResourcePolicyCommand,\n GetSecretValueCommand: () => GetSecretValueCommand,\n GetSecretValueResponseFilterSensitiveLog: () => GetSecretValueResponseFilterSensitiveLog,\n InternalServiceError: () => InternalServiceError,\n InvalidNextTokenException: () => InvalidNextTokenException,\n InvalidParameterException: () => InvalidParameterException,\n InvalidRequestException: () => InvalidRequestException,\n LimitExceededException: () => LimitExceededException,\n ListSecretVersionIdsCommand: () => ListSecretVersionIdsCommand,\n ListSecretsCommand: () => ListSecretsCommand,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PreconditionNotMetException: () => PreconditionNotMetException,\n PublicPolicyException: () => PublicPolicyException,\n PutResourcePolicyCommand: () => PutResourcePolicyCommand,\n PutSecretValueCommand: () => PutSecretValueCommand,\n PutSecretValueRequestFilterSensitiveLog: () => PutSecretValueRequestFilterSensitiveLog,\n RemoveRegionsFromReplicationCommand: () => RemoveRegionsFromReplicationCommand,\n ReplicateSecretToRegionsCommand: () => ReplicateSecretToRegionsCommand,\n ResourceExistsException: () => ResourceExistsException,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RestoreSecretCommand: () => RestoreSecretCommand,\n RotateSecretCommand: () => RotateSecretCommand,\n SecretValueEntryFilterSensitiveLog: () => SecretValueEntryFilterSensitiveLog,\n SecretsManager: () => SecretsManager,\n SecretsManagerClient: () => SecretsManagerClient,\n SecretsManagerServiceException: () => SecretsManagerServiceException,\n SortOrderType: () => SortOrderType,\n StatusType: () => StatusType,\n StopReplicationToReplicaCommand: () => StopReplicationToReplicaCommand,\n TagResourceCommand: () => TagResourceCommand,\n UntagResourceCommand: () => UntagResourceCommand,\n UpdateSecretCommand: () => UpdateSecretCommand,\n UpdateSecretRequestFilterSensitiveLog: () => UpdateSecretRequestFilterSensitiveLog,\n UpdateSecretVersionStageCommand: () => UpdateSecretVersionStageCommand,\n ValidateResourcePolicyCommand: () => ValidateResourcePolicyCommand,\n __Client: () => import_smithy_client.Client,\n paginateBatchGetSecretValue: () => paginateBatchGetSecretValue,\n paginateListSecretVersionIds: () => paginateListSecretVersionIds,\n paginateListSecrets: () => paginateListSecrets\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SecretsManagerClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"secretsmanager\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SecretsManagerClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SecretsManagerClient.ts\nvar SecretsManagerClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SecretsManagerClient\");\n }\n /**\n * The resolved configuration of SecretsManagerClient class. This is resolved and normalized from the {@link SecretsManagerClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSecretsManagerHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SecretsManager.ts\n\n\n// src/commands/BatchGetSecretValueCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SecretsManagerServiceException.ts\n\nvar SecretsManagerServiceException = class _SecretsManagerServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SecretsManagerServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SecretsManagerServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar FilterNameStringType = {\n all: \"all\",\n description: \"description\",\n name: \"name\",\n owning_service: \"owning-service\",\n primary_region: \"primary-region\",\n tag_key: \"tag-key\",\n tag_value: \"tag-value\"\n};\nvar DecryptionFailure = class _DecryptionFailure extends SecretsManagerServiceException {\n static {\n __name(this, \"DecryptionFailure\");\n }\n name = \"DecryptionFailure\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DecryptionFailure\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DecryptionFailure.prototype);\n this.Message = opts.Message;\n }\n};\nvar InternalServiceError = class _InternalServiceError extends SecretsManagerServiceException {\n static {\n __name(this, \"InternalServiceError\");\n }\n name = \"InternalServiceError\";\n $fault = \"server\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServiceError\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServiceError.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidNextTokenException = class _InvalidNextTokenException extends SecretsManagerServiceException {\n static {\n __name(this, \"InvalidNextTokenException\");\n }\n name = \"InvalidNextTokenException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidNextTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidParameterException = class _InvalidParameterException extends SecretsManagerServiceException {\n static {\n __name(this, \"InvalidParameterException\");\n }\n name = \"InvalidParameterException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidParameterException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SecretsManagerServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SecretsManagerServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar StatusType = {\n Failed: \"Failed\",\n InProgress: \"InProgress\",\n InSync: \"InSync\"\n};\nvar EncryptionFailure = class _EncryptionFailure extends SecretsManagerServiceException {\n static {\n __name(this, \"EncryptionFailure\");\n }\n name = \"EncryptionFailure\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"EncryptionFailure\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _EncryptionFailure.prototype);\n this.Message = opts.Message;\n }\n};\nvar LimitExceededException = class _LimitExceededException extends SecretsManagerServiceException {\n static {\n __name(this, \"LimitExceededException\");\n }\n name = \"LimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _LimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends SecretsManagerServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n this.Message = opts.Message;\n }\n};\nvar PreconditionNotMetException = class _PreconditionNotMetException extends SecretsManagerServiceException {\n static {\n __name(this, \"PreconditionNotMetException\");\n }\n name = \"PreconditionNotMetException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PreconditionNotMetException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PreconditionNotMetException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceExistsException = class _ResourceExistsException extends SecretsManagerServiceException {\n static {\n __name(this, \"ResourceExistsException\");\n }\n name = \"ResourceExistsException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceExistsException.prototype);\n this.Message = opts.Message;\n }\n};\nvar SortOrderType = {\n asc: \"asc\",\n desc: \"desc\"\n};\nvar PublicPolicyException = class _PublicPolicyException extends SecretsManagerServiceException {\n static {\n __name(this, \"PublicPolicyException\");\n }\n name = \"PublicPolicyException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PublicPolicyException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PublicPolicyException.prototype);\n this.Message = opts.Message;\n }\n};\nvar SecretValueEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },\n ...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }\n}), \"SecretValueEntryFilterSensitiveLog\");\nvar BatchGetSecretValueResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretValues && { SecretValues: obj.SecretValues.map((item) => SecretValueEntryFilterSensitiveLog(item)) }\n}), \"BatchGetSecretValueResponseFilterSensitiveLog\");\nvar CreateSecretRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },\n ...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateSecretRequestFilterSensitiveLog\");\nvar GetRandomPasswordResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.RandomPassword && { RandomPassword: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRandomPasswordResponseFilterSensitiveLog\");\nvar GetSecretValueResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },\n ...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }\n}), \"GetSecretValueResponseFilterSensitiveLog\");\nvar PutSecretValueRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },\n ...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING },\n ...obj.RotationToken && { RotationToken: import_smithy_client.SENSITIVE_STRING }\n}), \"PutSecretValueRequestFilterSensitiveLog\");\nvar UpdateSecretRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },\n ...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateSecretRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_json1_1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar import_uuid = require(\"uuid\");\nvar se_BatchGetSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"BatchGetSecretValue\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_BatchGetSecretValueCommand\");\nvar se_CancelRotateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CancelRotateSecret\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelRotateSecretCommand\");\nvar se_CreateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateSecret\");\n let body;\n body = JSON.stringify(se_CreateSecretRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateSecretCommand\");\nvar se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteResourcePolicyCommand\");\nvar se_DeleteSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteSecret\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteSecretCommand\");\nvar se_DescribeSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeSecret\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSecretCommand\");\nvar se_GetRandomPasswordCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetRandomPassword\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetRandomPasswordCommand\");\nvar se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetResourcePolicyCommand\");\nvar se_GetSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetSecretValue\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSecretValueCommand\");\nvar se_ListSecretsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSecrets\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSecretsCommand\");\nvar se_ListSecretVersionIdsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListSecretVersionIds\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListSecretVersionIdsCommand\");\nvar se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutResourcePolicyCommand\");\nvar se_PutSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutSecretValue\");\n let body;\n body = JSON.stringify(se_PutSecretValueRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutSecretValueCommand\");\nvar se_RemoveRegionsFromReplicationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RemoveRegionsFromReplication\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RemoveRegionsFromReplicationCommand\");\nvar se_ReplicateSecretToRegionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ReplicateSecretToRegions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ReplicateSecretToRegionsCommand\");\nvar se_RestoreSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RestoreSecret\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RestoreSecretCommand\");\nvar se_RotateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RotateSecret\");\n let body;\n body = JSON.stringify(se_RotateSecretRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RotateSecretCommand\");\nvar se_StopReplicationToReplicaCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopReplicationToReplica\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopReplicationToReplicaCommand\");\nvar se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TagResourceCommand\");\nvar se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UntagResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UntagResourceCommand\");\nvar se_UpdateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateSecret\");\n let body;\n body = JSON.stringify(se_UpdateSecretRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateSecretCommand\");\nvar se_UpdateSecretVersionStageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateSecretVersionStage\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateSecretVersionStageCommand\");\nvar se_ValidateResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ValidateResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ValidateResourcePolicyCommand\");\nvar de_BatchGetSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_BatchGetSecretValueResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_BatchGetSecretValueCommand\");\nvar de_CancelRotateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelRotateSecretCommand\");\nvar de_CreateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateSecretResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateSecretCommand\");\nvar de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteResourcePolicyCommand\");\nvar de_DeleteSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DeleteSecretResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteSecretCommand\");\nvar de_DescribeSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSecretResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSecretCommand\");\nvar de_GetRandomPasswordCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetRandomPasswordCommand\");\nvar de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetResourcePolicyCommand\");\nvar de_GetSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetSecretValueResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSecretValueCommand\");\nvar de_ListSecretsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListSecretsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSecretsCommand\");\nvar de_ListSecretVersionIdsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListSecretVersionIdsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListSecretVersionIdsCommand\");\nvar de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutResourcePolicyCommand\");\nvar de_PutSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutSecretValueCommand\");\nvar de_RemoveRegionsFromReplicationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_RemoveRegionsFromReplicationResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RemoveRegionsFromReplicationCommand\");\nvar de_ReplicateSecretToRegionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ReplicateSecretToRegionsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ReplicateSecretToRegionsCommand\");\nvar de_RestoreSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RestoreSecretCommand\");\nvar de_RotateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RotateSecretCommand\");\nvar de_StopReplicationToReplicaCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopReplicationToReplicaCommand\");\nvar de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_TagResourceCommand\");\nvar de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n await (0, import_smithy_client.collectBody)(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output)\n };\n return response;\n}, \"de_UntagResourceCommand\");\nvar de_UpdateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateSecretCommand\");\nvar de_UpdateSecretVersionStageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateSecretVersionStageCommand\");\nvar de_ValidateResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ValidateResourcePolicyCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"DecryptionFailure\":\n case \"com.amazonaws.secretsmanager#DecryptionFailure\":\n throw await de_DecryptionFailureRes(parsedOutput, context);\n case \"InternalServiceError\":\n case \"com.amazonaws.secretsmanager#InternalServiceError\":\n throw await de_InternalServiceErrorRes(parsedOutput, context);\n case \"InvalidNextTokenException\":\n case \"com.amazonaws.secretsmanager#InvalidNextTokenException\":\n throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.secretsmanager#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.secretsmanager#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.secretsmanager#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"EncryptionFailure\":\n case \"com.amazonaws.secretsmanager#EncryptionFailure\":\n throw await de_EncryptionFailureRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.secretsmanager#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocumentException\":\n case \"com.amazonaws.secretsmanager#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PreconditionNotMetException\":\n case \"com.amazonaws.secretsmanager#PreconditionNotMetException\":\n throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);\n case \"ResourceExistsException\":\n case \"com.amazonaws.secretsmanager#ResourceExistsException\":\n throw await de_ResourceExistsExceptionRes(parsedOutput, context);\n case \"PublicPolicyException\":\n case \"com.amazonaws.secretsmanager#PublicPolicyException\":\n throw await de_PublicPolicyExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_DecryptionFailureRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DecryptionFailure({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DecryptionFailureRes\");\nvar de_EncryptionFailureRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new EncryptionFailure({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_EncryptionFailureRes\");\nvar de_InternalServiceErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InternalServiceError({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InternalServiceErrorRes\");\nvar de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidNextTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidNextTokenExceptionRes\");\nvar de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidParameterExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new LimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_LimitExceededExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PreconditionNotMetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new PreconditionNotMetException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PreconditionNotMetExceptionRes\");\nvar de_PublicPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new PublicPolicyException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PublicPolicyExceptionRes\");\nvar de_ResourceExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceExistsExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar se_CreateSecretRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AddReplicaRegions: import_smithy_client._json,\n ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n Description: [],\n ForceOverwriteReplicaSecret: [],\n KmsKeyId: [],\n Name: [],\n SecretBinary: context.base64Encoder,\n SecretString: [],\n Tags: import_smithy_client._json\n });\n}, \"se_CreateSecretRequest\");\nvar se_PutSecretValueRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n RotationToken: [],\n SecretBinary: context.base64Encoder,\n SecretId: [],\n SecretString: [],\n VersionStages: import_smithy_client._json\n });\n}, \"se_PutSecretValueRequest\");\nvar se_RotateSecretRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n RotateImmediately: [],\n RotationLambdaARN: [],\n RotationRules: import_smithy_client._json,\n SecretId: []\n });\n}, \"se_RotateSecretRequest\");\nvar se_UpdateSecretRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n Description: [],\n KmsKeyId: [],\n SecretBinary: context.base64Encoder,\n SecretId: [],\n SecretString: []\n });\n}, \"se_UpdateSecretRequest\");\nvar de_BatchGetSecretValueResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Errors: import_smithy_client._json,\n NextToken: import_smithy_client.expectString,\n SecretValues: /* @__PURE__ */ __name((_) => de_SecretValuesType(_, context), \"SecretValues\")\n });\n}, \"de_BatchGetSecretValueResponse\");\nvar de_CreateSecretResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n ReplicationStatus: /* @__PURE__ */ __name((_) => de_ReplicationStatusListType(_, context), \"ReplicationStatus\"),\n VersionId: import_smithy_client.expectString\n });\n}, \"de_CreateSecretResponse\");\nvar de_DeleteSecretResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n DeletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"DeletionDate\"),\n Name: import_smithy_client.expectString\n });\n}, \"de_DeleteSecretResponse\");\nvar de_DescribeSecretResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DeletedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"DeletedDate\"),\n Description: import_smithy_client.expectString,\n KmsKeyId: import_smithy_client.expectString,\n LastAccessedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAccessedDate\"),\n LastChangedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastChangedDate\"),\n LastRotatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastRotatedDate\"),\n Name: import_smithy_client.expectString,\n NextRotationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"NextRotationDate\"),\n OwningService: import_smithy_client.expectString,\n PrimaryRegion: import_smithy_client.expectString,\n ReplicationStatus: /* @__PURE__ */ __name((_) => de_ReplicationStatusListType(_, context), \"ReplicationStatus\"),\n RotationEnabled: import_smithy_client.expectBoolean,\n RotationLambdaARN: import_smithy_client.expectString,\n RotationRules: import_smithy_client._json,\n Tags: import_smithy_client._json,\n VersionIdsToStages: import_smithy_client._json\n });\n}, \"de_DescribeSecretResponse\");\nvar de_GetSecretValueResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n Name: import_smithy_client.expectString,\n SecretBinary: context.base64Decoder,\n SecretString: import_smithy_client.expectString,\n VersionId: import_smithy_client.expectString,\n VersionStages: import_smithy_client._json\n });\n}, \"de_GetSecretValueResponse\");\nvar de_ListSecretsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n SecretList: /* @__PURE__ */ __name((_) => de_SecretListType(_, context), \"SecretList\")\n });\n}, \"de_ListSecretsResponse\");\nvar de_ListSecretVersionIdsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n NextToken: import_smithy_client.expectString,\n Versions: /* @__PURE__ */ __name((_) => de_SecretVersionsListType(_, context), \"Versions\")\n });\n}, \"de_ListSecretVersionIdsResponse\");\nvar de_RemoveRegionsFromReplicationResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n ReplicationStatus: /* @__PURE__ */ __name((_) => de_ReplicationStatusListType(_, context), \"ReplicationStatus\")\n });\n}, \"de_RemoveRegionsFromReplicationResponse\");\nvar de_ReplicateSecretToRegionsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n ReplicationStatus: /* @__PURE__ */ __name((_) => de_ReplicationStatusListType(_, context), \"ReplicationStatus\")\n });\n}, \"de_ReplicateSecretToRegionsResponse\");\nvar de_ReplicationStatusListType = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ReplicationStatusType(entry, context);\n });\n return retVal;\n}, \"de_ReplicationStatusListType\");\nvar de_ReplicationStatusType = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n KmsKeyId: import_smithy_client.expectString,\n LastAccessedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAccessedDate\"),\n Region: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusMessage: import_smithy_client.expectString\n });\n}, \"de_ReplicationStatusType\");\nvar de_SecretListEntry = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DeletedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"DeletedDate\"),\n Description: import_smithy_client.expectString,\n KmsKeyId: import_smithy_client.expectString,\n LastAccessedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAccessedDate\"),\n LastChangedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastChangedDate\"),\n LastRotatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastRotatedDate\"),\n Name: import_smithy_client.expectString,\n NextRotationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"NextRotationDate\"),\n OwningService: import_smithy_client.expectString,\n PrimaryRegion: import_smithy_client.expectString,\n RotationEnabled: import_smithy_client.expectBoolean,\n RotationLambdaARN: import_smithy_client.expectString,\n RotationRules: import_smithy_client._json,\n SecretVersionsToStages: import_smithy_client._json,\n Tags: import_smithy_client._json\n });\n}, \"de_SecretListEntry\");\nvar de_SecretListType = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_SecretListEntry(entry, context);\n });\n return retVal;\n}, \"de_SecretListType\");\nvar de_SecretValueEntry = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n Name: import_smithy_client.expectString,\n SecretBinary: context.base64Decoder,\n SecretString: import_smithy_client.expectString,\n VersionId: import_smithy_client.expectString,\n VersionStages: import_smithy_client._json\n });\n}, \"de_SecretValueEntry\");\nvar de_SecretValuesType = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_SecretValueEntry(entry, context);\n });\n return retVal;\n}, \"de_SecretValuesType\");\nvar de_SecretVersionsListEntry = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n KmsKeyIds: import_smithy_client._json,\n LastAccessedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAccessedDate\"),\n VersionId: import_smithy_client.expectString,\n VersionStages: import_smithy_client._json\n });\n}, \"de_SecretVersionsListEntry\");\nvar de_SecretVersionsListType = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_SecretVersionsListEntry(entry, context);\n });\n return retVal;\n}, \"de_SecretVersionsListType\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SecretsManagerServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `secretsmanager.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/BatchGetSecretValueCommand.ts\nvar BatchGetSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"BatchGetSecretValue\", {}).n(\"SecretsManagerClient\", \"BatchGetSecretValueCommand\").f(void 0, BatchGetSecretValueResponseFilterSensitiveLog).ser(se_BatchGetSecretValueCommand).de(de_BatchGetSecretValueCommand).build() {\n static {\n __name(this, \"BatchGetSecretValueCommand\");\n }\n};\n\n// src/commands/CancelRotateSecretCommand.ts\n\n\n\nvar CancelRotateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"CancelRotateSecret\", {}).n(\"SecretsManagerClient\", \"CancelRotateSecretCommand\").f(void 0, void 0).ser(se_CancelRotateSecretCommand).de(de_CancelRotateSecretCommand).build() {\n static {\n __name(this, \"CancelRotateSecretCommand\");\n }\n};\n\n// src/commands/CreateSecretCommand.ts\n\n\n\nvar CreateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"CreateSecret\", {}).n(\"SecretsManagerClient\", \"CreateSecretCommand\").f(CreateSecretRequestFilterSensitiveLog, void 0).ser(se_CreateSecretCommand).de(de_CreateSecretCommand).build() {\n static {\n __name(this, \"CreateSecretCommand\");\n }\n};\n\n// src/commands/DeleteResourcePolicyCommand.ts\n\n\n\nvar DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"DeleteResourcePolicy\", {}).n(\"SecretsManagerClient\", \"DeleteResourcePolicyCommand\").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {\n static {\n __name(this, \"DeleteResourcePolicyCommand\");\n }\n};\n\n// src/commands/DeleteSecretCommand.ts\n\n\n\nvar DeleteSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"DeleteSecret\", {}).n(\"SecretsManagerClient\", \"DeleteSecretCommand\").f(void 0, void 0).ser(se_DeleteSecretCommand).de(de_DeleteSecretCommand).build() {\n static {\n __name(this, \"DeleteSecretCommand\");\n }\n};\n\n// src/commands/DescribeSecretCommand.ts\n\n\n\nvar DescribeSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"DescribeSecret\", {}).n(\"SecretsManagerClient\", \"DescribeSecretCommand\").f(void 0, void 0).ser(se_DescribeSecretCommand).de(de_DescribeSecretCommand).build() {\n static {\n __name(this, \"DescribeSecretCommand\");\n }\n};\n\n// src/commands/GetRandomPasswordCommand.ts\n\n\n\nvar GetRandomPasswordCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"GetRandomPassword\", {}).n(\"SecretsManagerClient\", \"GetRandomPasswordCommand\").f(void 0, GetRandomPasswordResponseFilterSensitiveLog).ser(se_GetRandomPasswordCommand).de(de_GetRandomPasswordCommand).build() {\n static {\n __name(this, \"GetRandomPasswordCommand\");\n }\n};\n\n// src/commands/GetResourcePolicyCommand.ts\n\n\n\nvar GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"GetResourcePolicy\", {}).n(\"SecretsManagerClient\", \"GetResourcePolicyCommand\").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {\n static {\n __name(this, \"GetResourcePolicyCommand\");\n }\n};\n\n// src/commands/GetSecretValueCommand.ts\n\n\n\nvar GetSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"GetSecretValue\", {}).n(\"SecretsManagerClient\", \"GetSecretValueCommand\").f(void 0, GetSecretValueResponseFilterSensitiveLog).ser(se_GetSecretValueCommand).de(de_GetSecretValueCommand).build() {\n static {\n __name(this, \"GetSecretValueCommand\");\n }\n};\n\n// src/commands/ListSecretsCommand.ts\n\n\n\nvar ListSecretsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"ListSecrets\", {}).n(\"SecretsManagerClient\", \"ListSecretsCommand\").f(void 0, void 0).ser(se_ListSecretsCommand).de(de_ListSecretsCommand).build() {\n static {\n __name(this, \"ListSecretsCommand\");\n }\n};\n\n// src/commands/ListSecretVersionIdsCommand.ts\n\n\n\nvar ListSecretVersionIdsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"ListSecretVersionIds\", {}).n(\"SecretsManagerClient\", \"ListSecretVersionIdsCommand\").f(void 0, void 0).ser(se_ListSecretVersionIdsCommand).de(de_ListSecretVersionIdsCommand).build() {\n static {\n __name(this, \"ListSecretVersionIdsCommand\");\n }\n};\n\n// src/commands/PutResourcePolicyCommand.ts\n\n\n\nvar PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"PutResourcePolicy\", {}).n(\"SecretsManagerClient\", \"PutResourcePolicyCommand\").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {\n static {\n __name(this, \"PutResourcePolicyCommand\");\n }\n};\n\n// src/commands/PutSecretValueCommand.ts\n\n\n\nvar PutSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"PutSecretValue\", {}).n(\"SecretsManagerClient\", \"PutSecretValueCommand\").f(PutSecretValueRequestFilterSensitiveLog, void 0).ser(se_PutSecretValueCommand).de(de_PutSecretValueCommand).build() {\n static {\n __name(this, \"PutSecretValueCommand\");\n }\n};\n\n// src/commands/RemoveRegionsFromReplicationCommand.ts\n\n\n\nvar RemoveRegionsFromReplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"RemoveRegionsFromReplication\", {}).n(\"SecretsManagerClient\", \"RemoveRegionsFromReplicationCommand\").f(void 0, void 0).ser(se_RemoveRegionsFromReplicationCommand).de(de_RemoveRegionsFromReplicationCommand).build() {\n static {\n __name(this, \"RemoveRegionsFromReplicationCommand\");\n }\n};\n\n// src/commands/ReplicateSecretToRegionsCommand.ts\n\n\n\nvar ReplicateSecretToRegionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"ReplicateSecretToRegions\", {}).n(\"SecretsManagerClient\", \"ReplicateSecretToRegionsCommand\").f(void 0, void 0).ser(se_ReplicateSecretToRegionsCommand).de(de_ReplicateSecretToRegionsCommand).build() {\n static {\n __name(this, \"ReplicateSecretToRegionsCommand\");\n }\n};\n\n// src/commands/RestoreSecretCommand.ts\n\n\n\nvar RestoreSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"RestoreSecret\", {}).n(\"SecretsManagerClient\", \"RestoreSecretCommand\").f(void 0, void 0).ser(se_RestoreSecretCommand).de(de_RestoreSecretCommand).build() {\n static {\n __name(this, \"RestoreSecretCommand\");\n }\n};\n\n// src/commands/RotateSecretCommand.ts\n\n\n\nvar RotateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"RotateSecret\", {}).n(\"SecretsManagerClient\", \"RotateSecretCommand\").f(void 0, void 0).ser(se_RotateSecretCommand).de(de_RotateSecretCommand).build() {\n static {\n __name(this, \"RotateSecretCommand\");\n }\n};\n\n// src/commands/StopReplicationToReplicaCommand.ts\n\n\n\nvar StopReplicationToReplicaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"StopReplicationToReplica\", {}).n(\"SecretsManagerClient\", \"StopReplicationToReplicaCommand\").f(void 0, void 0).ser(se_StopReplicationToReplicaCommand).de(de_StopReplicationToReplicaCommand).build() {\n static {\n __name(this, \"StopReplicationToReplicaCommand\");\n }\n};\n\n// src/commands/TagResourceCommand.ts\n\n\n\nvar TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"TagResource\", {}).n(\"SecretsManagerClient\", \"TagResourceCommand\").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {\n static {\n __name(this, \"TagResourceCommand\");\n }\n};\n\n// src/commands/UntagResourceCommand.ts\n\n\n\nvar UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"UntagResource\", {}).n(\"SecretsManagerClient\", \"UntagResourceCommand\").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {\n static {\n __name(this, \"UntagResourceCommand\");\n }\n};\n\n// src/commands/UpdateSecretCommand.ts\n\n\n\nvar UpdateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"UpdateSecret\", {}).n(\"SecretsManagerClient\", \"UpdateSecretCommand\").f(UpdateSecretRequestFilterSensitiveLog, void 0).ser(se_UpdateSecretCommand).de(de_UpdateSecretCommand).build() {\n static {\n __name(this, \"UpdateSecretCommand\");\n }\n};\n\n// src/commands/UpdateSecretVersionStageCommand.ts\n\n\n\nvar UpdateSecretVersionStageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"UpdateSecretVersionStage\", {}).n(\"SecretsManagerClient\", \"UpdateSecretVersionStageCommand\").f(void 0, void 0).ser(se_UpdateSecretVersionStageCommand).de(de_UpdateSecretVersionStageCommand).build() {\n static {\n __name(this, \"UpdateSecretVersionStageCommand\");\n }\n};\n\n// src/commands/ValidateResourcePolicyCommand.ts\n\n\n\nvar ValidateResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"secretsmanager\", \"ValidateResourcePolicy\", {}).n(\"SecretsManagerClient\", \"ValidateResourcePolicyCommand\").f(void 0, void 0).ser(se_ValidateResourcePolicyCommand).de(de_ValidateResourcePolicyCommand).build() {\n static {\n __name(this, \"ValidateResourcePolicyCommand\");\n }\n};\n\n// src/SecretsManager.ts\nvar commands = {\n BatchGetSecretValueCommand,\n CancelRotateSecretCommand,\n CreateSecretCommand,\n DeleteResourcePolicyCommand,\n DeleteSecretCommand,\n DescribeSecretCommand,\n GetRandomPasswordCommand,\n GetResourcePolicyCommand,\n GetSecretValueCommand,\n ListSecretsCommand,\n ListSecretVersionIdsCommand,\n PutResourcePolicyCommand,\n PutSecretValueCommand,\n RemoveRegionsFromReplicationCommand,\n ReplicateSecretToRegionsCommand,\n RestoreSecretCommand,\n RotateSecretCommand,\n StopReplicationToReplicaCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdateSecretCommand,\n UpdateSecretVersionStageCommand,\n ValidateResourcePolicyCommand\n};\nvar SecretsManager = class extends SecretsManagerClient {\n static {\n __name(this, \"SecretsManager\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SecretsManager);\n\n// src/pagination/BatchGetSecretValuePaginator.ts\n\nvar paginateBatchGetSecretValue = (0, import_core.createPaginator)(SecretsManagerClient, BatchGetSecretValueCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListSecretVersionIdsPaginator.ts\n\nvar paginateListSecretVersionIds = (0, import_core.createPaginator)(SecretsManagerClient, ListSecretVersionIdsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListSecretsPaginator.ts\n\nvar paginateListSecrets = (0, import_core.createPaginator)(SecretsManagerClient, ListSecretsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SecretsManagerServiceException,\n __Client,\n SecretsManagerClient,\n SecretsManager,\n $Command,\n BatchGetSecretValueCommand,\n CancelRotateSecretCommand,\n CreateSecretCommand,\n DeleteResourcePolicyCommand,\n DeleteSecretCommand,\n DescribeSecretCommand,\n GetRandomPasswordCommand,\n GetResourcePolicyCommand,\n GetSecretValueCommand,\n ListSecretVersionIdsCommand,\n ListSecretsCommand,\n PutResourcePolicyCommand,\n PutSecretValueCommand,\n RemoveRegionsFromReplicationCommand,\n ReplicateSecretToRegionsCommand,\n RestoreSecretCommand,\n RotateSecretCommand,\n StopReplicationToReplicaCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdateSecretCommand,\n UpdateSecretVersionStageCommand,\n ValidateResourcePolicyCommand,\n paginateBatchGetSecretValue,\n paginateListSecretVersionIds,\n paginateListSecrets,\n FilterNameStringType,\n DecryptionFailure,\n InternalServiceError,\n InvalidNextTokenException,\n InvalidParameterException,\n InvalidRequestException,\n ResourceNotFoundException,\n StatusType,\n EncryptionFailure,\n LimitExceededException,\n MalformedPolicyDocumentException,\n PreconditionNotMetException,\n ResourceExistsException,\n SortOrderType,\n PublicPolicyException,\n SecretValueEntryFilterSensitiveLog,\n BatchGetSecretValueResponseFilterSensitiveLog,\n CreateSecretRequestFilterSensitiveLog,\n GetRandomPasswordResponseFilterSensitiveLog,\n GetSecretValueResponseFilterSensitiveLog,\n PutSecretValueRequestFilterSensitiveLog,\n UpdateSecretRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2017-10-17\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSecretsManagerHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"Secrets Manager\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,\n getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,\n getUserAgentPlugin: () => getUserAgentPlugin,\n resolveUserAgentConfig: () => resolveUserAgentConfig,\n userAgentMiddleware: () => userAgentMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/configurations.ts\nvar import_core = require(\"@smithy/core\");\nvar DEFAULT_UA_APP_ID = void 0;\nfunction isValidUserAgentAppId(appId) {\n if (appId === void 0) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\n__name(isValidUserAgentAppId, \"isValidUserAgentAppId\");\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: /* @__PURE__ */ __name(async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n } else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n }, \"userAgentAppId\")\n });\n}\n__name(resolveUserAgentConfig, \"resolveUserAgentConfig\");\n\n// src/user-agent-middleware.ts\nvar import_util_endpoints = require(\"@aws-sdk/util-endpoints\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/check-features.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n (0, import_core2.setFeature)(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n (0, import_core2.setFeature)(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n (0, import_core2.setFeature)(context, key, value);\n }\n }\n}\n__name(checkFeatures, \"checkFeatures\");\n\n// src/constants.ts\nvar USER_AGENT = \"user-agent\";\nvar X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nvar SPACE = \" \";\nvar UA_NAME_SEPARATOR = \"/\";\nvar UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nvar UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nvar UA_ESCAPE_CHAR = \"-\";\n\n// src/encode-features.ts\nvar BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n } else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n__name(encodeFeatures, \"encodeFeatures\");\n\n// src/user-agent-middleware.ts\nvar userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(\n `m/${encodeFeatures(\n Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features)\n )}`\n );\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));\n }\n const prefix = (0, import_util_endpoints.getUserAgentPrefix)();\n const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n } else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request\n });\n}, \"userAgentMiddleware\");\nvar escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => {\n const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n}, \"escapeUserAgent\");\nvar getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true\n};\nvar getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getUserAgentPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n DEFAULT_UA_APP_ID,\n resolveUserAgentConfig,\n userAgentMiddleware,\n getUserAgentMiddlewareOptions,\n getUserAgentPlugin\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sso-oidc/index.ts\nvar index_exports = {};\n__export(index_exports, {\n $Command: () => import_smithy_client6.Command,\n AccessDeniedException: () => AccessDeniedException,\n AuthorizationPendingException: () => AuthorizationPendingException,\n CreateTokenCommand: () => CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n InternalServerException: () => InternalServerException,\n InvalidClientException: () => InvalidClientException,\n InvalidGrantException: () => InvalidGrantException,\n InvalidRequestException: () => InvalidRequestException,\n InvalidScopeException: () => InvalidScopeException,\n SSOOIDC: () => SSOOIDC,\n SSOOIDCClient: () => SSOOIDCClient,\n SSOOIDCServiceException: () => SSOOIDCServiceException,\n SlowDownException: () => SlowDownException,\n UnauthorizedClientException: () => UnauthorizedClientException,\n UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,\n __Client: () => import_smithy_client2.Client\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/submodules/sso-oidc/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_runtimeConfig = require(\"./runtimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar SSOOIDCClient = class extends import_smithy_client2.Client {\n static {\n __name(this, \"SSOOIDCClient\");\n }\n /**\n * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar import_smithy_client7 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {\n static {\n __name(this, \"SSOOIDCServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);\n }\n};\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n randomUUID: _crypto.default.randomUUID\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.unsafeStringify = unsafeStringify;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.unsafeStringify)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.URL = exports.DNS = void 0;\nexports.default = v35;\n\nvar _stringify = require(\"./stringify.js\");\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _native = _interopRequireDefault(require(\"./native.js\"));\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n if (_native.default.randomUUID && !buf && !options) {\n return _native.default.randomUUID();\n }\n\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.slice(14, 15), 16);\n}\n\nvar _default = version;\nexports.default = _default;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSFNHttpAuthSchemeProvider = exports.defaultSFNHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSFNHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSFNHttpAuthSchemeParametersProvider = defaultSFNHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"states\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultSFNHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSFNHttpAuthSchemeProvider = defaultSFNHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst t = \"required\", u = \"fn\", v = \"argv\", w = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = { [t]: false, \"type\": \"String\" }, i = { [t]: true, \"default\": false, \"type\": \"Boolean\" }, j = { [w]: \"Endpoint\" }, k = { [u]: c, [v]: [{ [w]: \"UseFIPS\" }, true] }, l = { [u]: c, [v]: [{ [w]: \"UseDualStack\" }, true] }, m = {}, n = { [w]: \"Region\" }, o = { [u]: \"getAttr\", [v]: [{ [w]: g }, \"supportsFIPS\"] }, p = { [u]: c, [v]: [true, { [u]: \"getAttr\", [v]: [{ [w]: g }, \"supportsDualStack\"] }] }, q = [k], r = [l], s = [n];\nconst _data = { version: \"1.0\", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [u]: b, [v]: [j] }], rules: [{ conditions: q, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: r, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [u]: b, [v]: s }], rules: [{ conditions: [{ [u]: \"aws.partition\", [v]: s, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [u]: c, [v]: [a, o] }, p], rules: [{ endpoint: { url: \"https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: q, rules: [{ conditions: [{ [u]: c, [v]: [o, a] }], rules: [{ conditions: [{ [u]: \"stringEquals\", [v]: [n, \"us-gov-west-1\"] }], endpoint: { url: \"https://states.us-gov-west-1.amazonaws.com\", properties: m, headers: m }, type: e }, { endpoint: { url: \"https://states-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [p], rules: [{ endpoint: { url: \"https://states.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: m, headers: m }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://states.{Region}.{PartitionResult#dnsSuffix}\", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ActivityAlreadyExists: () => ActivityAlreadyExists,\n ActivityDoesNotExist: () => ActivityDoesNotExist,\n ActivityFailedEventDetailsFilterSensitiveLog: () => ActivityFailedEventDetailsFilterSensitiveLog,\n ActivityLimitExceeded: () => ActivityLimitExceeded,\n ActivityScheduleFailedEventDetailsFilterSensitiveLog: () => ActivityScheduleFailedEventDetailsFilterSensitiveLog,\n ActivityScheduledEventDetailsFilterSensitiveLog: () => ActivityScheduledEventDetailsFilterSensitiveLog,\n ActivitySucceededEventDetailsFilterSensitiveLog: () => ActivitySucceededEventDetailsFilterSensitiveLog,\n ActivityTimedOutEventDetailsFilterSensitiveLog: () => ActivityTimedOutEventDetailsFilterSensitiveLog,\n ActivityWorkerLimitExceeded: () => ActivityWorkerLimitExceeded,\n ConflictException: () => ConflictException,\n CreateActivityCommand: () => CreateActivityCommand,\n CreateStateMachineAliasCommand: () => CreateStateMachineAliasCommand,\n CreateStateMachineAliasInputFilterSensitiveLog: () => CreateStateMachineAliasInputFilterSensitiveLog,\n CreateStateMachineCommand: () => CreateStateMachineCommand,\n CreateStateMachineInputFilterSensitiveLog: () => CreateStateMachineInputFilterSensitiveLog,\n DeleteActivityCommand: () => DeleteActivityCommand,\n DeleteStateMachineAliasCommand: () => DeleteStateMachineAliasCommand,\n DeleteStateMachineCommand: () => DeleteStateMachineCommand,\n DeleteStateMachineVersionCommand: () => DeleteStateMachineVersionCommand,\n DescribeActivityCommand: () => DescribeActivityCommand,\n DescribeExecutionCommand: () => DescribeExecutionCommand,\n DescribeExecutionOutputFilterSensitiveLog: () => DescribeExecutionOutputFilterSensitiveLog,\n DescribeMapRunCommand: () => DescribeMapRunCommand,\n DescribeStateMachineAliasCommand: () => DescribeStateMachineAliasCommand,\n DescribeStateMachineAliasOutputFilterSensitiveLog: () => DescribeStateMachineAliasOutputFilterSensitiveLog,\n DescribeStateMachineCommand: () => DescribeStateMachineCommand,\n DescribeStateMachineForExecutionCommand: () => DescribeStateMachineForExecutionCommand,\n DescribeStateMachineForExecutionOutputFilterSensitiveLog: () => DescribeStateMachineForExecutionOutputFilterSensitiveLog,\n DescribeStateMachineOutputFilterSensitiveLog: () => DescribeStateMachineOutputFilterSensitiveLog,\n EncryptionType: () => EncryptionType,\n EvaluationFailedEventDetailsFilterSensitiveLog: () => EvaluationFailedEventDetailsFilterSensitiveLog,\n ExecutionAbortedEventDetailsFilterSensitiveLog: () => ExecutionAbortedEventDetailsFilterSensitiveLog,\n ExecutionAlreadyExists: () => ExecutionAlreadyExists,\n ExecutionDoesNotExist: () => ExecutionDoesNotExist,\n ExecutionFailedEventDetailsFilterSensitiveLog: () => ExecutionFailedEventDetailsFilterSensitiveLog,\n ExecutionLimitExceeded: () => ExecutionLimitExceeded,\n ExecutionNotRedrivable: () => ExecutionNotRedrivable,\n ExecutionRedriveFilter: () => ExecutionRedriveFilter,\n ExecutionRedriveStatus: () => ExecutionRedriveStatus,\n ExecutionStartedEventDetailsFilterSensitiveLog: () => ExecutionStartedEventDetailsFilterSensitiveLog,\n ExecutionStatus: () => ExecutionStatus,\n ExecutionSucceededEventDetailsFilterSensitiveLog: () => ExecutionSucceededEventDetailsFilterSensitiveLog,\n ExecutionTimedOutEventDetailsFilterSensitiveLog: () => ExecutionTimedOutEventDetailsFilterSensitiveLog,\n GetActivityTaskCommand: () => GetActivityTaskCommand,\n GetActivityTaskOutputFilterSensitiveLog: () => GetActivityTaskOutputFilterSensitiveLog,\n GetExecutionHistoryCommand: () => GetExecutionHistoryCommand,\n GetExecutionHistoryOutputFilterSensitiveLog: () => GetExecutionHistoryOutputFilterSensitiveLog,\n HistoryEventFilterSensitiveLog: () => HistoryEventFilterSensitiveLog,\n HistoryEventType: () => HistoryEventType,\n IncludedData: () => IncludedData,\n InspectionDataFilterSensitiveLog: () => InspectionDataFilterSensitiveLog,\n InspectionLevel: () => InspectionLevel,\n InvalidArn: () => InvalidArn,\n InvalidDefinition: () => InvalidDefinition,\n InvalidEncryptionConfiguration: () => InvalidEncryptionConfiguration,\n InvalidExecutionInput: () => InvalidExecutionInput,\n InvalidLoggingConfiguration: () => InvalidLoggingConfiguration,\n InvalidName: () => InvalidName,\n InvalidOutput: () => InvalidOutput,\n InvalidToken: () => InvalidToken,\n InvalidTracingConfiguration: () => InvalidTracingConfiguration,\n KmsAccessDeniedException: () => KmsAccessDeniedException,\n KmsInvalidStateException: () => KmsInvalidStateException,\n KmsKeyState: () => KmsKeyState,\n KmsThrottlingException: () => KmsThrottlingException,\n LambdaFunctionFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionFailedEventDetailsFilterSensitiveLog,\n LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog,\n LambdaFunctionScheduledEventDetailsFilterSensitiveLog: () => LambdaFunctionScheduledEventDetailsFilterSensitiveLog,\n LambdaFunctionStartFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionStartFailedEventDetailsFilterSensitiveLog,\n LambdaFunctionSucceededEventDetailsFilterSensitiveLog: () => LambdaFunctionSucceededEventDetailsFilterSensitiveLog,\n LambdaFunctionTimedOutEventDetailsFilterSensitiveLog: () => LambdaFunctionTimedOutEventDetailsFilterSensitiveLog,\n ListActivitiesCommand: () => ListActivitiesCommand,\n ListExecutionsCommand: () => ListExecutionsCommand,\n ListMapRunsCommand: () => ListMapRunsCommand,\n ListStateMachineAliasesCommand: () => ListStateMachineAliasesCommand,\n ListStateMachineVersionsCommand: () => ListStateMachineVersionsCommand,\n ListStateMachinesCommand: () => ListStateMachinesCommand,\n ListTagsForResourceCommand: () => ListTagsForResourceCommand,\n LogLevel: () => LogLevel,\n MapRunFailedEventDetailsFilterSensitiveLog: () => MapRunFailedEventDetailsFilterSensitiveLog,\n MapRunStatus: () => MapRunStatus,\n MissingRequiredParameter: () => MissingRequiredParameter,\n PublishStateMachineVersionCommand: () => PublishStateMachineVersionCommand,\n PublishStateMachineVersionInputFilterSensitiveLog: () => PublishStateMachineVersionInputFilterSensitiveLog,\n RedriveExecutionCommand: () => RedriveExecutionCommand,\n ResourceNotFound: () => ResourceNotFound,\n SFN: () => SFN,\n SFNClient: () => SFNClient,\n SFNServiceException: () => SFNServiceException,\n SendTaskFailureCommand: () => SendTaskFailureCommand,\n SendTaskFailureInputFilterSensitiveLog: () => SendTaskFailureInputFilterSensitiveLog,\n SendTaskHeartbeatCommand: () => SendTaskHeartbeatCommand,\n SendTaskSuccessCommand: () => SendTaskSuccessCommand,\n SendTaskSuccessInputFilterSensitiveLog: () => SendTaskSuccessInputFilterSensitiveLog,\n ServiceQuotaExceededException: () => ServiceQuotaExceededException,\n StartExecutionCommand: () => StartExecutionCommand,\n StartExecutionInputFilterSensitiveLog: () => StartExecutionInputFilterSensitiveLog,\n StartSyncExecutionCommand: () => StartSyncExecutionCommand,\n StartSyncExecutionInputFilterSensitiveLog: () => StartSyncExecutionInputFilterSensitiveLog,\n StartSyncExecutionOutputFilterSensitiveLog: () => StartSyncExecutionOutputFilterSensitiveLog,\n StateEnteredEventDetailsFilterSensitiveLog: () => StateEnteredEventDetailsFilterSensitiveLog,\n StateExitedEventDetailsFilterSensitiveLog: () => StateExitedEventDetailsFilterSensitiveLog,\n StateMachineAlreadyExists: () => StateMachineAlreadyExists,\n StateMachineDeleting: () => StateMachineDeleting,\n StateMachineDoesNotExist: () => StateMachineDoesNotExist,\n StateMachineLimitExceeded: () => StateMachineLimitExceeded,\n StateMachineStatus: () => StateMachineStatus,\n StateMachineType: () => StateMachineType,\n StateMachineTypeNotSupported: () => StateMachineTypeNotSupported,\n StopExecutionCommand: () => StopExecutionCommand,\n StopExecutionInputFilterSensitiveLog: () => StopExecutionInputFilterSensitiveLog,\n SyncExecutionStatus: () => SyncExecutionStatus,\n TagResourceCommand: () => TagResourceCommand,\n TaskDoesNotExist: () => TaskDoesNotExist,\n TaskFailedEventDetailsFilterSensitiveLog: () => TaskFailedEventDetailsFilterSensitiveLog,\n TaskScheduledEventDetailsFilterSensitiveLog: () => TaskScheduledEventDetailsFilterSensitiveLog,\n TaskStartFailedEventDetailsFilterSensitiveLog: () => TaskStartFailedEventDetailsFilterSensitiveLog,\n TaskSubmitFailedEventDetailsFilterSensitiveLog: () => TaskSubmitFailedEventDetailsFilterSensitiveLog,\n TaskSubmittedEventDetailsFilterSensitiveLog: () => TaskSubmittedEventDetailsFilterSensitiveLog,\n TaskSucceededEventDetailsFilterSensitiveLog: () => TaskSucceededEventDetailsFilterSensitiveLog,\n TaskTimedOut: () => TaskTimedOut,\n TaskTimedOutEventDetailsFilterSensitiveLog: () => TaskTimedOutEventDetailsFilterSensitiveLog,\n TestExecutionStatus: () => TestExecutionStatus,\n TestStateCommand: () => TestStateCommand,\n TestStateInputFilterSensitiveLog: () => TestStateInputFilterSensitiveLog,\n TestStateOutputFilterSensitiveLog: () => TestStateOutputFilterSensitiveLog,\n TooManyTags: () => TooManyTags,\n UntagResourceCommand: () => UntagResourceCommand,\n UpdateMapRunCommand: () => UpdateMapRunCommand,\n UpdateStateMachineAliasCommand: () => UpdateStateMachineAliasCommand,\n UpdateStateMachineAliasInputFilterSensitiveLog: () => UpdateStateMachineAliasInputFilterSensitiveLog,\n UpdateStateMachineCommand: () => UpdateStateMachineCommand,\n UpdateStateMachineInputFilterSensitiveLog: () => UpdateStateMachineInputFilterSensitiveLog,\n ValidateStateMachineDefinitionCommand: () => ValidateStateMachineDefinitionCommand,\n ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog: () => ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog,\n ValidateStateMachineDefinitionInputFilterSensitiveLog: () => ValidateStateMachineDefinitionInputFilterSensitiveLog,\n ValidateStateMachineDefinitionOutputFilterSensitiveLog: () => ValidateStateMachineDefinitionOutputFilterSensitiveLog,\n ValidateStateMachineDefinitionResultCode: () => ValidateStateMachineDefinitionResultCode,\n ValidateStateMachineDefinitionSeverity: () => ValidateStateMachineDefinitionSeverity,\n ValidationException: () => ValidationException,\n ValidationExceptionReason: () => ValidationExceptionReason,\n __Client: () => import_smithy_client.Client,\n paginateGetExecutionHistory: () => paginateGetExecutionHistory,\n paginateListActivities: () => paginateListActivities,\n paginateListExecutions: () => paginateListExecutions,\n paginateListMapRuns: () => paginateListMapRuns,\n paginateListStateMachines: () => paginateListStateMachines\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SFNClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"states\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SFNClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SFNClient.ts\nvar SFNClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SFNClient\");\n }\n /**\n * The resolved configuration of SFNClient class. This is resolved and normalized from the {@link SFNClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSFNHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SFN.ts\n\n\n// src/commands/CreateActivityCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/protocols/Aws_json1_0.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar import_uuid = require(\"uuid\");\n\n// src/models/models_0.ts\n\n\n// src/models/SFNServiceException.ts\n\nvar SFNServiceException = class _SFNServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SFNServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SFNServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar ActivityAlreadyExists = class _ActivityAlreadyExists extends SFNServiceException {\n static {\n __name(this, \"ActivityAlreadyExists\");\n }\n name = \"ActivityAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ActivityAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ActivityAlreadyExists.prototype);\n }\n};\nvar ActivityDoesNotExist = class _ActivityDoesNotExist extends SFNServiceException {\n static {\n __name(this, \"ActivityDoesNotExist\");\n }\n name = \"ActivityDoesNotExist\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ActivityDoesNotExist\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ActivityDoesNotExist.prototype);\n }\n};\nvar ActivityLimitExceeded = class _ActivityLimitExceeded extends SFNServiceException {\n static {\n __name(this, \"ActivityLimitExceeded\");\n }\n name = \"ActivityLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ActivityLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ActivityLimitExceeded.prototype);\n }\n};\nvar ActivityWorkerLimitExceeded = class _ActivityWorkerLimitExceeded extends SFNServiceException {\n static {\n __name(this, \"ActivityWorkerLimitExceeded\");\n }\n name = \"ActivityWorkerLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ActivityWorkerLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ActivityWorkerLimitExceeded.prototype);\n }\n};\nvar EncryptionType = {\n AWS_OWNED_KEY: \"AWS_OWNED_KEY\",\n CUSTOMER_MANAGED_KMS_KEY: \"CUSTOMER_MANAGED_KMS_KEY\"\n};\nvar InvalidEncryptionConfiguration = class _InvalidEncryptionConfiguration extends SFNServiceException {\n static {\n __name(this, \"InvalidEncryptionConfiguration\");\n }\n name = \"InvalidEncryptionConfiguration\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidEncryptionConfiguration\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidEncryptionConfiguration.prototype);\n }\n};\nvar InvalidName = class _InvalidName extends SFNServiceException {\n static {\n __name(this, \"InvalidName\");\n }\n name = \"InvalidName\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidName\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidName.prototype);\n }\n};\nvar KmsAccessDeniedException = class _KmsAccessDeniedException extends SFNServiceException {\n static {\n __name(this, \"KmsAccessDeniedException\");\n }\n name = \"KmsAccessDeniedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KmsAccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KmsAccessDeniedException.prototype);\n }\n};\nvar KmsThrottlingException = class _KmsThrottlingException extends SFNServiceException {\n static {\n __name(this, \"KmsThrottlingException\");\n }\n name = \"KmsThrottlingException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"KmsThrottlingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _KmsThrottlingException.prototype);\n }\n};\nvar TooManyTags = class _TooManyTags extends SFNServiceException {\n static {\n __name(this, \"TooManyTags\");\n }\n name = \"TooManyTags\";\n $fault = \"client\";\n resourceName;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyTags\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyTags.prototype);\n this.resourceName = opts.resourceName;\n }\n};\nvar ConflictException = class _ConflictException extends SFNServiceException {\n static {\n __name(this, \"ConflictException\");\n }\n name = \"ConflictException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ConflictException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ConflictException.prototype);\n }\n};\nvar LogLevel = {\n ALL: \"ALL\",\n ERROR: \"ERROR\",\n FATAL: \"FATAL\",\n OFF: \"OFF\"\n};\nvar StateMachineType = {\n EXPRESS: \"EXPRESS\",\n STANDARD: \"STANDARD\"\n};\nvar InvalidArn = class _InvalidArn extends SFNServiceException {\n static {\n __name(this, \"InvalidArn\");\n }\n name = \"InvalidArn\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidArn\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidArn.prototype);\n }\n};\nvar InvalidDefinition = class _InvalidDefinition extends SFNServiceException {\n static {\n __name(this, \"InvalidDefinition\");\n }\n name = \"InvalidDefinition\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDefinition\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDefinition.prototype);\n }\n};\nvar InvalidLoggingConfiguration = class _InvalidLoggingConfiguration extends SFNServiceException {\n static {\n __name(this, \"InvalidLoggingConfiguration\");\n }\n name = \"InvalidLoggingConfiguration\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidLoggingConfiguration\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidLoggingConfiguration.prototype);\n }\n};\nvar InvalidTracingConfiguration = class _InvalidTracingConfiguration extends SFNServiceException {\n static {\n __name(this, \"InvalidTracingConfiguration\");\n }\n name = \"InvalidTracingConfiguration\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTracingConfiguration\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTracingConfiguration.prototype);\n }\n};\nvar StateMachineAlreadyExists = class _StateMachineAlreadyExists extends SFNServiceException {\n static {\n __name(this, \"StateMachineAlreadyExists\");\n }\n name = \"StateMachineAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"StateMachineAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _StateMachineAlreadyExists.prototype);\n }\n};\nvar StateMachineDeleting = class _StateMachineDeleting extends SFNServiceException {\n static {\n __name(this, \"StateMachineDeleting\");\n }\n name = \"StateMachineDeleting\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"StateMachineDeleting\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _StateMachineDeleting.prototype);\n }\n};\nvar StateMachineLimitExceeded = class _StateMachineLimitExceeded extends SFNServiceException {\n static {\n __name(this, \"StateMachineLimitExceeded\");\n }\n name = \"StateMachineLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"StateMachineLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _StateMachineLimitExceeded.prototype);\n }\n};\nvar StateMachineTypeNotSupported = class _StateMachineTypeNotSupported extends SFNServiceException {\n static {\n __name(this, \"StateMachineTypeNotSupported\");\n }\n name = \"StateMachineTypeNotSupported\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"StateMachineTypeNotSupported\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _StateMachineTypeNotSupported.prototype);\n }\n};\nvar ValidationExceptionReason = {\n API_DOES_NOT_SUPPORT_LABELED_ARNS: \"API_DOES_NOT_SUPPORT_LABELED_ARNS\",\n CANNOT_UPDATE_COMPLETED_MAP_RUN: \"CANNOT_UPDATE_COMPLETED_MAP_RUN\",\n INVALID_ROUTING_CONFIGURATION: \"INVALID_ROUTING_CONFIGURATION\",\n MISSING_REQUIRED_PARAMETER: \"MISSING_REQUIRED_PARAMETER\"\n};\nvar ValidationException = class _ValidationException extends SFNServiceException {\n static {\n __name(this, \"ValidationException\");\n }\n name = \"ValidationException\";\n $fault = \"client\";\n /**\n *The input does not satisfy the constraints specified by an Amazon Web Services service.
\n * @public\n */\n reason;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ValidationException.prototype);\n this.reason = opts.reason;\n }\n};\nvar ResourceNotFound = class _ResourceNotFound extends SFNServiceException {\n static {\n __name(this, \"ResourceNotFound\");\n }\n name = \"ResourceNotFound\";\n $fault = \"client\";\n resourceName;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFound.prototype);\n this.resourceName = opts.resourceName;\n }\n};\nvar ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SFNServiceException {\n static {\n __name(this, \"ServiceQuotaExceededException\");\n }\n name = \"ServiceQuotaExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceQuotaExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);\n }\n};\nvar IncludedData = {\n ALL_DATA: \"ALL_DATA\",\n METADATA_ONLY: \"METADATA_ONLY\"\n};\nvar ExecutionRedriveStatus = {\n NOT_REDRIVABLE: \"NOT_REDRIVABLE\",\n REDRIVABLE: \"REDRIVABLE\",\n REDRIVABLE_BY_MAP_RUN: \"REDRIVABLE_BY_MAP_RUN\"\n};\nvar ExecutionStatus = {\n ABORTED: \"ABORTED\",\n FAILED: \"FAILED\",\n PENDING_REDRIVE: \"PENDING_REDRIVE\",\n RUNNING: \"RUNNING\",\n SUCCEEDED: \"SUCCEEDED\",\n TIMED_OUT: \"TIMED_OUT\"\n};\nvar ExecutionDoesNotExist = class _ExecutionDoesNotExist extends SFNServiceException {\n static {\n __name(this, \"ExecutionDoesNotExist\");\n }\n name = \"ExecutionDoesNotExist\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExecutionDoesNotExist\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExecutionDoesNotExist.prototype);\n }\n};\nvar KmsKeyState = {\n CREATING: \"CREATING\",\n DISABLED: \"DISABLED\",\n PENDING_DELETION: \"PENDING_DELETION\",\n PENDING_IMPORT: \"PENDING_IMPORT\",\n UNAVAILABLE: \"UNAVAILABLE\"\n};\nvar KmsInvalidStateException = class _KmsInvalidStateException extends SFNServiceException {\n static {\n __name(this, \"KmsInvalidStateException\");\n }\n name = \"KmsInvalidStateException\";\n $fault = \"client\";\n /**\n *Current status of the KMS; key. For example: DISABLED, PENDING_DELETION, PENDING_IMPORT, UNAVAILABLE, CREATING.
The SSM document doesn't exist or the document isn't available to the user. This exception\n * can be issued by various API operations.
\n * @public\n */\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocument\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocument.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidDocumentVersion = class _InvalidDocumentVersion extends SSMServiceException {\n static {\n __name(this, \"InvalidDocumentVersion\");\n }\n name = \"InvalidDocumentVersion\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocumentVersion\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocumentVersion.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidOutputLocation = class _InvalidOutputLocation extends SSMServiceException {\n static {\n __name(this, \"InvalidOutputLocation\");\n }\n name = \"InvalidOutputLocation\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidOutputLocation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidOutputLocation.prototype);\n }\n};\nvar InvalidSchedule = class _InvalidSchedule extends SSMServiceException {\n static {\n __name(this, \"InvalidSchedule\");\n }\n name = \"InvalidSchedule\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidSchedule\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidSchedule.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidTag = class _InvalidTag extends SSMServiceException {\n static {\n __name(this, \"InvalidTag\");\n }\n name = \"InvalidTag\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTag\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTag.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidTarget = class _InvalidTarget extends SSMServiceException {\n static {\n __name(this, \"InvalidTarget\");\n }\n name = \"InvalidTarget\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTarget\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTarget.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidTargetMaps = class _InvalidTargetMaps extends SSMServiceException {\n static {\n __name(this, \"InvalidTargetMaps\");\n }\n name = \"InvalidTargetMaps\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTargetMaps\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTargetMaps.prototype);\n this.Message = opts.Message;\n }\n};\nvar UnsupportedPlatformType = class _UnsupportedPlatformType extends SSMServiceException {\n static {\n __name(this, \"UnsupportedPlatformType\");\n }\n name = \"UnsupportedPlatformType\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedPlatformType\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedPlatformType.prototype);\n this.Message = opts.Message;\n }\n};\nvar Fault = {\n Client: \"Client\",\n Server: \"Server\",\n Unknown: \"Unknown\"\n};\nvar AttachmentsSourceKey = {\n AttachmentReference: \"AttachmentReference\",\n S3FileUrl: \"S3FileUrl\",\n SourceUrl: \"SourceUrl\"\n};\nvar DocumentFormat = {\n JSON: \"JSON\",\n TEXT: \"TEXT\",\n YAML: \"YAML\"\n};\nvar DocumentType = {\n ApplicationConfiguration: \"ApplicationConfiguration\",\n ApplicationConfigurationSchema: \"ApplicationConfigurationSchema\",\n AutoApprovalPolicy: \"AutoApprovalPolicy\",\n Automation: \"Automation\",\n ChangeCalendar: \"ChangeCalendar\",\n ChangeTemplate: \"Automation.ChangeTemplate\",\n CloudFormation: \"CloudFormation\",\n Command: \"Command\",\n ConformancePackTemplate: \"ConformancePackTemplate\",\n DeploymentStrategy: \"DeploymentStrategy\",\n ManualApprovalPolicy: \"ManualApprovalPolicy\",\n Package: \"Package\",\n Policy: \"Policy\",\n ProblemAnalysis: \"ProblemAnalysis\",\n ProblemAnalysisTemplate: \"ProblemAnalysisTemplate\",\n QuickSetup: \"QuickSetup\",\n Session: \"Session\"\n};\nvar DocumentHashType = {\n SHA1: \"Sha1\",\n SHA256: \"Sha256\"\n};\nvar DocumentParameterType = {\n String: \"String\",\n StringList: \"StringList\"\n};\nvar PlatformType = {\n LINUX: \"Linux\",\n MACOS: \"MacOS\",\n WINDOWS: \"Windows\"\n};\nvar ReviewStatus = {\n APPROVED: \"APPROVED\",\n NOT_REVIEWED: \"NOT_REVIEWED\",\n PENDING: \"PENDING\",\n REJECTED: \"REJECTED\"\n};\nvar DocumentStatus = {\n Active: \"Active\",\n Creating: \"Creating\",\n Deleting: \"Deleting\",\n Failed: \"Failed\",\n Updating: \"Updating\"\n};\nvar DocumentAlreadyExists = class _DocumentAlreadyExists extends SSMServiceException {\n static {\n __name(this, \"DocumentAlreadyExists\");\n }\n name = \"DocumentAlreadyExists\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DocumentAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DocumentAlreadyExists.prototype);\n this.Message = opts.Message;\n }\n};\nvar DocumentLimitExceeded = class _DocumentLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"DocumentLimitExceeded\");\n }\n name = \"DocumentLimitExceeded\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DocumentLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DocumentLimitExceeded.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidDocumentContent = class _InvalidDocumentContent extends SSMServiceException {\n static {\n __name(this, \"InvalidDocumentContent\");\n }\n name = \"InvalidDocumentContent\";\n $fault = \"client\";\n /**\n *A description of the validation error.
\n * @public\n */\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocumentContent\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocumentContent.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidDocumentSchemaVersion = class _InvalidDocumentSchemaVersion extends SSMServiceException {\n static {\n __name(this, \"InvalidDocumentSchemaVersion\");\n }\n name = \"InvalidDocumentSchemaVersion\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocumentSchemaVersion\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocumentSchemaVersion.prototype);\n this.Message = opts.Message;\n }\n};\nvar MaxDocumentSizeExceeded = class _MaxDocumentSizeExceeded extends SSMServiceException {\n static {\n __name(this, \"MaxDocumentSizeExceeded\");\n }\n name = \"MaxDocumentSizeExceeded\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MaxDocumentSizeExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MaxDocumentSizeExceeded.prototype);\n this.Message = opts.Message;\n }\n};\nvar IdempotentParameterMismatch = class _IdempotentParameterMismatch extends SSMServiceException {\n static {\n __name(this, \"IdempotentParameterMismatch\");\n }\n name = \"IdempotentParameterMismatch\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IdempotentParameterMismatch\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IdempotentParameterMismatch.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceLimitExceededException = class _ResourceLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"ResourceLimitExceededException\");\n }\n name = \"ResourceLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar OpsItemDataType = {\n SEARCHABLE_STRING: \"SearchableString\",\n STRING: \"String\"\n};\nvar OpsItemAccessDeniedException = class _OpsItemAccessDeniedException extends SSMServiceException {\n static {\n __name(this, \"OpsItemAccessDeniedException\");\n }\n name = \"OpsItemAccessDeniedException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsItemAccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsItemAccessDeniedException.prototype);\n this.Message = opts.Message;\n }\n};\nvar OpsItemAlreadyExistsException = class _OpsItemAlreadyExistsException extends SSMServiceException {\n static {\n __name(this, \"OpsItemAlreadyExistsException\");\n }\n name = \"OpsItemAlreadyExistsException\";\n $fault = \"client\";\n Message;\n OpsItemId;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsItemAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsItemAlreadyExistsException.prototype);\n this.Message = opts.Message;\n this.OpsItemId = opts.OpsItemId;\n }\n};\nvar OpsMetadataAlreadyExistsException = class _OpsMetadataAlreadyExistsException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataAlreadyExistsException\");\n }\n name = \"OpsMetadataAlreadyExistsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataAlreadyExistsException.prototype);\n }\n};\nvar OpsMetadataInvalidArgumentException = class _OpsMetadataInvalidArgumentException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataInvalidArgumentException\");\n }\n name = \"OpsMetadataInvalidArgumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataInvalidArgumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataInvalidArgumentException.prototype);\n }\n};\nvar OpsMetadataLimitExceededException = class _OpsMetadataLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataLimitExceededException\");\n }\n name = \"OpsMetadataLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataLimitExceededException.prototype);\n }\n};\nvar OpsMetadataTooManyUpdatesException = class _OpsMetadataTooManyUpdatesException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataTooManyUpdatesException\");\n }\n name = \"OpsMetadataTooManyUpdatesException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataTooManyUpdatesException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataTooManyUpdatesException.prototype);\n }\n};\nvar PatchComplianceLevel = {\n Critical: \"CRITICAL\",\n High: \"HIGH\",\n Informational: \"INFORMATIONAL\",\n Low: \"LOW\",\n Medium: \"MEDIUM\",\n Unspecified: \"UNSPECIFIED\"\n};\nvar PatchFilterKey = {\n AdvisoryId: \"ADVISORY_ID\",\n Arch: \"ARCH\",\n BugzillaId: \"BUGZILLA_ID\",\n CVEId: \"CVE_ID\",\n Classification: \"CLASSIFICATION\",\n Epoch: \"EPOCH\",\n MsrcSeverity: \"MSRC_SEVERITY\",\n Name: \"NAME\",\n PatchId: \"PATCH_ID\",\n PatchSet: \"PATCH_SET\",\n Priority: \"PRIORITY\",\n Product: \"PRODUCT\",\n ProductFamily: \"PRODUCT_FAMILY\",\n Release: \"RELEASE\",\n Repository: \"REPOSITORY\",\n Section: \"SECTION\",\n Security: \"SECURITY\",\n Severity: \"SEVERITY\",\n Version: \"VERSION\"\n};\nvar PatchComplianceStatus = {\n Compliant: \"COMPLIANT\",\n NonCompliant: \"NON_COMPLIANT\"\n};\nvar OperatingSystem = {\n AlmaLinux: \"ALMA_LINUX\",\n AmazonLinux: \"AMAZON_LINUX\",\n AmazonLinux2: \"AMAZON_LINUX_2\",\n AmazonLinux2022: \"AMAZON_LINUX_2022\",\n AmazonLinux2023: \"AMAZON_LINUX_2023\",\n CentOS: \"CENTOS\",\n Debian: \"DEBIAN\",\n MacOS: \"MACOS\",\n OracleLinux: \"ORACLE_LINUX\",\n Raspbian: \"RASPBIAN\",\n RedhatEnterpriseLinux: \"REDHAT_ENTERPRISE_LINUX\",\n Rocky_Linux: \"ROCKY_LINUX\",\n Suse: \"SUSE\",\n Ubuntu: \"UBUNTU\",\n Windows: \"WINDOWS\"\n};\nvar PatchAction = {\n AllowAsDependency: \"ALLOW_AS_DEPENDENCY\",\n Block: \"BLOCK\"\n};\nvar ResourceDataSyncS3Format = {\n JSON_SERDE: \"JsonSerDe\"\n};\nvar ResourceDataSyncAlreadyExistsException = class _ResourceDataSyncAlreadyExistsException extends SSMServiceException {\n static {\n __name(this, \"ResourceDataSyncAlreadyExistsException\");\n }\n name = \"ResourceDataSyncAlreadyExistsException\";\n $fault = \"client\";\n SyncName;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceDataSyncAlreadyExistsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceDataSyncAlreadyExistsException.prototype);\n this.SyncName = opts.SyncName;\n }\n};\nvar ResourceDataSyncCountExceededException = class _ResourceDataSyncCountExceededException extends SSMServiceException {\n static {\n __name(this, \"ResourceDataSyncCountExceededException\");\n }\n name = \"ResourceDataSyncCountExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceDataSyncCountExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceDataSyncCountExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceDataSyncInvalidConfigurationException = class _ResourceDataSyncInvalidConfigurationException extends SSMServiceException {\n static {\n __name(this, \"ResourceDataSyncInvalidConfigurationException\");\n }\n name = \"ResourceDataSyncInvalidConfigurationException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceDataSyncInvalidConfigurationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceDataSyncInvalidConfigurationException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidActivation = class _InvalidActivation extends SSMServiceException {\n static {\n __name(this, \"InvalidActivation\");\n }\n name = \"InvalidActivation\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidActivation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidActivation.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidActivationId = class _InvalidActivationId extends SSMServiceException {\n static {\n __name(this, \"InvalidActivationId\");\n }\n name = \"InvalidActivationId\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidActivationId\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidActivationId.prototype);\n this.Message = opts.Message;\n }\n};\nvar AssociationDoesNotExist = class _AssociationDoesNotExist extends SSMServiceException {\n static {\n __name(this, \"AssociationDoesNotExist\");\n }\n name = \"AssociationDoesNotExist\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AssociationDoesNotExist\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AssociationDoesNotExist.prototype);\n this.Message = opts.Message;\n }\n};\nvar AssociatedInstances = class _AssociatedInstances extends SSMServiceException {\n static {\n __name(this, \"AssociatedInstances\");\n }\n name = \"AssociatedInstances\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AssociatedInstances\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AssociatedInstances.prototype);\n }\n};\nvar InvalidDocumentOperation = class _InvalidDocumentOperation extends SSMServiceException {\n static {\n __name(this, \"InvalidDocumentOperation\");\n }\n name = \"InvalidDocumentOperation\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocumentOperation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocumentOperation.prototype);\n this.Message = opts.Message;\n }\n};\nvar InventorySchemaDeleteOption = {\n DELETE_SCHEMA: \"DeleteSchema\",\n DISABLE_SCHEMA: \"DisableSchema\"\n};\nvar InvalidDeleteInventoryParametersException = class _InvalidDeleteInventoryParametersException extends SSMServiceException {\n static {\n __name(this, \"InvalidDeleteInventoryParametersException\");\n }\n name = \"InvalidDeleteInventoryParametersException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDeleteInventoryParametersException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDeleteInventoryParametersException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidInventoryRequestException = class _InvalidInventoryRequestException extends SSMServiceException {\n static {\n __name(this, \"InvalidInventoryRequestException\");\n }\n name = \"InvalidInventoryRequestException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInventoryRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInventoryRequestException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidOptionException = class _InvalidOptionException extends SSMServiceException {\n static {\n __name(this, \"InvalidOptionException\");\n }\n name = \"InvalidOptionException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidOptionException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidOptionException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidTypeNameException = class _InvalidTypeNameException extends SSMServiceException {\n static {\n __name(this, \"InvalidTypeNameException\");\n }\n name = \"InvalidTypeNameException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidTypeNameException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidTypeNameException.prototype);\n this.Message = opts.Message;\n }\n};\nvar OpsMetadataNotFoundException = class _OpsMetadataNotFoundException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataNotFoundException\");\n }\n name = \"OpsMetadataNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataNotFoundException.prototype);\n }\n};\nvar ParameterNotFound = class _ParameterNotFound extends SSMServiceException {\n static {\n __name(this, \"ParameterNotFound\");\n }\n name = \"ParameterNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterNotFound.prototype);\n }\n};\nvar ResourceInUseException = class _ResourceInUseException extends SSMServiceException {\n static {\n __name(this, \"ResourceInUseException\");\n }\n name = \"ResourceInUseException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceInUseException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceDataSyncNotFoundException = class _ResourceDataSyncNotFoundException extends SSMServiceException {\n static {\n __name(this, \"ResourceDataSyncNotFoundException\");\n }\n name = \"ResourceDataSyncNotFoundException\";\n $fault = \"client\";\n SyncName;\n SyncType;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceDataSyncNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceDataSyncNotFoundException.prototype);\n this.SyncName = opts.SyncName;\n this.SyncType = opts.SyncType;\n this.Message = opts.Message;\n }\n};\nvar MalformedResourcePolicyDocumentException = class _MalformedResourcePolicyDocumentException extends SSMServiceException {\n static {\n __name(this, \"MalformedResourcePolicyDocumentException\");\n }\n name = \"MalformedResourcePolicyDocumentException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedResourcePolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedResourcePolicyDocumentException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSMServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourcePolicyConflictException = class _ResourcePolicyConflictException extends SSMServiceException {\n static {\n __name(this, \"ResourcePolicyConflictException\");\n }\n name = \"ResourcePolicyConflictException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourcePolicyConflictException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourcePolicyConflictException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ResourcePolicyInvalidParameterException = class _ResourcePolicyInvalidParameterException extends SSMServiceException {\n static {\n __name(this, \"ResourcePolicyInvalidParameterException\");\n }\n name = \"ResourcePolicyInvalidParameterException\";\n $fault = \"client\";\n ParameterNames;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourcePolicyInvalidParameterException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourcePolicyInvalidParameterException.prototype);\n this.ParameterNames = opts.ParameterNames;\n this.Message = opts.Message;\n }\n};\nvar ResourcePolicyNotFoundException = class _ResourcePolicyNotFoundException extends SSMServiceException {\n static {\n __name(this, \"ResourcePolicyNotFoundException\");\n }\n name = \"ResourcePolicyNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourcePolicyNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourcePolicyNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar TargetInUseException = class _TargetInUseException extends SSMServiceException {\n static {\n __name(this, \"TargetInUseException\");\n }\n name = \"TargetInUseException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TargetInUseException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TargetInUseException.prototype);\n this.Message = opts.Message;\n }\n};\nvar DescribeActivationsFilterKeys = {\n ACTIVATION_IDS: \"ActivationIds\",\n DEFAULT_INSTANCE_NAME: \"DefaultInstanceName\",\n IAM_ROLE: \"IamRole\"\n};\nvar InvalidFilter = class _InvalidFilter extends SSMServiceException {\n static {\n __name(this, \"InvalidFilter\");\n }\n name = \"InvalidFilter\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidFilter\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidFilter.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidNextToken = class _InvalidNextToken extends SSMServiceException {\n static {\n __name(this, \"InvalidNextToken\");\n }\n name = \"InvalidNextToken\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidNextToken\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidNextToken.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidAssociationVersion = class _InvalidAssociationVersion extends SSMServiceException {\n static {\n __name(this, \"InvalidAssociationVersion\");\n }\n name = \"InvalidAssociationVersion\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAssociationVersion\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAssociationVersion.prototype);\n this.Message = opts.Message;\n }\n};\nvar AssociationExecutionFilterKey = {\n CreatedTime: \"CreatedTime\",\n ExecutionId: \"ExecutionId\",\n Status: \"Status\"\n};\nvar AssociationFilterOperatorType = {\n Equal: \"EQUAL\",\n GreaterThan: \"GREATER_THAN\",\n LessThan: \"LESS_THAN\"\n};\nvar AssociationExecutionDoesNotExist = class _AssociationExecutionDoesNotExist extends SSMServiceException {\n static {\n __name(this, \"AssociationExecutionDoesNotExist\");\n }\n name = \"AssociationExecutionDoesNotExist\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AssociationExecutionDoesNotExist\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AssociationExecutionDoesNotExist.prototype);\n this.Message = opts.Message;\n }\n};\nvar AssociationExecutionTargetsFilterKey = {\n ResourceId: \"ResourceId\",\n ResourceType: \"ResourceType\",\n Status: \"Status\"\n};\nvar AutomationExecutionFilterKey = {\n AUTOMATION_SUBTYPE: \"AutomationSubtype\",\n AUTOMATION_TYPE: \"AutomationType\",\n CURRENT_ACTION: \"CurrentAction\",\n DOCUMENT_NAME_PREFIX: \"DocumentNamePrefix\",\n EXECUTION_ID: \"ExecutionId\",\n EXECUTION_STATUS: \"ExecutionStatus\",\n OPS_ITEM_ID: \"OpsItemId\",\n PARENT_EXECUTION_ID: \"ParentExecutionId\",\n START_TIME_AFTER: \"StartTimeAfter\",\n START_TIME_BEFORE: \"StartTimeBefore\",\n TAG_KEY: \"TagKey\",\n TARGET_RESOURCE_GROUP: \"TargetResourceGroup\"\n};\nvar AutomationExecutionStatus = {\n APPROVED: \"Approved\",\n CANCELLED: \"Cancelled\",\n CANCELLING: \"Cancelling\",\n CHANGE_CALENDAR_OVERRIDE_APPROVED: \"ChangeCalendarOverrideApproved\",\n CHANGE_CALENDAR_OVERRIDE_REJECTED: \"ChangeCalendarOverrideRejected\",\n COMPLETED_WITH_FAILURE: \"CompletedWithFailure\",\n COMPLETED_WITH_SUCCESS: \"CompletedWithSuccess\",\n EXITED: \"Exited\",\n FAILED: \"Failed\",\n INPROGRESS: \"InProgress\",\n PENDING: \"Pending\",\n PENDING_APPROVAL: \"PendingApproval\",\n PENDING_CHANGE_CALENDAR_OVERRIDE: \"PendingChangeCalendarOverride\",\n REJECTED: \"Rejected\",\n RUNBOOK_INPROGRESS: \"RunbookInProgress\",\n SCHEDULED: \"Scheduled\",\n SUCCESS: \"Success\",\n TIMEDOUT: \"TimedOut\",\n WAITING: \"Waiting\"\n};\nvar AutomationSubtype = {\n AccessRequest: \"AccessRequest\",\n ChangeRequest: \"ChangeRequest\"\n};\nvar AutomationType = {\n CrossAccount: \"CrossAccount\",\n Local: \"Local\"\n};\nvar ExecutionMode = {\n Auto: \"Auto\",\n Interactive: \"Interactive\"\n};\nvar InvalidFilterKey = class _InvalidFilterKey extends SSMServiceException {\n static {\n __name(this, \"InvalidFilterKey\");\n }\n name = \"InvalidFilterKey\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidFilterKey\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidFilterKey.prototype);\n }\n};\nvar InvalidFilterValue = class _InvalidFilterValue extends SSMServiceException {\n static {\n __name(this, \"InvalidFilterValue\");\n }\n name = \"InvalidFilterValue\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidFilterValue\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidFilterValue.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationExecutionNotFoundException = class _AutomationExecutionNotFoundException extends SSMServiceException {\n static {\n __name(this, \"AutomationExecutionNotFoundException\");\n }\n name = \"AutomationExecutionNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationExecutionNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationExecutionNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar StepExecutionFilterKey = {\n ACTION: \"Action\",\n PARENT_STEP_EXECUTION_ID: \"ParentStepExecutionId\",\n PARENT_STEP_ITERATION: \"ParentStepIteration\",\n PARENT_STEP_ITERATOR_VALUE: \"ParentStepIteratorValue\",\n START_TIME_AFTER: \"StartTimeAfter\",\n START_TIME_BEFORE: \"StartTimeBefore\",\n STEP_EXECUTION_ID: \"StepExecutionId\",\n STEP_EXECUTION_STATUS: \"StepExecutionStatus\",\n STEP_NAME: \"StepName\"\n};\nvar DocumentPermissionType = {\n SHARE: \"Share\"\n};\nvar InvalidPermissionType = class _InvalidPermissionType extends SSMServiceException {\n static {\n __name(this, \"InvalidPermissionType\");\n }\n name = \"InvalidPermissionType\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidPermissionType\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidPermissionType.prototype);\n this.Message = opts.Message;\n }\n};\nvar PatchDeploymentStatus = {\n Approved: \"APPROVED\",\n ExplicitApproved: \"EXPLICIT_APPROVED\",\n ExplicitRejected: \"EXPLICIT_REJECTED\",\n PendingApproval: \"PENDING_APPROVAL\"\n};\nvar UnsupportedOperatingSystem = class _UnsupportedOperatingSystem extends SSMServiceException {\n static {\n __name(this, \"UnsupportedOperatingSystem\");\n }\n name = \"UnsupportedOperatingSystem\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedOperatingSystem\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedOperatingSystem.prototype);\n this.Message = opts.Message;\n }\n};\nvar InstanceInformationFilterKey = {\n ACTIVATION_IDS: \"ActivationIds\",\n AGENT_VERSION: \"AgentVersion\",\n ASSOCIATION_STATUS: \"AssociationStatus\",\n IAM_ROLE: \"IamRole\",\n INSTANCE_IDS: \"InstanceIds\",\n PING_STATUS: \"PingStatus\",\n PLATFORM_TYPES: \"PlatformTypes\",\n RESOURCE_TYPE: \"ResourceType\"\n};\nvar PingStatus = {\n CONNECTION_LOST: \"ConnectionLost\",\n INACTIVE: \"Inactive\",\n ONLINE: \"Online\"\n};\nvar ResourceType = {\n EC2_INSTANCE: \"EC2Instance\",\n MANAGED_INSTANCE: \"ManagedInstance\"\n};\nvar SourceType = {\n AWS_EC2_INSTANCE: \"AWS::EC2::Instance\",\n AWS_IOT_THING: \"AWS::IoT::Thing\",\n AWS_SSM_MANAGEDINSTANCE: \"AWS::SSM::ManagedInstance\"\n};\nvar InvalidInstanceInformationFilterValue = class _InvalidInstanceInformationFilterValue extends SSMServiceException {\n static {\n __name(this, \"InvalidInstanceInformationFilterValue\");\n }\n name = \"InvalidInstanceInformationFilterValue\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInstanceInformationFilterValue\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInstanceInformationFilterValue.prototype);\n }\n};\nvar PatchComplianceDataState = {\n AvailableSecurityUpdate: \"AVAILABLE_SECURITY_UPDATE\",\n Failed: \"FAILED\",\n Installed: \"INSTALLED\",\n InstalledOther: \"INSTALLED_OTHER\",\n InstalledPendingReboot: \"INSTALLED_PENDING_REBOOT\",\n InstalledRejected: \"INSTALLED_REJECTED\",\n Missing: \"MISSING\",\n NotApplicable: \"NOT_APPLICABLE\"\n};\nvar PatchOperationType = {\n INSTALL: \"Install\",\n SCAN: \"Scan\"\n};\nvar RebootOption = {\n NO_REBOOT: \"NoReboot\",\n REBOOT_IF_NEEDED: \"RebootIfNeeded\"\n};\nvar InstancePatchStateOperatorType = {\n EQUAL: \"Equal\",\n GREATER_THAN: \"GreaterThan\",\n LESS_THAN: \"LessThan\",\n NOT_EQUAL: \"NotEqual\"\n};\nvar InstancePropertyFilterOperator = {\n BEGIN_WITH: \"BeginWith\",\n EQUAL: \"Equal\",\n GREATER_THAN: \"GreaterThan\",\n LESS_THAN: \"LessThan\",\n NOT_EQUAL: \"NotEqual\"\n};\nvar InstancePropertyFilterKey = {\n ACTIVATION_IDS: \"ActivationIds\",\n AGENT_VERSION: \"AgentVersion\",\n ASSOCIATION_STATUS: \"AssociationStatus\",\n DOCUMENT_NAME: \"DocumentName\",\n IAM_ROLE: \"IamRole\",\n INSTANCE_IDS: \"InstanceIds\",\n PING_STATUS: \"PingStatus\",\n PLATFORM_TYPES: \"PlatformTypes\",\n RESOURCE_TYPE: \"ResourceType\"\n};\nvar InvalidInstancePropertyFilterValue = class _InvalidInstancePropertyFilterValue extends SSMServiceException {\n static {\n __name(this, \"InvalidInstancePropertyFilterValue\");\n }\n name = \"InvalidInstancePropertyFilterValue\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInstancePropertyFilterValue\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInstancePropertyFilterValue.prototype);\n }\n};\nvar InventoryDeletionStatus = {\n COMPLETE: \"Complete\",\n IN_PROGRESS: \"InProgress\"\n};\nvar InvalidDeletionIdException = class _InvalidDeletionIdException extends SSMServiceException {\n static {\n __name(this, \"InvalidDeletionIdException\");\n }\n name = \"InvalidDeletionIdException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDeletionIdException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDeletionIdException.prototype);\n this.Message = opts.Message;\n }\n};\nvar MaintenanceWindowExecutionStatus = {\n Cancelled: \"CANCELLED\",\n Cancelling: \"CANCELLING\",\n Failed: \"FAILED\",\n InProgress: \"IN_PROGRESS\",\n Pending: \"PENDING\",\n SkippedOverlapping: \"SKIPPED_OVERLAPPING\",\n Success: \"SUCCESS\",\n TimedOut: \"TIMED_OUT\"\n};\nvar MaintenanceWindowTaskType = {\n Automation: \"AUTOMATION\",\n Lambda: \"LAMBDA\",\n RunCommand: \"RUN_COMMAND\",\n StepFunctions: \"STEP_FUNCTIONS\"\n};\nvar CreateAssociationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateAssociationRequestFilterSensitiveLog\");\nvar AssociationDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"AssociationDescriptionFilterSensitiveLog\");\nvar CreateAssociationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.AssociationDescription && {\n AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription)\n }\n}), \"CreateAssociationResultFilterSensitiveLog\");\nvar CreateAssociationBatchRequestEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateAssociationBatchRequestEntryFilterSensitiveLog\");\nvar CreateAssociationBatchRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Entries && {\n Entries: obj.Entries.map((item) => CreateAssociationBatchRequestEntryFilterSensitiveLog(item))\n }\n}), \"CreateAssociationBatchRequestFilterSensitiveLog\");\nvar FailedCreateAssociationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Entry && { Entry: CreateAssociationBatchRequestEntryFilterSensitiveLog(obj.Entry) }\n}), \"FailedCreateAssociationFilterSensitiveLog\");\nvar CreateAssociationBatchResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Successful && { Successful: obj.Successful.map((item) => AssociationDescriptionFilterSensitiveLog(item)) },\n ...obj.Failed && { Failed: obj.Failed.map((item) => FailedCreateAssociationFilterSensitiveLog(item)) }\n}), \"CreateAssociationBatchResultFilterSensitiveLog\");\nvar CreateMaintenanceWindowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"CreateMaintenanceWindowRequestFilterSensitiveLog\");\nvar PatchSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Configuration && { Configuration: import_smithy_client.SENSITIVE_STRING }\n}), \"PatchSourceFilterSensitiveLog\");\nvar CreatePatchBaselineRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }\n}), \"CreatePatchBaselineRequestFilterSensitiveLog\");\nvar DescribeAssociationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.AssociationDescription && {\n AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription)\n }\n}), \"DescribeAssociationResultFilterSensitiveLog\");\nvar InstanceInformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.IPAddress && { IPAddress: import_smithy_client.SENSITIVE_STRING }\n}), \"InstanceInformationFilterSensitiveLog\");\nvar DescribeInstanceInformationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.InstanceInformationList && {\n InstanceInformationList: obj.InstanceInformationList.map((item) => InstanceInformationFilterSensitiveLog(item))\n }\n}), \"DescribeInstanceInformationResultFilterSensitiveLog\");\nvar InstancePatchStateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING }\n}), \"InstancePatchStateFilterSensitiveLog\");\nvar DescribeInstancePatchStatesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.InstancePatchStates && {\n InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item))\n }\n}), \"DescribeInstancePatchStatesResultFilterSensitiveLog\");\nvar DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.InstancePatchStates && {\n InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item))\n }\n}), \"DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog\");\nvar InstancePropertyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.IPAddress && { IPAddress: import_smithy_client.SENSITIVE_STRING }\n}), \"InstancePropertyFilterSensitiveLog\");\nvar DescribeInstancePropertiesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.InstanceProperties && {\n InstanceProperties: obj.InstanceProperties.map((item) => InstancePropertyFilterSensitiveLog(item))\n }\n}), \"DescribeInstancePropertiesResultFilterSensitiveLog\");\nvar MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog\");\nvar DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WindowExecutionTaskInvocationIdentities && {\n WindowExecutionTaskInvocationIdentities: obj.WindowExecutionTaskInvocationIdentities.map(\n (item) => MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog(item)\n )\n }\n}), \"DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog\");\nvar MaintenanceWindowIdentityFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowIdentityFilterSensitiveLog\");\nvar DescribeMaintenanceWindowsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WindowIdentities && {\n WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item))\n }\n}), \"DescribeMaintenanceWindowsResultFilterSensitiveLog\");\n\n// src/models/models_1.ts\n\nvar MaintenanceWindowResourceType = {\n Instance: \"INSTANCE\",\n ResourceGroup: \"RESOURCE_GROUP\"\n};\nvar MaintenanceWindowTaskCutoffBehavior = {\n CancelTask: \"CANCEL_TASK\",\n ContinueTask: \"CONTINUE_TASK\"\n};\nvar OpsItemFilterKey = {\n ACCESS_REQUEST_APPROVER_ARN: \"AccessRequestByApproverArn\",\n ACCESS_REQUEST_APPROVER_ID: \"AccessRequestByApproverId\",\n ACCESS_REQUEST_IS_REPLICA: \"AccessRequestByIsReplica\",\n ACCESS_REQUEST_REQUESTER_ARN: \"AccessRequestByRequesterArn\",\n ACCESS_REQUEST_REQUESTER_ID: \"AccessRequestByRequesterId\",\n ACCESS_REQUEST_SOURCE_ACCOUNT_ID: \"AccessRequestBySourceAccountId\",\n ACCESS_REQUEST_SOURCE_OPS_ITEM_ID: \"AccessRequestBySourceOpsItemId\",\n ACCESS_REQUEST_SOURCE_REGION: \"AccessRequestBySourceRegion\",\n ACCESS_REQUEST_TARGET_RESOURCE_ID: \"AccessRequestByTargetResourceId\",\n ACCOUNT_ID: \"AccountId\",\n ACTUAL_END_TIME: \"ActualEndTime\",\n ACTUAL_START_TIME: \"ActualStartTime\",\n AUTOMATION_ID: \"AutomationId\",\n CATEGORY: \"Category\",\n CHANGE_REQUEST_APPROVER_ARN: \"ChangeRequestByApproverArn\",\n CHANGE_REQUEST_APPROVER_NAME: \"ChangeRequestByApproverName\",\n CHANGE_REQUEST_REQUESTER_ARN: \"ChangeRequestByRequesterArn\",\n CHANGE_REQUEST_REQUESTER_NAME: \"ChangeRequestByRequesterName\",\n CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: \"ChangeRequestByTargetsResourceGroup\",\n CHANGE_REQUEST_TEMPLATE: \"ChangeRequestByTemplate\",\n CREATED_BY: \"CreatedBy\",\n CREATED_TIME: \"CreatedTime\",\n INSIGHT_TYPE: \"InsightByType\",\n LAST_MODIFIED_TIME: \"LastModifiedTime\",\n OPERATIONAL_DATA: \"OperationalData\",\n OPERATIONAL_DATA_KEY: \"OperationalDataKey\",\n OPERATIONAL_DATA_VALUE: \"OperationalDataValue\",\n OPSITEM_ID: \"OpsItemId\",\n OPSITEM_TYPE: \"OpsItemType\",\n PLANNED_END_TIME: \"PlannedEndTime\",\n PLANNED_START_TIME: \"PlannedStartTime\",\n PRIORITY: \"Priority\",\n RESOURCE_ID: \"ResourceId\",\n SEVERITY: \"Severity\",\n SOURCE: \"Source\",\n STATUS: \"Status\",\n TITLE: \"Title\"\n};\nvar OpsItemFilterOperator = {\n CONTAINS: \"Contains\",\n EQUAL: \"Equal\",\n GREATER_THAN: \"GreaterThan\",\n LESS_THAN: \"LessThan\"\n};\nvar OpsItemStatus = {\n APPROVED: \"Approved\",\n CANCELLED: \"Cancelled\",\n CANCELLING: \"Cancelling\",\n CHANGE_CALENDAR_OVERRIDE_APPROVED: \"ChangeCalendarOverrideApproved\",\n CHANGE_CALENDAR_OVERRIDE_REJECTED: \"ChangeCalendarOverrideRejected\",\n CLOSED: \"Closed\",\n COMPLETED_WITH_FAILURE: \"CompletedWithFailure\",\n COMPLETED_WITH_SUCCESS: \"CompletedWithSuccess\",\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n OPEN: \"Open\",\n PENDING: \"Pending\",\n PENDING_APPROVAL: \"PendingApproval\",\n PENDING_CHANGE_CALENDAR_OVERRIDE: \"PendingChangeCalendarOverride\",\n REJECTED: \"Rejected\",\n RESOLVED: \"Resolved\",\n REVOKED: \"Revoked\",\n RUNBOOK_IN_PROGRESS: \"RunbookInProgress\",\n SCHEDULED: \"Scheduled\",\n TIMED_OUT: \"TimedOut\"\n};\nvar ParametersFilterKey = {\n KEY_ID: \"KeyId\",\n NAME: \"Name\",\n TYPE: \"Type\"\n};\nvar ParameterTier = {\n ADVANCED: \"Advanced\",\n INTELLIGENT_TIERING: \"Intelligent-Tiering\",\n STANDARD: \"Standard\"\n};\nvar ParameterType = {\n SECURE_STRING: \"SecureString\",\n STRING: \"String\",\n STRING_LIST: \"StringList\"\n};\nvar InvalidFilterOption = class _InvalidFilterOption extends SSMServiceException {\n static {\n __name(this, \"InvalidFilterOption\");\n }\n name = \"InvalidFilterOption\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidFilterOption\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidFilterOption.prototype);\n }\n};\nvar PatchSet = {\n Application: \"APPLICATION\",\n Os: \"OS\"\n};\nvar PatchProperty = {\n PatchClassification: \"CLASSIFICATION\",\n PatchMsrcSeverity: \"MSRC_SEVERITY\",\n PatchPriority: \"PRIORITY\",\n PatchProductFamily: \"PRODUCT_FAMILY\",\n PatchSeverity: \"SEVERITY\",\n Product: \"PRODUCT\"\n};\nvar SessionFilterKey = {\n INVOKED_AFTER: \"InvokedAfter\",\n INVOKED_BEFORE: \"InvokedBefore\",\n OWNER: \"Owner\",\n SESSION_ID: \"SessionId\",\n STATUS: \"Status\",\n TARGET_ID: \"Target\"\n};\nvar SessionState = {\n ACTIVE: \"Active\",\n HISTORY: \"History\"\n};\nvar SessionStatus = {\n CONNECTED: \"Connected\",\n CONNECTING: \"Connecting\",\n DISCONNECTED: \"Disconnected\",\n FAILED: \"Failed\",\n TERMINATED: \"Terminated\",\n TERMINATING: \"Terminating\"\n};\nvar OpsItemRelatedItemAssociationNotFoundException = class _OpsItemRelatedItemAssociationNotFoundException extends SSMServiceException {\n static {\n __name(this, \"OpsItemRelatedItemAssociationNotFoundException\");\n }\n name = \"OpsItemRelatedItemAssociationNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsItemRelatedItemAssociationNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsItemRelatedItemAssociationNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ThrottlingException = class _ThrottlingException extends SSMServiceException {\n static {\n __name(this, \"ThrottlingException\");\n }\n name = \"ThrottlingException\";\n $fault = \"client\";\n Message;\n /**\n *The quota code recognized by the Amazon Web Services Service Quotas service.
\n * @public\n */\n QuotaCode;\n /**\n *The code for the Amazon Web Services service that owns the quota.
\n * @public\n */\n ServiceCode;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ThrottlingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ThrottlingException.prototype);\n this.Message = opts.Message;\n this.QuotaCode = opts.QuotaCode;\n this.ServiceCode = opts.ServiceCode;\n }\n};\nvar ValidationException = class _ValidationException extends SSMServiceException {\n static {\n __name(this, \"ValidationException\");\n }\n name = \"ValidationException\";\n $fault = \"client\";\n Message;\n /**\n *The reason code for the invalid request.
\n * @public\n */\n ReasonCode;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ValidationException.prototype);\n this.Message = opts.Message;\n this.ReasonCode = opts.ReasonCode;\n }\n};\nvar CalendarState = {\n CLOSED: \"CLOSED\",\n OPEN: \"OPEN\"\n};\nvar InvalidDocumentType = class _InvalidDocumentType extends SSMServiceException {\n static {\n __name(this, \"InvalidDocumentType\");\n }\n name = \"InvalidDocumentType\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidDocumentType\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidDocumentType.prototype);\n this.Message = opts.Message;\n }\n};\nvar UnsupportedCalendarException = class _UnsupportedCalendarException extends SSMServiceException {\n static {\n __name(this, \"UnsupportedCalendarException\");\n }\n name = \"UnsupportedCalendarException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedCalendarException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedCalendarException.prototype);\n this.Message = opts.Message;\n }\n};\nvar CommandInvocationStatus = {\n CANCELLED: \"Cancelled\",\n CANCELLING: \"Cancelling\",\n DELAYED: \"Delayed\",\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n PENDING: \"Pending\",\n SUCCESS: \"Success\",\n TIMED_OUT: \"TimedOut\"\n};\nvar InvalidPluginName = class _InvalidPluginName extends SSMServiceException {\n static {\n __name(this, \"InvalidPluginName\");\n }\n name = \"InvalidPluginName\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidPluginName\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidPluginName.prototype);\n }\n};\nvar InvocationDoesNotExist = class _InvocationDoesNotExist extends SSMServiceException {\n static {\n __name(this, \"InvocationDoesNotExist\");\n }\n name = \"InvocationDoesNotExist\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvocationDoesNotExist\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvocationDoesNotExist.prototype);\n }\n};\nvar ConnectionStatus = {\n CONNECTED: \"connected\",\n NOT_CONNECTED: \"notconnected\"\n};\nvar UnsupportedFeatureRequiredException = class _UnsupportedFeatureRequiredException extends SSMServiceException {\n static {\n __name(this, \"UnsupportedFeatureRequiredException\");\n }\n name = \"UnsupportedFeatureRequiredException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedFeatureRequiredException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedFeatureRequiredException.prototype);\n this.Message = opts.Message;\n }\n};\nvar AttachmentHashType = {\n SHA256: \"Sha256\"\n};\nvar ImpactType = {\n MUTATING: \"Mutating\",\n NON_MUTATING: \"NonMutating\",\n UNDETERMINED: \"Undetermined\"\n};\nvar ExecutionPreview;\n((ExecutionPreview2) => {\n ExecutionPreview2.visit = /* @__PURE__ */ __name((value, visitor) => {\n if (value.Automation !== void 0) return visitor.Automation(value.Automation);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n }, \"visit\");\n})(ExecutionPreview || (ExecutionPreview = {}));\nvar ExecutionPreviewStatus = {\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n PENDING: \"Pending\",\n SUCCESS: \"Success\"\n};\nvar InventoryQueryOperatorType = {\n BEGIN_WITH: \"BeginWith\",\n EQUAL: \"Equal\",\n EXISTS: \"Exists\",\n GREATER_THAN: \"GreaterThan\",\n LESS_THAN: \"LessThan\",\n NOT_EQUAL: \"NotEqual\"\n};\nvar InvalidAggregatorException = class _InvalidAggregatorException extends SSMServiceException {\n static {\n __name(this, \"InvalidAggregatorException\");\n }\n name = \"InvalidAggregatorException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAggregatorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAggregatorException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidInventoryGroupException = class _InvalidInventoryGroupException extends SSMServiceException {\n static {\n __name(this, \"InvalidInventoryGroupException\");\n }\n name = \"InvalidInventoryGroupException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInventoryGroupException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInventoryGroupException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidResultAttributeException = class _InvalidResultAttributeException extends SSMServiceException {\n static {\n __name(this, \"InvalidResultAttributeException\");\n }\n name = \"InvalidResultAttributeException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidResultAttributeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidResultAttributeException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InventoryAttributeDataType = {\n NUMBER: \"number\",\n STRING: \"string\"\n};\nvar NotificationEvent = {\n ALL: \"All\",\n CANCELLED: \"Cancelled\",\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n SUCCESS: \"Success\",\n TIMED_OUT: \"TimedOut\"\n};\nvar NotificationType = {\n Command: \"Command\",\n Invocation: \"Invocation\"\n};\nvar OpsFilterOperatorType = {\n BEGIN_WITH: \"BeginWith\",\n EQUAL: \"Equal\",\n EXISTS: \"Exists\",\n GREATER_THAN: \"GreaterThan\",\n LESS_THAN: \"LessThan\",\n NOT_EQUAL: \"NotEqual\"\n};\nvar InvalidKeyId = class _InvalidKeyId extends SSMServiceException {\n static {\n __name(this, \"InvalidKeyId\");\n }\n name = \"InvalidKeyId\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidKeyId\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidKeyId.prototype);\n }\n};\nvar ParameterVersionNotFound = class _ParameterVersionNotFound extends SSMServiceException {\n static {\n __name(this, \"ParameterVersionNotFound\");\n }\n name = \"ParameterVersionNotFound\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterVersionNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterVersionNotFound.prototype);\n }\n};\nvar ServiceSettingNotFound = class _ServiceSettingNotFound extends SSMServiceException {\n static {\n __name(this, \"ServiceSettingNotFound\");\n }\n name = \"ServiceSettingNotFound\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceSettingNotFound\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceSettingNotFound.prototype);\n this.Message = opts.Message;\n }\n};\nvar ParameterVersionLabelLimitExceeded = class _ParameterVersionLabelLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"ParameterVersionLabelLimitExceeded\");\n }\n name = \"ParameterVersionLabelLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterVersionLabelLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterVersionLabelLimitExceeded.prototype);\n }\n};\nvar AssociationFilterKey = {\n AssociationId: \"AssociationId\",\n AssociationName: \"AssociationName\",\n InstanceId: \"InstanceId\",\n LastExecutedAfter: \"LastExecutedAfter\",\n LastExecutedBefore: \"LastExecutedBefore\",\n Name: \"Name\",\n ResourceGroupName: \"ResourceGroupName\",\n Status: \"AssociationStatusName\"\n};\nvar CommandFilterKey = {\n DOCUMENT_NAME: \"DocumentName\",\n EXECUTION_STAGE: \"ExecutionStage\",\n INVOKED_AFTER: \"InvokedAfter\",\n INVOKED_BEFORE: \"InvokedBefore\",\n STATUS: \"Status\"\n};\nvar CommandPluginStatus = {\n CANCELLED: \"Cancelled\",\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n PENDING: \"Pending\",\n SUCCESS: \"Success\",\n TIMED_OUT: \"TimedOut\"\n};\nvar CommandStatus = {\n CANCELLED: \"Cancelled\",\n CANCELLING: \"Cancelling\",\n FAILED: \"Failed\",\n IN_PROGRESS: \"InProgress\",\n PENDING: \"Pending\",\n SUCCESS: \"Success\",\n TIMED_OUT: \"TimedOut\"\n};\nvar ComplianceQueryOperatorType = {\n BeginWith: \"BEGIN_WITH\",\n Equal: \"EQUAL\",\n GreaterThan: \"GREATER_THAN\",\n LessThan: \"LESS_THAN\",\n NotEqual: \"NOT_EQUAL\"\n};\nvar ComplianceSeverity = {\n Critical: \"CRITICAL\",\n High: \"HIGH\",\n Informational: \"INFORMATIONAL\",\n Low: \"LOW\",\n Medium: \"MEDIUM\",\n Unspecified: \"UNSPECIFIED\"\n};\nvar ComplianceStatus = {\n Compliant: \"COMPLIANT\",\n NonCompliant: \"NON_COMPLIANT\"\n};\nvar DocumentMetadataEnum = {\n DocumentReviews: \"DocumentReviews\"\n};\nvar DocumentReviewCommentType = {\n Comment: \"Comment\"\n};\nvar DocumentFilterKey = {\n DocumentType: \"DocumentType\",\n Name: \"Name\",\n Owner: \"Owner\",\n PlatformTypes: \"PlatformTypes\"\n};\nvar NodeFilterKey = {\n ACCOUNT_ID: \"AccountId\",\n AGENT_TYPE: \"AgentType\",\n AGENT_VERSION: \"AgentVersion\",\n COMPUTER_NAME: \"ComputerName\",\n INSTANCE_ID: \"InstanceId\",\n INSTANCE_STATUS: \"InstanceStatus\",\n IP_ADDRESS: \"IpAddress\",\n MANAGED_STATUS: \"ManagedStatus\",\n ORGANIZATIONAL_UNIT_ID: \"OrganizationalUnitId\",\n ORGANIZATIONAL_UNIT_PATH: \"OrganizationalUnitPath\",\n PLATFORM_NAME: \"PlatformName\",\n PLATFORM_TYPE: \"PlatformType\",\n PLATFORM_VERSION: \"PlatformVersion\",\n REGION: \"Region\",\n RESOURCE_TYPE: \"ResourceType\"\n};\nvar NodeFilterOperatorType = {\n BEGIN_WITH: \"BeginWith\",\n EQUAL: \"Equal\",\n NOT_EQUAL: \"NotEqual\"\n};\nvar ManagedStatus = {\n ALL: \"All\",\n MANAGED: \"Managed\",\n UNMANAGED: \"Unmanaged\"\n};\nvar NodeType;\n((NodeType2) => {\n NodeType2.visit = /* @__PURE__ */ __name((value, visitor) => {\n if (value.Instance !== void 0) return visitor.Instance(value.Instance);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n }, \"visit\");\n})(NodeType || (NodeType = {}));\nvar UnsupportedOperationException = class _UnsupportedOperationException extends SSMServiceException {\n static {\n __name(this, \"UnsupportedOperationException\");\n }\n name = \"UnsupportedOperationException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedOperationException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);\n this.Message = opts.Message;\n }\n};\nvar NodeAggregatorType = {\n COUNT: \"Count\"\n};\nvar NodeAttributeName = {\n AGENT_VERSION: \"AgentVersion\",\n PLATFORM_NAME: \"PlatformName\",\n PLATFORM_TYPE: \"PlatformType\",\n PLATFORM_VERSION: \"PlatformVersion\",\n REGION: \"Region\",\n RESOURCE_TYPE: \"ResourceType\"\n};\nvar NodeTypeName = {\n INSTANCE: \"Instance\"\n};\nvar OpsItemEventFilterKey = {\n OPSITEM_ID: \"OpsItemId\"\n};\nvar OpsItemEventFilterOperator = {\n EQUAL: \"Equal\"\n};\nvar OpsItemRelatedItemsFilterKey = {\n ASSOCIATION_ID: \"AssociationId\",\n RESOURCE_TYPE: \"ResourceType\",\n RESOURCE_URI: \"ResourceUri\"\n};\nvar OpsItemRelatedItemsFilterOperator = {\n EQUAL: \"Equal\"\n};\nvar LastResourceDataSyncStatus = {\n FAILED: \"Failed\",\n INPROGRESS: \"InProgress\",\n SUCCESSFUL: \"Successful\"\n};\nvar DocumentPermissionLimit = class _DocumentPermissionLimit extends SSMServiceException {\n static {\n __name(this, \"DocumentPermissionLimit\");\n }\n name = \"DocumentPermissionLimit\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DocumentPermissionLimit\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DocumentPermissionLimit.prototype);\n this.Message = opts.Message;\n }\n};\nvar ComplianceTypeCountLimitExceededException = class _ComplianceTypeCountLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"ComplianceTypeCountLimitExceededException\");\n }\n name = \"ComplianceTypeCountLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ComplianceTypeCountLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ComplianceTypeCountLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidItemContentException = class _InvalidItemContentException extends SSMServiceException {\n static {\n __name(this, \"InvalidItemContentException\");\n }\n name = \"InvalidItemContentException\";\n $fault = \"client\";\n TypeName;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidItemContentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidItemContentException.prototype);\n this.TypeName = opts.TypeName;\n this.Message = opts.Message;\n }\n};\nvar ItemSizeLimitExceededException = class _ItemSizeLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"ItemSizeLimitExceededException\");\n }\n name = \"ItemSizeLimitExceededException\";\n $fault = \"client\";\n TypeName;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ItemSizeLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ItemSizeLimitExceededException.prototype);\n this.TypeName = opts.TypeName;\n this.Message = opts.Message;\n }\n};\nvar ComplianceUploadType = {\n Complete: \"COMPLETE\",\n Partial: \"PARTIAL\"\n};\nvar TotalSizeLimitExceededException = class _TotalSizeLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"TotalSizeLimitExceededException\");\n }\n name = \"TotalSizeLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TotalSizeLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TotalSizeLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar CustomSchemaCountLimitExceededException = class _CustomSchemaCountLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"CustomSchemaCountLimitExceededException\");\n }\n name = \"CustomSchemaCountLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"CustomSchemaCountLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _CustomSchemaCountLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidInventoryItemContextException = class _InvalidInventoryItemContextException extends SSMServiceException {\n static {\n __name(this, \"InvalidInventoryItemContextException\");\n }\n name = \"InvalidInventoryItemContextException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidInventoryItemContextException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidInventoryItemContextException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ItemContentMismatchException = class _ItemContentMismatchException extends SSMServiceException {\n static {\n __name(this, \"ItemContentMismatchException\");\n }\n name = \"ItemContentMismatchException\";\n $fault = \"client\";\n TypeName;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ItemContentMismatchException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ItemContentMismatchException.prototype);\n this.TypeName = opts.TypeName;\n this.Message = opts.Message;\n }\n};\nvar SubTypeCountLimitExceededException = class _SubTypeCountLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"SubTypeCountLimitExceededException\");\n }\n name = \"SubTypeCountLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SubTypeCountLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SubTypeCountLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar UnsupportedInventoryItemContextException = class _UnsupportedInventoryItemContextException extends SSMServiceException {\n static {\n __name(this, \"UnsupportedInventoryItemContextException\");\n }\n name = \"UnsupportedInventoryItemContextException\";\n $fault = \"client\";\n TypeName;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedInventoryItemContextException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedInventoryItemContextException.prototype);\n this.TypeName = opts.TypeName;\n this.Message = opts.Message;\n }\n};\nvar UnsupportedInventorySchemaVersionException = class _UnsupportedInventorySchemaVersionException extends SSMServiceException {\n static {\n __name(this, \"UnsupportedInventorySchemaVersionException\");\n }\n name = \"UnsupportedInventorySchemaVersionException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedInventorySchemaVersionException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedInventorySchemaVersionException.prototype);\n this.Message = opts.Message;\n }\n};\nvar HierarchyLevelLimitExceededException = class _HierarchyLevelLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"HierarchyLevelLimitExceededException\");\n }\n name = \"HierarchyLevelLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HierarchyLevelLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HierarchyLevelLimitExceededException.prototype);\n }\n};\nvar HierarchyTypeMismatchException = class _HierarchyTypeMismatchException extends SSMServiceException {\n static {\n __name(this, \"HierarchyTypeMismatchException\");\n }\n name = \"HierarchyTypeMismatchException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"HierarchyTypeMismatchException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _HierarchyTypeMismatchException.prototype);\n }\n};\nvar IncompatiblePolicyException = class _IncompatiblePolicyException extends SSMServiceException {\n static {\n __name(this, \"IncompatiblePolicyException\");\n }\n name = \"IncompatiblePolicyException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IncompatiblePolicyException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IncompatiblePolicyException.prototype);\n }\n};\nvar InvalidAllowedPatternException = class _InvalidAllowedPatternException extends SSMServiceException {\n static {\n __name(this, \"InvalidAllowedPatternException\");\n }\n name = \"InvalidAllowedPatternException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAllowedPatternException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAllowedPatternException.prototype);\n }\n};\nvar InvalidPolicyAttributeException = class _InvalidPolicyAttributeException extends SSMServiceException {\n static {\n __name(this, \"InvalidPolicyAttributeException\");\n }\n name = \"InvalidPolicyAttributeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidPolicyAttributeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidPolicyAttributeException.prototype);\n }\n};\nvar InvalidPolicyTypeException = class _InvalidPolicyTypeException extends SSMServiceException {\n static {\n __name(this, \"InvalidPolicyTypeException\");\n }\n name = \"InvalidPolicyTypeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidPolicyTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidPolicyTypeException.prototype);\n }\n};\nvar ParameterAlreadyExists = class _ParameterAlreadyExists extends SSMServiceException {\n static {\n __name(this, \"ParameterAlreadyExists\");\n }\n name = \"ParameterAlreadyExists\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterAlreadyExists\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterAlreadyExists.prototype);\n }\n};\nvar ParameterLimitExceeded = class _ParameterLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"ParameterLimitExceeded\");\n }\n name = \"ParameterLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterLimitExceeded.prototype);\n }\n};\nvar ParameterMaxVersionLimitExceeded = class _ParameterMaxVersionLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"ParameterMaxVersionLimitExceeded\");\n }\n name = \"ParameterMaxVersionLimitExceeded\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterMaxVersionLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterMaxVersionLimitExceeded.prototype);\n }\n};\nvar ParameterPatternMismatchException = class _ParameterPatternMismatchException extends SSMServiceException {\n static {\n __name(this, \"ParameterPatternMismatchException\");\n }\n name = \"ParameterPatternMismatchException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ParameterPatternMismatchException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ParameterPatternMismatchException.prototype);\n }\n};\nvar PoliciesLimitExceededException = class _PoliciesLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"PoliciesLimitExceededException\");\n }\n name = \"PoliciesLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PoliciesLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PoliciesLimitExceededException.prototype);\n }\n};\nvar UnsupportedParameterType = class _UnsupportedParameterType extends SSMServiceException {\n static {\n __name(this, \"UnsupportedParameterType\");\n }\n name = \"UnsupportedParameterType\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedParameterType\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedParameterType.prototype);\n }\n};\nvar ResourcePolicyLimitExceededException = class _ResourcePolicyLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"ResourcePolicyLimitExceededException\");\n }\n name = \"ResourcePolicyLimitExceededException\";\n $fault = \"client\";\n Limit;\n LimitType;\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourcePolicyLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourcePolicyLimitExceededException.prototype);\n this.Limit = opts.Limit;\n this.LimitType = opts.LimitType;\n this.Message = opts.Message;\n }\n};\nvar MaintenanceWindowTargetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowTargetFilterSensitiveLog\");\nvar DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }\n}), \"DescribeMaintenanceWindowTargetsResultFilterSensitiveLog\");\nvar MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog\");\nvar MaintenanceWindowTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowTaskFilterSensitiveLog\");\nvar DescribeMaintenanceWindowTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Tasks && { Tasks: obj.Tasks.map((item) => MaintenanceWindowTaskFilterSensitiveLog(item)) }\n}), \"DescribeMaintenanceWindowTasksResultFilterSensitiveLog\");\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.SessionToken && { SessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar GetAccessTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"GetAccessTokenResponseFilterSensitiveLog\");\nvar BaselineOverrideFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }\n}), \"BaselineOverrideFilterSensitiveLog\");\nvar GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj\n}), \"GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog\");\nvar GetMaintenanceWindowResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"GetMaintenanceWindowResultFilterSensitiveLog\");\nvar GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING }\n}), \"GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog\");\nvar GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING }\n}), \"GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog\");\nvar MaintenanceWindowLambdaParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Payload && { Payload: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowLambdaParametersFilterSensitiveLog\");\nvar MaintenanceWindowRunCommandParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowRunCommandParametersFilterSensitiveLog\");\nvar MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Input && { Input: import_smithy_client.SENSITIVE_STRING }\n}), \"MaintenanceWindowStepFunctionsParametersFilterSensitiveLog\");\nvar MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.RunCommand && { RunCommand: MaintenanceWindowRunCommandParametersFilterSensitiveLog(obj.RunCommand) },\n ...obj.StepFunctions && {\n StepFunctions: MaintenanceWindowStepFunctionsParametersFilterSensitiveLog(obj.StepFunctions)\n },\n ...obj.Lambda && { Lambda: MaintenanceWindowLambdaParametersFilterSensitiveLog(obj.Lambda) }\n}), \"MaintenanceWindowTaskInvocationParametersFilterSensitiveLog\");\nvar GetMaintenanceWindowTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.TaskInvocationParameters && {\n TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters)\n },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"GetMaintenanceWindowTaskResultFilterSensitiveLog\");\nvar ParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }\n}), \"ParameterFilterSensitiveLog\");\nvar GetParameterResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameter && { Parameter: ParameterFilterSensitiveLog(obj.Parameter) }\n}), \"GetParameterResultFilterSensitiveLog\");\nvar ParameterHistoryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }\n}), \"ParameterHistoryFilterSensitiveLog\");\nvar GetParameterHistoryResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterHistoryFilterSensitiveLog(item)) }\n}), \"GetParameterHistoryResultFilterSensitiveLog\");\nvar GetParametersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }\n}), \"GetParametersResultFilterSensitiveLog\");\nvar GetParametersByPathResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }\n}), \"GetParametersByPathResultFilterSensitiveLog\");\nvar GetPatchBaselineResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }\n}), \"GetPatchBaselineResultFilterSensitiveLog\");\nvar AssociationVersionInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"AssociationVersionInfoFilterSensitiveLog\");\nvar ListAssociationVersionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.AssociationVersions && {\n AssociationVersions: obj.AssociationVersions.map((item) => AssociationVersionInfoFilterSensitiveLog(item))\n }\n}), \"ListAssociationVersionsResultFilterSensitiveLog\");\nvar CommandFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"CommandFilterSensitiveLog\");\nvar ListCommandsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Commands && { Commands: obj.Commands.map((item) => CommandFilterSensitiveLog(item)) }\n}), \"ListCommandsResultFilterSensitiveLog\");\nvar InstanceInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.IpAddress && { IpAddress: import_smithy_client.SENSITIVE_STRING }\n}), \"InstanceInfoFilterSensitiveLog\");\nvar NodeTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {\n if (obj.Instance !== void 0) return { Instance: InstanceInfoFilterSensitiveLog(obj.Instance) };\n if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: \"UNKNOWN\" };\n}, \"NodeTypeFilterSensitiveLog\");\nvar NodeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.NodeType && { NodeType: NodeTypeFilterSensitiveLog(obj.NodeType) }\n}), \"NodeFilterSensitiveLog\");\nvar ListNodesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Nodes && { Nodes: obj.Nodes.map((item) => NodeFilterSensitiveLog(item)) }\n}), \"ListNodesResultFilterSensitiveLog\");\nvar PutParameterRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }\n}), \"PutParameterRequestFilterSensitiveLog\");\n\n// src/models/models_2.ts\n\nvar FeatureNotAvailableException = class _FeatureNotAvailableException extends SSMServiceException {\n static {\n __name(this, \"FeatureNotAvailableException\");\n }\n name = \"FeatureNotAvailableException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"FeatureNotAvailableException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _FeatureNotAvailableException.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationStepNotFoundException = class _AutomationStepNotFoundException extends SSMServiceException {\n static {\n __name(this, \"AutomationStepNotFoundException\");\n }\n name = \"AutomationStepNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationStepNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationStepNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidAutomationSignalException = class _InvalidAutomationSignalException extends SSMServiceException {\n static {\n __name(this, \"InvalidAutomationSignalException\");\n }\n name = \"InvalidAutomationSignalException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAutomationSignalException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAutomationSignalException.prototype);\n this.Message = opts.Message;\n }\n};\nvar SignalType = {\n APPROVE: \"Approve\",\n REJECT: \"Reject\",\n RESUME: \"Resume\",\n REVOKE: \"Revoke\",\n START_STEP: \"StartStep\",\n STOP_STEP: \"StopStep\"\n};\nvar InvalidNotificationConfig = class _InvalidNotificationConfig extends SSMServiceException {\n static {\n __name(this, \"InvalidNotificationConfig\");\n }\n name = \"InvalidNotificationConfig\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidNotificationConfig\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidNotificationConfig.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidOutputFolder = class _InvalidOutputFolder extends SSMServiceException {\n static {\n __name(this, \"InvalidOutputFolder\");\n }\n name = \"InvalidOutputFolder\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidOutputFolder\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidOutputFolder.prototype);\n }\n};\nvar InvalidRole = class _InvalidRole extends SSMServiceException {\n static {\n __name(this, \"InvalidRole\");\n }\n name = \"InvalidRole\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRole\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRole.prototype);\n this.Message = opts.Message;\n }\n};\nvar ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SSMServiceException {\n static {\n __name(this, \"ServiceQuotaExceededException\");\n }\n name = \"ServiceQuotaExceededException\";\n $fault = \"client\";\n Message;\n /**\n *The unique ID of the resource referenced in the failed request.
\n * @public\n */\n ResourceId;\n /**\n *The resource type of the resource referenced in the failed request.
\n * @public\n */\n ResourceType;\n /**\n *The quota code recognized by the Amazon Web Services Service Quotas service.
\n * @public\n */\n QuotaCode;\n /**\n *The code for the Amazon Web Services service that owns the quota.
\n * @public\n */\n ServiceCode;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ServiceQuotaExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);\n this.Message = opts.Message;\n this.ResourceId = opts.ResourceId;\n this.ResourceType = opts.ResourceType;\n this.QuotaCode = opts.QuotaCode;\n this.ServiceCode = opts.ServiceCode;\n }\n};\nvar InvalidAssociation = class _InvalidAssociation extends SSMServiceException {\n static {\n __name(this, \"InvalidAssociation\");\n }\n name = \"InvalidAssociation\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAssociation\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAssociation.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationDefinitionNotFoundException = class _AutomationDefinitionNotFoundException extends SSMServiceException {\n static {\n __name(this, \"AutomationDefinitionNotFoundException\");\n }\n name = \"AutomationDefinitionNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationDefinitionNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationDefinitionNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationDefinitionVersionNotFoundException = class _AutomationDefinitionVersionNotFoundException extends SSMServiceException {\n static {\n __name(this, \"AutomationDefinitionVersionNotFoundException\");\n }\n name = \"AutomationDefinitionVersionNotFoundException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationDefinitionVersionNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationDefinitionVersionNotFoundException.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationExecutionLimitExceededException = class _AutomationExecutionLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"AutomationExecutionLimitExceededException\");\n }\n name = \"AutomationExecutionLimitExceededException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationExecutionLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationExecutionLimitExceededException.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidAutomationExecutionParametersException = class _InvalidAutomationExecutionParametersException extends SSMServiceException {\n static {\n __name(this, \"InvalidAutomationExecutionParametersException\");\n }\n name = \"InvalidAutomationExecutionParametersException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAutomationExecutionParametersException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAutomationExecutionParametersException.prototype);\n this.Message = opts.Message;\n }\n};\nvar AutomationDefinitionNotApprovedException = class _AutomationDefinitionNotApprovedException extends SSMServiceException {\n static {\n __name(this, \"AutomationDefinitionNotApprovedException\");\n }\n name = \"AutomationDefinitionNotApprovedException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AutomationDefinitionNotApprovedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AutomationDefinitionNotApprovedException.prototype);\n this.Message = opts.Message;\n }\n};\nvar ExecutionInputs;\n((ExecutionInputs3) => {\n ExecutionInputs3.visit = /* @__PURE__ */ __name((value, visitor) => {\n if (value.Automation !== void 0) return visitor.Automation(value.Automation);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n }, \"visit\");\n})(ExecutionInputs || (ExecutionInputs = {}));\nvar TargetNotConnected = class _TargetNotConnected extends SSMServiceException {\n static {\n __name(this, \"TargetNotConnected\");\n }\n name = \"TargetNotConnected\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TargetNotConnected\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TargetNotConnected.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidAutomationStatusUpdateException = class _InvalidAutomationStatusUpdateException extends SSMServiceException {\n static {\n __name(this, \"InvalidAutomationStatusUpdateException\");\n }\n name = \"InvalidAutomationStatusUpdateException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAutomationStatusUpdateException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAutomationStatusUpdateException.prototype);\n this.Message = opts.Message;\n }\n};\nvar StopType = {\n CANCEL: \"Cancel\",\n COMPLETE: \"Complete\"\n};\nvar AssociationVersionLimitExceeded = class _AssociationVersionLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"AssociationVersionLimitExceeded\");\n }\n name = \"AssociationVersionLimitExceeded\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AssociationVersionLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AssociationVersionLimitExceeded.prototype);\n this.Message = opts.Message;\n }\n};\nvar InvalidUpdate = class _InvalidUpdate extends SSMServiceException {\n static {\n __name(this, \"InvalidUpdate\");\n }\n name = \"InvalidUpdate\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidUpdate\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidUpdate.prototype);\n this.Message = opts.Message;\n }\n};\nvar StatusUnchanged = class _StatusUnchanged extends SSMServiceException {\n static {\n __name(this, \"StatusUnchanged\");\n }\n name = \"StatusUnchanged\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"StatusUnchanged\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _StatusUnchanged.prototype);\n }\n};\nvar DocumentVersionLimitExceeded = class _DocumentVersionLimitExceeded extends SSMServiceException {\n static {\n __name(this, \"DocumentVersionLimitExceeded\");\n }\n name = \"DocumentVersionLimitExceeded\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DocumentVersionLimitExceeded\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DocumentVersionLimitExceeded.prototype);\n this.Message = opts.Message;\n }\n};\nvar DuplicateDocumentContent = class _DuplicateDocumentContent extends SSMServiceException {\n static {\n __name(this, \"DuplicateDocumentContent\");\n }\n name = \"DuplicateDocumentContent\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DuplicateDocumentContent\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DuplicateDocumentContent.prototype);\n this.Message = opts.Message;\n }\n};\nvar DuplicateDocumentVersionName = class _DuplicateDocumentVersionName extends SSMServiceException {\n static {\n __name(this, \"DuplicateDocumentVersionName\");\n }\n name = \"DuplicateDocumentVersionName\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"DuplicateDocumentVersionName\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _DuplicateDocumentVersionName.prototype);\n this.Message = opts.Message;\n }\n};\nvar DocumentReviewAction = {\n Approve: \"Approve\",\n Reject: \"Reject\",\n SendForReview: \"SendForReview\",\n UpdateReview: \"UpdateReview\"\n};\nvar OpsMetadataKeyLimitExceededException = class _OpsMetadataKeyLimitExceededException extends SSMServiceException {\n static {\n __name(this, \"OpsMetadataKeyLimitExceededException\");\n }\n name = \"OpsMetadataKeyLimitExceededException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"OpsMetadataKeyLimitExceededException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _OpsMetadataKeyLimitExceededException.prototype);\n }\n};\nvar ResourceDataSyncConflictException = class _ResourceDataSyncConflictException extends SSMServiceException {\n static {\n __name(this, \"ResourceDataSyncConflictException\");\n }\n name = \"ResourceDataSyncConflictException\";\n $fault = \"client\";\n Message;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceDataSyncConflictException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceDataSyncConflictException.prototype);\n this.Message = opts.Message;\n }\n};\nvar RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog\");\nvar RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.TaskInvocationParameters && {\n TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters)\n },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog\");\nvar SendCommandRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"SendCommandRequestFilterSensitiveLog\");\nvar SendCommandResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Command && { Command: CommandFilterSensitiveLog(obj.Command) }\n}), \"SendCommandResultFilterSensitiveLog\");\nvar UpdateAssociationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Parameters && { Parameters: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateAssociationRequestFilterSensitiveLog\");\nvar UpdateAssociationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.AssociationDescription && {\n AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription)\n }\n}), \"UpdateAssociationResultFilterSensitiveLog\");\nvar UpdateAssociationStatusResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.AssociationDescription && {\n AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription)\n }\n}), \"UpdateAssociationStatusResultFilterSensitiveLog\");\nvar UpdateMaintenanceWindowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowRequestFilterSensitiveLog\");\nvar UpdateMaintenanceWindowResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowResultFilterSensitiveLog\");\nvar UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowTargetRequestFilterSensitiveLog\");\nvar UpdateMaintenanceWindowTargetResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowTargetResultFilterSensitiveLog\");\nvar UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.TaskInvocationParameters && {\n TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters)\n },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowTaskRequestFilterSensitiveLog\");\nvar UpdateMaintenanceWindowTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.TaskParameters && { TaskParameters: import_smithy_client.SENSITIVE_STRING },\n ...obj.TaskInvocationParameters && {\n TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters)\n },\n ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }\n}), \"UpdateMaintenanceWindowTaskResultFilterSensitiveLog\");\nvar UpdatePatchBaselineRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }\n}), \"UpdatePatchBaselineRequestFilterSensitiveLog\");\nvar UpdatePatchBaselineResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }\n}), \"UpdatePatchBaselineResultFilterSensitiveLog\");\n\n// src/protocols/Aws_json1_1.ts\nvar se_AddTagsToResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"AddTagsToResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AddTagsToResourceCommand\");\nvar se_AssociateOpsItemRelatedItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"AssociateOpsItemRelatedItem\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssociateOpsItemRelatedItemCommand\");\nvar se_CancelCommandCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CancelCommand\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelCommandCommand\");\nvar se_CancelMaintenanceWindowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CancelMaintenanceWindowExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CancelMaintenanceWindowExecutionCommand\");\nvar se_CreateActivationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateActivation\");\n let body;\n body = JSON.stringify(se_CreateActivationRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateActivationCommand\");\nvar se_CreateAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateAssociation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateAssociationCommand\");\nvar se_CreateAssociationBatchCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateAssociationBatch\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateAssociationBatchCommand\");\nvar se_CreateDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateDocument\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateDocumentCommand\");\nvar se_CreateMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateMaintenanceWindow\");\n let body;\n body = JSON.stringify(se_CreateMaintenanceWindowRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateMaintenanceWindowCommand\");\nvar se_CreateOpsItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateOpsItem\");\n let body;\n body = JSON.stringify(se_CreateOpsItemRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateOpsItemCommand\");\nvar se_CreateOpsMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateOpsMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateOpsMetadataCommand\");\nvar se_CreatePatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreatePatchBaseline\");\n let body;\n body = JSON.stringify(se_CreatePatchBaselineRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreatePatchBaselineCommand\");\nvar se_CreateResourceDataSyncCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"CreateResourceDataSync\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_CreateResourceDataSyncCommand\");\nvar se_DeleteActivationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteActivation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteActivationCommand\");\nvar se_DeleteAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteAssociation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteAssociationCommand\");\nvar se_DeleteDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteDocument\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteDocumentCommand\");\nvar se_DeleteInventoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteInventory\");\n let body;\n body = JSON.stringify(se_DeleteInventoryRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteInventoryCommand\");\nvar se_DeleteMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteMaintenanceWindow\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteMaintenanceWindowCommand\");\nvar se_DeleteOpsItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteOpsItem\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteOpsItemCommand\");\nvar se_DeleteOpsMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteOpsMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteOpsMetadataCommand\");\nvar se_DeleteParameterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteParameter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteParameterCommand\");\nvar se_DeleteParametersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteParameters\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteParametersCommand\");\nvar se_DeletePatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeletePatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeletePatchBaselineCommand\");\nvar se_DeleteResourceDataSyncCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteResourceDataSync\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteResourceDataSyncCommand\");\nvar se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeleteResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeleteResourcePolicyCommand\");\nvar se_DeregisterManagedInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeregisterManagedInstance\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterManagedInstanceCommand\");\nvar se_DeregisterPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeregisterPatchBaselineForPatchGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterPatchBaselineForPatchGroupCommand\");\nvar se_DeregisterTargetFromMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeregisterTargetFromMaintenanceWindow\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterTargetFromMaintenanceWindowCommand\");\nvar se_DeregisterTaskFromMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DeregisterTaskFromMaintenanceWindow\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DeregisterTaskFromMaintenanceWindowCommand\");\nvar se_DescribeActivationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeActivations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeActivationsCommand\");\nvar se_DescribeAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAssociation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAssociationCommand\");\nvar se_DescribeAssociationExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAssociationExecutions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAssociationExecutionsCommand\");\nvar se_DescribeAssociationExecutionTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAssociationExecutionTargets\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAssociationExecutionTargetsCommand\");\nvar se_DescribeAutomationExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAutomationExecutions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAutomationExecutionsCommand\");\nvar se_DescribeAutomationStepExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAutomationStepExecutions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAutomationStepExecutionsCommand\");\nvar se_DescribeAvailablePatchesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeAvailablePatches\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeAvailablePatchesCommand\");\nvar se_DescribeDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDocument\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDocumentCommand\");\nvar se_DescribeDocumentPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeDocumentPermission\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeDocumentPermissionCommand\");\nvar se_DescribeEffectiveInstanceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeEffectiveInstanceAssociations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeEffectiveInstanceAssociationsCommand\");\nvar se_DescribeEffectivePatchesForPatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeEffectivePatchesForPatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeEffectivePatchesForPatchBaselineCommand\");\nvar se_DescribeInstanceAssociationsStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstanceAssociationsStatus\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceAssociationsStatusCommand\");\nvar se_DescribeInstanceInformationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstanceInformation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstanceInformationCommand\");\nvar se_DescribeInstancePatchesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstancePatches\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstancePatchesCommand\");\nvar se_DescribeInstancePatchStatesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstancePatchStates\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstancePatchStatesCommand\");\nvar se_DescribeInstancePatchStatesForPatchGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstancePatchStatesForPatchGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstancePatchStatesForPatchGroupCommand\");\nvar se_DescribeInstancePropertiesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInstanceProperties\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInstancePropertiesCommand\");\nvar se_DescribeInventoryDeletionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeInventoryDeletions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeInventoryDeletionsCommand\");\nvar se_DescribeMaintenanceWindowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowExecutions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowExecutionsCommand\");\nvar se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowExecutionTaskInvocations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand\");\nvar se_DescribeMaintenanceWindowExecutionTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowExecutionTasks\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowExecutionTasksCommand\");\nvar se_DescribeMaintenanceWindowsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindows\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowsCommand\");\nvar se_DescribeMaintenanceWindowScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowSchedule\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowScheduleCommand\");\nvar se_DescribeMaintenanceWindowsForTargetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowsForTarget\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowsForTargetCommand\");\nvar se_DescribeMaintenanceWindowTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowTargets\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowTargetsCommand\");\nvar se_DescribeMaintenanceWindowTasksCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeMaintenanceWindowTasks\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeMaintenanceWindowTasksCommand\");\nvar se_DescribeOpsItemsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeOpsItems\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeOpsItemsCommand\");\nvar se_DescribeParametersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeParameters\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeParametersCommand\");\nvar se_DescribePatchBaselinesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribePatchBaselines\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePatchBaselinesCommand\");\nvar se_DescribePatchGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribePatchGroups\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePatchGroupsCommand\");\nvar se_DescribePatchGroupStateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribePatchGroupState\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePatchGroupStateCommand\");\nvar se_DescribePatchPropertiesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribePatchProperties\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribePatchPropertiesCommand\");\nvar se_DescribeSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DescribeSessions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DescribeSessionsCommand\");\nvar se_DisassociateOpsItemRelatedItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"DisassociateOpsItemRelatedItem\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DisassociateOpsItemRelatedItemCommand\");\nvar se_GetAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetAccessToken\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAccessTokenCommand\");\nvar se_GetAutomationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetAutomationExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAutomationExecutionCommand\");\nvar se_GetCalendarStateCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetCalendarState\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCalendarStateCommand\");\nvar se_GetCommandInvocationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetCommandInvocation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCommandInvocationCommand\");\nvar se_GetConnectionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetConnectionStatus\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetConnectionStatusCommand\");\nvar se_GetDefaultPatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDefaultPatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDefaultPatchBaselineCommand\");\nvar se_GetDeployablePatchSnapshotForInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDeployablePatchSnapshotForInstance\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDeployablePatchSnapshotForInstanceCommand\");\nvar se_GetDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetDocument\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetDocumentCommand\");\nvar se_GetExecutionPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetExecutionPreview\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetExecutionPreviewCommand\");\nvar se_GetInventoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetInventory\");\n let body;\n body = JSON.stringify(se_GetInventoryRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInventoryCommand\");\nvar se_GetInventorySchemaCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetInventorySchema\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetInventorySchemaCommand\");\nvar se_GetMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetMaintenanceWindow\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetMaintenanceWindowCommand\");\nvar se_GetMaintenanceWindowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetMaintenanceWindowExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetMaintenanceWindowExecutionCommand\");\nvar se_GetMaintenanceWindowExecutionTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetMaintenanceWindowExecutionTask\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetMaintenanceWindowExecutionTaskCommand\");\nvar se_GetMaintenanceWindowExecutionTaskInvocationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetMaintenanceWindowExecutionTaskInvocation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetMaintenanceWindowExecutionTaskInvocationCommand\");\nvar se_GetMaintenanceWindowTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetMaintenanceWindowTask\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetMaintenanceWindowTaskCommand\");\nvar se_GetOpsItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetOpsItem\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetOpsItemCommand\");\nvar se_GetOpsMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetOpsMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetOpsMetadataCommand\");\nvar se_GetOpsSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetOpsSummary\");\n let body;\n body = JSON.stringify(se_GetOpsSummaryRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetOpsSummaryCommand\");\nvar se_GetParameterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetParameter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetParameterCommand\");\nvar se_GetParameterHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetParameterHistory\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetParameterHistoryCommand\");\nvar se_GetParametersCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetParameters\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetParametersCommand\");\nvar se_GetParametersByPathCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetParametersByPath\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetParametersByPathCommand\");\nvar se_GetPatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetPatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetPatchBaselineCommand\");\nvar se_GetPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetPatchBaselineForPatchGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetPatchBaselineForPatchGroupCommand\");\nvar se_GetResourcePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetResourcePolicies\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetResourcePoliciesCommand\");\nvar se_GetServiceSettingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"GetServiceSetting\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetServiceSettingCommand\");\nvar se_LabelParameterVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"LabelParameterVersion\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_LabelParameterVersionCommand\");\nvar se_ListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListAssociations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListAssociationsCommand\");\nvar se_ListAssociationVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListAssociationVersions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListAssociationVersionsCommand\");\nvar se_ListCommandInvocationsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListCommandInvocations\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListCommandInvocationsCommand\");\nvar se_ListCommandsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListCommands\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListCommandsCommand\");\nvar se_ListComplianceItemsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListComplianceItems\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListComplianceItemsCommand\");\nvar se_ListComplianceSummariesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListComplianceSummaries\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListComplianceSummariesCommand\");\nvar se_ListDocumentMetadataHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListDocumentMetadataHistory\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListDocumentMetadataHistoryCommand\");\nvar se_ListDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListDocuments\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListDocumentsCommand\");\nvar se_ListDocumentVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListDocumentVersions\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListDocumentVersionsCommand\");\nvar se_ListInventoryEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListInventoryEntries\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListInventoryEntriesCommand\");\nvar se_ListNodesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListNodes\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListNodesCommand\");\nvar se_ListNodesSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListNodesSummary\");\n let body;\n body = JSON.stringify(se_ListNodesSummaryRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListNodesSummaryCommand\");\nvar se_ListOpsItemEventsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListOpsItemEvents\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListOpsItemEventsCommand\");\nvar se_ListOpsItemRelatedItemsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListOpsItemRelatedItems\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListOpsItemRelatedItemsCommand\");\nvar se_ListOpsMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListOpsMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListOpsMetadataCommand\");\nvar se_ListResourceComplianceSummariesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListResourceComplianceSummaries\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListResourceComplianceSummariesCommand\");\nvar se_ListResourceDataSyncCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListResourceDataSync\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListResourceDataSyncCommand\");\nvar se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ListTagsForResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ListTagsForResourceCommand\");\nvar se_ModifyDocumentPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ModifyDocumentPermission\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ModifyDocumentPermissionCommand\");\nvar se_PutComplianceItemsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutComplianceItems\");\n let body;\n body = JSON.stringify(se_PutComplianceItemsRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutComplianceItemsCommand\");\nvar se_PutInventoryCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutInventory\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutInventoryCommand\");\nvar se_PutParameterCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutParameter\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutParameterCommand\");\nvar se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"PutResourcePolicy\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_PutResourcePolicyCommand\");\nvar se_RegisterDefaultPatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RegisterDefaultPatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterDefaultPatchBaselineCommand\");\nvar se_RegisterPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RegisterPatchBaselineForPatchGroup\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterPatchBaselineForPatchGroupCommand\");\nvar se_RegisterTargetWithMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RegisterTargetWithMaintenanceWindow\");\n let body;\n body = JSON.stringify(se_RegisterTargetWithMaintenanceWindowRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterTargetWithMaintenanceWindowCommand\");\nvar se_RegisterTaskWithMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RegisterTaskWithMaintenanceWindow\");\n let body;\n body = JSON.stringify(se_RegisterTaskWithMaintenanceWindowRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RegisterTaskWithMaintenanceWindowCommand\");\nvar se_RemoveTagsFromResourceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"RemoveTagsFromResource\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_RemoveTagsFromResourceCommand\");\nvar se_ResetServiceSettingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ResetServiceSetting\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResetServiceSettingCommand\");\nvar se_ResumeSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"ResumeSession\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_ResumeSessionCommand\");\nvar se_SendAutomationSignalCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"SendAutomationSignal\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SendAutomationSignalCommand\");\nvar se_SendCommandCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"SendCommand\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_SendCommandCommand\");\nvar se_StartAccessRequestCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartAccessRequest\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartAccessRequestCommand\");\nvar se_StartAssociationsOnceCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartAssociationsOnce\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartAssociationsOnceCommand\");\nvar se_StartAutomationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartAutomationExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartAutomationExecutionCommand\");\nvar se_StartChangeRequestExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartChangeRequestExecution\");\n let body;\n body = JSON.stringify(se_StartChangeRequestExecutionRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartChangeRequestExecutionCommand\");\nvar se_StartExecutionPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartExecutionPreview\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartExecutionPreviewCommand\");\nvar se_StartSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StartSession\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StartSessionCommand\");\nvar se_StopAutomationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"StopAutomationExecution\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_StopAutomationExecutionCommand\");\nvar se_TerminateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"TerminateSession\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_TerminateSessionCommand\");\nvar se_UnlabelParameterVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UnlabelParameterVersion\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UnlabelParameterVersionCommand\");\nvar se_UpdateAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateAssociation\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateAssociationCommand\");\nvar se_UpdateAssociationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateAssociationStatus\");\n let body;\n body = JSON.stringify(se_UpdateAssociationStatusRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateAssociationStatusCommand\");\nvar se_UpdateDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateDocument\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateDocumentCommand\");\nvar se_UpdateDocumentDefaultVersionCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateDocumentDefaultVersion\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateDocumentDefaultVersionCommand\");\nvar se_UpdateDocumentMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateDocumentMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateDocumentMetadataCommand\");\nvar se_UpdateMaintenanceWindowCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateMaintenanceWindow\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateMaintenanceWindowCommand\");\nvar se_UpdateMaintenanceWindowTargetCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateMaintenanceWindowTarget\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateMaintenanceWindowTargetCommand\");\nvar se_UpdateMaintenanceWindowTaskCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateMaintenanceWindowTask\");\n let body;\n body = JSON.stringify(se_UpdateMaintenanceWindowTaskRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateMaintenanceWindowTaskCommand\");\nvar se_UpdateManagedInstanceRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateManagedInstanceRole\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateManagedInstanceRoleCommand\");\nvar se_UpdateOpsItemCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateOpsItem\");\n let body;\n body = JSON.stringify(se_UpdateOpsItemRequest(input, context));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateOpsItemCommand\");\nvar se_UpdateOpsMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateOpsMetadata\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateOpsMetadataCommand\");\nvar se_UpdatePatchBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdatePatchBaseline\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdatePatchBaselineCommand\");\nvar se_UpdateResourceDataSyncCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateResourceDataSync\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateResourceDataSyncCommand\");\nvar se_UpdateServiceSettingCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = sharedHeaders(\"UpdateServiceSetting\");\n let body;\n body = JSON.stringify((0, import_smithy_client._json)(input));\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_UpdateServiceSettingCommand\");\nvar de_AddTagsToResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AddTagsToResourceCommand\");\nvar de_AssociateOpsItemRelatedItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssociateOpsItemRelatedItemCommand\");\nvar de_CancelCommandCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelCommandCommand\");\nvar de_CancelMaintenanceWindowExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CancelMaintenanceWindowExecutionCommand\");\nvar de_CreateActivationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateActivationCommand\");\nvar de_CreateAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateAssociationCommand\");\nvar de_CreateAssociationBatchCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateAssociationBatchResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateAssociationBatchCommand\");\nvar de_CreateDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_CreateDocumentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateDocumentCommand\");\nvar de_CreateMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateMaintenanceWindowCommand\");\nvar de_CreateOpsItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateOpsItemCommand\");\nvar de_CreateOpsMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateOpsMetadataCommand\");\nvar de_CreatePatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreatePatchBaselineCommand\");\nvar de_CreateResourceDataSyncCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_CreateResourceDataSyncCommand\");\nvar de_DeleteActivationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteActivationCommand\");\nvar de_DeleteAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteAssociationCommand\");\nvar de_DeleteDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteDocumentCommand\");\nvar de_DeleteInventoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteInventoryCommand\");\nvar de_DeleteMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteMaintenanceWindowCommand\");\nvar de_DeleteOpsItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteOpsItemCommand\");\nvar de_DeleteOpsMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteOpsMetadataCommand\");\nvar de_DeleteParameterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteParameterCommand\");\nvar de_DeleteParametersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteParametersCommand\");\nvar de_DeletePatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeletePatchBaselineCommand\");\nvar de_DeleteResourceDataSyncCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteResourceDataSyncCommand\");\nvar de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeleteResourcePolicyCommand\");\nvar de_DeregisterManagedInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterManagedInstanceCommand\");\nvar de_DeregisterPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterPatchBaselineForPatchGroupCommand\");\nvar de_DeregisterTargetFromMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterTargetFromMaintenanceWindowCommand\");\nvar de_DeregisterTaskFromMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DeregisterTaskFromMaintenanceWindowCommand\");\nvar de_DescribeActivationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeActivationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeActivationsCommand\");\nvar de_DescribeAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAssociationCommand\");\nvar de_DescribeAssociationExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAssociationExecutionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAssociationExecutionsCommand\");\nvar de_DescribeAssociationExecutionTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAssociationExecutionTargetsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAssociationExecutionTargetsCommand\");\nvar de_DescribeAutomationExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAutomationExecutionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAutomationExecutionsCommand\");\nvar de_DescribeAutomationStepExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAutomationStepExecutionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAutomationStepExecutionsCommand\");\nvar de_DescribeAvailablePatchesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeAvailablePatchesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeAvailablePatchesCommand\");\nvar de_DescribeDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeDocumentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDocumentCommand\");\nvar de_DescribeDocumentPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeDocumentPermissionCommand\");\nvar de_DescribeEffectiveInstanceAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeEffectiveInstanceAssociationsCommand\");\nvar de_DescribeEffectivePatchesForPatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeEffectivePatchesForPatchBaselineResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeEffectivePatchesForPatchBaselineCommand\");\nvar de_DescribeInstanceAssociationsStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceAssociationsStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceAssociationsStatusCommand\");\nvar de_DescribeInstanceInformationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstanceInformationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstanceInformationCommand\");\nvar de_DescribeInstancePatchesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstancePatchesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstancePatchesCommand\");\nvar de_DescribeInstancePatchStatesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstancePatchStatesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstancePatchStatesCommand\");\nvar de_DescribeInstancePatchStatesForPatchGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstancePatchStatesForPatchGroupResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstancePatchStatesForPatchGroupCommand\");\nvar de_DescribeInstancePropertiesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInstancePropertiesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInstancePropertiesCommand\");\nvar de_DescribeInventoryDeletionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeInventoryDeletionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeInventoryDeletionsCommand\");\nvar de_DescribeMaintenanceWindowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMaintenanceWindowExecutionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowExecutionsCommand\");\nvar de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMaintenanceWindowExecutionTaskInvocationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand\");\nvar de_DescribeMaintenanceWindowExecutionTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeMaintenanceWindowExecutionTasksResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowExecutionTasksCommand\");\nvar de_DescribeMaintenanceWindowsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowsCommand\");\nvar de_DescribeMaintenanceWindowScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowScheduleCommand\");\nvar de_DescribeMaintenanceWindowsForTargetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowsForTargetCommand\");\nvar de_DescribeMaintenanceWindowTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowTargetsCommand\");\nvar de_DescribeMaintenanceWindowTasksCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeMaintenanceWindowTasksCommand\");\nvar de_DescribeOpsItemsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeOpsItemsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeOpsItemsCommand\");\nvar de_DescribeParametersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeParametersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeParametersCommand\");\nvar de_DescribePatchBaselinesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePatchBaselinesCommand\");\nvar de_DescribePatchGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePatchGroupsCommand\");\nvar de_DescribePatchGroupStateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePatchGroupStateCommand\");\nvar de_DescribePatchPropertiesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribePatchPropertiesCommand\");\nvar de_DescribeSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_DescribeSessionsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DescribeSessionsCommand\");\nvar de_DisassociateOpsItemRelatedItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DisassociateOpsItemRelatedItemCommand\");\nvar de_GetAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetAccessTokenResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAccessTokenCommand\");\nvar de_GetAutomationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetAutomationExecutionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAutomationExecutionCommand\");\nvar de_GetCalendarStateCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCalendarStateCommand\");\nvar de_GetCommandInvocationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCommandInvocationCommand\");\nvar de_GetConnectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetConnectionStatusCommand\");\nvar de_GetDefaultPatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDefaultPatchBaselineCommand\");\nvar de_GetDeployablePatchSnapshotForInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDeployablePatchSnapshotForInstanceCommand\");\nvar de_GetDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetDocumentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetDocumentCommand\");\nvar de_GetExecutionPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetExecutionPreviewResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetExecutionPreviewCommand\");\nvar de_GetInventoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInventoryCommand\");\nvar de_GetInventorySchemaCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetInventorySchemaCommand\");\nvar de_GetMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetMaintenanceWindowResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetMaintenanceWindowCommand\");\nvar de_GetMaintenanceWindowExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetMaintenanceWindowExecutionResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetMaintenanceWindowExecutionCommand\");\nvar de_GetMaintenanceWindowExecutionTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetMaintenanceWindowExecutionTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetMaintenanceWindowExecutionTaskCommand\");\nvar de_GetMaintenanceWindowExecutionTaskInvocationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetMaintenanceWindowExecutionTaskInvocationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetMaintenanceWindowExecutionTaskInvocationCommand\");\nvar de_GetMaintenanceWindowTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetMaintenanceWindowTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetMaintenanceWindowTaskCommand\");\nvar de_GetOpsItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetOpsItemResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetOpsItemCommand\");\nvar de_GetOpsMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetOpsMetadataCommand\");\nvar de_GetOpsSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetOpsSummaryCommand\");\nvar de_GetParameterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetParameterResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetParameterCommand\");\nvar de_GetParameterHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetParameterHistoryResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetParameterHistoryCommand\");\nvar de_GetParametersCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetParametersResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetParametersCommand\");\nvar de_GetParametersByPathCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetParametersByPathResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetParametersByPathCommand\");\nvar de_GetPatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetPatchBaselineResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetPatchBaselineCommand\");\nvar de_GetPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetPatchBaselineForPatchGroupCommand\");\nvar de_GetResourcePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetResourcePoliciesCommand\");\nvar de_GetServiceSettingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_GetServiceSettingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetServiceSettingCommand\");\nvar de_LabelParameterVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_LabelParameterVersionCommand\");\nvar de_ListAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListAssociationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListAssociationsCommand\");\nvar de_ListAssociationVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListAssociationVersionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListAssociationVersionsCommand\");\nvar de_ListCommandInvocationsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListCommandInvocationsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListCommandInvocationsCommand\");\nvar de_ListCommandsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListCommandsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListCommandsCommand\");\nvar de_ListComplianceItemsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListComplianceItemsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListComplianceItemsCommand\");\nvar de_ListComplianceSummariesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListComplianceSummariesCommand\");\nvar de_ListDocumentMetadataHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListDocumentMetadataHistoryResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListDocumentMetadataHistoryCommand\");\nvar de_ListDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListDocumentsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListDocumentsCommand\");\nvar de_ListDocumentVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListDocumentVersionsResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListDocumentVersionsCommand\");\nvar de_ListInventoryEntriesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListInventoryEntriesCommand\");\nvar de_ListNodesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListNodesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListNodesCommand\");\nvar de_ListNodesSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListNodesSummaryCommand\");\nvar de_ListOpsItemEventsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListOpsItemEventsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListOpsItemEventsCommand\");\nvar de_ListOpsItemRelatedItemsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListOpsItemRelatedItemsResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListOpsItemRelatedItemsCommand\");\nvar de_ListOpsMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListOpsMetadataResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListOpsMetadataCommand\");\nvar de_ListResourceComplianceSummariesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListResourceComplianceSummariesResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListResourceComplianceSummariesCommand\");\nvar de_ListResourceDataSyncCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ListResourceDataSyncResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListResourceDataSyncCommand\");\nvar de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ListTagsForResourceCommand\");\nvar de_ModifyDocumentPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ModifyDocumentPermissionCommand\");\nvar de_PutComplianceItemsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutComplianceItemsCommand\");\nvar de_PutInventoryCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutInventoryCommand\");\nvar de_PutParameterCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutParameterCommand\");\nvar de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_PutResourcePolicyCommand\");\nvar de_RegisterDefaultPatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterDefaultPatchBaselineCommand\");\nvar de_RegisterPatchBaselineForPatchGroupCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterPatchBaselineForPatchGroupCommand\");\nvar de_RegisterTargetWithMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterTargetWithMaintenanceWindowCommand\");\nvar de_RegisterTaskWithMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RegisterTaskWithMaintenanceWindowCommand\");\nvar de_RemoveTagsFromResourceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_RemoveTagsFromResourceCommand\");\nvar de_ResetServiceSettingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_ResetServiceSettingResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ResetServiceSettingCommand\");\nvar de_ResumeSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_ResumeSessionCommand\");\nvar de_SendAutomationSignalCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SendAutomationSignalCommand\");\nvar de_SendCommandCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_SendCommandResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_SendCommandCommand\");\nvar de_StartAccessRequestCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartAccessRequestCommand\");\nvar de_StartAssociationsOnceCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartAssociationsOnceCommand\");\nvar de_StartAutomationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartAutomationExecutionCommand\");\nvar de_StartChangeRequestExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartChangeRequestExecutionCommand\");\nvar de_StartExecutionPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartExecutionPreviewCommand\");\nvar de_StartSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StartSessionCommand\");\nvar de_StopAutomationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_StopAutomationExecutionCommand\");\nvar de_TerminateSessionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_TerminateSessionCommand\");\nvar de_UnlabelParameterVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UnlabelParameterVersionCommand\");\nvar de_UpdateAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateAssociationResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateAssociationCommand\");\nvar de_UpdateAssociationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateAssociationStatusResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateAssociationStatusCommand\");\nvar de_UpdateDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateDocumentResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateDocumentCommand\");\nvar de_UpdateDocumentDefaultVersionCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateDocumentDefaultVersionCommand\");\nvar de_UpdateDocumentMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateDocumentMetadataCommand\");\nvar de_UpdateMaintenanceWindowCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateMaintenanceWindowCommand\");\nvar de_UpdateMaintenanceWindowTargetCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateMaintenanceWindowTargetCommand\");\nvar de_UpdateMaintenanceWindowTaskCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdateMaintenanceWindowTaskResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateMaintenanceWindowTaskCommand\");\nvar de_UpdateManagedInstanceRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateManagedInstanceRoleCommand\");\nvar de_UpdateOpsItemCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateOpsItemCommand\");\nvar de_UpdateOpsMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateOpsMetadataCommand\");\nvar de_UpdatePatchBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = de_UpdatePatchBaselineResult(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdatePatchBaselineCommand\");\nvar de_UpdateResourceDataSyncCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateResourceDataSyncCommand\");\nvar de_UpdateServiceSettingCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core2.parseJsonBody)(output.body, context);\n let contents = {};\n contents = (0, import_smithy_client._json)(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_UpdateServiceSettingCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalServerError\":\n case \"com.amazonaws.ssm#InternalServerError\":\n throw await de_InternalServerErrorRes(parsedOutput, context);\n case \"InvalidResourceId\":\n case \"com.amazonaws.ssm#InvalidResourceId\":\n throw await de_InvalidResourceIdRes(parsedOutput, context);\n case \"InvalidResourceType\":\n case \"com.amazonaws.ssm#InvalidResourceType\":\n throw await de_InvalidResourceTypeRes(parsedOutput, context);\n case \"TooManyTagsError\":\n case \"com.amazonaws.ssm#TooManyTagsError\":\n throw await de_TooManyTagsErrorRes(parsedOutput, context);\n case \"TooManyUpdates\":\n case \"com.amazonaws.ssm#TooManyUpdates\":\n throw await de_TooManyUpdatesRes(parsedOutput, context);\n case \"OpsItemConflictException\":\n case \"com.amazonaws.ssm#OpsItemConflictException\":\n throw await de_OpsItemConflictExceptionRes(parsedOutput, context);\n case \"OpsItemInvalidParameterException\":\n case \"com.amazonaws.ssm#OpsItemInvalidParameterException\":\n throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context);\n case \"OpsItemLimitExceededException\":\n case \"com.amazonaws.ssm#OpsItemLimitExceededException\":\n throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context);\n case \"OpsItemNotFoundException\":\n case \"com.amazonaws.ssm#OpsItemNotFoundException\":\n throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context);\n case \"OpsItemRelatedItemAlreadyExistsException\":\n case \"com.amazonaws.ssm#OpsItemRelatedItemAlreadyExistsException\":\n throw await de_OpsItemRelatedItemAlreadyExistsExceptionRes(parsedOutput, context);\n case \"DuplicateInstanceId\":\n case \"com.amazonaws.ssm#DuplicateInstanceId\":\n throw await de_DuplicateInstanceIdRes(parsedOutput, context);\n case \"InvalidCommandId\":\n case \"com.amazonaws.ssm#InvalidCommandId\":\n throw await de_InvalidCommandIdRes(parsedOutput, context);\n case \"InvalidInstanceId\":\n case \"com.amazonaws.ssm#InvalidInstanceId\":\n throw await de_InvalidInstanceIdRes(parsedOutput, context);\n case \"DoesNotExistException\":\n case \"com.amazonaws.ssm#DoesNotExistException\":\n throw await de_DoesNotExistExceptionRes(parsedOutput, context);\n case \"InvalidParameters\":\n case \"com.amazonaws.ssm#InvalidParameters\":\n throw await de_InvalidParametersRes(parsedOutput, context);\n case \"AssociationAlreadyExists\":\n case \"com.amazonaws.ssm#AssociationAlreadyExists\":\n throw await de_AssociationAlreadyExistsRes(parsedOutput, context);\n case \"AssociationLimitExceeded\":\n case \"com.amazonaws.ssm#AssociationLimitExceeded\":\n throw await de_AssociationLimitExceededRes(parsedOutput, context);\n case \"InvalidDocument\":\n case \"com.amazonaws.ssm#InvalidDocument\":\n throw await de_InvalidDocumentRes(parsedOutput, context);\n case \"InvalidDocumentVersion\":\n case \"com.amazonaws.ssm#InvalidDocumentVersion\":\n throw await de_InvalidDocumentVersionRes(parsedOutput, context);\n case \"InvalidOutputLocation\":\n case \"com.amazonaws.ssm#InvalidOutputLocation\":\n throw await de_InvalidOutputLocationRes(parsedOutput, context);\n case \"InvalidSchedule\":\n case \"com.amazonaws.ssm#InvalidSchedule\":\n throw await de_InvalidScheduleRes(parsedOutput, context);\n case \"InvalidTag\":\n case \"com.amazonaws.ssm#InvalidTag\":\n throw await de_InvalidTagRes(parsedOutput, context);\n case \"InvalidTarget\":\n case \"com.amazonaws.ssm#InvalidTarget\":\n throw await de_InvalidTargetRes(parsedOutput, context);\n case \"InvalidTargetMaps\":\n case \"com.amazonaws.ssm#InvalidTargetMaps\":\n throw await de_InvalidTargetMapsRes(parsedOutput, context);\n case \"UnsupportedPlatformType\":\n case \"com.amazonaws.ssm#UnsupportedPlatformType\":\n throw await de_UnsupportedPlatformTypeRes(parsedOutput, context);\n case \"DocumentAlreadyExists\":\n case \"com.amazonaws.ssm#DocumentAlreadyExists\":\n throw await de_DocumentAlreadyExistsRes(parsedOutput, context);\n case \"DocumentLimitExceeded\":\n case \"com.amazonaws.ssm#DocumentLimitExceeded\":\n throw await de_DocumentLimitExceededRes(parsedOutput, context);\n case \"InvalidDocumentContent\":\n case \"com.amazonaws.ssm#InvalidDocumentContent\":\n throw await de_InvalidDocumentContentRes(parsedOutput, context);\n case \"InvalidDocumentSchemaVersion\":\n case \"com.amazonaws.ssm#InvalidDocumentSchemaVersion\":\n throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context);\n case \"MaxDocumentSizeExceeded\":\n case \"com.amazonaws.ssm#MaxDocumentSizeExceeded\":\n throw await de_MaxDocumentSizeExceededRes(parsedOutput, context);\n case \"IdempotentParameterMismatch\":\n case \"com.amazonaws.ssm#IdempotentParameterMismatch\":\n throw await de_IdempotentParameterMismatchRes(parsedOutput, context);\n case \"ResourceLimitExceededException\":\n case \"com.amazonaws.ssm#ResourceLimitExceededException\":\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\n case \"OpsItemAccessDeniedException\":\n case \"com.amazonaws.ssm#OpsItemAccessDeniedException\":\n throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context);\n case \"OpsItemAlreadyExistsException\":\n case \"com.amazonaws.ssm#OpsItemAlreadyExistsException\":\n throw await de_OpsItemAlreadyExistsExceptionRes(parsedOutput, context);\n case \"OpsMetadataAlreadyExistsException\":\n case \"com.amazonaws.ssm#OpsMetadataAlreadyExistsException\":\n throw await de_OpsMetadataAlreadyExistsExceptionRes(parsedOutput, context);\n case \"OpsMetadataInvalidArgumentException\":\n case \"com.amazonaws.ssm#OpsMetadataInvalidArgumentException\":\n throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context);\n case \"OpsMetadataLimitExceededException\":\n case \"com.amazonaws.ssm#OpsMetadataLimitExceededException\":\n throw await de_OpsMetadataLimitExceededExceptionRes(parsedOutput, context);\n case \"OpsMetadataTooManyUpdatesException\":\n case \"com.amazonaws.ssm#OpsMetadataTooManyUpdatesException\":\n throw await de_OpsMetadataTooManyUpdatesExceptionRes(parsedOutput, context);\n case \"ResourceDataSyncAlreadyExistsException\":\n case \"com.amazonaws.ssm#ResourceDataSyncAlreadyExistsException\":\n throw await de_ResourceDataSyncAlreadyExistsExceptionRes(parsedOutput, context);\n case \"ResourceDataSyncCountExceededException\":\n case \"com.amazonaws.ssm#ResourceDataSyncCountExceededException\":\n throw await de_ResourceDataSyncCountExceededExceptionRes(parsedOutput, context);\n case \"ResourceDataSyncInvalidConfigurationException\":\n case \"com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException\":\n throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context);\n case \"InvalidActivation\":\n case \"com.amazonaws.ssm#InvalidActivation\":\n throw await de_InvalidActivationRes(parsedOutput, context);\n case \"InvalidActivationId\":\n case \"com.amazonaws.ssm#InvalidActivationId\":\n throw await de_InvalidActivationIdRes(parsedOutput, context);\n case \"AssociationDoesNotExist\":\n case \"com.amazonaws.ssm#AssociationDoesNotExist\":\n throw await de_AssociationDoesNotExistRes(parsedOutput, context);\n case \"AssociatedInstances\":\n case \"com.amazonaws.ssm#AssociatedInstances\":\n throw await de_AssociatedInstancesRes(parsedOutput, context);\n case \"InvalidDocumentOperation\":\n case \"com.amazonaws.ssm#InvalidDocumentOperation\":\n throw await de_InvalidDocumentOperationRes(parsedOutput, context);\n case \"InvalidDeleteInventoryParametersException\":\n case \"com.amazonaws.ssm#InvalidDeleteInventoryParametersException\":\n throw await de_InvalidDeleteInventoryParametersExceptionRes(parsedOutput, context);\n case \"InvalidInventoryRequestException\":\n case \"com.amazonaws.ssm#InvalidInventoryRequestException\":\n throw await de_InvalidInventoryRequestExceptionRes(parsedOutput, context);\n case \"InvalidOptionException\":\n case \"com.amazonaws.ssm#InvalidOptionException\":\n throw await de_InvalidOptionExceptionRes(parsedOutput, context);\n case \"InvalidTypeNameException\":\n case \"com.amazonaws.ssm#InvalidTypeNameException\":\n throw await de_InvalidTypeNameExceptionRes(parsedOutput, context);\n case \"OpsMetadataNotFoundException\":\n case \"com.amazonaws.ssm#OpsMetadataNotFoundException\":\n throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context);\n case \"ParameterNotFound\":\n case \"com.amazonaws.ssm#ParameterNotFound\":\n throw await de_ParameterNotFoundRes(parsedOutput, context);\n case \"ResourceInUseException\":\n case \"com.amazonaws.ssm#ResourceInUseException\":\n throw await de_ResourceInUseExceptionRes(parsedOutput, context);\n case \"ResourceDataSyncNotFoundException\":\n case \"com.amazonaws.ssm#ResourceDataSyncNotFoundException\":\n throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context);\n case \"MalformedResourcePolicyDocumentException\":\n case \"com.amazonaws.ssm#MalformedResourcePolicyDocumentException\":\n throw await de_MalformedResourcePolicyDocumentExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.ssm#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"ResourcePolicyConflictException\":\n case \"com.amazonaws.ssm#ResourcePolicyConflictException\":\n throw await de_ResourcePolicyConflictExceptionRes(parsedOutput, context);\n case \"ResourcePolicyInvalidParameterException\":\n case \"com.amazonaws.ssm#ResourcePolicyInvalidParameterException\":\n throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context);\n case \"ResourcePolicyNotFoundException\":\n case \"com.amazonaws.ssm#ResourcePolicyNotFoundException\":\n throw await de_ResourcePolicyNotFoundExceptionRes(parsedOutput, context);\n case \"TargetInUseException\":\n case \"com.amazonaws.ssm#TargetInUseException\":\n throw await de_TargetInUseExceptionRes(parsedOutput, context);\n case \"InvalidFilter\":\n case \"com.amazonaws.ssm#InvalidFilter\":\n throw await de_InvalidFilterRes(parsedOutput, context);\n case \"InvalidNextToken\":\n case \"com.amazonaws.ssm#InvalidNextToken\":\n throw await de_InvalidNextTokenRes(parsedOutput, context);\n case \"InvalidAssociationVersion\":\n case \"com.amazonaws.ssm#InvalidAssociationVersion\":\n throw await de_InvalidAssociationVersionRes(parsedOutput, context);\n case \"AssociationExecutionDoesNotExist\":\n case \"com.amazonaws.ssm#AssociationExecutionDoesNotExist\":\n throw await de_AssociationExecutionDoesNotExistRes(parsedOutput, context);\n case \"InvalidFilterKey\":\n case \"com.amazonaws.ssm#InvalidFilterKey\":\n throw await de_InvalidFilterKeyRes(parsedOutput, context);\n case \"InvalidFilterValue\":\n case \"com.amazonaws.ssm#InvalidFilterValue\":\n throw await de_InvalidFilterValueRes(parsedOutput, context);\n case \"AutomationExecutionNotFoundException\":\n case \"com.amazonaws.ssm#AutomationExecutionNotFoundException\":\n throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context);\n case \"InvalidPermissionType\":\n case \"com.amazonaws.ssm#InvalidPermissionType\":\n throw await de_InvalidPermissionTypeRes(parsedOutput, context);\n case \"UnsupportedOperatingSystem\":\n case \"com.amazonaws.ssm#UnsupportedOperatingSystem\":\n throw await de_UnsupportedOperatingSystemRes(parsedOutput, context);\n case \"InvalidInstanceInformationFilterValue\":\n case \"com.amazonaws.ssm#InvalidInstanceInformationFilterValue\":\n throw await de_InvalidInstanceInformationFilterValueRes(parsedOutput, context);\n case \"InvalidInstancePropertyFilterValue\":\n case \"com.amazonaws.ssm#InvalidInstancePropertyFilterValue\":\n throw await de_InvalidInstancePropertyFilterValueRes(parsedOutput, context);\n case \"InvalidDeletionIdException\":\n case \"com.amazonaws.ssm#InvalidDeletionIdException\":\n throw await de_InvalidDeletionIdExceptionRes(parsedOutput, context);\n case \"InvalidFilterOption\":\n case \"com.amazonaws.ssm#InvalidFilterOption\":\n throw await de_InvalidFilterOptionRes(parsedOutput, context);\n case \"OpsItemRelatedItemAssociationNotFoundException\":\n case \"com.amazonaws.ssm#OpsItemRelatedItemAssociationNotFoundException\":\n throw await de_OpsItemRelatedItemAssociationNotFoundExceptionRes(parsedOutput, context);\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssm#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"ThrottlingException\":\n case \"com.amazonaws.ssm#ThrottlingException\":\n throw await de_ThrottlingExceptionRes(parsedOutput, context);\n case \"ValidationException\":\n case \"com.amazonaws.ssm#ValidationException\":\n throw await de_ValidationExceptionRes(parsedOutput, context);\n case \"InvalidDocumentType\":\n case \"com.amazonaws.ssm#InvalidDocumentType\":\n throw await de_InvalidDocumentTypeRes(parsedOutput, context);\n case \"UnsupportedCalendarException\":\n case \"com.amazonaws.ssm#UnsupportedCalendarException\":\n throw await de_UnsupportedCalendarExceptionRes(parsedOutput, context);\n case \"InvalidPluginName\":\n case \"com.amazonaws.ssm#InvalidPluginName\":\n throw await de_InvalidPluginNameRes(parsedOutput, context);\n case \"InvocationDoesNotExist\":\n case \"com.amazonaws.ssm#InvocationDoesNotExist\":\n throw await de_InvocationDoesNotExistRes(parsedOutput, context);\n case \"UnsupportedFeatureRequiredException\":\n case \"com.amazonaws.ssm#UnsupportedFeatureRequiredException\":\n throw await de_UnsupportedFeatureRequiredExceptionRes(parsedOutput, context);\n case \"InvalidAggregatorException\":\n case \"com.amazonaws.ssm#InvalidAggregatorException\":\n throw await de_InvalidAggregatorExceptionRes(parsedOutput, context);\n case \"InvalidInventoryGroupException\":\n case \"com.amazonaws.ssm#InvalidInventoryGroupException\":\n throw await de_InvalidInventoryGroupExceptionRes(parsedOutput, context);\n case \"InvalidResultAttributeException\":\n case \"com.amazonaws.ssm#InvalidResultAttributeException\":\n throw await de_InvalidResultAttributeExceptionRes(parsedOutput, context);\n case \"InvalidKeyId\":\n case \"com.amazonaws.ssm#InvalidKeyId\":\n throw await de_InvalidKeyIdRes(parsedOutput, context);\n case \"ParameterVersionNotFound\":\n case \"com.amazonaws.ssm#ParameterVersionNotFound\":\n throw await de_ParameterVersionNotFoundRes(parsedOutput, context);\n case \"ServiceSettingNotFound\":\n case \"com.amazonaws.ssm#ServiceSettingNotFound\":\n throw await de_ServiceSettingNotFoundRes(parsedOutput, context);\n case \"ParameterVersionLabelLimitExceeded\":\n case \"com.amazonaws.ssm#ParameterVersionLabelLimitExceeded\":\n throw await de_ParameterVersionLabelLimitExceededRes(parsedOutput, context);\n case \"UnsupportedOperationException\":\n case \"com.amazonaws.ssm#UnsupportedOperationException\":\n throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);\n case \"DocumentPermissionLimit\":\n case \"com.amazonaws.ssm#DocumentPermissionLimit\":\n throw await de_DocumentPermissionLimitRes(parsedOutput, context);\n case \"ComplianceTypeCountLimitExceededException\":\n case \"com.amazonaws.ssm#ComplianceTypeCountLimitExceededException\":\n throw await de_ComplianceTypeCountLimitExceededExceptionRes(parsedOutput, context);\n case \"InvalidItemContentException\":\n case \"com.amazonaws.ssm#InvalidItemContentException\":\n throw await de_InvalidItemContentExceptionRes(parsedOutput, context);\n case \"ItemSizeLimitExceededException\":\n case \"com.amazonaws.ssm#ItemSizeLimitExceededException\":\n throw await de_ItemSizeLimitExceededExceptionRes(parsedOutput, context);\n case \"TotalSizeLimitExceededException\":\n case \"com.amazonaws.ssm#TotalSizeLimitExceededException\":\n throw await de_TotalSizeLimitExceededExceptionRes(parsedOutput, context);\n case \"CustomSchemaCountLimitExceededException\":\n case \"com.amazonaws.ssm#CustomSchemaCountLimitExceededException\":\n throw await de_CustomSchemaCountLimitExceededExceptionRes(parsedOutput, context);\n case \"InvalidInventoryItemContextException\":\n case \"com.amazonaws.ssm#InvalidInventoryItemContextException\":\n throw await de_InvalidInventoryItemContextExceptionRes(parsedOutput, context);\n case \"ItemContentMismatchException\":\n case \"com.amazonaws.ssm#ItemContentMismatchException\":\n throw await de_ItemContentMismatchExceptionRes(parsedOutput, context);\n case \"SubTypeCountLimitExceededException\":\n case \"com.amazonaws.ssm#SubTypeCountLimitExceededException\":\n throw await de_SubTypeCountLimitExceededExceptionRes(parsedOutput, context);\n case \"UnsupportedInventoryItemContextException\":\n case \"com.amazonaws.ssm#UnsupportedInventoryItemContextException\":\n throw await de_UnsupportedInventoryItemContextExceptionRes(parsedOutput, context);\n case \"UnsupportedInventorySchemaVersionException\":\n case \"com.amazonaws.ssm#UnsupportedInventorySchemaVersionException\":\n throw await de_UnsupportedInventorySchemaVersionExceptionRes(parsedOutput, context);\n case \"HierarchyLevelLimitExceededException\":\n case \"com.amazonaws.ssm#HierarchyLevelLimitExceededException\":\n throw await de_HierarchyLevelLimitExceededExceptionRes(parsedOutput, context);\n case \"HierarchyTypeMismatchException\":\n case \"com.amazonaws.ssm#HierarchyTypeMismatchException\":\n throw await de_HierarchyTypeMismatchExceptionRes(parsedOutput, context);\n case \"IncompatiblePolicyException\":\n case \"com.amazonaws.ssm#IncompatiblePolicyException\":\n throw await de_IncompatiblePolicyExceptionRes(parsedOutput, context);\n case \"InvalidAllowedPatternException\":\n case \"com.amazonaws.ssm#InvalidAllowedPatternException\":\n throw await de_InvalidAllowedPatternExceptionRes(parsedOutput, context);\n case \"InvalidPolicyAttributeException\":\n case \"com.amazonaws.ssm#InvalidPolicyAttributeException\":\n throw await de_InvalidPolicyAttributeExceptionRes(parsedOutput, context);\n case \"InvalidPolicyTypeException\":\n case \"com.amazonaws.ssm#InvalidPolicyTypeException\":\n throw await de_InvalidPolicyTypeExceptionRes(parsedOutput, context);\n case \"ParameterAlreadyExists\":\n case \"com.amazonaws.ssm#ParameterAlreadyExists\":\n throw await de_ParameterAlreadyExistsRes(parsedOutput, context);\n case \"ParameterLimitExceeded\":\n case \"com.amazonaws.ssm#ParameterLimitExceeded\":\n throw await de_ParameterLimitExceededRes(parsedOutput, context);\n case \"ParameterMaxVersionLimitExceeded\":\n case \"com.amazonaws.ssm#ParameterMaxVersionLimitExceeded\":\n throw await de_ParameterMaxVersionLimitExceededRes(parsedOutput, context);\n case \"ParameterPatternMismatchException\":\n case \"com.amazonaws.ssm#ParameterPatternMismatchException\":\n throw await de_ParameterPatternMismatchExceptionRes(parsedOutput, context);\n case \"PoliciesLimitExceededException\":\n case \"com.amazonaws.ssm#PoliciesLimitExceededException\":\n throw await de_PoliciesLimitExceededExceptionRes(parsedOutput, context);\n case \"UnsupportedParameterType\":\n case \"com.amazonaws.ssm#UnsupportedParameterType\":\n throw await de_UnsupportedParameterTypeRes(parsedOutput, context);\n case \"ResourcePolicyLimitExceededException\":\n case \"com.amazonaws.ssm#ResourcePolicyLimitExceededException\":\n throw await de_ResourcePolicyLimitExceededExceptionRes(parsedOutput, context);\n case \"AlreadyExistsException\":\n case \"com.amazonaws.ssm#AlreadyExistsException\":\n throw await de_AlreadyExistsExceptionRes(parsedOutput, context);\n case \"FeatureNotAvailableException\":\n case \"com.amazonaws.ssm#FeatureNotAvailableException\":\n throw await de_FeatureNotAvailableExceptionRes(parsedOutput, context);\n case \"AutomationStepNotFoundException\":\n case \"com.amazonaws.ssm#AutomationStepNotFoundException\":\n throw await de_AutomationStepNotFoundExceptionRes(parsedOutput, context);\n case \"InvalidAutomationSignalException\":\n case \"com.amazonaws.ssm#InvalidAutomationSignalException\":\n throw await de_InvalidAutomationSignalExceptionRes(parsedOutput, context);\n case \"InvalidNotificationConfig\":\n case \"com.amazonaws.ssm#InvalidNotificationConfig\":\n throw await de_InvalidNotificationConfigRes(parsedOutput, context);\n case \"InvalidOutputFolder\":\n case \"com.amazonaws.ssm#InvalidOutputFolder\":\n throw await de_InvalidOutputFolderRes(parsedOutput, context);\n case \"InvalidRole\":\n case \"com.amazonaws.ssm#InvalidRole\":\n throw await de_InvalidRoleRes(parsedOutput, context);\n case \"ServiceQuotaExceededException\":\n case \"com.amazonaws.ssm#ServiceQuotaExceededException\":\n throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);\n case \"InvalidAssociation\":\n case \"com.amazonaws.ssm#InvalidAssociation\":\n throw await de_InvalidAssociationRes(parsedOutput, context);\n case \"AutomationDefinitionNotFoundException\":\n case \"com.amazonaws.ssm#AutomationDefinitionNotFoundException\":\n throw await de_AutomationDefinitionNotFoundExceptionRes(parsedOutput, context);\n case \"AutomationDefinitionVersionNotFoundException\":\n case \"com.amazonaws.ssm#AutomationDefinitionVersionNotFoundException\":\n throw await de_AutomationDefinitionVersionNotFoundExceptionRes(parsedOutput, context);\n case \"AutomationExecutionLimitExceededException\":\n case \"com.amazonaws.ssm#AutomationExecutionLimitExceededException\":\n throw await de_AutomationExecutionLimitExceededExceptionRes(parsedOutput, context);\n case \"InvalidAutomationExecutionParametersException\":\n case \"com.amazonaws.ssm#InvalidAutomationExecutionParametersException\":\n throw await de_InvalidAutomationExecutionParametersExceptionRes(parsedOutput, context);\n case \"AutomationDefinitionNotApprovedException\":\n case \"com.amazonaws.ssm#AutomationDefinitionNotApprovedException\":\n throw await de_AutomationDefinitionNotApprovedExceptionRes(parsedOutput, context);\n case \"TargetNotConnected\":\n case \"com.amazonaws.ssm#TargetNotConnected\":\n throw await de_TargetNotConnectedRes(parsedOutput, context);\n case \"InvalidAutomationStatusUpdateException\":\n case \"com.amazonaws.ssm#InvalidAutomationStatusUpdateException\":\n throw await de_InvalidAutomationStatusUpdateExceptionRes(parsedOutput, context);\n case \"AssociationVersionLimitExceeded\":\n case \"com.amazonaws.ssm#AssociationVersionLimitExceeded\":\n throw await de_AssociationVersionLimitExceededRes(parsedOutput, context);\n case \"InvalidUpdate\":\n case \"com.amazonaws.ssm#InvalidUpdate\":\n throw await de_InvalidUpdateRes(parsedOutput, context);\n case \"StatusUnchanged\":\n case \"com.amazonaws.ssm#StatusUnchanged\":\n throw await de_StatusUnchangedRes(parsedOutput, context);\n case \"DocumentVersionLimitExceeded\":\n case \"com.amazonaws.ssm#DocumentVersionLimitExceeded\":\n throw await de_DocumentVersionLimitExceededRes(parsedOutput, context);\n case \"DuplicateDocumentContent\":\n case \"com.amazonaws.ssm#DuplicateDocumentContent\":\n throw await de_DuplicateDocumentContentRes(parsedOutput, context);\n case \"DuplicateDocumentVersionName\":\n case \"com.amazonaws.ssm#DuplicateDocumentVersionName\":\n throw await de_DuplicateDocumentVersionNameRes(parsedOutput, context);\n case \"OpsMetadataKeyLimitExceededException\":\n case \"com.amazonaws.ssm#OpsMetadataKeyLimitExceededException\":\n throw await de_OpsMetadataKeyLimitExceededExceptionRes(parsedOutput, context);\n case \"ResourceDataSyncConflictException\":\n case \"com.amazonaws.ssm#ResourceDataSyncConflictException\":\n throw await de_ResourceDataSyncConflictExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AlreadyExistsExceptionRes\");\nvar de_AssociatedInstancesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociatedInstances({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociatedInstancesRes\");\nvar de_AssociationAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociationAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociationAlreadyExistsRes\");\nvar de_AssociationDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociationDoesNotExist({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociationDoesNotExistRes\");\nvar de_AssociationExecutionDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociationExecutionDoesNotExist({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociationExecutionDoesNotExistRes\");\nvar de_AssociationLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociationLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociationLimitExceededRes\");\nvar de_AssociationVersionLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AssociationVersionLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AssociationVersionLimitExceededRes\");\nvar de_AutomationDefinitionNotApprovedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationDefinitionNotApprovedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationDefinitionNotApprovedExceptionRes\");\nvar de_AutomationDefinitionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationDefinitionNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationDefinitionNotFoundExceptionRes\");\nvar de_AutomationDefinitionVersionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationDefinitionVersionNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationDefinitionVersionNotFoundExceptionRes\");\nvar de_AutomationExecutionLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationExecutionLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationExecutionLimitExceededExceptionRes\");\nvar de_AutomationExecutionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationExecutionNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationExecutionNotFoundExceptionRes\");\nvar de_AutomationStepNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new AutomationStepNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_AutomationStepNotFoundExceptionRes\");\nvar de_ComplianceTypeCountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ComplianceTypeCountLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ComplianceTypeCountLimitExceededExceptionRes\");\nvar de_CustomSchemaCountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new CustomSchemaCountLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_CustomSchemaCountLimitExceededExceptionRes\");\nvar de_DocumentAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DocumentAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DocumentAlreadyExistsRes\");\nvar de_DocumentLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DocumentLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DocumentLimitExceededRes\");\nvar de_DocumentPermissionLimitRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DocumentPermissionLimit({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DocumentPermissionLimitRes\");\nvar de_DocumentVersionLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DocumentVersionLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DocumentVersionLimitExceededRes\");\nvar de_DoesNotExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DoesNotExistException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DoesNotExistExceptionRes\");\nvar de_DuplicateDocumentContentRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DuplicateDocumentContent({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DuplicateDocumentContentRes\");\nvar de_DuplicateDocumentVersionNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DuplicateDocumentVersionName({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DuplicateDocumentVersionNameRes\");\nvar de_DuplicateInstanceIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new DuplicateInstanceId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_DuplicateInstanceIdRes\");\nvar de_FeatureNotAvailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new FeatureNotAvailableException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_FeatureNotAvailableExceptionRes\");\nvar de_HierarchyLevelLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new HierarchyLevelLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_HierarchyLevelLimitExceededExceptionRes\");\nvar de_HierarchyTypeMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new HierarchyTypeMismatchException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_HierarchyTypeMismatchExceptionRes\");\nvar de_IdempotentParameterMismatchRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new IdempotentParameterMismatch({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_IdempotentParameterMismatchRes\");\nvar de_IncompatiblePolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new IncompatiblePolicyException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_IncompatiblePolicyExceptionRes\");\nvar de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InternalServerError({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InternalServerErrorRes\");\nvar de_InvalidActivationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidActivation({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidActivationRes\");\nvar de_InvalidActivationIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidActivationId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidActivationIdRes\");\nvar de_InvalidAggregatorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAggregatorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAggregatorExceptionRes\");\nvar de_InvalidAllowedPatternExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAllowedPatternException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAllowedPatternExceptionRes\");\nvar de_InvalidAssociationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAssociation({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAssociationRes\");\nvar de_InvalidAssociationVersionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAssociationVersion({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAssociationVersionRes\");\nvar de_InvalidAutomationExecutionParametersExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAutomationExecutionParametersException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAutomationExecutionParametersExceptionRes\");\nvar de_InvalidAutomationSignalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAutomationSignalException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAutomationSignalExceptionRes\");\nvar de_InvalidAutomationStatusUpdateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidAutomationStatusUpdateException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAutomationStatusUpdateExceptionRes\");\nvar de_InvalidCommandIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidCommandId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidCommandIdRes\");\nvar de_InvalidDeleteInventoryParametersExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDeleteInventoryParametersException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDeleteInventoryParametersExceptionRes\");\nvar de_InvalidDeletionIdExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDeletionIdException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDeletionIdExceptionRes\");\nvar de_InvalidDocumentRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocument({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentRes\");\nvar de_InvalidDocumentContentRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocumentContent({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentContentRes\");\nvar de_InvalidDocumentOperationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocumentOperation({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentOperationRes\");\nvar de_InvalidDocumentSchemaVersionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocumentSchemaVersion({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentSchemaVersionRes\");\nvar de_InvalidDocumentTypeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocumentType({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentTypeRes\");\nvar de_InvalidDocumentVersionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidDocumentVersion({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidDocumentVersionRes\");\nvar de_InvalidFilterRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidFilter({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidFilterRes\");\nvar de_InvalidFilterKeyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidFilterKey({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidFilterKeyRes\");\nvar de_InvalidFilterOptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidFilterOption({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidFilterOptionRes\");\nvar de_InvalidFilterValueRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidFilterValue({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidFilterValueRes\");\nvar de_InvalidInstanceIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInstanceId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInstanceIdRes\");\nvar de_InvalidInstanceInformationFilterValueRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInstanceInformationFilterValue({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInstanceInformationFilterValueRes\");\nvar de_InvalidInstancePropertyFilterValueRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInstancePropertyFilterValue({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInstancePropertyFilterValueRes\");\nvar de_InvalidInventoryGroupExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInventoryGroupException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInventoryGroupExceptionRes\");\nvar de_InvalidInventoryItemContextExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInventoryItemContextException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInventoryItemContextExceptionRes\");\nvar de_InvalidInventoryRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidInventoryRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidInventoryRequestExceptionRes\");\nvar de_InvalidItemContentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidItemContentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidItemContentExceptionRes\");\nvar de_InvalidKeyIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidKeyId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidKeyIdRes\");\nvar de_InvalidNextTokenRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidNextToken({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidNextTokenRes\");\nvar de_InvalidNotificationConfigRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidNotificationConfig({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidNotificationConfigRes\");\nvar de_InvalidOptionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidOptionException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidOptionExceptionRes\");\nvar de_InvalidOutputFolderRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidOutputFolder({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidOutputFolderRes\");\nvar de_InvalidOutputLocationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidOutputLocation({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidOutputLocationRes\");\nvar de_InvalidParametersRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidParameters({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidParametersRes\");\nvar de_InvalidPermissionTypeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidPermissionType({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidPermissionTypeRes\");\nvar de_InvalidPluginNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidPluginName({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidPluginNameRes\");\nvar de_InvalidPolicyAttributeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidPolicyAttributeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidPolicyAttributeExceptionRes\");\nvar de_InvalidPolicyTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidPolicyTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidPolicyTypeExceptionRes\");\nvar de_InvalidResourceIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidResourceId({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidResourceIdRes\");\nvar de_InvalidResourceTypeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidResourceType({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidResourceTypeRes\");\nvar de_InvalidResultAttributeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidResultAttributeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidResultAttributeExceptionRes\");\nvar de_InvalidRoleRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidRole({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidRoleRes\");\nvar de_InvalidScheduleRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidSchedule({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidScheduleRes\");\nvar de_InvalidTagRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidTag({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidTagRes\");\nvar de_InvalidTargetRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidTarget({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidTargetRes\");\nvar de_InvalidTargetMapsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidTargetMaps({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidTargetMapsRes\");\nvar de_InvalidTypeNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidTypeNameException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidTypeNameExceptionRes\");\nvar de_InvalidUpdateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvalidUpdate({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidUpdateRes\");\nvar de_InvocationDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new InvocationDoesNotExist({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvocationDoesNotExistRes\");\nvar de_ItemContentMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ItemContentMismatchException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ItemContentMismatchExceptionRes\");\nvar de_ItemSizeLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ItemSizeLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ItemSizeLimitExceededExceptionRes\");\nvar de_MalformedResourcePolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new MalformedResourcePolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_MalformedResourcePolicyDocumentExceptionRes\");\nvar de_MaxDocumentSizeExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new MaxDocumentSizeExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_MaxDocumentSizeExceededRes\");\nvar de_OpsItemAccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemAccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemAccessDeniedExceptionRes\");\nvar de_OpsItemAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemAlreadyExistsExceptionRes\");\nvar de_OpsItemConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemConflictExceptionRes\");\nvar de_OpsItemInvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemInvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemInvalidParameterExceptionRes\");\nvar de_OpsItemLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemLimitExceededExceptionRes\");\nvar de_OpsItemNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemNotFoundExceptionRes\");\nvar de_OpsItemRelatedItemAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemRelatedItemAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemRelatedItemAlreadyExistsExceptionRes\");\nvar de_OpsItemRelatedItemAssociationNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsItemRelatedItemAssociationNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsItemRelatedItemAssociationNotFoundExceptionRes\");\nvar de_OpsMetadataAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataAlreadyExistsExceptionRes\");\nvar de_OpsMetadataInvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataInvalidArgumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataInvalidArgumentExceptionRes\");\nvar de_OpsMetadataKeyLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataKeyLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataKeyLimitExceededExceptionRes\");\nvar de_OpsMetadataLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataLimitExceededExceptionRes\");\nvar de_OpsMetadataNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataNotFoundExceptionRes\");\nvar de_OpsMetadataTooManyUpdatesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new OpsMetadataTooManyUpdatesException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_OpsMetadataTooManyUpdatesExceptionRes\");\nvar de_ParameterAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterAlreadyExistsRes\");\nvar de_ParameterLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterLimitExceededRes\");\nvar de_ParameterMaxVersionLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterMaxVersionLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterMaxVersionLimitExceededRes\");\nvar de_ParameterNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterNotFoundRes\");\nvar de_ParameterPatternMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterPatternMismatchException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterPatternMismatchExceptionRes\");\nvar de_ParameterVersionLabelLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterVersionLabelLimitExceeded({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterVersionLabelLimitExceededRes\");\nvar de_ParameterVersionNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ParameterVersionNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ParameterVersionNotFoundRes\");\nvar de_PoliciesLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new PoliciesLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PoliciesLimitExceededExceptionRes\");\nvar de_ResourceDataSyncAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceDataSyncAlreadyExistsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceDataSyncAlreadyExistsExceptionRes\");\nvar de_ResourceDataSyncConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceDataSyncConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceDataSyncConflictExceptionRes\");\nvar de_ResourceDataSyncCountExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceDataSyncCountExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceDataSyncCountExceededExceptionRes\");\nvar de_ResourceDataSyncInvalidConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceDataSyncInvalidConfigurationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceDataSyncInvalidConfigurationExceptionRes\");\nvar de_ResourceDataSyncNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceDataSyncNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceDataSyncNotFoundExceptionRes\");\nvar de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceInUseException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceInUseExceptionRes\");\nvar de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceLimitExceededExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_ResourcePolicyConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourcePolicyConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourcePolicyConflictExceptionRes\");\nvar de_ResourcePolicyInvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourcePolicyInvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourcePolicyInvalidParameterExceptionRes\");\nvar de_ResourcePolicyLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourcePolicyLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourcePolicyLimitExceededExceptionRes\");\nvar de_ResourcePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ResourcePolicyNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ResourcePolicyNotFoundExceptionRes\");\nvar de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ServiceQuotaExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ServiceQuotaExceededExceptionRes\");\nvar de_ServiceSettingNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ServiceSettingNotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ServiceSettingNotFoundRes\");\nvar de_StatusUnchangedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new StatusUnchanged({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_StatusUnchangedRes\");\nvar de_SubTypeCountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new SubTypeCountLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_SubTypeCountLimitExceededExceptionRes\");\nvar de_TargetInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TargetInUseException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TargetInUseExceptionRes\");\nvar de_TargetNotConnectedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TargetNotConnected({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TargetNotConnectedRes\");\nvar de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ThrottlingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ThrottlingExceptionRes\");\nvar de_TooManyTagsErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TooManyTagsError({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TooManyTagsErrorRes\");\nvar de_TooManyUpdatesRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TooManyUpdates({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TooManyUpdatesRes\");\nvar de_TotalSizeLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new TotalSizeLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_TotalSizeLimitExceededExceptionRes\");\nvar de_UnsupportedCalendarExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedCalendarException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedCalendarExceptionRes\");\nvar de_UnsupportedFeatureRequiredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedFeatureRequiredException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedFeatureRequiredExceptionRes\");\nvar de_UnsupportedInventoryItemContextExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedInventoryItemContextException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedInventoryItemContextExceptionRes\");\nvar de_UnsupportedInventorySchemaVersionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedInventorySchemaVersionException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedInventorySchemaVersionExceptionRes\");\nvar de_UnsupportedOperatingSystemRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedOperatingSystem({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedOperatingSystemRes\");\nvar de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedOperationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedOperationExceptionRes\");\nvar de_UnsupportedParameterTypeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedParameterType({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedParameterTypeRes\");\nvar de_UnsupportedPlatformTypeRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new UnsupportedPlatformType({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_UnsupportedPlatformTypeRes\");\nvar de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = (0, import_smithy_client._json)(body);\n const exception = new ValidationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ValidationExceptionRes\");\nvar se_AssociationStatus = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AdditionalInfo: [],\n Date: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"Date\"),\n Message: [],\n Name: []\n });\n}, \"se_AssociationStatus\");\nvar se_ComplianceExecutionSummary = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ExecutionId: [],\n ExecutionTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ExecutionTime\"),\n ExecutionType: []\n });\n}, \"se_ComplianceExecutionSummary\");\nvar se_CreateActivationRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n DefaultInstanceName: [],\n Description: [],\n ExpirationDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ExpirationDate\"),\n IamRole: [],\n RegistrationLimit: [],\n RegistrationMetadata: import_smithy_client._json,\n Tags: import_smithy_client._json\n });\n}, \"se_CreateActivationRequest\");\nvar se_CreateMaintenanceWindowRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AllowUnassociatedTargets: [],\n ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n Cutoff: [],\n Description: [],\n Duration: [],\n EndDate: [],\n Name: [],\n Schedule: [],\n ScheduleOffset: [],\n ScheduleTimezone: [],\n StartDate: [],\n Tags: import_smithy_client._json\n });\n}, \"se_CreateMaintenanceWindowRequest\");\nvar se_CreateOpsItemRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AccountId: [],\n ActualEndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ActualEndTime\"),\n ActualStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ActualStartTime\"),\n Category: [],\n Description: [],\n Notifications: import_smithy_client._json,\n OperationalData: import_smithy_client._json,\n OpsItemType: [],\n PlannedEndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"PlannedEndTime\"),\n PlannedStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"PlannedStartTime\"),\n Priority: [],\n RelatedOpsItems: import_smithy_client._json,\n Severity: [],\n Source: [],\n Tags: import_smithy_client._json,\n Title: []\n });\n}, \"se_CreateOpsItemRequest\");\nvar se_CreatePatchBaselineRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ApprovalRules: import_smithy_client._json,\n ApprovedPatches: import_smithy_client._json,\n ApprovedPatchesComplianceLevel: [],\n ApprovedPatchesEnableNonSecurity: [],\n AvailableSecurityUpdatesComplianceStatus: [],\n ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n Description: [],\n GlobalFilters: import_smithy_client._json,\n Name: [],\n OperatingSystem: [],\n RejectedPatches: import_smithy_client._json,\n RejectedPatchesAction: [],\n Sources: import_smithy_client._json,\n Tags: import_smithy_client._json\n });\n}, \"se_CreatePatchBaselineRequest\");\nvar se_DeleteInventoryRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n DryRun: [],\n SchemaDeleteOption: [],\n TypeName: []\n });\n}, \"se_DeleteInventoryRequest\");\nvar se_GetInventoryRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n Aggregators: /* @__PURE__ */ __name((_) => se_InventoryAggregatorList(_, context), \"Aggregators\"),\n Filters: import_smithy_client._json,\n MaxResults: [],\n NextToken: [],\n ResultAttributes: import_smithy_client._json\n });\n}, \"se_GetInventoryRequest\");\nvar se_GetOpsSummaryRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n Aggregators: /* @__PURE__ */ __name((_) => se_OpsAggregatorList(_, context), \"Aggregators\"),\n Filters: import_smithy_client._json,\n MaxResults: [],\n NextToken: [],\n ResultAttributes: import_smithy_client._json,\n SyncName: []\n });\n}, \"se_GetOpsSummaryRequest\");\nvar se_InventoryAggregator = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n Aggregators: /* @__PURE__ */ __name((_) => se_InventoryAggregatorList(_, context), \"Aggregators\"),\n Expression: [],\n Groups: import_smithy_client._json\n });\n}, \"se_InventoryAggregator\");\nvar se_InventoryAggregatorList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n return se_InventoryAggregator(entry, context);\n });\n}, \"se_InventoryAggregatorList\");\nvar se_ListNodesSummaryRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n Aggregators: /* @__PURE__ */ __name((_) => se_NodeAggregatorList(_, context), \"Aggregators\"),\n Filters: import_smithy_client._json,\n MaxResults: [],\n NextToken: [],\n SyncName: []\n });\n}, \"se_ListNodesSummaryRequest\");\nvar se_MaintenanceWindowLambdaParameters = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientContext: [],\n Payload: context.base64Encoder,\n Qualifier: []\n });\n}, \"se_MaintenanceWindowLambdaParameters\");\nvar se_MaintenanceWindowTaskInvocationParameters = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n Automation: import_smithy_client._json,\n Lambda: /* @__PURE__ */ __name((_) => se_MaintenanceWindowLambdaParameters(_, context), \"Lambda\"),\n RunCommand: import_smithy_client._json,\n StepFunctions: import_smithy_client._json\n });\n}, \"se_MaintenanceWindowTaskInvocationParameters\");\nvar se_NodeAggregator = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AggregatorType: [],\n Aggregators: /* @__PURE__ */ __name((_) => se_NodeAggregatorList(_, context), \"Aggregators\"),\n AttributeName: [],\n TypeName: []\n });\n}, \"se_NodeAggregator\");\nvar se_NodeAggregatorList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n return se_NodeAggregator(entry, context);\n });\n}, \"se_NodeAggregatorList\");\nvar se_OpsAggregator = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AggregatorType: [],\n Aggregators: /* @__PURE__ */ __name((_) => se_OpsAggregatorList(_, context), \"Aggregators\"),\n AttributeName: [],\n Filters: import_smithy_client._json,\n TypeName: [],\n Values: import_smithy_client._json\n });\n}, \"se_OpsAggregator\");\nvar se_OpsAggregatorList = /* @__PURE__ */ __name((input, context) => {\n return input.filter((e) => e != null).map((entry) => {\n return se_OpsAggregator(entry, context);\n });\n}, \"se_OpsAggregatorList\");\nvar se_PutComplianceItemsRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ComplianceType: [],\n ExecutionSummary: /* @__PURE__ */ __name((_) => se_ComplianceExecutionSummary(_, context), \"ExecutionSummary\"),\n ItemContentHash: [],\n Items: import_smithy_client._json,\n ResourceId: [],\n ResourceType: [],\n UploadType: []\n });\n}, \"se_PutComplianceItemsRequest\");\nvar se_RegisterTargetWithMaintenanceWindowRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n Description: [],\n Name: [],\n OwnerInformation: [],\n ResourceType: [],\n Targets: import_smithy_client._json,\n WindowId: []\n });\n}, \"se_RegisterTargetWithMaintenanceWindowRequest\");\nvar se_RegisterTaskWithMaintenanceWindowRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AlarmConfiguration: import_smithy_client._json,\n ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],\n CutoffBehavior: [],\n Description: [],\n LoggingInfo: import_smithy_client._json,\n MaxConcurrency: [],\n MaxErrors: [],\n Name: [],\n Priority: [],\n ServiceRoleArn: [],\n Targets: import_smithy_client._json,\n TaskArn: [],\n TaskInvocationParameters: /* @__PURE__ */ __name((_) => se_MaintenanceWindowTaskInvocationParameters(_, context), \"TaskInvocationParameters\"),\n TaskParameters: import_smithy_client._json,\n TaskType: [],\n WindowId: []\n });\n}, \"se_RegisterTaskWithMaintenanceWindowRequest\");\nvar se_StartChangeRequestExecutionRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AutoApprove: [],\n ChangeDetails: [],\n ChangeRequestName: [],\n ClientToken: [],\n DocumentName: [],\n DocumentVersion: [],\n Parameters: import_smithy_client._json,\n Runbooks: import_smithy_client._json,\n ScheduledEndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ScheduledEndTime\"),\n ScheduledTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ScheduledTime\"),\n Tags: import_smithy_client._json\n });\n}, \"se_StartChangeRequestExecutionRequest\");\nvar se_UpdateAssociationStatusRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AssociationStatus: /* @__PURE__ */ __name((_) => se_AssociationStatus(_, context), \"AssociationStatus\"),\n InstanceId: [],\n Name: []\n });\n}, \"se_UpdateAssociationStatusRequest\");\nvar se_UpdateMaintenanceWindowTaskRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n AlarmConfiguration: import_smithy_client._json,\n CutoffBehavior: [],\n Description: [],\n LoggingInfo: import_smithy_client._json,\n MaxConcurrency: [],\n MaxErrors: [],\n Name: [],\n Priority: [],\n Replace: [],\n ServiceRoleArn: [],\n Targets: import_smithy_client._json,\n TaskArn: [],\n TaskInvocationParameters: /* @__PURE__ */ __name((_) => se_MaintenanceWindowTaskInvocationParameters(_, context), \"TaskInvocationParameters\"),\n TaskParameters: import_smithy_client._json,\n WindowId: [],\n WindowTaskId: []\n });\n}, \"se_UpdateMaintenanceWindowTaskRequest\");\nvar se_UpdateOpsItemRequest = /* @__PURE__ */ __name((input, context) => {\n return (0, import_smithy_client.take)(input, {\n ActualEndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ActualEndTime\"),\n ActualStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"ActualStartTime\"),\n Category: [],\n Description: [],\n Notifications: import_smithy_client._json,\n OperationalData: import_smithy_client._json,\n OperationalDataToDelete: import_smithy_client._json,\n OpsItemArn: [],\n OpsItemId: [],\n PlannedEndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"PlannedEndTime\"),\n PlannedStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, \"PlannedStartTime\"),\n Priority: [],\n RelatedOpsItems: import_smithy_client._json,\n Severity: [],\n Status: [],\n Title: []\n });\n}, \"se_UpdateOpsItemRequest\");\nvar de_Activation = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActivationId: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DefaultInstanceName: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExpirationDate\"),\n Expired: import_smithy_client.expectBoolean,\n IamRole: import_smithy_client.expectString,\n RegistrationLimit: import_smithy_client.expectInt32,\n RegistrationsCount: import_smithy_client.expectInt32,\n Tags: import_smithy_client._json\n });\n}, \"de_Activation\");\nvar de_ActivationList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Activation(entry, context);\n });\n return retVal;\n}, \"de_ActivationList\");\nvar de_Association = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationId: import_smithy_client.expectString,\n AssociationName: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n Duration: import_smithy_client.expectInt32,\n InstanceId: import_smithy_client.expectString,\n LastExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastExecutionDate\"),\n Name: import_smithy_client.expectString,\n Overview: import_smithy_client._json,\n ScheduleExpression: import_smithy_client.expectString,\n ScheduleOffset: import_smithy_client.expectInt32,\n TargetMaps: import_smithy_client._json,\n Targets: import_smithy_client._json\n });\n}, \"de_Association\");\nvar de_AssociationDescription = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n ApplyOnlyAtCronInterval: import_smithy_client.expectBoolean,\n AssociationId: import_smithy_client.expectString,\n AssociationName: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n AutomationTargetParameterName: import_smithy_client.expectString,\n CalendarNames: import_smithy_client._json,\n ComplianceSeverity: import_smithy_client.expectString,\n Date: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"Date\"),\n DocumentVersion: import_smithy_client.expectString,\n Duration: import_smithy_client.expectInt32,\n InstanceId: import_smithy_client.expectString,\n LastExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastExecutionDate\"),\n LastSuccessfulExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastSuccessfulExecutionDate\"),\n LastUpdateAssociationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastUpdateAssociationDate\"),\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n OutputLocation: import_smithy_client._json,\n Overview: import_smithy_client._json,\n Parameters: import_smithy_client._json,\n ScheduleExpression: import_smithy_client.expectString,\n ScheduleOffset: import_smithy_client.expectInt32,\n Status: /* @__PURE__ */ __name((_) => de_AssociationStatus(_, context), \"Status\"),\n SyncCompliance: import_smithy_client.expectString,\n TargetLocations: import_smithy_client._json,\n TargetMaps: import_smithy_client._json,\n Targets: import_smithy_client._json,\n TriggeredAlarms: import_smithy_client._json\n });\n}, \"de_AssociationDescription\");\nvar de_AssociationDescriptionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociationDescription(entry, context);\n });\n return retVal;\n}, \"de_AssociationDescriptionList\");\nvar de_AssociationExecution = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n AssociationId: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedTime\"),\n DetailedStatus: import_smithy_client.expectString,\n ExecutionId: import_smithy_client.expectString,\n LastExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastExecutionDate\"),\n ResourceCountByStatus: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n TriggeredAlarms: import_smithy_client._json\n });\n}, \"de_AssociationExecution\");\nvar de_AssociationExecutionsList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociationExecution(entry, context);\n });\n return retVal;\n}, \"de_AssociationExecutionsList\");\nvar de_AssociationExecutionTarget = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationId: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n DetailedStatus: import_smithy_client.expectString,\n ExecutionId: import_smithy_client.expectString,\n LastExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastExecutionDate\"),\n OutputSource: import_smithy_client._json,\n ResourceId: import_smithy_client.expectString,\n ResourceType: import_smithy_client.expectString,\n Status: import_smithy_client.expectString\n });\n}, \"de_AssociationExecutionTarget\");\nvar de_AssociationExecutionTargetsList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociationExecutionTarget(entry, context);\n });\n return retVal;\n}, \"de_AssociationExecutionTargetsList\");\nvar de_AssociationList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Association(entry, context);\n });\n return retVal;\n}, \"de_AssociationList\");\nvar de_AssociationStatus = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AdditionalInfo: import_smithy_client.expectString,\n Date: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"Date\"),\n Message: import_smithy_client.expectString,\n Name: import_smithy_client.expectString\n });\n}, \"de_AssociationStatus\");\nvar de_AssociationVersionInfo = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ApplyOnlyAtCronInterval: import_smithy_client.expectBoolean,\n AssociationId: import_smithy_client.expectString,\n AssociationName: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n CalendarNames: import_smithy_client._json,\n ComplianceSeverity: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DocumentVersion: import_smithy_client.expectString,\n Duration: import_smithy_client.expectInt32,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n OutputLocation: import_smithy_client._json,\n Parameters: import_smithy_client._json,\n ScheduleExpression: import_smithy_client.expectString,\n ScheduleOffset: import_smithy_client.expectInt32,\n SyncCompliance: import_smithy_client.expectString,\n TargetLocations: import_smithy_client._json,\n TargetMaps: import_smithy_client._json,\n Targets: import_smithy_client._json\n });\n}, \"de_AssociationVersionInfo\");\nvar de_AssociationVersionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AssociationVersionInfo(entry, context);\n });\n return retVal;\n}, \"de_AssociationVersionList\");\nvar de_AutomationExecution = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n AssociationId: import_smithy_client.expectString,\n AutomationExecutionId: import_smithy_client.expectString,\n AutomationExecutionStatus: import_smithy_client.expectString,\n AutomationSubtype: import_smithy_client.expectString,\n ChangeRequestName: import_smithy_client.expectString,\n CurrentAction: import_smithy_client.expectString,\n CurrentStepName: import_smithy_client.expectString,\n DocumentName: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n ExecutedBy: import_smithy_client.expectString,\n ExecutionEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionEndTime\"),\n ExecutionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionStartTime\"),\n FailureMessage: import_smithy_client.expectString,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Mode: import_smithy_client.expectString,\n OpsItemId: import_smithy_client.expectString,\n Outputs: import_smithy_client._json,\n Parameters: import_smithy_client._json,\n ParentAutomationExecutionId: import_smithy_client.expectString,\n ProgressCounters: import_smithy_client._json,\n ResolvedTargets: import_smithy_client._json,\n Runbooks: import_smithy_client._json,\n ScheduledTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ScheduledTime\"),\n StepExecutions: /* @__PURE__ */ __name((_) => de_StepExecutionList(_, context), \"StepExecutions\"),\n StepExecutionsTruncated: import_smithy_client.expectBoolean,\n Target: import_smithy_client.expectString,\n TargetLocations: import_smithy_client._json,\n TargetLocationsURL: import_smithy_client.expectString,\n TargetMaps: import_smithy_client._json,\n TargetParameterName: import_smithy_client.expectString,\n Targets: import_smithy_client._json,\n TriggeredAlarms: import_smithy_client._json,\n Variables: import_smithy_client._json\n });\n}, \"de_AutomationExecution\");\nvar de_AutomationExecutionMetadata = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n AssociationId: import_smithy_client.expectString,\n AutomationExecutionId: import_smithy_client.expectString,\n AutomationExecutionStatus: import_smithy_client.expectString,\n AutomationSubtype: import_smithy_client.expectString,\n AutomationType: import_smithy_client.expectString,\n ChangeRequestName: import_smithy_client.expectString,\n CurrentAction: import_smithy_client.expectString,\n CurrentStepName: import_smithy_client.expectString,\n DocumentName: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n ExecutedBy: import_smithy_client.expectString,\n ExecutionEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionEndTime\"),\n ExecutionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionStartTime\"),\n FailureMessage: import_smithy_client.expectString,\n LogFile: import_smithy_client.expectString,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Mode: import_smithy_client.expectString,\n OpsItemId: import_smithy_client.expectString,\n Outputs: import_smithy_client._json,\n ParentAutomationExecutionId: import_smithy_client.expectString,\n ResolvedTargets: import_smithy_client._json,\n Runbooks: import_smithy_client._json,\n ScheduledTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ScheduledTime\"),\n Target: import_smithy_client.expectString,\n TargetLocationsURL: import_smithy_client.expectString,\n TargetMaps: import_smithy_client._json,\n TargetParameterName: import_smithy_client.expectString,\n Targets: import_smithy_client._json,\n TriggeredAlarms: import_smithy_client._json\n });\n}, \"de_AutomationExecutionMetadata\");\nvar de_AutomationExecutionMetadataList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_AutomationExecutionMetadata(entry, context);\n });\n return retVal;\n}, \"de_AutomationExecutionMetadataList\");\nvar de_Command = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n CloudWatchOutputConfig: import_smithy_client._json,\n CommandId: import_smithy_client.expectString,\n Comment: import_smithy_client.expectString,\n CompletedCount: import_smithy_client.expectInt32,\n DeliveryTimedOutCount: import_smithy_client.expectInt32,\n DocumentName: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n ErrorCount: import_smithy_client.expectInt32,\n ExpiresAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExpiresAfter\"),\n InstanceIds: import_smithy_client._json,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n NotificationConfig: import_smithy_client._json,\n OutputS3BucketName: import_smithy_client.expectString,\n OutputS3KeyPrefix: import_smithy_client.expectString,\n OutputS3Region: import_smithy_client.expectString,\n Parameters: import_smithy_client._json,\n RequestedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"RequestedDateTime\"),\n ServiceRole: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TargetCount: import_smithy_client.expectInt32,\n Targets: import_smithy_client._json,\n TimeoutSeconds: import_smithy_client.expectInt32,\n TriggeredAlarms: import_smithy_client._json\n });\n}, \"de_Command\");\nvar de_CommandInvocation = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CloudWatchOutputConfig: import_smithy_client._json,\n CommandId: import_smithy_client.expectString,\n CommandPlugins: /* @__PURE__ */ __name((_) => de_CommandPluginList(_, context), \"CommandPlugins\"),\n Comment: import_smithy_client.expectString,\n DocumentName: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n InstanceId: import_smithy_client.expectString,\n InstanceName: import_smithy_client.expectString,\n NotificationConfig: import_smithy_client._json,\n RequestedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"RequestedDateTime\"),\n ServiceRole: import_smithy_client.expectString,\n StandardErrorUrl: import_smithy_client.expectString,\n StandardOutputUrl: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TraceOutput: import_smithy_client.expectString\n });\n}, \"de_CommandInvocation\");\nvar de_CommandInvocationList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_CommandInvocation(entry, context);\n });\n return retVal;\n}, \"de_CommandInvocationList\");\nvar de_CommandList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Command(entry, context);\n });\n return retVal;\n}, \"de_CommandList\");\nvar de_CommandPlugin = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Name: import_smithy_client.expectString,\n Output: import_smithy_client.expectString,\n OutputS3BucketName: import_smithy_client.expectString,\n OutputS3KeyPrefix: import_smithy_client.expectString,\n OutputS3Region: import_smithy_client.expectString,\n ResponseCode: import_smithy_client.expectInt32,\n ResponseFinishDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ResponseFinishDateTime\"),\n ResponseStartDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ResponseStartDateTime\"),\n StandardErrorUrl: import_smithy_client.expectString,\n StandardOutputUrl: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString\n });\n}, \"de_CommandPlugin\");\nvar de_CommandPluginList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_CommandPlugin(entry, context);\n });\n return retVal;\n}, \"de_CommandPluginList\");\nvar de_ComplianceExecutionSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ExecutionId: import_smithy_client.expectString,\n ExecutionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionTime\"),\n ExecutionType: import_smithy_client.expectString\n });\n}, \"de_ComplianceExecutionSummary\");\nvar de_ComplianceItem = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ComplianceType: import_smithy_client.expectString,\n Details: import_smithy_client._json,\n ExecutionSummary: /* @__PURE__ */ __name((_) => de_ComplianceExecutionSummary(_, context), \"ExecutionSummary\"),\n Id: import_smithy_client.expectString,\n ResourceId: import_smithy_client.expectString,\n ResourceType: import_smithy_client.expectString,\n Severity: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n Title: import_smithy_client.expectString\n });\n}, \"de_ComplianceItem\");\nvar de_ComplianceItemList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ComplianceItem(entry, context);\n });\n return retVal;\n}, \"de_ComplianceItemList\");\nvar de_CreateAssociationBatchResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Failed: import_smithy_client._json,\n Successful: /* @__PURE__ */ __name((_) => de_AssociationDescriptionList(_, context), \"Successful\")\n });\n}, \"de_CreateAssociationBatchResult\");\nvar de_CreateAssociationResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationDescription: /* @__PURE__ */ __name((_) => de_AssociationDescription(_, context), \"AssociationDescription\")\n });\n}, \"de_CreateAssociationResult\");\nvar de_CreateDocumentResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DocumentDescription: /* @__PURE__ */ __name((_) => de_DocumentDescription(_, context), \"DocumentDescription\")\n });\n}, \"de_CreateDocumentResult\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AccessKeyId: import_smithy_client.expectString,\n ExpirationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExpirationTime\"),\n SecretAccessKey: import_smithy_client.expectString,\n SessionToken: import_smithy_client.expectString\n });\n}, \"de_Credentials\");\nvar de_DescribeActivationsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActivationList: /* @__PURE__ */ __name((_) => de_ActivationList(_, context), \"ActivationList\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeActivationsResult\");\nvar de_DescribeAssociationExecutionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationExecutions: /* @__PURE__ */ __name((_) => de_AssociationExecutionsList(_, context), \"AssociationExecutions\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeAssociationExecutionsResult\");\nvar de_DescribeAssociationExecutionTargetsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationExecutionTargets: /* @__PURE__ */ __name((_) => de_AssociationExecutionTargetsList(_, context), \"AssociationExecutionTargets\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeAssociationExecutionTargetsResult\");\nvar de_DescribeAssociationResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationDescription: /* @__PURE__ */ __name((_) => de_AssociationDescription(_, context), \"AssociationDescription\")\n });\n}, \"de_DescribeAssociationResult\");\nvar de_DescribeAutomationExecutionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AutomationExecutionMetadataList: /* @__PURE__ */ __name((_) => de_AutomationExecutionMetadataList(_, context), \"AutomationExecutionMetadataList\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeAutomationExecutionsResult\");\nvar de_DescribeAutomationStepExecutionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n StepExecutions: /* @__PURE__ */ __name((_) => de_StepExecutionList(_, context), \"StepExecutions\")\n });\n}, \"de_DescribeAutomationStepExecutionsResult\");\nvar de_DescribeAvailablePatchesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Patches: /* @__PURE__ */ __name((_) => de_PatchList(_, context), \"Patches\")\n });\n}, \"de_DescribeAvailablePatchesResult\");\nvar de_DescribeDocumentResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Document: /* @__PURE__ */ __name((_) => de_DocumentDescription(_, context), \"Document\")\n });\n}, \"de_DescribeDocumentResult\");\nvar de_DescribeEffectivePatchesForPatchBaselineResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EffectivePatches: /* @__PURE__ */ __name((_) => de_EffectivePatchList(_, context), \"EffectivePatches\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeEffectivePatchesForPatchBaselineResult\");\nvar de_DescribeInstanceAssociationsStatusResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InstanceAssociationStatusInfos: /* @__PURE__ */ __name((_) => de_InstanceAssociationStatusInfos(_, context), \"InstanceAssociationStatusInfos\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInstanceAssociationsStatusResult\");\nvar de_DescribeInstanceInformationResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InstanceInformationList: /* @__PURE__ */ __name((_) => de_InstanceInformationList(_, context), \"InstanceInformationList\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInstanceInformationResult\");\nvar de_DescribeInstancePatchesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Patches: /* @__PURE__ */ __name((_) => de_PatchComplianceDataList(_, context), \"Patches\")\n });\n}, \"de_DescribeInstancePatchesResult\");\nvar de_DescribeInstancePatchStatesForPatchGroupResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InstancePatchStates: /* @__PURE__ */ __name((_) => de_InstancePatchStatesList(_, context), \"InstancePatchStates\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInstancePatchStatesForPatchGroupResult\");\nvar de_DescribeInstancePatchStatesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InstancePatchStates: /* @__PURE__ */ __name((_) => de_InstancePatchStateList(_, context), \"InstancePatchStates\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInstancePatchStatesResult\");\nvar de_DescribeInstancePropertiesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InstanceProperties: /* @__PURE__ */ __name((_) => de_InstanceProperties(_, context), \"InstanceProperties\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInstancePropertiesResult\");\nvar de_DescribeInventoryDeletionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InventoryDeletions: /* @__PURE__ */ __name((_) => de_InventoryDeletionsList(_, context), \"InventoryDeletions\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_DescribeInventoryDeletionsResult\");\nvar de_DescribeMaintenanceWindowExecutionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n WindowExecutions: /* @__PURE__ */ __name((_) => de_MaintenanceWindowExecutionList(_, context), \"WindowExecutions\")\n });\n}, \"de_DescribeMaintenanceWindowExecutionsResult\");\nvar de_DescribeMaintenanceWindowExecutionTaskInvocationsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n WindowExecutionTaskInvocationIdentities: /* @__PURE__ */ __name((_) => de_MaintenanceWindowExecutionTaskInvocationIdentityList(_, context), \"WindowExecutionTaskInvocationIdentities\")\n });\n}, \"de_DescribeMaintenanceWindowExecutionTaskInvocationsResult\");\nvar de_DescribeMaintenanceWindowExecutionTasksResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n WindowExecutionTaskIdentities: /* @__PURE__ */ __name((_) => de_MaintenanceWindowExecutionTaskIdentityList(_, context), \"WindowExecutionTaskIdentities\")\n });\n}, \"de_DescribeMaintenanceWindowExecutionTasksResult\");\nvar de_DescribeOpsItemsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n OpsItemSummaries: /* @__PURE__ */ __name((_) => de_OpsItemSummaries(_, context), \"OpsItemSummaries\")\n });\n}, \"de_DescribeOpsItemsResponse\");\nvar de_DescribeParametersResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Parameters: /* @__PURE__ */ __name((_) => de_ParameterMetadataList(_, context), \"Parameters\")\n });\n}, \"de_DescribeParametersResult\");\nvar de_DescribeSessionsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Sessions: /* @__PURE__ */ __name((_) => de_SessionList(_, context), \"Sessions\")\n });\n}, \"de_DescribeSessionsResponse\");\nvar de_DocumentDescription = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ApprovedVersion: import_smithy_client.expectString,\n AttachmentsInformation: import_smithy_client._json,\n Author: import_smithy_client.expectString,\n Category: import_smithy_client._json,\n CategoryEnum: import_smithy_client._json,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DefaultVersion: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n DisplayName: import_smithy_client.expectString,\n DocumentFormat: import_smithy_client.expectString,\n DocumentType: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n Hash: import_smithy_client.expectString,\n HashType: import_smithy_client.expectString,\n LatestVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Owner: import_smithy_client.expectString,\n Parameters: import_smithy_client._json,\n PendingReviewVersion: import_smithy_client.expectString,\n PlatformTypes: import_smithy_client._json,\n Requires: import_smithy_client._json,\n ReviewInformation: /* @__PURE__ */ __name((_) => de_ReviewInformationList(_, context), \"ReviewInformation\"),\n ReviewStatus: import_smithy_client.expectString,\n SchemaVersion: import_smithy_client.expectString,\n Sha1: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusInformation: import_smithy_client.expectString,\n Tags: import_smithy_client._json,\n TargetType: import_smithy_client.expectString,\n VersionName: import_smithy_client.expectString\n });\n}, \"de_DocumentDescription\");\nvar de_DocumentIdentifier = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Author: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DisplayName: import_smithy_client.expectString,\n DocumentFormat: import_smithy_client.expectString,\n DocumentType: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Owner: import_smithy_client.expectString,\n PlatformTypes: import_smithy_client._json,\n Requires: import_smithy_client._json,\n ReviewStatus: import_smithy_client.expectString,\n SchemaVersion: import_smithy_client.expectString,\n Tags: import_smithy_client._json,\n TargetType: import_smithy_client.expectString,\n VersionName: import_smithy_client.expectString\n });\n}, \"de_DocumentIdentifier\");\nvar de_DocumentIdentifierList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_DocumentIdentifier(entry, context);\n });\n return retVal;\n}, \"de_DocumentIdentifierList\");\nvar de_DocumentMetadataResponseInfo = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ReviewerResponse: /* @__PURE__ */ __name((_) => de_DocumentReviewerResponseList(_, context), \"ReviewerResponse\")\n });\n}, \"de_DocumentMetadataResponseInfo\");\nvar de_DocumentReviewerResponseList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_DocumentReviewerResponseSource(entry, context);\n });\n return retVal;\n}, \"de_DocumentReviewerResponseList\");\nvar de_DocumentReviewerResponseSource = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Comment: import_smithy_client._json,\n CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreateTime\"),\n ReviewStatus: import_smithy_client.expectString,\n Reviewer: import_smithy_client.expectString,\n UpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"UpdatedTime\")\n });\n}, \"de_DocumentReviewerResponseSource\");\nvar de_DocumentVersionInfo = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DisplayName: import_smithy_client.expectString,\n DocumentFormat: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n IsDefaultVersion: import_smithy_client.expectBoolean,\n Name: import_smithy_client.expectString,\n ReviewStatus: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusInformation: import_smithy_client.expectString,\n VersionName: import_smithy_client.expectString\n });\n}, \"de_DocumentVersionInfo\");\nvar de_DocumentVersionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_DocumentVersionInfo(entry, context);\n });\n return retVal;\n}, \"de_DocumentVersionList\");\nvar de_EffectivePatch = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Patch: /* @__PURE__ */ __name((_) => de_Patch(_, context), \"Patch\"),\n PatchStatus: /* @__PURE__ */ __name((_) => de_PatchStatus(_, context), \"PatchStatus\")\n });\n}, \"de_EffectivePatch\");\nvar de_EffectivePatchList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_EffectivePatch(entry, context);\n });\n return retVal;\n}, \"de_EffectivePatchList\");\nvar de_GetAccessTokenResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AccessRequestStatus: import_smithy_client.expectString,\n Credentials: /* @__PURE__ */ __name((_) => de_Credentials(_, context), \"Credentials\")\n });\n}, \"de_GetAccessTokenResponse\");\nvar de_GetAutomationExecutionResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AutomationExecution: /* @__PURE__ */ __name((_) => de_AutomationExecution(_, context), \"AutomationExecution\")\n });\n}, \"de_GetAutomationExecutionResult\");\nvar de_GetDocumentResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AttachmentsContent: import_smithy_client._json,\n Content: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n DisplayName: import_smithy_client.expectString,\n DocumentFormat: import_smithy_client.expectString,\n DocumentType: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Requires: import_smithy_client._json,\n ReviewStatus: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusInformation: import_smithy_client.expectString,\n VersionName: import_smithy_client.expectString\n });\n}, \"de_GetDocumentResult\");\nvar de_GetExecutionPreviewResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EndedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndedAt\"),\n ExecutionPreview: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), \"ExecutionPreview\"),\n ExecutionPreviewId: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n StatusMessage: import_smithy_client.expectString\n });\n}, \"de_GetExecutionPreviewResponse\");\nvar de_GetMaintenanceWindowExecutionResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TaskIds: import_smithy_client._json,\n WindowExecutionId: import_smithy_client.expectString\n });\n}, \"de_GetMaintenanceWindowExecutionResult\");\nvar de_GetMaintenanceWindowExecutionTaskInvocationResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n ExecutionId: import_smithy_client.expectString,\n InvocationId: import_smithy_client.expectString,\n OwnerInformation: import_smithy_client.expectString,\n Parameters: import_smithy_client.expectString,\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TaskExecutionId: import_smithy_client.expectString,\n TaskType: import_smithy_client.expectString,\n WindowExecutionId: import_smithy_client.expectString,\n WindowTargetId: import_smithy_client.expectString\n });\n}, \"de_GetMaintenanceWindowExecutionTaskInvocationResult\");\nvar de_GetMaintenanceWindowExecutionTaskResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Priority: import_smithy_client.expectInt32,\n ServiceRole: import_smithy_client.expectString,\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TaskArn: import_smithy_client.expectString,\n TaskExecutionId: import_smithy_client.expectString,\n TaskParameters: import_smithy_client._json,\n TriggeredAlarms: import_smithy_client._json,\n Type: import_smithy_client.expectString,\n WindowExecutionId: import_smithy_client.expectString\n });\n}, \"de_GetMaintenanceWindowExecutionTaskResult\");\nvar de_GetMaintenanceWindowResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AllowUnassociatedTargets: import_smithy_client.expectBoolean,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n Cutoff: import_smithy_client.expectInt32,\n Description: import_smithy_client.expectString,\n Duration: import_smithy_client.expectInt32,\n Enabled: import_smithy_client.expectBoolean,\n EndDate: import_smithy_client.expectString,\n ModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ModifiedDate\"),\n Name: import_smithy_client.expectString,\n NextExecutionTime: import_smithy_client.expectString,\n Schedule: import_smithy_client.expectString,\n ScheduleOffset: import_smithy_client.expectInt32,\n ScheduleTimezone: import_smithy_client.expectString,\n StartDate: import_smithy_client.expectString,\n WindowId: import_smithy_client.expectString\n });\n}, \"de_GetMaintenanceWindowResult\");\nvar de_GetMaintenanceWindowTaskResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n CutoffBehavior: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n LoggingInfo: import_smithy_client._json,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Priority: import_smithy_client.expectInt32,\n ServiceRoleArn: import_smithy_client.expectString,\n Targets: import_smithy_client._json,\n TaskArn: import_smithy_client.expectString,\n TaskInvocationParameters: /* @__PURE__ */ __name((_) => de_MaintenanceWindowTaskInvocationParameters(_, context), \"TaskInvocationParameters\"),\n TaskParameters: import_smithy_client._json,\n TaskType: import_smithy_client.expectString,\n WindowId: import_smithy_client.expectString,\n WindowTaskId: import_smithy_client.expectString\n });\n}, \"de_GetMaintenanceWindowTaskResult\");\nvar de_GetOpsItemResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n OpsItem: /* @__PURE__ */ __name((_) => de_OpsItem(_, context), \"OpsItem\")\n });\n}, \"de_GetOpsItemResponse\");\nvar de_GetParameterHistoryResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Parameters: /* @__PURE__ */ __name((_) => de_ParameterHistoryList(_, context), \"Parameters\")\n });\n}, \"de_GetParameterHistoryResult\");\nvar de_GetParameterResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Parameter: /* @__PURE__ */ __name((_) => de_Parameter(_, context), \"Parameter\")\n });\n}, \"de_GetParameterResult\");\nvar de_GetParametersByPathResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Parameters: /* @__PURE__ */ __name((_) => de_ParameterList(_, context), \"Parameters\")\n });\n}, \"de_GetParametersByPathResult\");\nvar de_GetParametersResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n InvalidParameters: import_smithy_client._json,\n Parameters: /* @__PURE__ */ __name((_) => de_ParameterList(_, context), \"Parameters\")\n });\n}, \"de_GetParametersResult\");\nvar de_GetPatchBaselineResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ApprovalRules: import_smithy_client._json,\n ApprovedPatches: import_smithy_client._json,\n ApprovedPatchesComplianceLevel: import_smithy_client.expectString,\n ApprovedPatchesEnableNonSecurity: import_smithy_client.expectBoolean,\n AvailableSecurityUpdatesComplianceStatus: import_smithy_client.expectString,\n BaselineId: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n Description: import_smithy_client.expectString,\n GlobalFilters: import_smithy_client._json,\n ModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ModifiedDate\"),\n Name: import_smithy_client.expectString,\n OperatingSystem: import_smithy_client.expectString,\n PatchGroups: import_smithy_client._json,\n RejectedPatches: import_smithy_client._json,\n RejectedPatchesAction: import_smithy_client.expectString,\n Sources: import_smithy_client._json\n });\n}, \"de_GetPatchBaselineResult\");\nvar de_GetServiceSettingResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ServiceSetting: /* @__PURE__ */ __name((_) => de_ServiceSetting(_, context), \"ServiceSetting\")\n });\n}, \"de_GetServiceSettingResult\");\nvar de_InstanceAssociationStatusInfo = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationId: import_smithy_client.expectString,\n AssociationName: import_smithy_client.expectString,\n AssociationVersion: import_smithy_client.expectString,\n DetailedStatus: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n ErrorCode: import_smithy_client.expectString,\n ExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionDate\"),\n ExecutionSummary: import_smithy_client.expectString,\n InstanceId: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n OutputUrl: import_smithy_client._json,\n Status: import_smithy_client.expectString\n });\n}, \"de_InstanceAssociationStatusInfo\");\nvar de_InstanceAssociationStatusInfos = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceAssociationStatusInfo(entry, context);\n });\n return retVal;\n}, \"de_InstanceAssociationStatusInfos\");\nvar de_InstanceInformation = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActivationId: import_smithy_client.expectString,\n AgentVersion: import_smithy_client.expectString,\n AssociationOverview: import_smithy_client._json,\n AssociationStatus: import_smithy_client.expectString,\n ComputerName: import_smithy_client.expectString,\n IPAddress: import_smithy_client.expectString,\n IamRole: import_smithy_client.expectString,\n InstanceId: import_smithy_client.expectString,\n IsLatestVersion: import_smithy_client.expectBoolean,\n LastAssociationExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAssociationExecutionDate\"),\n LastPingDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastPingDateTime\"),\n LastSuccessfulAssociationExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastSuccessfulAssociationExecutionDate\"),\n Name: import_smithy_client.expectString,\n PingStatus: import_smithy_client.expectString,\n PlatformName: import_smithy_client.expectString,\n PlatformType: import_smithy_client.expectString,\n PlatformVersion: import_smithy_client.expectString,\n RegistrationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"RegistrationDate\"),\n ResourceType: import_smithy_client.expectString,\n SourceId: import_smithy_client.expectString,\n SourceType: import_smithy_client.expectString\n });\n}, \"de_InstanceInformation\");\nvar de_InstanceInformationList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceInformation(entry, context);\n });\n return retVal;\n}, \"de_InstanceInformationList\");\nvar de_InstancePatchState = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AvailableSecurityUpdateCount: import_smithy_client.expectInt32,\n BaselineId: import_smithy_client.expectString,\n CriticalNonCompliantCount: import_smithy_client.expectInt32,\n FailedCount: import_smithy_client.expectInt32,\n InstallOverrideList: import_smithy_client.expectString,\n InstalledCount: import_smithy_client.expectInt32,\n InstalledOtherCount: import_smithy_client.expectInt32,\n InstalledPendingRebootCount: import_smithy_client.expectInt32,\n InstalledRejectedCount: import_smithy_client.expectInt32,\n InstanceId: import_smithy_client.expectString,\n LastNoRebootInstallOperationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastNoRebootInstallOperationTime\"),\n MissingCount: import_smithy_client.expectInt32,\n NotApplicableCount: import_smithy_client.expectInt32,\n Operation: import_smithy_client.expectString,\n OperationEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"OperationEndTime\"),\n OperationStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"OperationStartTime\"),\n OtherNonCompliantCount: import_smithy_client.expectInt32,\n OwnerInformation: import_smithy_client.expectString,\n PatchGroup: import_smithy_client.expectString,\n RebootOption: import_smithy_client.expectString,\n SecurityNonCompliantCount: import_smithy_client.expectInt32,\n SnapshotId: import_smithy_client.expectString,\n UnreportedNotApplicableCount: import_smithy_client.expectInt32\n });\n}, \"de_InstancePatchState\");\nvar de_InstancePatchStateList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InstancePatchState(entry, context);\n });\n return retVal;\n}, \"de_InstancePatchStateList\");\nvar de_InstancePatchStatesList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InstancePatchState(entry, context);\n });\n return retVal;\n}, \"de_InstancePatchStatesList\");\nvar de_InstanceProperties = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InstanceProperty(entry, context);\n });\n return retVal;\n}, \"de_InstanceProperties\");\nvar de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActivationId: import_smithy_client.expectString,\n AgentVersion: import_smithy_client.expectString,\n Architecture: import_smithy_client.expectString,\n AssociationOverview: import_smithy_client._json,\n AssociationStatus: import_smithy_client.expectString,\n ComputerName: import_smithy_client.expectString,\n IPAddress: import_smithy_client.expectString,\n IamRole: import_smithy_client.expectString,\n InstanceId: import_smithy_client.expectString,\n InstanceRole: import_smithy_client.expectString,\n InstanceState: import_smithy_client.expectString,\n InstanceType: import_smithy_client.expectString,\n KeyName: import_smithy_client.expectString,\n LastAssociationExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastAssociationExecutionDate\"),\n LastPingDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastPingDateTime\"),\n LastSuccessfulAssociationExecutionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastSuccessfulAssociationExecutionDate\"),\n LaunchTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LaunchTime\"),\n Name: import_smithy_client.expectString,\n PingStatus: import_smithy_client.expectString,\n PlatformName: import_smithy_client.expectString,\n PlatformType: import_smithy_client.expectString,\n PlatformVersion: import_smithy_client.expectString,\n RegistrationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"RegistrationDate\"),\n ResourceType: import_smithy_client.expectString,\n SourceId: import_smithy_client.expectString,\n SourceType: import_smithy_client.expectString\n });\n}, \"de_InstanceProperty\");\nvar de_InventoryDeletionsList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_InventoryDeletionStatusItem(entry, context);\n });\n return retVal;\n}, \"de_InventoryDeletionsList\");\nvar de_InventoryDeletionStatusItem = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DeletionId: import_smithy_client.expectString,\n DeletionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"DeletionStartTime\"),\n DeletionSummary: import_smithy_client._json,\n LastStatus: import_smithy_client.expectString,\n LastStatusMessage: import_smithy_client.expectString,\n LastStatusUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastStatusUpdateTime\"),\n TypeName: import_smithy_client.expectString\n });\n}, \"de_InventoryDeletionStatusItem\");\nvar de_ListAssociationsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Associations: /* @__PURE__ */ __name((_) => de_AssociationList(_, context), \"Associations\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListAssociationsResult\");\nvar de_ListAssociationVersionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationVersions: /* @__PURE__ */ __name((_) => de_AssociationVersionList(_, context), \"AssociationVersions\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListAssociationVersionsResult\");\nvar de_ListCommandInvocationsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CommandInvocations: /* @__PURE__ */ __name((_) => de_CommandInvocationList(_, context), \"CommandInvocations\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListCommandInvocationsResult\");\nvar de_ListCommandsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Commands: /* @__PURE__ */ __name((_) => de_CommandList(_, context), \"Commands\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListCommandsResult\");\nvar de_ListComplianceItemsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ComplianceItems: /* @__PURE__ */ __name((_) => de_ComplianceItemList(_, context), \"ComplianceItems\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListComplianceItemsResult\");\nvar de_ListDocumentMetadataHistoryResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Author: import_smithy_client.expectString,\n DocumentVersion: import_smithy_client.expectString,\n Metadata: /* @__PURE__ */ __name((_) => de_DocumentMetadataResponseInfo(_, context), \"Metadata\"),\n Name: import_smithy_client.expectString,\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListDocumentMetadataHistoryResponse\");\nvar de_ListDocumentsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DocumentIdentifiers: /* @__PURE__ */ __name((_) => de_DocumentIdentifierList(_, context), \"DocumentIdentifiers\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListDocumentsResult\");\nvar de_ListDocumentVersionsResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DocumentVersions: /* @__PURE__ */ __name((_) => de_DocumentVersionList(_, context), \"DocumentVersions\"),\n NextToken: import_smithy_client.expectString\n });\n}, \"de_ListDocumentVersionsResult\");\nvar de_ListNodesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Nodes: /* @__PURE__ */ __name((_) => de_NodeList(_, context), \"Nodes\")\n });\n}, \"de_ListNodesResult\");\nvar de_ListOpsItemEventsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Summaries: /* @__PURE__ */ __name((_) => de_OpsItemEventSummaries(_, context), \"Summaries\")\n });\n}, \"de_ListOpsItemEventsResponse\");\nvar de_ListOpsItemRelatedItemsResponse = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n Summaries: /* @__PURE__ */ __name((_) => de_OpsItemRelatedItemSummaries(_, context), \"Summaries\")\n });\n}, \"de_ListOpsItemRelatedItemsResponse\");\nvar de_ListOpsMetadataResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n OpsMetadataList: /* @__PURE__ */ __name((_) => de_OpsMetadataList(_, context), \"OpsMetadataList\")\n });\n}, \"de_ListOpsMetadataResult\");\nvar de_ListResourceComplianceSummariesResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n ResourceComplianceSummaryItems: /* @__PURE__ */ __name((_) => de_ResourceComplianceSummaryItemList(_, context), \"ResourceComplianceSummaryItems\")\n });\n}, \"de_ListResourceComplianceSummariesResult\");\nvar de_ListResourceDataSyncResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n NextToken: import_smithy_client.expectString,\n ResourceDataSyncItems: /* @__PURE__ */ __name((_) => de_ResourceDataSyncItemList(_, context), \"ResourceDataSyncItems\")\n });\n}, \"de_ListResourceDataSyncResult\");\nvar de_MaintenanceWindowExecution = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n WindowExecutionId: import_smithy_client.expectString,\n WindowId: import_smithy_client.expectString\n });\n}, \"de_MaintenanceWindowExecution\");\nvar de_MaintenanceWindowExecutionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_MaintenanceWindowExecution(entry, context);\n });\n return retVal;\n}, \"de_MaintenanceWindowExecutionList\");\nvar de_MaintenanceWindowExecutionTaskIdentity = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TaskArn: import_smithy_client.expectString,\n TaskExecutionId: import_smithy_client.expectString,\n TaskType: import_smithy_client.expectString,\n TriggeredAlarms: import_smithy_client._json,\n WindowExecutionId: import_smithy_client.expectString\n });\n}, \"de_MaintenanceWindowExecutionTaskIdentity\");\nvar de_MaintenanceWindowExecutionTaskIdentityList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_MaintenanceWindowExecutionTaskIdentity(entry, context);\n });\n return retVal;\n}, \"de_MaintenanceWindowExecutionTaskIdentityList\");\nvar de_MaintenanceWindowExecutionTaskInvocationIdentity = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndTime\"),\n ExecutionId: import_smithy_client.expectString,\n InvocationId: import_smithy_client.expectString,\n OwnerInformation: import_smithy_client.expectString,\n Parameters: import_smithy_client.expectString,\n StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartTime\"),\n Status: import_smithy_client.expectString,\n StatusDetails: import_smithy_client.expectString,\n TaskExecutionId: import_smithy_client.expectString,\n TaskType: import_smithy_client.expectString,\n WindowExecutionId: import_smithy_client.expectString,\n WindowTargetId: import_smithy_client.expectString\n });\n}, \"de_MaintenanceWindowExecutionTaskInvocationIdentity\");\nvar de_MaintenanceWindowExecutionTaskInvocationIdentityList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_MaintenanceWindowExecutionTaskInvocationIdentity(entry, context);\n });\n return retVal;\n}, \"de_MaintenanceWindowExecutionTaskInvocationIdentityList\");\nvar de_MaintenanceWindowLambdaParameters = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ClientContext: import_smithy_client.expectString,\n Payload: context.base64Decoder,\n Qualifier: import_smithy_client.expectString\n });\n}, \"de_MaintenanceWindowLambdaParameters\");\nvar de_MaintenanceWindowTaskInvocationParameters = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Automation: import_smithy_client._json,\n Lambda: /* @__PURE__ */ __name((_) => de_MaintenanceWindowLambdaParameters(_, context), \"Lambda\"),\n RunCommand: import_smithy_client._json,\n StepFunctions: import_smithy_client._json\n });\n}, \"de_MaintenanceWindowTaskInvocationParameters\");\nvar de_Node = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CaptureTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CaptureTime\"),\n Id: import_smithy_client.expectString,\n NodeType: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), \"NodeType\"),\n Owner: import_smithy_client._json,\n Region: import_smithy_client.expectString\n });\n}, \"de_Node\");\nvar de_NodeList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Node(entry, context);\n });\n return retVal;\n}, \"de_NodeList\");\nvar de_OpsItem = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActualEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ActualEndTime\"),\n ActualStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ActualStartTime\"),\n Category: import_smithy_client.expectString,\n CreatedBy: import_smithy_client.expectString,\n CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedTime\"),\n Description: import_smithy_client.expectString,\n LastModifiedBy: import_smithy_client.expectString,\n LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedTime\"),\n Notifications: import_smithy_client._json,\n OperationalData: import_smithy_client._json,\n OpsItemArn: import_smithy_client.expectString,\n OpsItemId: import_smithy_client.expectString,\n OpsItemType: import_smithy_client.expectString,\n PlannedEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"PlannedEndTime\"),\n PlannedStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"PlannedStartTime\"),\n Priority: import_smithy_client.expectInt32,\n RelatedOpsItems: import_smithy_client._json,\n Severity: import_smithy_client.expectString,\n Source: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n Title: import_smithy_client.expectString,\n Version: import_smithy_client.expectString\n });\n}, \"de_OpsItem\");\nvar de_OpsItemEventSummaries = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_OpsItemEventSummary(entry, context);\n });\n return retVal;\n}, \"de_OpsItemEventSummaries\");\nvar de_OpsItemEventSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CreatedBy: import_smithy_client._json,\n CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedTime\"),\n Detail: import_smithy_client.expectString,\n DetailType: import_smithy_client.expectString,\n EventId: import_smithy_client.expectString,\n OpsItemId: import_smithy_client.expectString,\n Source: import_smithy_client.expectString\n });\n}, \"de_OpsItemEventSummary\");\nvar de_OpsItemRelatedItemSummaries = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_OpsItemRelatedItemSummary(entry, context);\n });\n return retVal;\n}, \"de_OpsItemRelatedItemSummaries\");\nvar de_OpsItemRelatedItemSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationId: import_smithy_client.expectString,\n AssociationType: import_smithy_client.expectString,\n CreatedBy: import_smithy_client._json,\n CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedTime\"),\n LastModifiedBy: import_smithy_client._json,\n LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedTime\"),\n OpsItemId: import_smithy_client.expectString,\n ResourceType: import_smithy_client.expectString,\n ResourceUri: import_smithy_client.expectString\n });\n}, \"de_OpsItemRelatedItemSummary\");\nvar de_OpsItemSummaries = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_OpsItemSummary(entry, context);\n });\n return retVal;\n}, \"de_OpsItemSummaries\");\nvar de_OpsItemSummary = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ActualEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ActualEndTime\"),\n ActualStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ActualStartTime\"),\n Category: import_smithy_client.expectString,\n CreatedBy: import_smithy_client.expectString,\n CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedTime\"),\n LastModifiedBy: import_smithy_client.expectString,\n LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedTime\"),\n OperationalData: import_smithy_client._json,\n OpsItemId: import_smithy_client.expectString,\n OpsItemType: import_smithy_client.expectString,\n PlannedEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"PlannedEndTime\"),\n PlannedStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"PlannedStartTime\"),\n Priority: import_smithy_client.expectInt32,\n Severity: import_smithy_client.expectString,\n Source: import_smithy_client.expectString,\n Status: import_smithy_client.expectString,\n Title: import_smithy_client.expectString\n });\n}, \"de_OpsItemSummary\");\nvar de_OpsMetadata = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreationDate\"),\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n LastModifiedUser: import_smithy_client.expectString,\n OpsMetadataArn: import_smithy_client.expectString,\n ResourceId: import_smithy_client.expectString\n });\n}, \"de_OpsMetadata\");\nvar de_OpsMetadataList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_OpsMetadata(entry, context);\n });\n return retVal;\n}, \"de_OpsMetadataList\");\nvar de_Parameter = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n DataType: import_smithy_client.expectString,\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n Name: import_smithy_client.expectString,\n Selector: import_smithy_client.expectString,\n SourceResult: import_smithy_client.expectString,\n Type: import_smithy_client.expectString,\n Value: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n}, \"de_Parameter\");\nvar de_ParameterHistory = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AllowedPattern: import_smithy_client.expectString,\n DataType: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n KeyId: import_smithy_client.expectString,\n Labels: import_smithy_client._json,\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n LastModifiedUser: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Policies: import_smithy_client._json,\n Tier: import_smithy_client.expectString,\n Type: import_smithy_client.expectString,\n Value: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n}, \"de_ParameterHistory\");\nvar de_ParameterHistoryList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ParameterHistory(entry, context);\n });\n return retVal;\n}, \"de_ParameterHistoryList\");\nvar de_ParameterList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Parameter(entry, context);\n });\n return retVal;\n}, \"de_ParameterList\");\nvar de_ParameterMetadata = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n AllowedPattern: import_smithy_client.expectString,\n DataType: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n KeyId: import_smithy_client.expectString,\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n LastModifiedUser: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Policies: import_smithy_client._json,\n Tier: import_smithy_client.expectString,\n Type: import_smithy_client.expectString,\n Version: import_smithy_client.expectLong\n });\n}, \"de_ParameterMetadata\");\nvar de_ParameterMetadataList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ParameterMetadata(entry, context);\n });\n return retVal;\n}, \"de_ParameterMetadataList\");\nvar de_Patch = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AdvisoryIds: import_smithy_client._json,\n Arch: import_smithy_client.expectString,\n BugzillaIds: import_smithy_client._json,\n CVEIds: import_smithy_client._json,\n Classification: import_smithy_client.expectString,\n ContentUrl: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n Epoch: import_smithy_client.expectInt32,\n Id: import_smithy_client.expectString,\n KbNumber: import_smithy_client.expectString,\n Language: import_smithy_client.expectString,\n MsrcNumber: import_smithy_client.expectString,\n MsrcSeverity: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Product: import_smithy_client.expectString,\n ProductFamily: import_smithy_client.expectString,\n Release: import_smithy_client.expectString,\n ReleaseDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ReleaseDate\"),\n Repository: import_smithy_client.expectString,\n Severity: import_smithy_client.expectString,\n Title: import_smithy_client.expectString,\n Vendor: import_smithy_client.expectString,\n Version: import_smithy_client.expectString\n });\n}, \"de_Patch\");\nvar de_PatchComplianceData = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n CVEIds: import_smithy_client.expectString,\n Classification: import_smithy_client.expectString,\n InstalledTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"InstalledTime\"),\n KBId: import_smithy_client.expectString,\n Severity: import_smithy_client.expectString,\n State: import_smithy_client.expectString,\n Title: import_smithy_client.expectString\n });\n}, \"de_PatchComplianceData\");\nvar de_PatchComplianceDataList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_PatchComplianceData(entry, context);\n });\n return retVal;\n}, \"de_PatchComplianceDataList\");\nvar de_PatchList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Patch(entry, context);\n });\n return retVal;\n}, \"de_PatchList\");\nvar de_PatchStatus = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ApprovalDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ApprovalDate\"),\n ComplianceLevel: import_smithy_client.expectString,\n DeploymentStatus: import_smithy_client.expectString\n });\n}, \"de_PatchStatus\");\nvar de_ResetServiceSettingResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ServiceSetting: /* @__PURE__ */ __name((_) => de_ServiceSetting(_, context), \"ServiceSetting\")\n });\n}, \"de_ResetServiceSettingResult\");\nvar de_ResourceComplianceSummaryItem = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ComplianceType: import_smithy_client.expectString,\n CompliantSummary: import_smithy_client._json,\n ExecutionSummary: /* @__PURE__ */ __name((_) => de_ComplianceExecutionSummary(_, context), \"ExecutionSummary\"),\n NonCompliantSummary: import_smithy_client._json,\n OverallSeverity: import_smithy_client.expectString,\n ResourceId: import_smithy_client.expectString,\n ResourceType: import_smithy_client.expectString,\n Status: import_smithy_client.expectString\n });\n}, \"de_ResourceComplianceSummaryItem\");\nvar de_ResourceComplianceSummaryItemList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ResourceComplianceSummaryItem(entry, context);\n });\n return retVal;\n}, \"de_ResourceComplianceSummaryItemList\");\nvar de_ResourceDataSyncItem = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n LastStatus: import_smithy_client.expectString,\n LastSuccessfulSyncTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastSuccessfulSyncTime\"),\n LastSyncStatusMessage: import_smithy_client.expectString,\n LastSyncTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastSyncTime\"),\n S3Destination: import_smithy_client._json,\n SyncCreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"SyncCreatedTime\"),\n SyncLastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"SyncLastModifiedTime\"),\n SyncName: import_smithy_client.expectString,\n SyncSource: import_smithy_client._json,\n SyncType: import_smithy_client.expectString\n });\n}, \"de_ResourceDataSyncItem\");\nvar de_ResourceDataSyncItemList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ResourceDataSyncItem(entry, context);\n });\n return retVal;\n}, \"de_ResourceDataSyncItemList\");\nvar de_ReviewInformation = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ReviewedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ReviewedTime\"),\n Reviewer: import_smithy_client.expectString,\n Status: import_smithy_client.expectString\n });\n}, \"de_ReviewInformation\");\nvar de_ReviewInformationList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_ReviewInformation(entry, context);\n });\n return retVal;\n}, \"de_ReviewInformationList\");\nvar de_SendCommandResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Command: /* @__PURE__ */ __name((_) => de_Command(_, context), \"Command\")\n });\n}, \"de_SendCommandResult\");\nvar de_ServiceSetting = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ARN: import_smithy_client.expectString,\n LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"LastModifiedDate\"),\n LastModifiedUser: import_smithy_client.expectString,\n SettingId: import_smithy_client.expectString,\n SettingValue: import_smithy_client.expectString,\n Status: import_smithy_client.expectString\n });\n}, \"de_ServiceSetting\");\nvar de_Session = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Details: import_smithy_client.expectString,\n DocumentName: import_smithy_client.expectString,\n EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"EndDate\"),\n MaxSessionDuration: import_smithy_client.expectString,\n OutputUrl: import_smithy_client._json,\n Owner: import_smithy_client.expectString,\n Reason: import_smithy_client.expectString,\n SessionId: import_smithy_client.expectString,\n StartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"StartDate\"),\n Status: import_smithy_client.expectString,\n Target: import_smithy_client.expectString\n });\n}, \"de_Session\");\nvar de_SessionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_Session(entry, context);\n });\n return retVal;\n}, \"de_SessionList\");\nvar de_StepExecution = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n Action: import_smithy_client.expectString,\n ExecutionEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionEndTime\"),\n ExecutionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ExecutionStartTime\"),\n FailureDetails: import_smithy_client._json,\n FailureMessage: import_smithy_client.expectString,\n Inputs: import_smithy_client._json,\n IsCritical: import_smithy_client.expectBoolean,\n IsEnd: import_smithy_client.expectBoolean,\n MaxAttempts: import_smithy_client.expectInt32,\n NextStep: import_smithy_client.expectString,\n OnFailure: import_smithy_client.expectString,\n Outputs: import_smithy_client._json,\n OverriddenParameters: import_smithy_client._json,\n ParentStepDetails: import_smithy_client._json,\n Response: import_smithy_client.expectString,\n ResponseCode: import_smithy_client.expectString,\n StepExecutionId: import_smithy_client.expectString,\n StepName: import_smithy_client.expectString,\n StepStatus: import_smithy_client.expectString,\n TargetLocation: import_smithy_client._json,\n Targets: import_smithy_client._json,\n TimeoutSeconds: import_smithy_client.expectLong,\n TriggeredAlarms: import_smithy_client._json,\n ValidNextSteps: import_smithy_client._json\n });\n}, \"de_StepExecution\");\nvar de_StepExecutionList = /* @__PURE__ */ __name((output, context) => {\n const retVal = (output || []).filter((e) => e != null).map((entry) => {\n return de_StepExecution(entry, context);\n });\n return retVal;\n}, \"de_StepExecutionList\");\nvar de_UpdateAssociationResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationDescription: /* @__PURE__ */ __name((_) => de_AssociationDescription(_, context), \"AssociationDescription\")\n });\n}, \"de_UpdateAssociationResult\");\nvar de_UpdateAssociationStatusResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AssociationDescription: /* @__PURE__ */ __name((_) => de_AssociationDescription(_, context), \"AssociationDescription\")\n });\n}, \"de_UpdateAssociationStatusResult\");\nvar de_UpdateDocumentResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n DocumentDescription: /* @__PURE__ */ __name((_) => de_DocumentDescription(_, context), \"DocumentDescription\")\n });\n}, \"de_UpdateDocumentResult\");\nvar de_UpdateMaintenanceWindowTaskResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n AlarmConfiguration: import_smithy_client._json,\n CutoffBehavior: import_smithy_client.expectString,\n Description: import_smithy_client.expectString,\n LoggingInfo: import_smithy_client._json,\n MaxConcurrency: import_smithy_client.expectString,\n MaxErrors: import_smithy_client.expectString,\n Name: import_smithy_client.expectString,\n Priority: import_smithy_client.expectInt32,\n ServiceRoleArn: import_smithy_client.expectString,\n Targets: import_smithy_client._json,\n TaskArn: import_smithy_client.expectString,\n TaskInvocationParameters: /* @__PURE__ */ __name((_) => de_MaintenanceWindowTaskInvocationParameters(_, context), \"TaskInvocationParameters\"),\n TaskParameters: import_smithy_client._json,\n WindowId: import_smithy_client.expectString,\n WindowTaskId: import_smithy_client.expectString\n });\n}, \"de_UpdateMaintenanceWindowTaskResult\");\nvar de_UpdatePatchBaselineResult = /* @__PURE__ */ __name((output, context) => {\n return (0, import_smithy_client.take)(output, {\n ApprovalRules: import_smithy_client._json,\n ApprovedPatches: import_smithy_client._json,\n ApprovedPatchesComplianceLevel: import_smithy_client.expectString,\n ApprovedPatchesEnableNonSecurity: import_smithy_client.expectBoolean,\n AvailableSecurityUpdatesComplianceStatus: import_smithy_client.expectString,\n BaselineId: import_smithy_client.expectString,\n CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"CreatedDate\"),\n Description: import_smithy_client.expectString,\n GlobalFilters: import_smithy_client._json,\n ModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), \"ModifiedDate\"),\n Name: import_smithy_client.expectString,\n OperatingSystem: import_smithy_client.expectString,\n RejectedPatches: import_smithy_client._json,\n RejectedPatchesAction: import_smithy_client.expectString,\n Sources: import_smithy_client._json\n });\n}, \"de_UpdatePatchBaselineResult\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSMServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AmazonSSM.${operation}`\n };\n}\n__name(sharedHeaders, \"sharedHeaders\");\n\n// src/commands/AddTagsToResourceCommand.ts\nvar AddTagsToResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"AddTagsToResource\", {}).n(\"SSMClient\", \"AddTagsToResourceCommand\").f(void 0, void 0).ser(se_AddTagsToResourceCommand).de(de_AddTagsToResourceCommand).build() {\n static {\n __name(this, \"AddTagsToResourceCommand\");\n }\n};\n\n// src/commands/AssociateOpsItemRelatedItemCommand.ts\n\n\n\nvar AssociateOpsItemRelatedItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"AssociateOpsItemRelatedItem\", {}).n(\"SSMClient\", \"AssociateOpsItemRelatedItemCommand\").f(void 0, void 0).ser(se_AssociateOpsItemRelatedItemCommand).de(de_AssociateOpsItemRelatedItemCommand).build() {\n static {\n __name(this, \"AssociateOpsItemRelatedItemCommand\");\n }\n};\n\n// src/commands/CancelCommandCommand.ts\n\n\n\nvar CancelCommandCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CancelCommand\", {}).n(\"SSMClient\", \"CancelCommandCommand\").f(void 0, void 0).ser(se_CancelCommandCommand).de(de_CancelCommandCommand).build() {\n static {\n __name(this, \"CancelCommandCommand\");\n }\n};\n\n// src/commands/CancelMaintenanceWindowExecutionCommand.ts\n\n\n\nvar CancelMaintenanceWindowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CancelMaintenanceWindowExecution\", {}).n(\"SSMClient\", \"CancelMaintenanceWindowExecutionCommand\").f(void 0, void 0).ser(se_CancelMaintenanceWindowExecutionCommand).de(de_CancelMaintenanceWindowExecutionCommand).build() {\n static {\n __name(this, \"CancelMaintenanceWindowExecutionCommand\");\n }\n};\n\n// src/commands/CreateActivationCommand.ts\n\n\n\nvar CreateActivationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateActivation\", {}).n(\"SSMClient\", \"CreateActivationCommand\").f(void 0, void 0).ser(se_CreateActivationCommand).de(de_CreateActivationCommand).build() {\n static {\n __name(this, \"CreateActivationCommand\");\n }\n};\n\n// src/commands/CreateAssociationBatchCommand.ts\n\n\n\nvar CreateAssociationBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateAssociationBatch\", {}).n(\"SSMClient\", \"CreateAssociationBatchCommand\").f(CreateAssociationBatchRequestFilterSensitiveLog, CreateAssociationBatchResultFilterSensitiveLog).ser(se_CreateAssociationBatchCommand).de(de_CreateAssociationBatchCommand).build() {\n static {\n __name(this, \"CreateAssociationBatchCommand\");\n }\n};\n\n// src/commands/CreateAssociationCommand.ts\n\n\n\nvar CreateAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateAssociation\", {}).n(\"SSMClient\", \"CreateAssociationCommand\").f(CreateAssociationRequestFilterSensitiveLog, CreateAssociationResultFilterSensitiveLog).ser(se_CreateAssociationCommand).de(de_CreateAssociationCommand).build() {\n static {\n __name(this, \"CreateAssociationCommand\");\n }\n};\n\n// src/commands/CreateDocumentCommand.ts\n\n\n\nvar CreateDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateDocument\", {}).n(\"SSMClient\", \"CreateDocumentCommand\").f(void 0, void 0).ser(se_CreateDocumentCommand).de(de_CreateDocumentCommand).build() {\n static {\n __name(this, \"CreateDocumentCommand\");\n }\n};\n\n// src/commands/CreateMaintenanceWindowCommand.ts\n\n\n\nvar CreateMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateMaintenanceWindow\", {}).n(\"SSMClient\", \"CreateMaintenanceWindowCommand\").f(CreateMaintenanceWindowRequestFilterSensitiveLog, void 0).ser(se_CreateMaintenanceWindowCommand).de(de_CreateMaintenanceWindowCommand).build() {\n static {\n __name(this, \"CreateMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/CreateOpsItemCommand.ts\n\n\n\nvar CreateOpsItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateOpsItem\", {}).n(\"SSMClient\", \"CreateOpsItemCommand\").f(void 0, void 0).ser(se_CreateOpsItemCommand).de(de_CreateOpsItemCommand).build() {\n static {\n __name(this, \"CreateOpsItemCommand\");\n }\n};\n\n// src/commands/CreateOpsMetadataCommand.ts\n\n\n\nvar CreateOpsMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateOpsMetadata\", {}).n(\"SSMClient\", \"CreateOpsMetadataCommand\").f(void 0, void 0).ser(se_CreateOpsMetadataCommand).de(de_CreateOpsMetadataCommand).build() {\n static {\n __name(this, \"CreateOpsMetadataCommand\");\n }\n};\n\n// src/commands/CreatePatchBaselineCommand.ts\n\n\n\nvar CreatePatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreatePatchBaseline\", {}).n(\"SSMClient\", \"CreatePatchBaselineCommand\").f(CreatePatchBaselineRequestFilterSensitiveLog, void 0).ser(se_CreatePatchBaselineCommand).de(de_CreatePatchBaselineCommand).build() {\n static {\n __name(this, \"CreatePatchBaselineCommand\");\n }\n};\n\n// src/commands/CreateResourceDataSyncCommand.ts\n\n\n\nvar CreateResourceDataSyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"CreateResourceDataSync\", {}).n(\"SSMClient\", \"CreateResourceDataSyncCommand\").f(void 0, void 0).ser(se_CreateResourceDataSyncCommand).de(de_CreateResourceDataSyncCommand).build() {\n static {\n __name(this, \"CreateResourceDataSyncCommand\");\n }\n};\n\n// src/commands/DeleteActivationCommand.ts\n\n\n\nvar DeleteActivationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteActivation\", {}).n(\"SSMClient\", \"DeleteActivationCommand\").f(void 0, void 0).ser(se_DeleteActivationCommand).de(de_DeleteActivationCommand).build() {\n static {\n __name(this, \"DeleteActivationCommand\");\n }\n};\n\n// src/commands/DeleteAssociationCommand.ts\n\n\n\nvar DeleteAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteAssociation\", {}).n(\"SSMClient\", \"DeleteAssociationCommand\").f(void 0, void 0).ser(se_DeleteAssociationCommand).de(de_DeleteAssociationCommand).build() {\n static {\n __name(this, \"DeleteAssociationCommand\");\n }\n};\n\n// src/commands/DeleteDocumentCommand.ts\n\n\n\nvar DeleteDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteDocument\", {}).n(\"SSMClient\", \"DeleteDocumentCommand\").f(void 0, void 0).ser(se_DeleteDocumentCommand).de(de_DeleteDocumentCommand).build() {\n static {\n __name(this, \"DeleteDocumentCommand\");\n }\n};\n\n// src/commands/DeleteInventoryCommand.ts\n\n\n\nvar DeleteInventoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteInventory\", {}).n(\"SSMClient\", \"DeleteInventoryCommand\").f(void 0, void 0).ser(se_DeleteInventoryCommand).de(de_DeleteInventoryCommand).build() {\n static {\n __name(this, \"DeleteInventoryCommand\");\n }\n};\n\n// src/commands/DeleteMaintenanceWindowCommand.ts\n\n\n\nvar DeleteMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteMaintenanceWindow\", {}).n(\"SSMClient\", \"DeleteMaintenanceWindowCommand\").f(void 0, void 0).ser(se_DeleteMaintenanceWindowCommand).de(de_DeleteMaintenanceWindowCommand).build() {\n static {\n __name(this, \"DeleteMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/DeleteOpsItemCommand.ts\n\n\n\nvar DeleteOpsItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteOpsItem\", {}).n(\"SSMClient\", \"DeleteOpsItemCommand\").f(void 0, void 0).ser(se_DeleteOpsItemCommand).de(de_DeleteOpsItemCommand).build() {\n static {\n __name(this, \"DeleteOpsItemCommand\");\n }\n};\n\n// src/commands/DeleteOpsMetadataCommand.ts\n\n\n\nvar DeleteOpsMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteOpsMetadata\", {}).n(\"SSMClient\", \"DeleteOpsMetadataCommand\").f(void 0, void 0).ser(se_DeleteOpsMetadataCommand).de(de_DeleteOpsMetadataCommand).build() {\n static {\n __name(this, \"DeleteOpsMetadataCommand\");\n }\n};\n\n// src/commands/DeleteParameterCommand.ts\n\n\n\nvar DeleteParameterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteParameter\", {}).n(\"SSMClient\", \"DeleteParameterCommand\").f(void 0, void 0).ser(se_DeleteParameterCommand).de(de_DeleteParameterCommand).build() {\n static {\n __name(this, \"DeleteParameterCommand\");\n }\n};\n\n// src/commands/DeleteParametersCommand.ts\n\n\n\nvar DeleteParametersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteParameters\", {}).n(\"SSMClient\", \"DeleteParametersCommand\").f(void 0, void 0).ser(se_DeleteParametersCommand).de(de_DeleteParametersCommand).build() {\n static {\n __name(this, \"DeleteParametersCommand\");\n }\n};\n\n// src/commands/DeletePatchBaselineCommand.ts\n\n\n\nvar DeletePatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeletePatchBaseline\", {}).n(\"SSMClient\", \"DeletePatchBaselineCommand\").f(void 0, void 0).ser(se_DeletePatchBaselineCommand).de(de_DeletePatchBaselineCommand).build() {\n static {\n __name(this, \"DeletePatchBaselineCommand\");\n }\n};\n\n// src/commands/DeleteResourceDataSyncCommand.ts\n\n\n\nvar DeleteResourceDataSyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteResourceDataSync\", {}).n(\"SSMClient\", \"DeleteResourceDataSyncCommand\").f(void 0, void 0).ser(se_DeleteResourceDataSyncCommand).de(de_DeleteResourceDataSyncCommand).build() {\n static {\n __name(this, \"DeleteResourceDataSyncCommand\");\n }\n};\n\n// src/commands/DeleteResourcePolicyCommand.ts\n\n\n\nvar DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeleteResourcePolicy\", {}).n(\"SSMClient\", \"DeleteResourcePolicyCommand\").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {\n static {\n __name(this, \"DeleteResourcePolicyCommand\");\n }\n};\n\n// src/commands/DeregisterManagedInstanceCommand.ts\n\n\n\nvar DeregisterManagedInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeregisterManagedInstance\", {}).n(\"SSMClient\", \"DeregisterManagedInstanceCommand\").f(void 0, void 0).ser(se_DeregisterManagedInstanceCommand).de(de_DeregisterManagedInstanceCommand).build() {\n static {\n __name(this, \"DeregisterManagedInstanceCommand\");\n }\n};\n\n// src/commands/DeregisterPatchBaselineForPatchGroupCommand.ts\n\n\n\nvar DeregisterPatchBaselineForPatchGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeregisterPatchBaselineForPatchGroup\", {}).n(\"SSMClient\", \"DeregisterPatchBaselineForPatchGroupCommand\").f(void 0, void 0).ser(se_DeregisterPatchBaselineForPatchGroupCommand).de(de_DeregisterPatchBaselineForPatchGroupCommand).build() {\n static {\n __name(this, \"DeregisterPatchBaselineForPatchGroupCommand\");\n }\n};\n\n// src/commands/DeregisterTargetFromMaintenanceWindowCommand.ts\n\n\n\nvar DeregisterTargetFromMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeregisterTargetFromMaintenanceWindow\", {}).n(\"SSMClient\", \"DeregisterTargetFromMaintenanceWindowCommand\").f(void 0, void 0).ser(se_DeregisterTargetFromMaintenanceWindowCommand).de(de_DeregisterTargetFromMaintenanceWindowCommand).build() {\n static {\n __name(this, \"DeregisterTargetFromMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/DeregisterTaskFromMaintenanceWindowCommand.ts\n\n\n\nvar DeregisterTaskFromMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DeregisterTaskFromMaintenanceWindow\", {}).n(\"SSMClient\", \"DeregisterTaskFromMaintenanceWindowCommand\").f(void 0, void 0).ser(se_DeregisterTaskFromMaintenanceWindowCommand).de(de_DeregisterTaskFromMaintenanceWindowCommand).build() {\n static {\n __name(this, \"DeregisterTaskFromMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/DescribeActivationsCommand.ts\n\n\n\nvar DescribeActivationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeActivations\", {}).n(\"SSMClient\", \"DescribeActivationsCommand\").f(void 0, void 0).ser(se_DescribeActivationsCommand).de(de_DescribeActivationsCommand).build() {\n static {\n __name(this, \"DescribeActivationsCommand\");\n }\n};\n\n// src/commands/DescribeAssociationCommand.ts\n\n\n\nvar DescribeAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAssociation\", {}).n(\"SSMClient\", \"DescribeAssociationCommand\").f(void 0, DescribeAssociationResultFilterSensitiveLog).ser(se_DescribeAssociationCommand).de(de_DescribeAssociationCommand).build() {\n static {\n __name(this, \"DescribeAssociationCommand\");\n }\n};\n\n// src/commands/DescribeAssociationExecutionsCommand.ts\n\n\n\nvar DescribeAssociationExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAssociationExecutions\", {}).n(\"SSMClient\", \"DescribeAssociationExecutionsCommand\").f(void 0, void 0).ser(se_DescribeAssociationExecutionsCommand).de(de_DescribeAssociationExecutionsCommand).build() {\n static {\n __name(this, \"DescribeAssociationExecutionsCommand\");\n }\n};\n\n// src/commands/DescribeAssociationExecutionTargetsCommand.ts\n\n\n\nvar DescribeAssociationExecutionTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAssociationExecutionTargets\", {}).n(\"SSMClient\", \"DescribeAssociationExecutionTargetsCommand\").f(void 0, void 0).ser(se_DescribeAssociationExecutionTargetsCommand).de(de_DescribeAssociationExecutionTargetsCommand).build() {\n static {\n __name(this, \"DescribeAssociationExecutionTargetsCommand\");\n }\n};\n\n// src/commands/DescribeAutomationExecutionsCommand.ts\n\n\n\nvar DescribeAutomationExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAutomationExecutions\", {}).n(\"SSMClient\", \"DescribeAutomationExecutionsCommand\").f(void 0, void 0).ser(se_DescribeAutomationExecutionsCommand).de(de_DescribeAutomationExecutionsCommand).build() {\n static {\n __name(this, \"DescribeAutomationExecutionsCommand\");\n }\n};\n\n// src/commands/DescribeAutomationStepExecutionsCommand.ts\n\n\n\nvar DescribeAutomationStepExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAutomationStepExecutions\", {}).n(\"SSMClient\", \"DescribeAutomationStepExecutionsCommand\").f(void 0, void 0).ser(se_DescribeAutomationStepExecutionsCommand).de(de_DescribeAutomationStepExecutionsCommand).build() {\n static {\n __name(this, \"DescribeAutomationStepExecutionsCommand\");\n }\n};\n\n// src/commands/DescribeAvailablePatchesCommand.ts\n\n\n\nvar DescribeAvailablePatchesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeAvailablePatches\", {}).n(\"SSMClient\", \"DescribeAvailablePatchesCommand\").f(void 0, void 0).ser(se_DescribeAvailablePatchesCommand).de(de_DescribeAvailablePatchesCommand).build() {\n static {\n __name(this, \"DescribeAvailablePatchesCommand\");\n }\n};\n\n// src/commands/DescribeDocumentCommand.ts\n\n\n\nvar DescribeDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeDocument\", {}).n(\"SSMClient\", \"DescribeDocumentCommand\").f(void 0, void 0).ser(se_DescribeDocumentCommand).de(de_DescribeDocumentCommand).build() {\n static {\n __name(this, \"DescribeDocumentCommand\");\n }\n};\n\n// src/commands/DescribeDocumentPermissionCommand.ts\n\n\n\nvar DescribeDocumentPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeDocumentPermission\", {}).n(\"SSMClient\", \"DescribeDocumentPermissionCommand\").f(void 0, void 0).ser(se_DescribeDocumentPermissionCommand).de(de_DescribeDocumentPermissionCommand).build() {\n static {\n __name(this, \"DescribeDocumentPermissionCommand\");\n }\n};\n\n// src/commands/DescribeEffectiveInstanceAssociationsCommand.ts\n\n\n\nvar DescribeEffectiveInstanceAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeEffectiveInstanceAssociations\", {}).n(\"SSMClient\", \"DescribeEffectiveInstanceAssociationsCommand\").f(void 0, void 0).ser(se_DescribeEffectiveInstanceAssociationsCommand).de(de_DescribeEffectiveInstanceAssociationsCommand).build() {\n static {\n __name(this, \"DescribeEffectiveInstanceAssociationsCommand\");\n }\n};\n\n// src/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts\n\n\n\nvar DescribeEffectivePatchesForPatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeEffectivePatchesForPatchBaseline\", {}).n(\"SSMClient\", \"DescribeEffectivePatchesForPatchBaselineCommand\").f(void 0, void 0).ser(se_DescribeEffectivePatchesForPatchBaselineCommand).de(de_DescribeEffectivePatchesForPatchBaselineCommand).build() {\n static {\n __name(this, \"DescribeEffectivePatchesForPatchBaselineCommand\");\n }\n};\n\n// src/commands/DescribeInstanceAssociationsStatusCommand.ts\n\n\n\nvar DescribeInstanceAssociationsStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstanceAssociationsStatus\", {}).n(\"SSMClient\", \"DescribeInstanceAssociationsStatusCommand\").f(void 0, void 0).ser(se_DescribeInstanceAssociationsStatusCommand).de(de_DescribeInstanceAssociationsStatusCommand).build() {\n static {\n __name(this, \"DescribeInstanceAssociationsStatusCommand\");\n }\n};\n\n// src/commands/DescribeInstanceInformationCommand.ts\n\n\n\nvar DescribeInstanceInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstanceInformation\", {}).n(\"SSMClient\", \"DescribeInstanceInformationCommand\").f(void 0, DescribeInstanceInformationResultFilterSensitiveLog).ser(se_DescribeInstanceInformationCommand).de(de_DescribeInstanceInformationCommand).build() {\n static {\n __name(this, \"DescribeInstanceInformationCommand\");\n }\n};\n\n// src/commands/DescribeInstancePatchesCommand.ts\n\n\n\nvar DescribeInstancePatchesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstancePatches\", {}).n(\"SSMClient\", \"DescribeInstancePatchesCommand\").f(void 0, void 0).ser(se_DescribeInstancePatchesCommand).de(de_DescribeInstancePatchesCommand).build() {\n static {\n __name(this, \"DescribeInstancePatchesCommand\");\n }\n};\n\n// src/commands/DescribeInstancePatchStatesCommand.ts\n\n\n\nvar DescribeInstancePatchStatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstancePatchStates\", {}).n(\"SSMClient\", \"DescribeInstancePatchStatesCommand\").f(void 0, DescribeInstancePatchStatesResultFilterSensitiveLog).ser(se_DescribeInstancePatchStatesCommand).de(de_DescribeInstancePatchStatesCommand).build() {\n static {\n __name(this, \"DescribeInstancePatchStatesCommand\");\n }\n};\n\n// src/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts\n\n\n\nvar DescribeInstancePatchStatesForPatchGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstancePatchStatesForPatchGroup\", {}).n(\"SSMClient\", \"DescribeInstancePatchStatesForPatchGroupCommand\").f(void 0, DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog).ser(se_DescribeInstancePatchStatesForPatchGroupCommand).de(de_DescribeInstancePatchStatesForPatchGroupCommand).build() {\n static {\n __name(this, \"DescribeInstancePatchStatesForPatchGroupCommand\");\n }\n};\n\n// src/commands/DescribeInstancePropertiesCommand.ts\n\n\n\nvar DescribeInstancePropertiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInstanceProperties\", {}).n(\"SSMClient\", \"DescribeInstancePropertiesCommand\").f(void 0, DescribeInstancePropertiesResultFilterSensitiveLog).ser(se_DescribeInstancePropertiesCommand).de(de_DescribeInstancePropertiesCommand).build() {\n static {\n __name(this, \"DescribeInstancePropertiesCommand\");\n }\n};\n\n// src/commands/DescribeInventoryDeletionsCommand.ts\n\n\n\nvar DescribeInventoryDeletionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeInventoryDeletions\", {}).n(\"SSMClient\", \"DescribeInventoryDeletionsCommand\").f(void 0, void 0).ser(se_DescribeInventoryDeletionsCommand).de(de_DescribeInventoryDeletionsCommand).build() {\n static {\n __name(this, \"DescribeInventoryDeletionsCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowExecutionsCommand.ts\n\n\n\nvar DescribeMaintenanceWindowExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowExecutions\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowExecutionsCommand\").f(void 0, void 0).ser(se_DescribeMaintenanceWindowExecutionsCommand).de(de_DescribeMaintenanceWindowExecutionsCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowExecutionsCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts\n\n\n\nvar DescribeMaintenanceWindowExecutionTaskInvocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowExecutionTaskInvocations\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowExecutionTaskInvocationsCommand\").f(void 0, DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog).ser(se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand).de(de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowExecutionTaskInvocationsCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts\n\n\n\nvar DescribeMaintenanceWindowExecutionTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowExecutionTasks\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowExecutionTasksCommand\").f(void 0, void 0).ser(se_DescribeMaintenanceWindowExecutionTasksCommand).de(de_DescribeMaintenanceWindowExecutionTasksCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowExecutionTasksCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowScheduleCommand.ts\n\n\n\nvar DescribeMaintenanceWindowScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowSchedule\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowScheduleCommand\").f(void 0, void 0).ser(se_DescribeMaintenanceWindowScheduleCommand).de(de_DescribeMaintenanceWindowScheduleCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowScheduleCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowsCommand.ts\n\n\n\nvar DescribeMaintenanceWindowsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindows\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowsCommand\").f(void 0, DescribeMaintenanceWindowsResultFilterSensitiveLog).ser(se_DescribeMaintenanceWindowsCommand).de(de_DescribeMaintenanceWindowsCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowsCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowsForTargetCommand.ts\n\n\n\nvar DescribeMaintenanceWindowsForTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowsForTarget\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowsForTargetCommand\").f(void 0, void 0).ser(se_DescribeMaintenanceWindowsForTargetCommand).de(de_DescribeMaintenanceWindowsForTargetCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowsForTargetCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowTargetsCommand.ts\n\n\n\nvar DescribeMaintenanceWindowTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowTargets\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowTargetsCommand\").f(void 0, DescribeMaintenanceWindowTargetsResultFilterSensitiveLog).ser(se_DescribeMaintenanceWindowTargetsCommand).de(de_DescribeMaintenanceWindowTargetsCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowTargetsCommand\");\n }\n};\n\n// src/commands/DescribeMaintenanceWindowTasksCommand.ts\n\n\n\nvar DescribeMaintenanceWindowTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeMaintenanceWindowTasks\", {}).n(\"SSMClient\", \"DescribeMaintenanceWindowTasksCommand\").f(void 0, DescribeMaintenanceWindowTasksResultFilterSensitiveLog).ser(se_DescribeMaintenanceWindowTasksCommand).de(de_DescribeMaintenanceWindowTasksCommand).build() {\n static {\n __name(this, \"DescribeMaintenanceWindowTasksCommand\");\n }\n};\n\n// src/commands/DescribeOpsItemsCommand.ts\n\n\n\nvar DescribeOpsItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeOpsItems\", {}).n(\"SSMClient\", \"DescribeOpsItemsCommand\").f(void 0, void 0).ser(se_DescribeOpsItemsCommand).de(de_DescribeOpsItemsCommand).build() {\n static {\n __name(this, \"DescribeOpsItemsCommand\");\n }\n};\n\n// src/commands/DescribeParametersCommand.ts\n\n\n\nvar DescribeParametersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeParameters\", {}).n(\"SSMClient\", \"DescribeParametersCommand\").f(void 0, void 0).ser(se_DescribeParametersCommand).de(de_DescribeParametersCommand).build() {\n static {\n __name(this, \"DescribeParametersCommand\");\n }\n};\n\n// src/commands/DescribePatchBaselinesCommand.ts\n\n\n\nvar DescribePatchBaselinesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribePatchBaselines\", {}).n(\"SSMClient\", \"DescribePatchBaselinesCommand\").f(void 0, void 0).ser(se_DescribePatchBaselinesCommand).de(de_DescribePatchBaselinesCommand).build() {\n static {\n __name(this, \"DescribePatchBaselinesCommand\");\n }\n};\n\n// src/commands/DescribePatchGroupsCommand.ts\n\n\n\nvar DescribePatchGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribePatchGroups\", {}).n(\"SSMClient\", \"DescribePatchGroupsCommand\").f(void 0, void 0).ser(se_DescribePatchGroupsCommand).de(de_DescribePatchGroupsCommand).build() {\n static {\n __name(this, \"DescribePatchGroupsCommand\");\n }\n};\n\n// src/commands/DescribePatchGroupStateCommand.ts\n\n\n\nvar DescribePatchGroupStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribePatchGroupState\", {}).n(\"SSMClient\", \"DescribePatchGroupStateCommand\").f(void 0, void 0).ser(se_DescribePatchGroupStateCommand).de(de_DescribePatchGroupStateCommand).build() {\n static {\n __name(this, \"DescribePatchGroupStateCommand\");\n }\n};\n\n// src/commands/DescribePatchPropertiesCommand.ts\n\n\n\nvar DescribePatchPropertiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribePatchProperties\", {}).n(\"SSMClient\", \"DescribePatchPropertiesCommand\").f(void 0, void 0).ser(se_DescribePatchPropertiesCommand).de(de_DescribePatchPropertiesCommand).build() {\n static {\n __name(this, \"DescribePatchPropertiesCommand\");\n }\n};\n\n// src/commands/DescribeSessionsCommand.ts\n\n\n\nvar DescribeSessionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DescribeSessions\", {}).n(\"SSMClient\", \"DescribeSessionsCommand\").f(void 0, void 0).ser(se_DescribeSessionsCommand).de(de_DescribeSessionsCommand).build() {\n static {\n __name(this, \"DescribeSessionsCommand\");\n }\n};\n\n// src/commands/DisassociateOpsItemRelatedItemCommand.ts\n\n\n\nvar DisassociateOpsItemRelatedItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"DisassociateOpsItemRelatedItem\", {}).n(\"SSMClient\", \"DisassociateOpsItemRelatedItemCommand\").f(void 0, void 0).ser(se_DisassociateOpsItemRelatedItemCommand).de(de_DisassociateOpsItemRelatedItemCommand).build() {\n static {\n __name(this, \"DisassociateOpsItemRelatedItemCommand\");\n }\n};\n\n// src/commands/GetAccessTokenCommand.ts\n\n\n\nvar GetAccessTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetAccessToken\", {}).n(\"SSMClient\", \"GetAccessTokenCommand\").f(void 0, GetAccessTokenResponseFilterSensitiveLog).ser(se_GetAccessTokenCommand).de(de_GetAccessTokenCommand).build() {\n static {\n __name(this, \"GetAccessTokenCommand\");\n }\n};\n\n// src/commands/GetAutomationExecutionCommand.ts\n\n\n\nvar GetAutomationExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetAutomationExecution\", {}).n(\"SSMClient\", \"GetAutomationExecutionCommand\").f(void 0, void 0).ser(se_GetAutomationExecutionCommand).de(de_GetAutomationExecutionCommand).build() {\n static {\n __name(this, \"GetAutomationExecutionCommand\");\n }\n};\n\n// src/commands/GetCalendarStateCommand.ts\n\n\n\nvar GetCalendarStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetCalendarState\", {}).n(\"SSMClient\", \"GetCalendarStateCommand\").f(void 0, void 0).ser(se_GetCalendarStateCommand).de(de_GetCalendarStateCommand).build() {\n static {\n __name(this, \"GetCalendarStateCommand\");\n }\n};\n\n// src/commands/GetCommandInvocationCommand.ts\n\n\n\nvar GetCommandInvocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetCommandInvocation\", {}).n(\"SSMClient\", \"GetCommandInvocationCommand\").f(void 0, void 0).ser(se_GetCommandInvocationCommand).de(de_GetCommandInvocationCommand).build() {\n static {\n __name(this, \"GetCommandInvocationCommand\");\n }\n};\n\n// src/commands/GetConnectionStatusCommand.ts\n\n\n\nvar GetConnectionStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetConnectionStatus\", {}).n(\"SSMClient\", \"GetConnectionStatusCommand\").f(void 0, void 0).ser(se_GetConnectionStatusCommand).de(de_GetConnectionStatusCommand).build() {\n static {\n __name(this, \"GetConnectionStatusCommand\");\n }\n};\n\n// src/commands/GetDefaultPatchBaselineCommand.ts\n\n\n\nvar GetDefaultPatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetDefaultPatchBaseline\", {}).n(\"SSMClient\", \"GetDefaultPatchBaselineCommand\").f(void 0, void 0).ser(se_GetDefaultPatchBaselineCommand).de(de_GetDefaultPatchBaselineCommand).build() {\n static {\n __name(this, \"GetDefaultPatchBaselineCommand\");\n }\n};\n\n// src/commands/GetDeployablePatchSnapshotForInstanceCommand.ts\n\n\n\nvar GetDeployablePatchSnapshotForInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetDeployablePatchSnapshotForInstance\", {}).n(\"SSMClient\", \"GetDeployablePatchSnapshotForInstanceCommand\").f(GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog, void 0).ser(se_GetDeployablePatchSnapshotForInstanceCommand).de(de_GetDeployablePatchSnapshotForInstanceCommand).build() {\n static {\n __name(this, \"GetDeployablePatchSnapshotForInstanceCommand\");\n }\n};\n\n// src/commands/GetDocumentCommand.ts\n\n\n\nvar GetDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetDocument\", {}).n(\"SSMClient\", \"GetDocumentCommand\").f(void 0, void 0).ser(se_GetDocumentCommand).de(de_GetDocumentCommand).build() {\n static {\n __name(this, \"GetDocumentCommand\");\n }\n};\n\n// src/commands/GetExecutionPreviewCommand.ts\n\n\n\nvar GetExecutionPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetExecutionPreview\", {}).n(\"SSMClient\", \"GetExecutionPreviewCommand\").f(void 0, void 0).ser(se_GetExecutionPreviewCommand).de(de_GetExecutionPreviewCommand).build() {\n static {\n __name(this, \"GetExecutionPreviewCommand\");\n }\n};\n\n// src/commands/GetInventoryCommand.ts\n\n\n\nvar GetInventoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetInventory\", {}).n(\"SSMClient\", \"GetInventoryCommand\").f(void 0, void 0).ser(se_GetInventoryCommand).de(de_GetInventoryCommand).build() {\n static {\n __name(this, \"GetInventoryCommand\");\n }\n};\n\n// src/commands/GetInventorySchemaCommand.ts\n\n\n\nvar GetInventorySchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetInventorySchema\", {}).n(\"SSMClient\", \"GetInventorySchemaCommand\").f(void 0, void 0).ser(se_GetInventorySchemaCommand).de(de_GetInventorySchemaCommand).build() {\n static {\n __name(this, \"GetInventorySchemaCommand\");\n }\n};\n\n// src/commands/GetMaintenanceWindowCommand.ts\n\n\n\nvar GetMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetMaintenanceWindow\", {}).n(\"SSMClient\", \"GetMaintenanceWindowCommand\").f(void 0, GetMaintenanceWindowResultFilterSensitiveLog).ser(se_GetMaintenanceWindowCommand).de(de_GetMaintenanceWindowCommand).build() {\n static {\n __name(this, \"GetMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/GetMaintenanceWindowExecutionCommand.ts\n\n\n\nvar GetMaintenanceWindowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetMaintenanceWindowExecution\", {}).n(\"SSMClient\", \"GetMaintenanceWindowExecutionCommand\").f(void 0, void 0).ser(se_GetMaintenanceWindowExecutionCommand).de(de_GetMaintenanceWindowExecutionCommand).build() {\n static {\n __name(this, \"GetMaintenanceWindowExecutionCommand\");\n }\n};\n\n// src/commands/GetMaintenanceWindowExecutionTaskCommand.ts\n\n\n\nvar GetMaintenanceWindowExecutionTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetMaintenanceWindowExecutionTask\", {}).n(\"SSMClient\", \"GetMaintenanceWindowExecutionTaskCommand\").f(void 0, GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog).ser(se_GetMaintenanceWindowExecutionTaskCommand).de(de_GetMaintenanceWindowExecutionTaskCommand).build() {\n static {\n __name(this, \"GetMaintenanceWindowExecutionTaskCommand\");\n }\n};\n\n// src/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts\n\n\n\nvar GetMaintenanceWindowExecutionTaskInvocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetMaintenanceWindowExecutionTaskInvocation\", {}).n(\"SSMClient\", \"GetMaintenanceWindowExecutionTaskInvocationCommand\").f(void 0, GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog).ser(se_GetMaintenanceWindowExecutionTaskInvocationCommand).de(de_GetMaintenanceWindowExecutionTaskInvocationCommand).build() {\n static {\n __name(this, \"GetMaintenanceWindowExecutionTaskInvocationCommand\");\n }\n};\n\n// src/commands/GetMaintenanceWindowTaskCommand.ts\n\n\n\nvar GetMaintenanceWindowTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetMaintenanceWindowTask\", {}).n(\"SSMClient\", \"GetMaintenanceWindowTaskCommand\").f(void 0, GetMaintenanceWindowTaskResultFilterSensitiveLog).ser(se_GetMaintenanceWindowTaskCommand).de(de_GetMaintenanceWindowTaskCommand).build() {\n static {\n __name(this, \"GetMaintenanceWindowTaskCommand\");\n }\n};\n\n// src/commands/GetOpsItemCommand.ts\n\n\n\nvar GetOpsItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetOpsItem\", {}).n(\"SSMClient\", \"GetOpsItemCommand\").f(void 0, void 0).ser(se_GetOpsItemCommand).de(de_GetOpsItemCommand).build() {\n static {\n __name(this, \"GetOpsItemCommand\");\n }\n};\n\n// src/commands/GetOpsMetadataCommand.ts\n\n\n\nvar GetOpsMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetOpsMetadata\", {}).n(\"SSMClient\", \"GetOpsMetadataCommand\").f(void 0, void 0).ser(se_GetOpsMetadataCommand).de(de_GetOpsMetadataCommand).build() {\n static {\n __name(this, \"GetOpsMetadataCommand\");\n }\n};\n\n// src/commands/GetOpsSummaryCommand.ts\n\n\n\nvar GetOpsSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetOpsSummary\", {}).n(\"SSMClient\", \"GetOpsSummaryCommand\").f(void 0, void 0).ser(se_GetOpsSummaryCommand).de(de_GetOpsSummaryCommand).build() {\n static {\n __name(this, \"GetOpsSummaryCommand\");\n }\n};\n\n// src/commands/GetParameterCommand.ts\n\n\n\nvar GetParameterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetParameter\", {}).n(\"SSMClient\", \"GetParameterCommand\").f(void 0, GetParameterResultFilterSensitiveLog).ser(se_GetParameterCommand).de(de_GetParameterCommand).build() {\n static {\n __name(this, \"GetParameterCommand\");\n }\n};\n\n// src/commands/GetParameterHistoryCommand.ts\n\n\n\nvar GetParameterHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetParameterHistory\", {}).n(\"SSMClient\", \"GetParameterHistoryCommand\").f(void 0, GetParameterHistoryResultFilterSensitiveLog).ser(se_GetParameterHistoryCommand).de(de_GetParameterHistoryCommand).build() {\n static {\n __name(this, \"GetParameterHistoryCommand\");\n }\n};\n\n// src/commands/GetParametersByPathCommand.ts\n\n\n\nvar GetParametersByPathCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetParametersByPath\", {}).n(\"SSMClient\", \"GetParametersByPathCommand\").f(void 0, GetParametersByPathResultFilterSensitiveLog).ser(se_GetParametersByPathCommand).de(de_GetParametersByPathCommand).build() {\n static {\n __name(this, \"GetParametersByPathCommand\");\n }\n};\n\n// src/commands/GetParametersCommand.ts\n\n\n\nvar GetParametersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetParameters\", {}).n(\"SSMClient\", \"GetParametersCommand\").f(void 0, GetParametersResultFilterSensitiveLog).ser(se_GetParametersCommand).de(de_GetParametersCommand).build() {\n static {\n __name(this, \"GetParametersCommand\");\n }\n};\n\n// src/commands/GetPatchBaselineCommand.ts\n\n\n\nvar GetPatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetPatchBaseline\", {}).n(\"SSMClient\", \"GetPatchBaselineCommand\").f(void 0, GetPatchBaselineResultFilterSensitiveLog).ser(se_GetPatchBaselineCommand).de(de_GetPatchBaselineCommand).build() {\n static {\n __name(this, \"GetPatchBaselineCommand\");\n }\n};\n\n// src/commands/GetPatchBaselineForPatchGroupCommand.ts\n\n\n\nvar GetPatchBaselineForPatchGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetPatchBaselineForPatchGroup\", {}).n(\"SSMClient\", \"GetPatchBaselineForPatchGroupCommand\").f(void 0, void 0).ser(se_GetPatchBaselineForPatchGroupCommand).de(de_GetPatchBaselineForPatchGroupCommand).build() {\n static {\n __name(this, \"GetPatchBaselineForPatchGroupCommand\");\n }\n};\n\n// src/commands/GetResourcePoliciesCommand.ts\n\n\n\nvar GetResourcePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetResourcePolicies\", {}).n(\"SSMClient\", \"GetResourcePoliciesCommand\").f(void 0, void 0).ser(se_GetResourcePoliciesCommand).de(de_GetResourcePoliciesCommand).build() {\n static {\n __name(this, \"GetResourcePoliciesCommand\");\n }\n};\n\n// src/commands/GetServiceSettingCommand.ts\n\n\n\nvar GetServiceSettingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"GetServiceSetting\", {}).n(\"SSMClient\", \"GetServiceSettingCommand\").f(void 0, void 0).ser(se_GetServiceSettingCommand).de(de_GetServiceSettingCommand).build() {\n static {\n __name(this, \"GetServiceSettingCommand\");\n }\n};\n\n// src/commands/LabelParameterVersionCommand.ts\n\n\n\nvar LabelParameterVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"LabelParameterVersion\", {}).n(\"SSMClient\", \"LabelParameterVersionCommand\").f(void 0, void 0).ser(se_LabelParameterVersionCommand).de(de_LabelParameterVersionCommand).build() {\n static {\n __name(this, \"LabelParameterVersionCommand\");\n }\n};\n\n// src/commands/ListAssociationsCommand.ts\n\n\n\nvar ListAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListAssociations\", {}).n(\"SSMClient\", \"ListAssociationsCommand\").f(void 0, void 0).ser(se_ListAssociationsCommand).de(de_ListAssociationsCommand).build() {\n static {\n __name(this, \"ListAssociationsCommand\");\n }\n};\n\n// src/commands/ListAssociationVersionsCommand.ts\n\n\n\nvar ListAssociationVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListAssociationVersions\", {}).n(\"SSMClient\", \"ListAssociationVersionsCommand\").f(void 0, ListAssociationVersionsResultFilterSensitiveLog).ser(se_ListAssociationVersionsCommand).de(de_ListAssociationVersionsCommand).build() {\n static {\n __name(this, \"ListAssociationVersionsCommand\");\n }\n};\n\n// src/commands/ListCommandInvocationsCommand.ts\n\n\n\nvar ListCommandInvocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListCommandInvocations\", {}).n(\"SSMClient\", \"ListCommandInvocationsCommand\").f(void 0, void 0).ser(se_ListCommandInvocationsCommand).de(de_ListCommandInvocationsCommand).build() {\n static {\n __name(this, \"ListCommandInvocationsCommand\");\n }\n};\n\n// src/commands/ListCommandsCommand.ts\n\n\n\nvar ListCommandsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListCommands\", {}).n(\"SSMClient\", \"ListCommandsCommand\").f(void 0, ListCommandsResultFilterSensitiveLog).ser(se_ListCommandsCommand).de(de_ListCommandsCommand).build() {\n static {\n __name(this, \"ListCommandsCommand\");\n }\n};\n\n// src/commands/ListComplianceItemsCommand.ts\n\n\n\nvar ListComplianceItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListComplianceItems\", {}).n(\"SSMClient\", \"ListComplianceItemsCommand\").f(void 0, void 0).ser(se_ListComplianceItemsCommand).de(de_ListComplianceItemsCommand).build() {\n static {\n __name(this, \"ListComplianceItemsCommand\");\n }\n};\n\n// src/commands/ListComplianceSummariesCommand.ts\n\n\n\nvar ListComplianceSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListComplianceSummaries\", {}).n(\"SSMClient\", \"ListComplianceSummariesCommand\").f(void 0, void 0).ser(se_ListComplianceSummariesCommand).de(de_ListComplianceSummariesCommand).build() {\n static {\n __name(this, \"ListComplianceSummariesCommand\");\n }\n};\n\n// src/commands/ListDocumentMetadataHistoryCommand.ts\n\n\n\nvar ListDocumentMetadataHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListDocumentMetadataHistory\", {}).n(\"SSMClient\", \"ListDocumentMetadataHistoryCommand\").f(void 0, void 0).ser(se_ListDocumentMetadataHistoryCommand).de(de_ListDocumentMetadataHistoryCommand).build() {\n static {\n __name(this, \"ListDocumentMetadataHistoryCommand\");\n }\n};\n\n// src/commands/ListDocumentsCommand.ts\n\n\n\nvar ListDocumentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListDocuments\", {}).n(\"SSMClient\", \"ListDocumentsCommand\").f(void 0, void 0).ser(se_ListDocumentsCommand).de(de_ListDocumentsCommand).build() {\n static {\n __name(this, \"ListDocumentsCommand\");\n }\n};\n\n// src/commands/ListDocumentVersionsCommand.ts\n\n\n\nvar ListDocumentVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListDocumentVersions\", {}).n(\"SSMClient\", \"ListDocumentVersionsCommand\").f(void 0, void 0).ser(se_ListDocumentVersionsCommand).de(de_ListDocumentVersionsCommand).build() {\n static {\n __name(this, \"ListDocumentVersionsCommand\");\n }\n};\n\n// src/commands/ListInventoryEntriesCommand.ts\n\n\n\nvar ListInventoryEntriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListInventoryEntries\", {}).n(\"SSMClient\", \"ListInventoryEntriesCommand\").f(void 0, void 0).ser(se_ListInventoryEntriesCommand).de(de_ListInventoryEntriesCommand).build() {\n static {\n __name(this, \"ListInventoryEntriesCommand\");\n }\n};\n\n// src/commands/ListNodesCommand.ts\n\n\n\nvar ListNodesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListNodes\", {}).n(\"SSMClient\", \"ListNodesCommand\").f(void 0, ListNodesResultFilterSensitiveLog).ser(se_ListNodesCommand).de(de_ListNodesCommand).build() {\n static {\n __name(this, \"ListNodesCommand\");\n }\n};\n\n// src/commands/ListNodesSummaryCommand.ts\n\n\n\nvar ListNodesSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListNodesSummary\", {}).n(\"SSMClient\", \"ListNodesSummaryCommand\").f(void 0, void 0).ser(se_ListNodesSummaryCommand).de(de_ListNodesSummaryCommand).build() {\n static {\n __name(this, \"ListNodesSummaryCommand\");\n }\n};\n\n// src/commands/ListOpsItemEventsCommand.ts\n\n\n\nvar ListOpsItemEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListOpsItemEvents\", {}).n(\"SSMClient\", \"ListOpsItemEventsCommand\").f(void 0, void 0).ser(se_ListOpsItemEventsCommand).de(de_ListOpsItemEventsCommand).build() {\n static {\n __name(this, \"ListOpsItemEventsCommand\");\n }\n};\n\n// src/commands/ListOpsItemRelatedItemsCommand.ts\n\n\n\nvar ListOpsItemRelatedItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListOpsItemRelatedItems\", {}).n(\"SSMClient\", \"ListOpsItemRelatedItemsCommand\").f(void 0, void 0).ser(se_ListOpsItemRelatedItemsCommand).de(de_ListOpsItemRelatedItemsCommand).build() {\n static {\n __name(this, \"ListOpsItemRelatedItemsCommand\");\n }\n};\n\n// src/commands/ListOpsMetadataCommand.ts\n\n\n\nvar ListOpsMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListOpsMetadata\", {}).n(\"SSMClient\", \"ListOpsMetadataCommand\").f(void 0, void 0).ser(se_ListOpsMetadataCommand).de(de_ListOpsMetadataCommand).build() {\n static {\n __name(this, \"ListOpsMetadataCommand\");\n }\n};\n\n// src/commands/ListResourceComplianceSummariesCommand.ts\n\n\n\nvar ListResourceComplianceSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListResourceComplianceSummaries\", {}).n(\"SSMClient\", \"ListResourceComplianceSummariesCommand\").f(void 0, void 0).ser(se_ListResourceComplianceSummariesCommand).de(de_ListResourceComplianceSummariesCommand).build() {\n static {\n __name(this, \"ListResourceComplianceSummariesCommand\");\n }\n};\n\n// src/commands/ListResourceDataSyncCommand.ts\n\n\n\nvar ListResourceDataSyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListResourceDataSync\", {}).n(\"SSMClient\", \"ListResourceDataSyncCommand\").f(void 0, void 0).ser(se_ListResourceDataSyncCommand).de(de_ListResourceDataSyncCommand).build() {\n static {\n __name(this, \"ListResourceDataSyncCommand\");\n }\n};\n\n// src/commands/ListTagsForResourceCommand.ts\n\n\n\nvar ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ListTagsForResource\", {}).n(\"SSMClient\", \"ListTagsForResourceCommand\").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {\n static {\n __name(this, \"ListTagsForResourceCommand\");\n }\n};\n\n// src/commands/ModifyDocumentPermissionCommand.ts\n\n\n\nvar ModifyDocumentPermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ModifyDocumentPermission\", {}).n(\"SSMClient\", \"ModifyDocumentPermissionCommand\").f(void 0, void 0).ser(se_ModifyDocumentPermissionCommand).de(de_ModifyDocumentPermissionCommand).build() {\n static {\n __name(this, \"ModifyDocumentPermissionCommand\");\n }\n};\n\n// src/commands/PutComplianceItemsCommand.ts\n\n\n\nvar PutComplianceItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"PutComplianceItems\", {}).n(\"SSMClient\", \"PutComplianceItemsCommand\").f(void 0, void 0).ser(se_PutComplianceItemsCommand).de(de_PutComplianceItemsCommand).build() {\n static {\n __name(this, \"PutComplianceItemsCommand\");\n }\n};\n\n// src/commands/PutInventoryCommand.ts\n\n\n\nvar PutInventoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"PutInventory\", {}).n(\"SSMClient\", \"PutInventoryCommand\").f(void 0, void 0).ser(se_PutInventoryCommand).de(de_PutInventoryCommand).build() {\n static {\n __name(this, \"PutInventoryCommand\");\n }\n};\n\n// src/commands/PutParameterCommand.ts\n\n\n\nvar PutParameterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"PutParameter\", {}).n(\"SSMClient\", \"PutParameterCommand\").f(PutParameterRequestFilterSensitiveLog, void 0).ser(se_PutParameterCommand).de(de_PutParameterCommand).build() {\n static {\n __name(this, \"PutParameterCommand\");\n }\n};\n\n// src/commands/PutResourcePolicyCommand.ts\n\n\n\nvar PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"PutResourcePolicy\", {}).n(\"SSMClient\", \"PutResourcePolicyCommand\").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {\n static {\n __name(this, \"PutResourcePolicyCommand\");\n }\n};\n\n// src/commands/RegisterDefaultPatchBaselineCommand.ts\n\n\n\nvar RegisterDefaultPatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"RegisterDefaultPatchBaseline\", {}).n(\"SSMClient\", \"RegisterDefaultPatchBaselineCommand\").f(void 0, void 0).ser(se_RegisterDefaultPatchBaselineCommand).de(de_RegisterDefaultPatchBaselineCommand).build() {\n static {\n __name(this, \"RegisterDefaultPatchBaselineCommand\");\n }\n};\n\n// src/commands/RegisterPatchBaselineForPatchGroupCommand.ts\n\n\n\nvar RegisterPatchBaselineForPatchGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"RegisterPatchBaselineForPatchGroup\", {}).n(\"SSMClient\", \"RegisterPatchBaselineForPatchGroupCommand\").f(void 0, void 0).ser(se_RegisterPatchBaselineForPatchGroupCommand).de(de_RegisterPatchBaselineForPatchGroupCommand).build() {\n static {\n __name(this, \"RegisterPatchBaselineForPatchGroupCommand\");\n }\n};\n\n// src/commands/RegisterTargetWithMaintenanceWindowCommand.ts\n\n\n\nvar RegisterTargetWithMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"RegisterTargetWithMaintenanceWindow\", {}).n(\"SSMClient\", \"RegisterTargetWithMaintenanceWindowCommand\").f(RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog, void 0).ser(se_RegisterTargetWithMaintenanceWindowCommand).de(de_RegisterTargetWithMaintenanceWindowCommand).build() {\n static {\n __name(this, \"RegisterTargetWithMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/RegisterTaskWithMaintenanceWindowCommand.ts\n\n\n\nvar RegisterTaskWithMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"RegisterTaskWithMaintenanceWindow\", {}).n(\"SSMClient\", \"RegisterTaskWithMaintenanceWindowCommand\").f(RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog, void 0).ser(se_RegisterTaskWithMaintenanceWindowCommand).de(de_RegisterTaskWithMaintenanceWindowCommand).build() {\n static {\n __name(this, \"RegisterTaskWithMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/RemoveTagsFromResourceCommand.ts\n\n\n\nvar RemoveTagsFromResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"RemoveTagsFromResource\", {}).n(\"SSMClient\", \"RemoveTagsFromResourceCommand\").f(void 0, void 0).ser(se_RemoveTagsFromResourceCommand).de(de_RemoveTagsFromResourceCommand).build() {\n static {\n __name(this, \"RemoveTagsFromResourceCommand\");\n }\n};\n\n// src/commands/ResetServiceSettingCommand.ts\n\n\n\nvar ResetServiceSettingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ResetServiceSetting\", {}).n(\"SSMClient\", \"ResetServiceSettingCommand\").f(void 0, void 0).ser(se_ResetServiceSettingCommand).de(de_ResetServiceSettingCommand).build() {\n static {\n __name(this, \"ResetServiceSettingCommand\");\n }\n};\n\n// src/commands/ResumeSessionCommand.ts\n\n\n\nvar ResumeSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"ResumeSession\", {}).n(\"SSMClient\", \"ResumeSessionCommand\").f(void 0, void 0).ser(se_ResumeSessionCommand).de(de_ResumeSessionCommand).build() {\n static {\n __name(this, \"ResumeSessionCommand\");\n }\n};\n\n// src/commands/SendAutomationSignalCommand.ts\n\n\n\nvar SendAutomationSignalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"SendAutomationSignal\", {}).n(\"SSMClient\", \"SendAutomationSignalCommand\").f(void 0, void 0).ser(se_SendAutomationSignalCommand).de(de_SendAutomationSignalCommand).build() {\n static {\n __name(this, \"SendAutomationSignalCommand\");\n }\n};\n\n// src/commands/SendCommandCommand.ts\n\n\n\nvar SendCommandCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"SendCommand\", {}).n(\"SSMClient\", \"SendCommandCommand\").f(SendCommandRequestFilterSensitiveLog, SendCommandResultFilterSensitiveLog).ser(se_SendCommandCommand).de(de_SendCommandCommand).build() {\n static {\n __name(this, \"SendCommandCommand\");\n }\n};\n\n// src/commands/StartAccessRequestCommand.ts\n\n\n\nvar StartAccessRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartAccessRequest\", {}).n(\"SSMClient\", \"StartAccessRequestCommand\").f(void 0, void 0).ser(se_StartAccessRequestCommand).de(de_StartAccessRequestCommand).build() {\n static {\n __name(this, \"StartAccessRequestCommand\");\n }\n};\n\n// src/commands/StartAssociationsOnceCommand.ts\n\n\n\nvar StartAssociationsOnceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartAssociationsOnce\", {}).n(\"SSMClient\", \"StartAssociationsOnceCommand\").f(void 0, void 0).ser(se_StartAssociationsOnceCommand).de(de_StartAssociationsOnceCommand).build() {\n static {\n __name(this, \"StartAssociationsOnceCommand\");\n }\n};\n\n// src/commands/StartAutomationExecutionCommand.ts\n\n\n\nvar StartAutomationExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartAutomationExecution\", {}).n(\"SSMClient\", \"StartAutomationExecutionCommand\").f(void 0, void 0).ser(se_StartAutomationExecutionCommand).de(de_StartAutomationExecutionCommand).build() {\n static {\n __name(this, \"StartAutomationExecutionCommand\");\n }\n};\n\n// src/commands/StartChangeRequestExecutionCommand.ts\n\n\n\nvar StartChangeRequestExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartChangeRequestExecution\", {}).n(\"SSMClient\", \"StartChangeRequestExecutionCommand\").f(void 0, void 0).ser(se_StartChangeRequestExecutionCommand).de(de_StartChangeRequestExecutionCommand).build() {\n static {\n __name(this, \"StartChangeRequestExecutionCommand\");\n }\n};\n\n// src/commands/StartExecutionPreviewCommand.ts\n\n\n\nvar StartExecutionPreviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartExecutionPreview\", {}).n(\"SSMClient\", \"StartExecutionPreviewCommand\").f(void 0, void 0).ser(se_StartExecutionPreviewCommand).de(de_StartExecutionPreviewCommand).build() {\n static {\n __name(this, \"StartExecutionPreviewCommand\");\n }\n};\n\n// src/commands/StartSessionCommand.ts\n\n\n\nvar StartSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StartSession\", {}).n(\"SSMClient\", \"StartSessionCommand\").f(void 0, void 0).ser(se_StartSessionCommand).de(de_StartSessionCommand).build() {\n static {\n __name(this, \"StartSessionCommand\");\n }\n};\n\n// src/commands/StopAutomationExecutionCommand.ts\n\n\n\nvar StopAutomationExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"StopAutomationExecution\", {}).n(\"SSMClient\", \"StopAutomationExecutionCommand\").f(void 0, void 0).ser(se_StopAutomationExecutionCommand).de(de_StopAutomationExecutionCommand).build() {\n static {\n __name(this, \"StopAutomationExecutionCommand\");\n }\n};\n\n// src/commands/TerminateSessionCommand.ts\n\n\n\nvar TerminateSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"TerminateSession\", {}).n(\"SSMClient\", \"TerminateSessionCommand\").f(void 0, void 0).ser(se_TerminateSessionCommand).de(de_TerminateSessionCommand).build() {\n static {\n __name(this, \"TerminateSessionCommand\");\n }\n};\n\n// src/commands/UnlabelParameterVersionCommand.ts\n\n\n\nvar UnlabelParameterVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UnlabelParameterVersion\", {}).n(\"SSMClient\", \"UnlabelParameterVersionCommand\").f(void 0, void 0).ser(se_UnlabelParameterVersionCommand).de(de_UnlabelParameterVersionCommand).build() {\n static {\n __name(this, \"UnlabelParameterVersionCommand\");\n }\n};\n\n// src/commands/UpdateAssociationCommand.ts\n\n\n\nvar UpdateAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateAssociation\", {}).n(\"SSMClient\", \"UpdateAssociationCommand\").f(UpdateAssociationRequestFilterSensitiveLog, UpdateAssociationResultFilterSensitiveLog).ser(se_UpdateAssociationCommand).de(de_UpdateAssociationCommand).build() {\n static {\n __name(this, \"UpdateAssociationCommand\");\n }\n};\n\n// src/commands/UpdateAssociationStatusCommand.ts\n\n\n\nvar UpdateAssociationStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateAssociationStatus\", {}).n(\"SSMClient\", \"UpdateAssociationStatusCommand\").f(void 0, UpdateAssociationStatusResultFilterSensitiveLog).ser(se_UpdateAssociationStatusCommand).de(de_UpdateAssociationStatusCommand).build() {\n static {\n __name(this, \"UpdateAssociationStatusCommand\");\n }\n};\n\n// src/commands/UpdateDocumentCommand.ts\n\n\n\nvar UpdateDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateDocument\", {}).n(\"SSMClient\", \"UpdateDocumentCommand\").f(void 0, void 0).ser(se_UpdateDocumentCommand).de(de_UpdateDocumentCommand).build() {\n static {\n __name(this, \"UpdateDocumentCommand\");\n }\n};\n\n// src/commands/UpdateDocumentDefaultVersionCommand.ts\n\n\n\nvar UpdateDocumentDefaultVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateDocumentDefaultVersion\", {}).n(\"SSMClient\", \"UpdateDocumentDefaultVersionCommand\").f(void 0, void 0).ser(se_UpdateDocumentDefaultVersionCommand).de(de_UpdateDocumentDefaultVersionCommand).build() {\n static {\n __name(this, \"UpdateDocumentDefaultVersionCommand\");\n }\n};\n\n// src/commands/UpdateDocumentMetadataCommand.ts\n\n\n\nvar UpdateDocumentMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateDocumentMetadata\", {}).n(\"SSMClient\", \"UpdateDocumentMetadataCommand\").f(void 0, void 0).ser(se_UpdateDocumentMetadataCommand).de(de_UpdateDocumentMetadataCommand).build() {\n static {\n __name(this, \"UpdateDocumentMetadataCommand\");\n }\n};\n\n// src/commands/UpdateMaintenanceWindowCommand.ts\n\n\n\nvar UpdateMaintenanceWindowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateMaintenanceWindow\", {}).n(\"SSMClient\", \"UpdateMaintenanceWindowCommand\").f(UpdateMaintenanceWindowRequestFilterSensitiveLog, UpdateMaintenanceWindowResultFilterSensitiveLog).ser(se_UpdateMaintenanceWindowCommand).de(de_UpdateMaintenanceWindowCommand).build() {\n static {\n __name(this, \"UpdateMaintenanceWindowCommand\");\n }\n};\n\n// src/commands/UpdateMaintenanceWindowTargetCommand.ts\n\n\n\nvar UpdateMaintenanceWindowTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateMaintenanceWindowTarget\", {}).n(\"SSMClient\", \"UpdateMaintenanceWindowTargetCommand\").f(UpdateMaintenanceWindowTargetRequestFilterSensitiveLog, UpdateMaintenanceWindowTargetResultFilterSensitiveLog).ser(se_UpdateMaintenanceWindowTargetCommand).de(de_UpdateMaintenanceWindowTargetCommand).build() {\n static {\n __name(this, \"UpdateMaintenanceWindowTargetCommand\");\n }\n};\n\n// src/commands/UpdateMaintenanceWindowTaskCommand.ts\n\n\n\nvar UpdateMaintenanceWindowTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateMaintenanceWindowTask\", {}).n(\"SSMClient\", \"UpdateMaintenanceWindowTaskCommand\").f(UpdateMaintenanceWindowTaskRequestFilterSensitiveLog, UpdateMaintenanceWindowTaskResultFilterSensitiveLog).ser(se_UpdateMaintenanceWindowTaskCommand).de(de_UpdateMaintenanceWindowTaskCommand).build() {\n static {\n __name(this, \"UpdateMaintenanceWindowTaskCommand\");\n }\n};\n\n// src/commands/UpdateManagedInstanceRoleCommand.ts\n\n\n\nvar UpdateManagedInstanceRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateManagedInstanceRole\", {}).n(\"SSMClient\", \"UpdateManagedInstanceRoleCommand\").f(void 0, void 0).ser(se_UpdateManagedInstanceRoleCommand).de(de_UpdateManagedInstanceRoleCommand).build() {\n static {\n __name(this, \"UpdateManagedInstanceRoleCommand\");\n }\n};\n\n// src/commands/UpdateOpsItemCommand.ts\n\n\n\nvar UpdateOpsItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateOpsItem\", {}).n(\"SSMClient\", \"UpdateOpsItemCommand\").f(void 0, void 0).ser(se_UpdateOpsItemCommand).de(de_UpdateOpsItemCommand).build() {\n static {\n __name(this, \"UpdateOpsItemCommand\");\n }\n};\n\n// src/commands/UpdateOpsMetadataCommand.ts\n\n\n\nvar UpdateOpsMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateOpsMetadata\", {}).n(\"SSMClient\", \"UpdateOpsMetadataCommand\").f(void 0, void 0).ser(se_UpdateOpsMetadataCommand).de(de_UpdateOpsMetadataCommand).build() {\n static {\n __name(this, \"UpdateOpsMetadataCommand\");\n }\n};\n\n// src/commands/UpdatePatchBaselineCommand.ts\n\n\n\nvar UpdatePatchBaselineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdatePatchBaseline\", {}).n(\"SSMClient\", \"UpdatePatchBaselineCommand\").f(UpdatePatchBaselineRequestFilterSensitiveLog, UpdatePatchBaselineResultFilterSensitiveLog).ser(se_UpdatePatchBaselineCommand).de(de_UpdatePatchBaselineCommand).build() {\n static {\n __name(this, \"UpdatePatchBaselineCommand\");\n }\n};\n\n// src/commands/UpdateResourceDataSyncCommand.ts\n\n\n\nvar UpdateResourceDataSyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateResourceDataSync\", {}).n(\"SSMClient\", \"UpdateResourceDataSyncCommand\").f(void 0, void 0).ser(se_UpdateResourceDataSyncCommand).de(de_UpdateResourceDataSyncCommand).build() {\n static {\n __name(this, \"UpdateResourceDataSyncCommand\");\n }\n};\n\n// src/commands/UpdateServiceSettingCommand.ts\n\n\n\nvar UpdateServiceSettingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())\n ];\n}).s(\"AmazonSSM\", \"UpdateServiceSetting\", {}).n(\"SSMClient\", \"UpdateServiceSettingCommand\").f(void 0, void 0).ser(se_UpdateServiceSettingCommand).de(de_UpdateServiceSettingCommand).build() {\n static {\n __name(this, \"UpdateServiceSettingCommand\");\n }\n};\n\n// src/SSM.ts\nvar commands = {\n AddTagsToResourceCommand,\n AssociateOpsItemRelatedItemCommand,\n CancelCommandCommand,\n CancelMaintenanceWindowExecutionCommand,\n CreateActivationCommand,\n CreateAssociationCommand,\n CreateAssociationBatchCommand,\n CreateDocumentCommand,\n CreateMaintenanceWindowCommand,\n CreateOpsItemCommand,\n CreateOpsMetadataCommand,\n CreatePatchBaselineCommand,\n CreateResourceDataSyncCommand,\n DeleteActivationCommand,\n DeleteAssociationCommand,\n DeleteDocumentCommand,\n DeleteInventoryCommand,\n DeleteMaintenanceWindowCommand,\n DeleteOpsItemCommand,\n DeleteOpsMetadataCommand,\n DeleteParameterCommand,\n DeleteParametersCommand,\n DeletePatchBaselineCommand,\n DeleteResourceDataSyncCommand,\n DeleteResourcePolicyCommand,\n DeregisterManagedInstanceCommand,\n DeregisterPatchBaselineForPatchGroupCommand,\n DeregisterTargetFromMaintenanceWindowCommand,\n DeregisterTaskFromMaintenanceWindowCommand,\n DescribeActivationsCommand,\n DescribeAssociationCommand,\n DescribeAssociationExecutionsCommand,\n DescribeAssociationExecutionTargetsCommand,\n DescribeAutomationExecutionsCommand,\n DescribeAutomationStepExecutionsCommand,\n DescribeAvailablePatchesCommand,\n DescribeDocumentCommand,\n DescribeDocumentPermissionCommand,\n DescribeEffectiveInstanceAssociationsCommand,\n DescribeEffectivePatchesForPatchBaselineCommand,\n DescribeInstanceAssociationsStatusCommand,\n DescribeInstanceInformationCommand,\n DescribeInstancePatchesCommand,\n DescribeInstancePatchStatesCommand,\n DescribeInstancePatchStatesForPatchGroupCommand,\n DescribeInstancePropertiesCommand,\n DescribeInventoryDeletionsCommand,\n DescribeMaintenanceWindowExecutionsCommand,\n DescribeMaintenanceWindowExecutionTaskInvocationsCommand,\n DescribeMaintenanceWindowExecutionTasksCommand,\n DescribeMaintenanceWindowsCommand,\n DescribeMaintenanceWindowScheduleCommand,\n DescribeMaintenanceWindowsForTargetCommand,\n DescribeMaintenanceWindowTargetsCommand,\n DescribeMaintenanceWindowTasksCommand,\n DescribeOpsItemsCommand,\n DescribeParametersCommand,\n DescribePatchBaselinesCommand,\n DescribePatchGroupsCommand,\n DescribePatchGroupStateCommand,\n DescribePatchPropertiesCommand,\n DescribeSessionsCommand,\n DisassociateOpsItemRelatedItemCommand,\n GetAccessTokenCommand,\n GetAutomationExecutionCommand,\n GetCalendarStateCommand,\n GetCommandInvocationCommand,\n GetConnectionStatusCommand,\n GetDefaultPatchBaselineCommand,\n GetDeployablePatchSnapshotForInstanceCommand,\n GetDocumentCommand,\n GetExecutionPreviewCommand,\n GetInventoryCommand,\n GetInventorySchemaCommand,\n GetMaintenanceWindowCommand,\n GetMaintenanceWindowExecutionCommand,\n GetMaintenanceWindowExecutionTaskCommand,\n GetMaintenanceWindowExecutionTaskInvocationCommand,\n GetMaintenanceWindowTaskCommand,\n GetOpsItemCommand,\n GetOpsMetadataCommand,\n GetOpsSummaryCommand,\n GetParameterCommand,\n GetParameterHistoryCommand,\n GetParametersCommand,\n GetParametersByPathCommand,\n GetPatchBaselineCommand,\n GetPatchBaselineForPatchGroupCommand,\n GetResourcePoliciesCommand,\n GetServiceSettingCommand,\n LabelParameterVersionCommand,\n ListAssociationsCommand,\n ListAssociationVersionsCommand,\n ListCommandInvocationsCommand,\n ListCommandsCommand,\n ListComplianceItemsCommand,\n ListComplianceSummariesCommand,\n ListDocumentMetadataHistoryCommand,\n ListDocumentsCommand,\n ListDocumentVersionsCommand,\n ListInventoryEntriesCommand,\n ListNodesCommand,\n ListNodesSummaryCommand,\n ListOpsItemEventsCommand,\n ListOpsItemRelatedItemsCommand,\n ListOpsMetadataCommand,\n ListResourceComplianceSummariesCommand,\n ListResourceDataSyncCommand,\n ListTagsForResourceCommand,\n ModifyDocumentPermissionCommand,\n PutComplianceItemsCommand,\n PutInventoryCommand,\n PutParameterCommand,\n PutResourcePolicyCommand,\n RegisterDefaultPatchBaselineCommand,\n RegisterPatchBaselineForPatchGroupCommand,\n RegisterTargetWithMaintenanceWindowCommand,\n RegisterTaskWithMaintenanceWindowCommand,\n RemoveTagsFromResourceCommand,\n ResetServiceSettingCommand,\n ResumeSessionCommand,\n SendAutomationSignalCommand,\n SendCommandCommand,\n StartAccessRequestCommand,\n StartAssociationsOnceCommand,\n StartAutomationExecutionCommand,\n StartChangeRequestExecutionCommand,\n StartExecutionPreviewCommand,\n StartSessionCommand,\n StopAutomationExecutionCommand,\n TerminateSessionCommand,\n UnlabelParameterVersionCommand,\n UpdateAssociationCommand,\n UpdateAssociationStatusCommand,\n UpdateDocumentCommand,\n UpdateDocumentDefaultVersionCommand,\n UpdateDocumentMetadataCommand,\n UpdateMaintenanceWindowCommand,\n UpdateMaintenanceWindowTargetCommand,\n UpdateMaintenanceWindowTaskCommand,\n UpdateManagedInstanceRoleCommand,\n UpdateOpsItemCommand,\n UpdateOpsMetadataCommand,\n UpdatePatchBaselineCommand,\n UpdateResourceDataSyncCommand,\n UpdateServiceSettingCommand\n};\nvar SSM = class extends SSMClient {\n static {\n __name(this, \"SSM\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSM);\n\n// src/pagination/DescribeActivationsPaginator.ts\n\nvar paginateDescribeActivations = (0, import_core.createPaginator)(SSMClient, DescribeActivationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAssociationExecutionTargetsPaginator.ts\n\nvar paginateDescribeAssociationExecutionTargets = (0, import_core.createPaginator)(SSMClient, DescribeAssociationExecutionTargetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAssociationExecutionsPaginator.ts\n\nvar paginateDescribeAssociationExecutions = (0, import_core.createPaginator)(SSMClient, DescribeAssociationExecutionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAutomationExecutionsPaginator.ts\n\nvar paginateDescribeAutomationExecutions = (0, import_core.createPaginator)(SSMClient, DescribeAutomationExecutionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAutomationStepExecutionsPaginator.ts\n\nvar paginateDescribeAutomationStepExecutions = (0, import_core.createPaginator)(SSMClient, DescribeAutomationStepExecutionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeAvailablePatchesPaginator.ts\n\nvar paginateDescribeAvailablePatches = (0, import_core.createPaginator)(SSMClient, DescribeAvailablePatchesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts\n\nvar paginateDescribeEffectiveInstanceAssociations = (0, import_core.createPaginator)(SSMClient, DescribeEffectiveInstanceAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts\n\nvar paginateDescribeEffectivePatchesForPatchBaseline = (0, import_core.createPaginator)(SSMClient, DescribeEffectivePatchesForPatchBaselineCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceAssociationsStatusPaginator.ts\n\nvar paginateDescribeInstanceAssociationsStatus = (0, import_core.createPaginator)(SSMClient, DescribeInstanceAssociationsStatusCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstanceInformationPaginator.ts\n\nvar paginateDescribeInstanceInformation = (0, import_core.createPaginator)(SSMClient, DescribeInstanceInformationCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts\n\nvar paginateDescribeInstancePatchStatesForPatchGroup = (0, import_core.createPaginator)(SSMClient, DescribeInstancePatchStatesForPatchGroupCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstancePatchStatesPaginator.ts\n\nvar paginateDescribeInstancePatchStates = (0, import_core.createPaginator)(SSMClient, DescribeInstancePatchStatesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstancePatchesPaginator.ts\n\nvar paginateDescribeInstancePatches = (0, import_core.createPaginator)(SSMClient, DescribeInstancePatchesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInstancePropertiesPaginator.ts\n\nvar paginateDescribeInstanceProperties = (0, import_core.createPaginator)(SSMClient, DescribeInstancePropertiesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeInventoryDeletionsPaginator.ts\n\nvar paginateDescribeInventoryDeletions = (0, import_core.createPaginator)(SSMClient, DescribeInventoryDeletionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts\n\nvar paginateDescribeMaintenanceWindowExecutionTaskInvocations = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowExecutionTaskInvocationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts\n\nvar paginateDescribeMaintenanceWindowExecutionTasks = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowExecutionTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts\n\nvar paginateDescribeMaintenanceWindowExecutions = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowExecutionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowSchedulePaginator.ts\n\nvar paginateDescribeMaintenanceWindowSchedule = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowScheduleCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowTargetsPaginator.ts\n\nvar paginateDescribeMaintenanceWindowTargets = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowTargetsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowTasksPaginator.ts\n\nvar paginateDescribeMaintenanceWindowTasks = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowTasksCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts\n\nvar paginateDescribeMaintenanceWindowsForTarget = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowsForTargetCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeMaintenanceWindowsPaginator.ts\n\nvar paginateDescribeMaintenanceWindows = (0, import_core.createPaginator)(SSMClient, DescribeMaintenanceWindowsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeOpsItemsPaginator.ts\n\nvar paginateDescribeOpsItems = (0, import_core.createPaginator)(SSMClient, DescribeOpsItemsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeParametersPaginator.ts\n\nvar paginateDescribeParameters = (0, import_core.createPaginator)(SSMClient, DescribeParametersCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePatchBaselinesPaginator.ts\n\nvar paginateDescribePatchBaselines = (0, import_core.createPaginator)(SSMClient, DescribePatchBaselinesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePatchGroupsPaginator.ts\n\nvar paginateDescribePatchGroups = (0, import_core.createPaginator)(SSMClient, DescribePatchGroupsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribePatchPropertiesPaginator.ts\n\nvar paginateDescribePatchProperties = (0, import_core.createPaginator)(SSMClient, DescribePatchPropertiesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/DescribeSessionsPaginator.ts\n\nvar paginateDescribeSessions = (0, import_core.createPaginator)(SSMClient, DescribeSessionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetInventoryPaginator.ts\n\nvar paginateGetInventory = (0, import_core.createPaginator)(SSMClient, GetInventoryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetInventorySchemaPaginator.ts\n\nvar paginateGetInventorySchema = (0, import_core.createPaginator)(SSMClient, GetInventorySchemaCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetOpsSummaryPaginator.ts\n\nvar paginateGetOpsSummary = (0, import_core.createPaginator)(SSMClient, GetOpsSummaryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetParameterHistoryPaginator.ts\n\nvar paginateGetParameterHistory = (0, import_core.createPaginator)(SSMClient, GetParameterHistoryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetParametersByPathPaginator.ts\n\nvar paginateGetParametersByPath = (0, import_core.createPaginator)(SSMClient, GetParametersByPathCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/GetResourcePoliciesPaginator.ts\n\nvar paginateGetResourcePolicies = (0, import_core.createPaginator)(SSMClient, GetResourcePoliciesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListAssociationVersionsPaginator.ts\n\nvar paginateListAssociationVersions = (0, import_core.createPaginator)(SSMClient, ListAssociationVersionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListAssociationsPaginator.ts\n\nvar paginateListAssociations = (0, import_core.createPaginator)(SSMClient, ListAssociationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListCommandInvocationsPaginator.ts\n\nvar paginateListCommandInvocations = (0, import_core.createPaginator)(SSMClient, ListCommandInvocationsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListCommandsPaginator.ts\n\nvar paginateListCommands = (0, import_core.createPaginator)(SSMClient, ListCommandsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListComplianceItemsPaginator.ts\n\nvar paginateListComplianceItems = (0, import_core.createPaginator)(SSMClient, ListComplianceItemsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListComplianceSummariesPaginator.ts\n\nvar paginateListComplianceSummaries = (0, import_core.createPaginator)(SSMClient, ListComplianceSummariesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListDocumentVersionsPaginator.ts\n\nvar paginateListDocumentVersions = (0, import_core.createPaginator)(SSMClient, ListDocumentVersionsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListDocumentsPaginator.ts\n\nvar paginateListDocuments = (0, import_core.createPaginator)(SSMClient, ListDocumentsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListNodesPaginator.ts\n\nvar paginateListNodes = (0, import_core.createPaginator)(SSMClient, ListNodesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListNodesSummaryPaginator.ts\n\nvar paginateListNodesSummary = (0, import_core.createPaginator)(SSMClient, ListNodesSummaryCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListOpsItemEventsPaginator.ts\n\nvar paginateListOpsItemEvents = (0, import_core.createPaginator)(SSMClient, ListOpsItemEventsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListOpsItemRelatedItemsPaginator.ts\n\nvar paginateListOpsItemRelatedItems = (0, import_core.createPaginator)(SSMClient, ListOpsItemRelatedItemsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListOpsMetadataPaginator.ts\n\nvar paginateListOpsMetadata = (0, import_core.createPaginator)(SSMClient, ListOpsMetadataCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListResourceComplianceSummariesPaginator.ts\n\nvar paginateListResourceComplianceSummaries = (0, import_core.createPaginator)(SSMClient, ListResourceComplianceSummariesCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/pagination/ListResourceDataSyncPaginator.ts\n\nvar paginateListResourceDataSync = (0, import_core.createPaginator)(SSMClient, ListResourceDataSyncCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\n// src/waiters/waitForCommandExecuted.ts\nvar import_util_waiter = require(\"@smithy/util-waiter\");\nvar checkState = /* @__PURE__ */ __name(async (client, input) => {\n let reason;\n try {\n const result = await client.send(new GetCommandInvocationCommand(input));\n reason = result;\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Pending\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"InProgress\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Delayed\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Success\") {\n return { state: import_util_waiter.WaiterState.SUCCESS, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Cancelled\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"TimedOut\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Failed\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n try {\n const returnComparator = /* @__PURE__ */ __name(() => {\n return result.Status;\n }, \"returnComparator\");\n if (returnComparator() === \"Cancelling\") {\n return { state: import_util_waiter.WaiterState.FAILURE, reason };\n }\n } catch (e) {\n }\n } catch (exception) {\n reason = exception;\n if (exception.name && exception.name == \"InvocationDoesNotExist\") {\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n }\n }\n return { state: import_util_waiter.WaiterState.RETRY, reason };\n}, \"checkState\");\nvar waitForCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n}, \"waitForCommandExecuted\");\nvar waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);\n return (0, import_util_waiter.checkExceptions)(result);\n}, \"waitUntilCommandExecuted\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSMServiceException,\n __Client,\n SSMClient,\n SSM,\n $Command,\n AddTagsToResourceCommand,\n AssociateOpsItemRelatedItemCommand,\n CancelCommandCommand,\n CancelMaintenanceWindowExecutionCommand,\n CreateActivationCommand,\n CreateAssociationBatchCommand,\n CreateAssociationCommand,\n CreateDocumentCommand,\n CreateMaintenanceWindowCommand,\n CreateOpsItemCommand,\n CreateOpsMetadataCommand,\n CreatePatchBaselineCommand,\n CreateResourceDataSyncCommand,\n DeleteActivationCommand,\n DeleteAssociationCommand,\n DeleteDocumentCommand,\n DeleteInventoryCommand,\n DeleteMaintenanceWindowCommand,\n DeleteOpsItemCommand,\n DeleteOpsMetadataCommand,\n DeleteParameterCommand,\n DeleteParametersCommand,\n DeletePatchBaselineCommand,\n DeleteResourceDataSyncCommand,\n DeleteResourcePolicyCommand,\n DeregisterManagedInstanceCommand,\n DeregisterPatchBaselineForPatchGroupCommand,\n DeregisterTargetFromMaintenanceWindowCommand,\n DeregisterTaskFromMaintenanceWindowCommand,\n DescribeActivationsCommand,\n DescribeAssociationCommand,\n DescribeAssociationExecutionTargetsCommand,\n DescribeAssociationExecutionsCommand,\n DescribeAutomationExecutionsCommand,\n DescribeAutomationStepExecutionsCommand,\n DescribeAvailablePatchesCommand,\n DescribeDocumentCommand,\n DescribeDocumentPermissionCommand,\n DescribeEffectiveInstanceAssociationsCommand,\n DescribeEffectivePatchesForPatchBaselineCommand,\n DescribeInstanceAssociationsStatusCommand,\n DescribeInstanceInformationCommand,\n DescribeInstancePatchStatesCommand,\n DescribeInstancePatchStatesForPatchGroupCommand,\n DescribeInstancePatchesCommand,\n DescribeInstancePropertiesCommand,\n DescribeInventoryDeletionsCommand,\n DescribeMaintenanceWindowExecutionTaskInvocationsCommand,\n DescribeMaintenanceWindowExecutionTasksCommand,\n DescribeMaintenanceWindowExecutionsCommand,\n DescribeMaintenanceWindowScheduleCommand,\n DescribeMaintenanceWindowTargetsCommand,\n DescribeMaintenanceWindowTasksCommand,\n DescribeMaintenanceWindowsCommand,\n DescribeMaintenanceWindowsForTargetCommand,\n DescribeOpsItemsCommand,\n DescribeParametersCommand,\n DescribePatchBaselinesCommand,\n DescribePatchGroupStateCommand,\n DescribePatchGroupsCommand,\n DescribePatchPropertiesCommand,\n DescribeSessionsCommand,\n DisassociateOpsItemRelatedItemCommand,\n GetAccessTokenCommand,\n GetAutomationExecutionCommand,\n GetCalendarStateCommand,\n GetCommandInvocationCommand,\n GetConnectionStatusCommand,\n GetDefaultPatchBaselineCommand,\n GetDeployablePatchSnapshotForInstanceCommand,\n GetDocumentCommand,\n GetExecutionPreviewCommand,\n GetInventoryCommand,\n GetInventorySchemaCommand,\n GetMaintenanceWindowCommand,\n GetMaintenanceWindowExecutionCommand,\n GetMaintenanceWindowExecutionTaskCommand,\n GetMaintenanceWindowExecutionTaskInvocationCommand,\n GetMaintenanceWindowTaskCommand,\n GetOpsItemCommand,\n GetOpsMetadataCommand,\n GetOpsSummaryCommand,\n GetParameterCommand,\n GetParameterHistoryCommand,\n GetParametersByPathCommand,\n GetParametersCommand,\n GetPatchBaselineCommand,\n GetPatchBaselineForPatchGroupCommand,\n GetResourcePoliciesCommand,\n GetServiceSettingCommand,\n LabelParameterVersionCommand,\n ListAssociationVersionsCommand,\n ListAssociationsCommand,\n ListCommandInvocationsCommand,\n ListCommandsCommand,\n ListComplianceItemsCommand,\n ListComplianceSummariesCommand,\n ListDocumentMetadataHistoryCommand,\n ListDocumentVersionsCommand,\n ListDocumentsCommand,\n ListInventoryEntriesCommand,\n ListNodesCommand,\n ListNodesSummaryCommand,\n ListOpsItemEventsCommand,\n ListOpsItemRelatedItemsCommand,\n ListOpsMetadataCommand,\n ListResourceComplianceSummariesCommand,\n ListResourceDataSyncCommand,\n ListTagsForResourceCommand,\n ModifyDocumentPermissionCommand,\n PutComplianceItemsCommand,\n PutInventoryCommand,\n PutParameterCommand,\n PutResourcePolicyCommand,\n RegisterDefaultPatchBaselineCommand,\n RegisterPatchBaselineForPatchGroupCommand,\n RegisterTargetWithMaintenanceWindowCommand,\n RegisterTaskWithMaintenanceWindowCommand,\n RemoveTagsFromResourceCommand,\n ResetServiceSettingCommand,\n ResumeSessionCommand,\n SendAutomationSignalCommand,\n SendCommandCommand,\n StartAccessRequestCommand,\n StartAssociationsOnceCommand,\n StartAutomationExecutionCommand,\n StartChangeRequestExecutionCommand,\n StartExecutionPreviewCommand,\n StartSessionCommand,\n StopAutomationExecutionCommand,\n TerminateSessionCommand,\n UnlabelParameterVersionCommand,\n UpdateAssociationCommand,\n UpdateAssociationStatusCommand,\n UpdateDocumentCommand,\n UpdateDocumentDefaultVersionCommand,\n UpdateDocumentMetadataCommand,\n UpdateMaintenanceWindowCommand,\n UpdateMaintenanceWindowTargetCommand,\n UpdateMaintenanceWindowTaskCommand,\n UpdateManagedInstanceRoleCommand,\n UpdateOpsItemCommand,\n UpdateOpsMetadataCommand,\n UpdatePatchBaselineCommand,\n UpdateResourceDataSyncCommand,\n UpdateServiceSettingCommand,\n paginateDescribeActivations,\n paginateDescribeAssociationExecutionTargets,\n paginateDescribeAssociationExecutions,\n paginateDescribeAutomationExecutions,\n paginateDescribeAutomationStepExecutions,\n paginateDescribeAvailablePatches,\n paginateDescribeEffectiveInstanceAssociations,\n paginateDescribeEffectivePatchesForPatchBaseline,\n paginateDescribeInstanceAssociationsStatus,\n paginateDescribeInstanceInformation,\n paginateDescribeInstancePatchStatesForPatchGroup,\n paginateDescribeInstancePatchStates,\n paginateDescribeInstancePatches,\n paginateDescribeInstanceProperties,\n paginateDescribeInventoryDeletions,\n paginateDescribeMaintenanceWindowExecutionTaskInvocations,\n paginateDescribeMaintenanceWindowExecutionTasks,\n paginateDescribeMaintenanceWindowExecutions,\n paginateDescribeMaintenanceWindowSchedule,\n paginateDescribeMaintenanceWindowTargets,\n paginateDescribeMaintenanceWindowTasks,\n paginateDescribeMaintenanceWindowsForTarget,\n paginateDescribeMaintenanceWindows,\n paginateDescribeOpsItems,\n paginateDescribeParameters,\n paginateDescribePatchBaselines,\n paginateDescribePatchGroups,\n paginateDescribePatchProperties,\n paginateDescribeSessions,\n paginateGetInventory,\n paginateGetInventorySchema,\n paginateGetOpsSummary,\n paginateGetParameterHistory,\n paginateGetParametersByPath,\n paginateGetResourcePolicies,\n paginateListAssociationVersions,\n paginateListAssociations,\n paginateListCommandInvocations,\n paginateListCommands,\n paginateListComplianceItems,\n paginateListComplianceSummaries,\n paginateListDocumentVersions,\n paginateListDocuments,\n paginateListNodes,\n paginateListNodesSummary,\n paginateListOpsItemEvents,\n paginateListOpsItemRelatedItems,\n paginateListOpsMetadata,\n paginateListResourceComplianceSummaries,\n paginateListResourceDataSync,\n waitForCommandExecuted,\n waitUntilCommandExecuted,\n AccessDeniedException,\n AccessRequestStatus,\n ResourceTypeForTagging,\n InternalServerError,\n InvalidResourceId,\n InvalidResourceType,\n TooManyTagsError,\n TooManyUpdates,\n ExternalAlarmState,\n AlreadyExistsException,\n OpsItemConflictException,\n OpsItemInvalidParameterException,\n OpsItemLimitExceededException,\n OpsItemNotFoundException,\n OpsItemRelatedItemAlreadyExistsException,\n DuplicateInstanceId,\n InvalidCommandId,\n InvalidInstanceId,\n DoesNotExistException,\n InvalidParameters,\n AssociationAlreadyExists,\n AssociationLimitExceeded,\n AssociationComplianceSeverity,\n AssociationSyncCompliance,\n AssociationStatusName,\n InvalidDocument,\n InvalidDocumentVersion,\n InvalidOutputLocation,\n InvalidSchedule,\n InvalidTag,\n InvalidTarget,\n InvalidTargetMaps,\n UnsupportedPlatformType,\n Fault,\n AttachmentsSourceKey,\n DocumentFormat,\n DocumentType,\n DocumentHashType,\n DocumentParameterType,\n PlatformType,\n ReviewStatus,\n DocumentStatus,\n DocumentAlreadyExists,\n DocumentLimitExceeded,\n InvalidDocumentContent,\n InvalidDocumentSchemaVersion,\n MaxDocumentSizeExceeded,\n IdempotentParameterMismatch,\n ResourceLimitExceededException,\n OpsItemDataType,\n OpsItemAccessDeniedException,\n OpsItemAlreadyExistsException,\n OpsMetadataAlreadyExistsException,\n OpsMetadataInvalidArgumentException,\n OpsMetadataLimitExceededException,\n OpsMetadataTooManyUpdatesException,\n PatchComplianceLevel,\n PatchFilterKey,\n PatchComplianceStatus,\n OperatingSystem,\n PatchAction,\n ResourceDataSyncS3Format,\n ResourceDataSyncAlreadyExistsException,\n ResourceDataSyncCountExceededException,\n ResourceDataSyncInvalidConfigurationException,\n InvalidActivation,\n InvalidActivationId,\n AssociationDoesNotExist,\n AssociatedInstances,\n InvalidDocumentOperation,\n InventorySchemaDeleteOption,\n InvalidDeleteInventoryParametersException,\n InvalidInventoryRequestException,\n InvalidOptionException,\n InvalidTypeNameException,\n OpsMetadataNotFoundException,\n ParameterNotFound,\n ResourceInUseException,\n ResourceDataSyncNotFoundException,\n MalformedResourcePolicyDocumentException,\n ResourceNotFoundException,\n ResourcePolicyConflictException,\n ResourcePolicyInvalidParameterException,\n ResourcePolicyNotFoundException,\n TargetInUseException,\n DescribeActivationsFilterKeys,\n InvalidFilter,\n InvalidNextToken,\n InvalidAssociationVersion,\n AssociationExecutionFilterKey,\n AssociationFilterOperatorType,\n AssociationExecutionDoesNotExist,\n AssociationExecutionTargetsFilterKey,\n AutomationExecutionFilterKey,\n AutomationExecutionStatus,\n AutomationSubtype,\n AutomationType,\n ExecutionMode,\n InvalidFilterKey,\n InvalidFilterValue,\n AutomationExecutionNotFoundException,\n StepExecutionFilterKey,\n DocumentPermissionType,\n InvalidPermissionType,\n PatchDeploymentStatus,\n UnsupportedOperatingSystem,\n InstanceInformationFilterKey,\n PingStatus,\n ResourceType,\n SourceType,\n InvalidInstanceInformationFilterValue,\n PatchComplianceDataState,\n PatchOperationType,\n RebootOption,\n InstancePatchStateOperatorType,\n InstancePropertyFilterOperator,\n InstancePropertyFilterKey,\n InvalidInstancePropertyFilterValue,\n InventoryDeletionStatus,\n InvalidDeletionIdException,\n MaintenanceWindowExecutionStatus,\n MaintenanceWindowTaskType,\n CreateAssociationRequestFilterSensitiveLog,\n AssociationDescriptionFilterSensitiveLog,\n CreateAssociationResultFilterSensitiveLog,\n CreateAssociationBatchRequestEntryFilterSensitiveLog,\n CreateAssociationBatchRequestFilterSensitiveLog,\n FailedCreateAssociationFilterSensitiveLog,\n CreateAssociationBatchResultFilterSensitiveLog,\n CreateMaintenanceWindowRequestFilterSensitiveLog,\n PatchSourceFilterSensitiveLog,\n CreatePatchBaselineRequestFilterSensitiveLog,\n DescribeAssociationResultFilterSensitiveLog,\n InstanceInformationFilterSensitiveLog,\n DescribeInstanceInformationResultFilterSensitiveLog,\n InstancePatchStateFilterSensitiveLog,\n DescribeInstancePatchStatesResultFilterSensitiveLog,\n DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog,\n InstancePropertyFilterSensitiveLog,\n DescribeInstancePropertiesResultFilterSensitiveLog,\n MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog,\n DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog,\n MaintenanceWindowIdentityFilterSensitiveLog,\n DescribeMaintenanceWindowsResultFilterSensitiveLog,\n MaintenanceWindowResourceType,\n MaintenanceWindowTaskCutoffBehavior,\n OpsItemFilterKey,\n OpsItemFilterOperator,\n OpsItemStatus,\n ParametersFilterKey,\n ParameterTier,\n ParameterType,\n InvalidFilterOption,\n PatchSet,\n PatchProperty,\n SessionFilterKey,\n SessionState,\n SessionStatus,\n OpsItemRelatedItemAssociationNotFoundException,\n ThrottlingException,\n ValidationException,\n CalendarState,\n InvalidDocumentType,\n UnsupportedCalendarException,\n CommandInvocationStatus,\n InvalidPluginName,\n InvocationDoesNotExist,\n ConnectionStatus,\n UnsupportedFeatureRequiredException,\n AttachmentHashType,\n ImpactType,\n ExecutionPreview,\n ExecutionPreviewStatus,\n InventoryQueryOperatorType,\n InvalidAggregatorException,\n InvalidInventoryGroupException,\n InvalidResultAttributeException,\n InventoryAttributeDataType,\n NotificationEvent,\n NotificationType,\n OpsFilterOperatorType,\n InvalidKeyId,\n ParameterVersionNotFound,\n ServiceSettingNotFound,\n ParameterVersionLabelLimitExceeded,\n AssociationFilterKey,\n CommandFilterKey,\n CommandPluginStatus,\n CommandStatus,\n ComplianceQueryOperatorType,\n ComplianceSeverity,\n ComplianceStatus,\n DocumentMetadataEnum,\n DocumentReviewCommentType,\n DocumentFilterKey,\n NodeFilterKey,\n NodeFilterOperatorType,\n ManagedStatus,\n NodeType,\n UnsupportedOperationException,\n NodeAggregatorType,\n NodeAttributeName,\n NodeTypeName,\n OpsItemEventFilterKey,\n OpsItemEventFilterOperator,\n OpsItemRelatedItemsFilterKey,\n OpsItemRelatedItemsFilterOperator,\n LastResourceDataSyncStatus,\n DocumentPermissionLimit,\n ComplianceTypeCountLimitExceededException,\n InvalidItemContentException,\n ItemSizeLimitExceededException,\n ComplianceUploadType,\n TotalSizeLimitExceededException,\n CustomSchemaCountLimitExceededException,\n InvalidInventoryItemContextException,\n ItemContentMismatchException,\n SubTypeCountLimitExceededException,\n UnsupportedInventoryItemContextException,\n UnsupportedInventorySchemaVersionException,\n HierarchyLevelLimitExceededException,\n HierarchyTypeMismatchException,\n IncompatiblePolicyException,\n InvalidAllowedPatternException,\n InvalidPolicyAttributeException,\n InvalidPolicyTypeException,\n ParameterAlreadyExists,\n ParameterLimitExceeded,\n ParameterMaxVersionLimitExceeded,\n ParameterPatternMismatchException,\n PoliciesLimitExceededException,\n UnsupportedParameterType,\n ResourcePolicyLimitExceededException,\n MaintenanceWindowTargetFilterSensitiveLog,\n DescribeMaintenanceWindowTargetsResultFilterSensitiveLog,\n MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog,\n MaintenanceWindowTaskFilterSensitiveLog,\n DescribeMaintenanceWindowTasksResultFilterSensitiveLog,\n CredentialsFilterSensitiveLog,\n GetAccessTokenResponseFilterSensitiveLog,\n BaselineOverrideFilterSensitiveLog,\n GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog,\n GetMaintenanceWindowResultFilterSensitiveLog,\n GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog,\n GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog,\n MaintenanceWindowLambdaParametersFilterSensitiveLog,\n MaintenanceWindowRunCommandParametersFilterSensitiveLog,\n MaintenanceWindowStepFunctionsParametersFilterSensitiveLog,\n MaintenanceWindowTaskInvocationParametersFilterSensitiveLog,\n GetMaintenanceWindowTaskResultFilterSensitiveLog,\n ParameterFilterSensitiveLog,\n GetParameterResultFilterSensitiveLog,\n ParameterHistoryFilterSensitiveLog,\n GetParameterHistoryResultFilterSensitiveLog,\n GetParametersResultFilterSensitiveLog,\n GetParametersByPathResultFilterSensitiveLog,\n GetPatchBaselineResultFilterSensitiveLog,\n AssociationVersionInfoFilterSensitiveLog,\n ListAssociationVersionsResultFilterSensitiveLog,\n CommandFilterSensitiveLog,\n ListCommandsResultFilterSensitiveLog,\n InstanceInfoFilterSensitiveLog,\n NodeTypeFilterSensitiveLog,\n NodeFilterSensitiveLog,\n ListNodesResultFilterSensitiveLog,\n PutParameterRequestFilterSensitiveLog,\n FeatureNotAvailableException,\n AutomationStepNotFoundException,\n InvalidAutomationSignalException,\n SignalType,\n InvalidNotificationConfig,\n InvalidOutputFolder,\n InvalidRole,\n ServiceQuotaExceededException,\n InvalidAssociation,\n AutomationDefinitionNotFoundException,\n AutomationDefinitionVersionNotFoundException,\n AutomationExecutionLimitExceededException,\n InvalidAutomationExecutionParametersException,\n AutomationDefinitionNotApprovedException,\n ExecutionInputs,\n TargetNotConnected,\n InvalidAutomationStatusUpdateException,\n StopType,\n AssociationVersionLimitExceeded,\n InvalidUpdate,\n StatusUnchanged,\n DocumentVersionLimitExceeded,\n DuplicateDocumentContent,\n DuplicateDocumentVersionName,\n DocumentReviewAction,\n OpsMetadataKeyLimitExceededException,\n ResourceDataSyncConflictException,\n RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog,\n RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog,\n SendCommandRequestFilterSensitiveLog,\n SendCommandResultFilterSensitiveLog,\n UpdateAssociationRequestFilterSensitiveLog,\n UpdateAssociationResultFilterSensitiveLog,\n UpdateAssociationStatusResultFilterSensitiveLog,\n UpdateMaintenanceWindowRequestFilterSensitiveLog,\n UpdateMaintenanceWindowResultFilterSensitiveLog,\n UpdateMaintenanceWindowTargetRequestFilterSensitiveLog,\n UpdateMaintenanceWindowTargetResultFilterSensitiveLog,\n UpdateMaintenanceWindowTaskRequestFilterSensitiveLog,\n UpdateMaintenanceWindowTaskResultFilterSensitiveLog,\n UpdatePatchBaselineRequestFilterSensitiveLog,\n UpdatePatchBaselineResultFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2014-11-06\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSMHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSM\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n randomUUID: _crypto.default.randomUUID\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nexports.unsafeStringify = unsafeStringify;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.unsafeStringify)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.URL = exports.DNS = void 0;\nexports.default = v35;\n\nvar _stringify = require(\"./stringify.js\");\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _native = _interopRequireDefault(require(\"./native.js\"));\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = require(\"./stringify.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n if (_native.default.randomUUID && !buf && !options) {\n return _native.default.randomUUID();\n }\n\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.unsafeStringify)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.slice(14, 15), 16);\n}\n\nvar _default = version;\nexports.default = _default;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithSAML\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithSAMLCommand: () => AssumeRoleWithSAMLCommand,\n AssumeRoleWithSAMLRequestFilterSensitiveLog: () => AssumeRoleWithSAMLRequestFilterSensitiveLog,\n AssumeRoleWithSAMLResponseFilterSensitiveLog: () => AssumeRoleWithSAMLResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n AssumeRootCommand: () => AssumeRootCommand,\n AssumeRootResponseFilterSensitiveLog: () => AssumeRootResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters10.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n DecodeAuthorizationMessageCommand: () => DecodeAuthorizationMessageCommand,\n ExpiredTokenException: () => ExpiredTokenException,\n GetAccessKeyInfoCommand: () => GetAccessKeyInfoCommand,\n GetCallerIdentityCommand: () => GetCallerIdentityCommand,\n GetFederationTokenCommand: () => GetFederationTokenCommand,\n GetFederationTokenResponseFilterSensitiveLog: () => GetFederationTokenResponseFilterSensitiveLog,\n GetSessionTokenCommand: () => GetSessionTokenCommand,\n GetSessionTokenResponseFilterSensitiveLog: () => GetSessionTokenResponseFilterSensitiveLog,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidAuthorizationMessageException: () => InvalidAuthorizationMessageException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././STSClient\"), module.exports);\n\n// src/STS.ts\n\n\n// src/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/models/models_0.ts\n\n\n// src/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\nvar InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException {\n static {\n __name(this, \"InvalidAuthorizationMessageException\");\n }\n name = \"InvalidAuthorizationMessageException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidAuthorizationMessageException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype);\n }\n};\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar AssumeRoleWithSAMLRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SAMLAssertion && { SAMLAssertion: import_smithy_client.SENSITIVE_STRING }\n}), \"AssumeRoleWithSAMLRequestFilterSensitiveLog\");\nvar AssumeRoleWithSAMLResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithSAMLResponseFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar AssumeRootResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRootResponseFilterSensitiveLog\");\nvar GetFederationTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"GetFederationTokenResponseFilterSensitiveLog\");\nvar GetSessionTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"GetSessionTokenResponseFilterSensitiveLog\");\n\n// src/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithSAMLRequest(input, context),\n [_A]: _ARWSAML,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithSAMLCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar se_AssumeRootCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRootRequest(input, context),\n [_A]: _ARs,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRootCommand\");\nvar se_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_DecodeAuthorizationMessageRequest(input, context),\n [_A]: _DAM,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_DecodeAuthorizationMessageCommand\");\nvar se_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetAccessKeyInfoRequest(input, context),\n [_A]: _GAKI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetAccessKeyInfoCommand\");\nvar se_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetCallerIdentityRequest(input, context),\n [_A]: _GCI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetCallerIdentityCommand\");\nvar se_GetFederationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetFederationTokenRequest(input, context),\n [_A]: _GFT,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetFederationTokenCommand\");\nvar se_GetSessionTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_GetSessionTokenRequest(input, context),\n [_A]: _GST,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_GetSessionTokenCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithSAMLResponse(data.AssumeRoleWithSAMLResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithSAMLCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRootCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRootResponse(data.AssumeRootResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRootCommand\");\nvar de_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_DecodeAuthorizationMessageResponse(data.DecodeAuthorizationMessageResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_DecodeAuthorizationMessageCommand\");\nvar de_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetAccessKeyInfoResponse(data.GetAccessKeyInfoResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetAccessKeyInfoCommand\");\nvar de_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetCallerIdentityResponse(data.GetCallerIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetCallerIdentityCommand\");\nvar de_GetFederationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetFederationTokenResponse(data.GetFederationTokenResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetFederationTokenCommand\");\nvar de_GetSessionTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_GetSessionTokenResponse(data.GetSessionTokenResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_GetSessionTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"InvalidAuthorizationMessageException\":\n case \"com.amazonaws.sts#InvalidAuthorizationMessageException\":\n throw await de_InvalidAuthorizationMessageExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidAuthorizationMessageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidAuthorizationMessageException(body.Error, context);\n const exception = new InvalidAuthorizationMessageException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidAuthorizationMessageExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_SAMLA] != null) {\n entries[_SAMLA] = input[_SAMLA];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithSAMLRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_AssumeRootRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_TP] != null) {\n entries[_TP] = input[_TP];\n }\n if (input[_TPA] != null) {\n const memberEntries = se_PolicyDescriptorType(input[_TPA], context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TaskPolicyArn.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRootRequest\");\nvar se_DecodeAuthorizationMessageRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_EM] != null) {\n entries[_EM] = input[_EM];\n }\n return entries;\n}, \"se_DecodeAuthorizationMessageRequest\");\nvar se_GetAccessKeyInfoRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_AKI] != null) {\n entries[_AKI] = input[_AKI];\n }\n return entries;\n}, \"se_GetAccessKeyInfoRequest\");\nvar se_GetCallerIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n return entries;\n}, \"se_GetCallerIdentityRequest\");\nvar se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_N] != null) {\n entries[_N] = input[_N];\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_GetFederationTokenRequest\");\nvar se_GetSessionTokenRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n return entries;\n}, \"se_GetSessionTokenRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAro] != null) {\n entries[_PAro] = input[_PAro];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithSAMLResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);\n }\n if (output[_S] != null) {\n contents[_S] = (0, import_smithy_client.expectString)(output[_S]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client.expectString)(output[_ST]);\n }\n if (output[_I] != null) {\n contents[_I] = (0, import_smithy_client.expectString)(output[_I]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]);\n }\n if (output[_NQ] != null) {\n contents[_NQ] = (0, import_smithy_client.expectString)(output[_NQ]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithSAMLResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_AssumeRootResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRootResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client.expectString)(output[_SAK]);\n }\n if (output[_STe] != null) {\n contents[_STe] = (0, import_smithy_client.expectString)(output[_STe]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_DecodeAuthorizationMessageResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_DM] != null) {\n contents[_DM] = (0, import_smithy_client.expectString)(output[_DM]);\n }\n return contents;\n}, \"de_DecodeAuthorizationMessageResponse\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_FederatedUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_FUI] != null) {\n contents[_FUI] = (0, import_smithy_client.expectString)(output[_FUI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_FederatedUser\");\nvar de_GetAccessKeyInfoResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_Ac] != null) {\n contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]);\n }\n return contents;\n}, \"de_GetAccessKeyInfoResponse\");\nvar de_GetCallerIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_UI] != null) {\n contents[_UI] = (0, import_smithy_client.expectString)(output[_UI]);\n }\n if (output[_Ac] != null) {\n contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_GetCallerIdentityResponse\");\nvar de_GetFederationTokenResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_FU] != null) {\n contents[_FU] = de_FederatedUser(output[_FU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);\n }\n return contents;\n}, \"de_GetFederationTokenResponse\");\nvar de_GetSessionTokenResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n return contents;\n}, \"de_GetSessionTokenResponse\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidAuthorizationMessageException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidAuthorizationMessageException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWSAML = \"AssumeRoleWithSAML\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _ARs = \"AssumeRoot\";\nvar _Ac = \"Account\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DAM = \"DecodeAuthorizationMessage\";\nvar _DM = \"DecodedMessage\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _EM = \"EncodedMessage\";\nvar _FU = \"FederatedUser\";\nvar _FUI = \"FederatedUserId\";\nvar _GAKI = \"GetAccessKeyInfo\";\nvar _GCI = \"GetCallerIdentity\";\nvar _GFT = \"GetFederationToken\";\nvar _GST = \"GetSessionToken\";\nvar _I = \"Issuer\";\nvar _K = \"Key\";\nvar _N = \"Name\";\nvar _NQ = \"NameQualifier\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"PrincipalArn\";\nvar _PAro = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _S = \"Subject\";\nvar _SAK = \"SecretAccessKey\";\nvar _SAMLA = \"SAMLAssertion\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SubjectType\";\nvar _STe = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TP = \"TargetPrincipal\";\nvar _TPA = \"TaskPolicyArn\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _UI = \"UserId\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/commands/AssumeRoleWithSAMLCommand.ts\n\n\n\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithSAMLCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithSAML\", {}).n(\"STSClient\", \"AssumeRoleWithSAMLCommand\").f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog).ser(se_AssumeRoleWithSAMLCommand).de(de_AssumeRoleWithSAMLCommand).build() {\n static {\n __name(this, \"AssumeRoleWithSAMLCommand\");\n }\n};\n\n// src/commands/AssumeRoleWithWebIdentityCommand.ts\n\n\n\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters3.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/commands/AssumeRootCommand.ts\n\n\n\nvar import_EndpointParameters4 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRootCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters4.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoot\", {}).n(\"STSClient\", \"AssumeRootCommand\").f(void 0, AssumeRootResponseFilterSensitiveLog).ser(se_AssumeRootCommand).de(de_AssumeRootCommand).build() {\n static {\n __name(this, \"AssumeRootCommand\");\n }\n};\n\n// src/commands/DecodeAuthorizationMessageCommand.ts\n\n\n\nvar import_EndpointParameters5 = require(\"./endpoint/EndpointParameters\");\nvar DecodeAuthorizationMessageCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters5.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"DecodeAuthorizationMessage\", {}).n(\"STSClient\", \"DecodeAuthorizationMessageCommand\").f(void 0, void 0).ser(se_DecodeAuthorizationMessageCommand).de(de_DecodeAuthorizationMessageCommand).build() {\n static {\n __name(this, \"DecodeAuthorizationMessageCommand\");\n }\n};\n\n// src/commands/GetAccessKeyInfoCommand.ts\n\n\n\nvar import_EndpointParameters6 = require(\"./endpoint/EndpointParameters\");\nvar GetAccessKeyInfoCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters6.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"GetAccessKeyInfo\", {}).n(\"STSClient\", \"GetAccessKeyInfoCommand\").f(void 0, void 0).ser(se_GetAccessKeyInfoCommand).de(de_GetAccessKeyInfoCommand).build() {\n static {\n __name(this, \"GetAccessKeyInfoCommand\");\n }\n};\n\n// src/commands/GetCallerIdentityCommand.ts\n\n\n\nvar import_EndpointParameters7 = require(\"./endpoint/EndpointParameters\");\nvar GetCallerIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters7.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"GetCallerIdentity\", {}).n(\"STSClient\", \"GetCallerIdentityCommand\").f(void 0, void 0).ser(se_GetCallerIdentityCommand).de(de_GetCallerIdentityCommand).build() {\n static {\n __name(this, \"GetCallerIdentityCommand\");\n }\n};\n\n// src/commands/GetFederationTokenCommand.ts\n\n\n\nvar import_EndpointParameters8 = require(\"./endpoint/EndpointParameters\");\nvar GetFederationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters8.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"GetFederationToken\", {}).n(\"STSClient\", \"GetFederationTokenCommand\").f(void 0, GetFederationTokenResponseFilterSensitiveLog).ser(se_GetFederationTokenCommand).de(de_GetFederationTokenCommand).build() {\n static {\n __name(this, \"GetFederationTokenCommand\");\n }\n};\n\n// src/commands/GetSessionTokenCommand.ts\n\n\n\nvar import_EndpointParameters9 = require(\"./endpoint/EndpointParameters\");\nvar GetSessionTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters9.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"GetSessionToken\", {}).n(\"STSClient\", \"GetSessionTokenCommand\").f(void 0, GetSessionTokenResponseFilterSensitiveLog).ser(se_GetSessionTokenCommand).de(de_GetSessionTokenCommand).build() {\n static {\n __name(this, \"GetSessionTokenCommand\");\n }\n};\n\n// src/STS.ts\nvar import_STSClient = require(\"././STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithSAMLCommand,\n AssumeRoleWithWebIdentityCommand,\n AssumeRootCommand,\n DecodeAuthorizationMessageCommand,\n GetAccessKeyInfoCommand,\n GetCallerIdentityCommand,\n GetFederationTokenCommand,\n GetSessionTokenCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, STS);\n\n// src/index.ts\nvar import_EndpointParameters10 = require(\"./endpoint/EndpointParameters\");\n\n// src/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"././STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n STSServiceException,\n __Client,\n STSClient,\n STS,\n $Command,\n AssumeRoleCommand,\n AssumeRoleWithSAMLCommand,\n AssumeRoleWithWebIdentityCommand,\n AssumeRootCommand,\n DecodeAuthorizationMessageCommand,\n GetAccessKeyInfoCommand,\n GetCallerIdentityCommand,\n GetFederationTokenCommand,\n GetSessionTokenCommand,\n ExpiredTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n IDPCommunicationErrorException,\n InvalidAuthorizationMessageException,\n CredentialsFilterSensitiveLog,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithSAMLRequestFilterSensitiveLog,\n AssumeRoleWithSAMLResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n AssumeRootResponseFilterSensitiveLog,\n GetFederationTokenResponseFilterSensitiveLog,\n GetSessionTokenResponseFilterSensitiveLog,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n decorateDefaultCredentialProvider\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await (0, credential_provider_node_1.defaultProvider)(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,\n getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,\n getUserAgentPlugin: () => getUserAgentPlugin,\n resolveUserAgentConfig: () => resolveUserAgentConfig,\n userAgentMiddleware: () => userAgentMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/configurations.ts\nvar import_core = require(\"@smithy/core\");\nvar DEFAULT_UA_APP_ID = void 0;\nfunction isValidUserAgentAppId(appId) {\n if (appId === void 0) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\n__name(isValidUserAgentAppId, \"isValidUserAgentAppId\");\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: /* @__PURE__ */ __name(async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n } else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n }, \"userAgentAppId\")\n });\n}\n__name(resolveUserAgentConfig, \"resolveUserAgentConfig\");\n\n// src/user-agent-middleware.ts\nvar import_util_endpoints = require(\"@aws-sdk/util-endpoints\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/check-features.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n (0, import_core2.setFeature)(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n (0, import_core2.setFeature)(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n (0, import_core2.setFeature)(context, key, value);\n }\n }\n}\n__name(checkFeatures, \"checkFeatures\");\n\n// src/constants.ts\nvar USER_AGENT = \"user-agent\";\nvar X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nvar SPACE = \" \";\nvar UA_NAME_SEPARATOR = \"/\";\nvar UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nvar UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nvar UA_ESCAPE_CHAR = \"-\";\n\n// src/encode-features.ts\nvar BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n } else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n__name(encodeFeatures, \"encodeFeatures\");\n\n// src/user-agent-middleware.ts\nvar userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(\n `m/${encodeFeatures(\n Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features)\n )}`\n );\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));\n }\n const prefix = (0, import_util_endpoints.getUserAgentPrefix)();\n const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n } else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request\n });\n}, \"userAgentMiddleware\");\nvar escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => {\n const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n}, \"escapeUserAgent\");\nvar getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true\n};\nvar getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getUserAgentPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n DEFAULT_UA_APP_ID,\n resolveUserAgentConfig,\n userAgentMiddleware,\n getUserAgentMiddlewareOptions,\n getUserAgentPlugin\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sso-oidc/index.ts\nvar index_exports = {};\n__export(index_exports, {\n $Command: () => import_smithy_client6.Command,\n AccessDeniedException: () => AccessDeniedException,\n AuthorizationPendingException: () => AuthorizationPendingException,\n CreateTokenCommand: () => CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n InternalServerException: () => InternalServerException,\n InvalidClientException: () => InvalidClientException,\n InvalidGrantException: () => InvalidGrantException,\n InvalidRequestException: () => InvalidRequestException,\n InvalidScopeException: () => InvalidScopeException,\n SSOOIDC: () => SSOOIDC,\n SSOOIDCClient: () => SSOOIDCClient,\n SSOOIDCServiceException: () => SSOOIDCServiceException,\n SlowDownException: () => SlowDownException,\n UnauthorizedClientException: () => UnauthorizedClientException,\n UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,\n __Client: () => import_smithy_client2.Client\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/submodules/sso-oidc/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_runtimeConfig = require(\"./runtimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar SSOOIDCClient = class extends import_smithy_client2.Client {\n static {\n __name(this, \"SSOOIDCClient\");\n }\n /**\n * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar import_smithy_client7 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {\n static {\n __name(this, \"SSOOIDCServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);\n }\n};\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data.code !== void 0) {\n return sanitizeErrorCode(data.code);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadCognitoIdentity.ts\nvar loadCognitoIdentity_exports = {};\n__export(loadCognitoIdentity_exports, {\n CognitoIdentityClient: () => import_client_cognito_identity.CognitoIdentityClient,\n GetCredentialsForIdentityCommand: () => import_client_cognito_identity.GetCredentialsForIdentityCommand,\n GetIdCommand: () => import_client_cognito_identity.GetIdCommand\n});\nvar import_client_cognito_identity;\nvar init_loadCognitoIdentity = __esm({\n \"src/loadCognitoIdentity.ts\"() {\n \"use strict\";\n import_client_cognito_identity = require(\"@aws-sdk/client-cognito-identity\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromCognitoIdentity: () => fromCognitoIdentity,\n fromCognitoIdentityPool: () => fromCognitoIdentityPool\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromCognitoIdentity.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\n\n// src/resolveLogins.ts\nfunction resolveLogins(logins) {\n return Promise.all(\n Object.keys(logins).reduce((arr, name) => {\n const tokenOrProvider = logins[name];\n if (typeof tokenOrProvider === \"string\") {\n arr.push([name, tokenOrProvider]);\n } else {\n arr.push(tokenOrProvider().then((token) => [name, token]));\n }\n return arr;\n }, [])\n ).then(\n (resolvedPairs) => resolvedPairs.reduce((logins2, [key, value]) => {\n logins2[key] = value;\n return logins2;\n }, {})\n );\n}\n__name(resolveLogins, \"resolveLogins\");\n\n// src/fromCognitoIdentity.ts\nfunction fromCognitoIdentity(parameters) {\n return async (awsIdentityProperties) => {\n parameters.logger?.debug(\"@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity\");\n const { GetCredentialsForIdentityCommand: GetCredentialsForIdentityCommand2, CognitoIdentityClient: CognitoIdentityClient2 } = await Promise.resolve().then(() => (init_loadCognitoIdentity(), loadCognitoIdentity_exports));\n const fromConfigs = /* @__PURE__ */ __name((property) => parameters.clientConfig?.[property] ?? parameters.parentClientConfig?.[property] ?? awsIdentityProperties?.callerClientConfig?.[property], \"fromConfigs\");\n const {\n Credentials: {\n AccessKeyId = throwOnMissingAccessKeyId(parameters.logger),\n Expiration,\n SecretKey = throwOnMissingSecretKey(parameters.logger),\n SessionToken\n } = throwOnMissingCredentials(parameters.logger)\n } = await (parameters.client ?? new CognitoIdentityClient2(\n Object.assign({}, parameters.clientConfig ?? {}, {\n region: fromConfigs(\"region\"),\n profile: fromConfigs(\"profile\")\n })\n )).send(\n new GetCredentialsForIdentityCommand2({\n CustomRoleArn: parameters.customRoleArn,\n IdentityId: parameters.identityId,\n Logins: parameters.logins ? await resolveLogins(parameters.logins) : void 0\n })\n );\n return {\n identityId: parameters.identityId,\n accessKeyId: AccessKeyId,\n secretAccessKey: SecretKey,\n sessionToken: SessionToken,\n expiration: Expiration\n };\n };\n}\n__name(fromCognitoIdentity, \"fromCognitoIdentity\");\nfunction throwOnMissingAccessKeyId(logger) {\n throw new import_property_provider.CredentialsProviderError(\"Response from Amazon Cognito contained no access key ID\", { logger });\n}\n__name(throwOnMissingAccessKeyId, \"throwOnMissingAccessKeyId\");\nfunction throwOnMissingCredentials(logger) {\n throw new import_property_provider.CredentialsProviderError(\"Response from Amazon Cognito contained no credentials\", { logger });\n}\n__name(throwOnMissingCredentials, \"throwOnMissingCredentials\");\nfunction throwOnMissingSecretKey(logger) {\n throw new import_property_provider.CredentialsProviderError(\"Response from Amazon Cognito contained no secret key\", { logger });\n}\n__name(throwOnMissingSecretKey, \"throwOnMissingSecretKey\");\n\n// src/fromCognitoIdentityPool.ts\n\n\n// src/IndexedDbStorage.ts\nvar STORE_NAME = \"IdentityIds\";\nvar IndexedDbStorage = class {\n constructor(dbName = \"aws:cognito-identity-ids\") {\n this.dbName = dbName;\n }\n static {\n __name(this, \"IndexedDbStorage\");\n }\n getItem(key) {\n return this.withObjectStore(\"readonly\", (store) => {\n const req = store.get(key);\n return new Promise((resolve) => {\n req.onerror = () => resolve(null);\n req.onsuccess = () => resolve(req.result ? req.result.value : null);\n });\n }).catch(() => null);\n }\n removeItem(key) {\n return this.withObjectStore(\"readwrite\", (store) => {\n const req = store.delete(key);\n return new Promise((resolve, reject) => {\n req.onerror = () => reject(req.error);\n req.onsuccess = () => resolve();\n });\n });\n }\n setItem(id, value) {\n return this.withObjectStore(\"readwrite\", (store) => {\n const req = store.put({ id, value });\n return new Promise((resolve, reject) => {\n req.onerror = () => reject(req.error);\n req.onsuccess = () => resolve();\n });\n });\n }\n getDb() {\n const openDbRequest = self.indexedDB.open(this.dbName, 1);\n return new Promise((resolve, reject) => {\n openDbRequest.onsuccess = () => {\n resolve(openDbRequest.result);\n };\n openDbRequest.onerror = () => {\n reject(openDbRequest.error);\n };\n openDbRequest.onblocked = () => {\n reject(new Error(\"Unable to access DB\"));\n };\n openDbRequest.onupgradeneeded = () => {\n const db = openDbRequest.result;\n db.onerror = () => {\n reject(new Error(\"Failed to create object store\"));\n };\n db.createObjectStore(STORE_NAME, { keyPath: \"id\" });\n };\n });\n }\n withObjectStore(mode, action) {\n return this.getDb().then((db) => {\n const tx = db.transaction(STORE_NAME, mode);\n tx.oncomplete = () => db.close();\n return new Promise((resolve, reject) => {\n tx.onerror = () => reject(tx.error);\n resolve(action(tx.objectStore(STORE_NAME)));\n }).catch((err) => {\n db.close();\n throw err;\n });\n });\n }\n};\n\n// src/InMemoryStorage.ts\nvar InMemoryStorage = class {\n constructor(store = {}) {\n this.store = store;\n }\n static {\n __name(this, \"InMemoryStorage\");\n }\n getItem(key) {\n if (key in this.store) {\n return this.store[key];\n }\n return null;\n }\n removeItem(key) {\n delete this.store[key];\n }\n setItem(key, value) {\n this.store[key] = value;\n }\n};\n\n// src/localStorage.ts\nvar inMemoryStorage = new InMemoryStorage();\nfunction localStorage() {\n if (typeof self === \"object\" && self.indexedDB) {\n return new IndexedDbStorage();\n }\n if (typeof window === \"object\" && window.localStorage) {\n return window.localStorage;\n }\n return inMemoryStorage;\n}\n__name(localStorage, \"localStorage\");\n\n// src/fromCognitoIdentityPool.ts\nfunction fromCognitoIdentityPool({\n accountId,\n cache = localStorage(),\n client,\n clientConfig,\n customRoleArn,\n identityPoolId,\n logins,\n userIdentifier = !logins || Object.keys(logins).length === 0 ? \"ANONYMOUS\" : void 0,\n logger,\n parentClientConfig\n}) {\n logger?.debug(\"@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity\");\n const cacheKey = userIdentifier ? `aws:cognito-identity-credentials:${identityPoolId}:${userIdentifier}` : void 0;\n let provider = /* @__PURE__ */ __name(async (awsIdentityProperties) => {\n const { GetIdCommand: GetIdCommand2, CognitoIdentityClient: CognitoIdentityClient2 } = await Promise.resolve().then(() => (init_loadCognitoIdentity(), loadCognitoIdentity_exports));\n const fromConfigs = /* @__PURE__ */ __name((property) => clientConfig?.[property] ?? parentClientConfig?.[property] ?? awsIdentityProperties?.callerClientConfig?.[property], \"fromConfigs\");\n const _client = client ?? new CognitoIdentityClient2(\n Object.assign({}, clientConfig ?? {}, {\n region: fromConfigs(\"region\"),\n profile: fromConfigs(\"profile\")\n })\n );\n let identityId = cacheKey && await cache.getItem(cacheKey);\n if (!identityId) {\n const { IdentityId = throwOnMissingId(logger) } = await _client.send(\n new GetIdCommand2({\n AccountId: accountId,\n IdentityPoolId: identityPoolId,\n Logins: logins ? await resolveLogins(logins) : void 0\n })\n );\n identityId = IdentityId;\n if (cacheKey) {\n Promise.resolve(cache.setItem(cacheKey, identityId)).catch(() => {\n });\n }\n }\n provider = fromCognitoIdentity({\n client: _client,\n customRoleArn,\n logins,\n identityId\n });\n return provider(awsIdentityProperties);\n }, \"provider\");\n return (awsIdentityProperties) => provider(awsIdentityProperties).catch(async (err) => {\n if (cacheKey) {\n Promise.resolve(cache.removeItem(cacheKey)).catch(() => {\n });\n }\n throw err;\n });\n}\n__name(fromCognitoIdentityPool, \"fromCognitoIdentityPool\");\nfunction throwOnMissingId(logger) {\n throw new import_property_provider.CredentialsProviderError(\"Response from Amazon Cognito contained no identity ID\", { logger });\n}\n__name(throwOnMissingId, \"throwOnMissingId\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromCognitoIdentity,\n fromCognitoIdentityPool\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.propertyProviderChain = exports.createCredentialChain = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst createCredentialChain = (...credentialProviders) => {\n let expireAfter = -1;\n const baseFunction = async (awsIdentityProperties) => {\n const credentials = await (0, exports.propertyProviderChain)(...credentialProviders)(awsIdentityProperties);\n if (!credentials.expiration && expireAfter !== -1) {\n credentials.expiration = new Date(Date.now() + expireAfter);\n }\n return credentials;\n };\n const withOptions = Object.assign(baseFunction, {\n expireAfter(milliseconds) {\n if (milliseconds < 5 * 60_000) {\n throw new Error(\"@aws-sdk/credential-providers - createCredentialChain(...).expireAfter(ms) may not be called with a duration lower than five minutes.\");\n }\n expireAfter = milliseconds;\n return withOptions;\n },\n });\n return withOptions;\n};\nexports.createCredentialChain = createCredentialChain;\nconst propertyProviderChain = (...providers) => async (awsIdentityProperties) => {\n if (providers.length === 0) {\n throw new property_provider_1.ProviderError(\"No providers in chain\");\n }\n let lastProviderError;\n for (const provider of providers) {\n try {\n const credentials = await provider(awsIdentityProperties);\n return credentials;\n }\n catch (err) {\n lastProviderError = err;\n if (err?.tryNextLink) {\n continue;\n }\n throw err;\n }\n }\n throw lastProviderError;\n};\nexports.propertyProviderChain = propertyProviderChain;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCognitoIdentity = void 0;\nconst credential_provider_cognito_identity_1 = require(\"@aws-sdk/credential-provider-cognito-identity\");\nconst fromCognitoIdentity = (options) => (0, credential_provider_cognito_identity_1.fromCognitoIdentity)({\n ...options,\n});\nexports.fromCognitoIdentity = fromCognitoIdentity;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromCognitoIdentityPool = void 0;\nconst credential_provider_cognito_identity_1 = require(\"@aws-sdk/credential-provider-cognito-identity\");\nconst fromCognitoIdentityPool = (options) => (0, credential_provider_cognito_identity_1.fromCognitoIdentityPool)({\n ...options,\n});\nexports.fromCognitoIdentityPool = fromCognitoIdentityPool;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromContainerMetadata = void 0;\nconst credential_provider_imds_1 = require(\"@smithy/credential-provider-imds\");\nconst fromContainerMetadata = (init) => {\n init?.logger?.debug(\"@smithy/credential-provider-imds\", \"fromContainerMetadata\");\n return (0, credential_provider_imds_1.fromContainerMetadata)(init);\n};\nexports.fromContainerMetadata = fromContainerMetadata;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromEnv = void 0;\nconst credential_provider_env_1 = require(\"@aws-sdk/credential-provider-env\");\nconst fromEnv = (init) => (0, credential_provider_env_1.fromEnv)(init);\nexports.fromEnv = fromEnv;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromIni = void 0;\nconst credential_provider_ini_1 = require(\"@aws-sdk/credential-provider-ini\");\nconst fromIni = (init = {}) => (0, credential_provider_ini_1.fromIni)({\n ...init,\n});\nexports.fromIni = fromIni;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromInstanceMetadata = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst credential_provider_imds_1 = require(\"@smithy/credential-provider-imds\");\nconst fromInstanceMetadata = (init) => {\n init?.logger?.debug(\"@smithy/credential-provider-imds\", \"fromInstanceMetadata\");\n return async () => (0, credential_provider_imds_1.fromInstanceMetadata)(init)().then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_IMDS\", \"0\"));\n};\nexports.fromInstanceMetadata = fromInstanceMetadata;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromNodeProviderChain = void 0;\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst fromNodeProviderChain = (init = {}) => (0, credential_provider_node_1.defaultProvider)({\n ...init,\n});\nexports.fromNodeProviderChain = fromNodeProviderChain;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromProcess = void 0;\nconst credential_provider_process_1 = require(\"@aws-sdk/credential-provider-process\");\nconst fromProcess = (init) => (0, credential_provider_process_1.fromProcess)(init);\nexports.fromProcess = fromProcess;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromSSO = void 0;\nconst credential_provider_sso_1 = require(\"@aws-sdk/credential-provider-sso\");\nconst fromSSO = (init = {}) => {\n return (0, credential_provider_sso_1.fromSSO)({ ...init });\n};\nexports.fromSSO = fromSSO;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTemporaryCredentials = void 0;\nconst core_1 = require(\"@smithy/core\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nconst fromTemporaryCredentials = (options, credentialDefaultProvider, regionProvider) => {\n let stsClient;\n return async (awsIdentityProperties = {}) => {\n const { callerClientConfig } = awsIdentityProperties;\n const profile = options.clientConfig?.profile ?? callerClientConfig?.profile;\n const logger = options.logger ?? callerClientConfig?.logger;\n logger?.debug(\"@aws-sdk/credential-providers - fromTemporaryCredentials (STS)\");\n const params = { ...options.params, RoleSessionName: options.params.RoleSessionName ?? \"aws-sdk-js-\" + Date.now() };\n if (params?.SerialNumber) {\n if (!options.mfaCodeProvider) {\n throw new property_provider_1.CredentialsProviderError(`Temporary credential requires multi-factor authentication, but no MFA code callback was provided.`, {\n tryNextLink: false,\n logger,\n });\n }\n params.TokenCode = await options.mfaCodeProvider(params?.SerialNumber);\n }\n const { AssumeRoleCommand, STSClient } = await Promise.resolve().then(() => __importStar(require(\"./loadSts\")));\n if (!stsClient) {\n const defaultCredentialsOrError = typeof credentialDefaultProvider === \"function\" ? credentialDefaultProvider() : undefined;\n const credentialSources = [\n options.masterCredentials,\n options.clientConfig?.credentials,\n void callerClientConfig?.credentials,\n callerClientConfig?.credentialDefaultProvider?.(),\n defaultCredentialsOrError,\n ];\n let credentialSource = \"STS client default credentials\";\n if (credentialSources[0]) {\n credentialSource = \"options.masterCredentials\";\n }\n else if (credentialSources[1]) {\n credentialSource = \"options.clientConfig.credentials\";\n }\n else if (credentialSources[2]) {\n credentialSource = \"caller client's credentials\";\n throw new Error(\"fromTemporaryCredentials recursion in callerClientConfig.credentials\");\n }\n else if (credentialSources[3]) {\n credentialSource = \"caller client's credentialDefaultProvider\";\n }\n else if (credentialSources[4]) {\n credentialSource = \"AWS SDK default credentials\";\n }\n const regionSources = [\n options.clientConfig?.region,\n callerClientConfig?.region,\n await regionProvider?.({\n profile,\n }),\n ASSUME_ROLE_DEFAULT_REGION,\n ];\n let regionSource = \"default partition's default region\";\n if (regionSources[0]) {\n regionSource = \"options.clientConfig.region\";\n }\n else if (regionSources[1]) {\n regionSource = \"caller client's region\";\n }\n else if (regionSources[2]) {\n regionSource = \"file or env region\";\n }\n const requestHandlerSources = [\n filterRequestHandler(options.clientConfig?.requestHandler),\n filterRequestHandler(callerClientConfig?.requestHandler),\n ];\n let requestHandlerSource = \"STS default requestHandler\";\n if (requestHandlerSources[0]) {\n requestHandlerSource = \"options.clientConfig.requestHandler\";\n }\n else if (requestHandlerSources[1]) {\n requestHandlerSource = \"caller client's requestHandler\";\n }\n logger?.debug?.(`@aws-sdk/credential-providers - fromTemporaryCredentials STS client init with ` +\n `${regionSource}=${await (0, core_1.normalizeProvider)(coalesce(regionSources))()}, ${credentialSource}, ${requestHandlerSource}.`);\n stsClient = new STSClient({\n ...options.clientConfig,\n credentials: coalesce(credentialSources),\n logger,\n profile,\n region: coalesce(regionSources),\n requestHandler: coalesce(requestHandlerSources),\n });\n }\n if (options.clientPlugins) {\n for (const plugin of options.clientPlugins) {\n stsClient.middlewareStack.use(plugin);\n }\n }\n const { Credentials } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {\n throw new property_provider_1.CredentialsProviderError(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`, {\n logger,\n });\n }\n return {\n accessKeyId: Credentials.AccessKeyId,\n secretAccessKey: Credentials.SecretAccessKey,\n sessionToken: Credentials.SessionToken,\n expiration: Credentials.Expiration,\n credentialScope: Credentials.CredentialScope,\n };\n };\n};\nexports.fromTemporaryCredentials = fromTemporaryCredentials;\nconst filterRequestHandler = (requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\" ? undefined : requestHandler;\n};\nconst coalesce = (args) => {\n for (const item of args) {\n if (item !== undefined) {\n return item;\n }\n }\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTemporaryCredentials = void 0;\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst fromNodeProviderChain_1 = require(\"./fromNodeProviderChain\");\nconst fromTemporaryCredentials_base_1 = require(\"./fromTemporaryCredentials.base\");\nconst fromTemporaryCredentials = (options) => {\n return (0, fromTemporaryCredentials_base_1.fromTemporaryCredentials)(options, fromNodeProviderChain_1.fromNodeProviderChain, async ({ profile = process.env.AWS_PROFILE }) => (0, node_config_provider_1.loadConfig)({\n environmentVariableSelector: (env) => env.AWS_REGION,\n configFileSelector: (profileData) => {\n return profileData.region;\n },\n default: () => undefined,\n }, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, profile })());\n};\nexports.fromTemporaryCredentials = fromTemporaryCredentials;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst credential_provider_web_identity_1 = require(\"@aws-sdk/credential-provider-web-identity\");\nconst fromTokenFile = (init = {}) => (0, credential_provider_web_identity_1.fromTokenFile)({\n ...init,\n});\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst credential_provider_web_identity_1 = require(\"@aws-sdk/credential-provider-web-identity\");\nconst fromWebToken = (init) => (0, credential_provider_web_identity_1.fromWebToken)({\n ...init,\n});\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./createCredentialChain\"), exports);\ntslib_1.__exportStar(require(\"./fromCognitoIdentity\"), exports);\ntslib_1.__exportStar(require(\"./fromCognitoIdentityPool\"), exports);\ntslib_1.__exportStar(require(\"./fromContainerMetadata\"), exports);\nvar credential_provider_http_1 = require(\"@aws-sdk/credential-provider-http\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return credential_provider_http_1.fromHttp; } });\ntslib_1.__exportStar(require(\"./fromEnv\"), exports);\ntslib_1.__exportStar(require(\"./fromIni\"), exports);\ntslib_1.__exportStar(require(\"./fromInstanceMetadata\"), exports);\ntslib_1.__exportStar(require(\"./fromNodeProviderChain\"), exports);\ntslib_1.__exportStar(require(\"./fromProcess\"), exports);\ntslib_1.__exportStar(require(\"./fromSSO\"), exports);\ntslib_1.__exportStar(require(\"./fromTemporaryCredentials\"), exports);\ntslib_1.__exportStar(require(\"./fromTokenFile\"), exports);\ntslib_1.__exportStar(require(\"./fromWebToken\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.AssumeRoleCommand = void 0;\nconst sts_1 = require(\"@aws-sdk/nested-clients/sts\");\nObject.defineProperty(exports, \"AssumeRoleCommand\", { enumerable: true, get: function () { return sts_1.AssumeRoleCommand; } });\nObject.defineProperty(exports, \"STSClient\", { enumerable: true, get: function () { return sts_1.STSClient; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,\n GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,\n InvalidRequestException: () => InvalidRequestException,\n ListAccountRolesCommand: () => ListAccountRolesCommand,\n ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsCommand: () => ListAccountsCommand,\n ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,\n LogoutCommand: () => LogoutCommand,\n LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,\n ResourceNotFoundException: () => ResourceNotFoundException,\n RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,\n SSO: () => SSO,\n SSOClient: () => SSOClient,\n SSOServiceException: () => SSOServiceException,\n TooManyRequestsException: () => TooManyRequestsException,\n UnauthorizedException: () => UnauthorizedException,\n __Client: () => import_smithy_client.Client,\n paginateListAccountRoles: () => paginateListAccountRoles,\n paginateListAccounts: () => paginateListAccounts\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SSOClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\n\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/SSOClient.ts\nvar import_runtimeConfig = require(\"././runtimeConfig\");\n\n// src/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/SSOClient.ts\nvar SSOClient = class extends import_smithy_client.Client {\n static {\n __name(this, \"SSOClient\");\n }\n /**\n * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/SSO.ts\n\n\n// src/commands/GetRoleCredentialsCommand.ts\n\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\n\n\n// src/models/models_0.ts\n\n\n// src/models/SSOServiceException.ts\n\nvar SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"SSOServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOServiceException.prototype);\n }\n};\n\n// src/models/models_0.ts\nvar InvalidRequestException = class _InvalidRequestException extends SSOServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n }\n};\nvar ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {\n static {\n __name(this, \"ResourceNotFoundException\");\n }\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);\n }\n};\nvar TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {\n static {\n __name(this, \"TooManyRequestsException\");\n }\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _TooManyRequestsException.prototype);\n }\n};\nvar UnauthorizedException = class _UnauthorizedException extends SSOServiceException {\n static {\n __name(this, \"UnauthorizedException\");\n }\n name = \"UnauthorizedException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedException.prototype);\n }\n};\nvar GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"GetRoleCredentialsRequestFilterSensitiveLog\");\nvar RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING },\n ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING }\n}), \"RoleCredentialsFilterSensitiveLog\");\nvar GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }\n}), \"GetRoleCredentialsResponseFilterSensitiveLog\");\nvar ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountRolesRequestFilterSensitiveLog\");\nvar ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"ListAccountsRequestFilterSensitiveLog\");\nvar LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }\n}), \"LogoutRequestFilterSensitiveLog\");\n\n// src/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\n\n\nvar se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/federation/credentials\");\n const query = (0, import_smithy_client.map)({\n [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_GetRoleCredentialsCommand\");\nvar se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/roles\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountRolesCommand\");\nvar se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/assignment/accounts\");\n const query = (0, import_smithy_client.map)({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n}, \"se_ListAccountsCommand\");\nvar se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core.requestBuilder)(input, context);\n const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {\n [_xasbt]: input[_aT]\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_LogoutCommand\");\nvar de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n roleCredentials: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_GetRoleCredentialsCommand\");\nvar de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n nextToken: import_smithy_client.expectString,\n roleList: import_smithy_client._json\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountRolesCommand\");\nvar de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client.take)(data, {\n accountList: import_smithy_client._json,\n nextToken: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_ListAccountsCommand\");\nvar de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client.map)({\n $metadata: deserializeMetadata(output)\n });\n await (0, import_smithy_client.collectBody)(output.body, context);\n return contents;\n}, \"de_LogoutCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ResourceNotFoundExceptionRes\");\nvar de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_TooManyRequestsExceptionRes\");\nvar de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client.take)(data, {\n message: import_smithy_client.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar _aI = \"accountId\";\nvar _aT = \"accessToken\";\nvar _ai = \"account_id\";\nvar _mR = \"maxResults\";\nvar _mr = \"max_result\";\nvar _nT = \"nextToken\";\nvar _nt = \"next_token\";\nvar _rN = \"roleName\";\nvar _rn = \"role_name\";\nvar _xasbt = \"x-amz-sso_bearer_token\";\n\n// src/commands/GetRoleCredentialsCommand.ts\nvar GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"GetRoleCredentials\", {}).n(\"SSOClient\", \"GetRoleCredentialsCommand\").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {\n static {\n __name(this, \"GetRoleCredentialsCommand\");\n }\n};\n\n// src/commands/ListAccountRolesCommand.ts\n\n\n\nvar ListAccountRolesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccountRoles\", {}).n(\"SSOClient\", \"ListAccountRolesCommand\").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {\n static {\n __name(this, \"ListAccountRolesCommand\");\n }\n};\n\n// src/commands/ListAccountsCommand.ts\n\n\n\nvar ListAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"ListAccounts\", {}).n(\"SSOClient\", \"ListAccountsCommand\").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() {\n static {\n __name(this, \"ListAccountsCommand\");\n }\n};\n\n// src/commands/LogoutCommand.ts\n\n\n\nvar LogoutCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"SWBPortalService\", \"Logout\", {}).n(\"SSOClient\", \"LogoutCommand\").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() {\n static {\n __name(this, \"LogoutCommand\");\n }\n};\n\n// src/SSO.ts\nvar commands = {\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand\n};\nvar SSO = class extends SSOClient {\n static {\n __name(this, \"SSO\");\n }\n};\n(0, import_smithy_client.createAggregatedClient)(commands, SSO);\n\n// src/pagination/ListAccountRolesPaginator.ts\n\nvar paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\n// src/pagination/ListAccountsPaginator.ts\n\nvar paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SSOServiceException,\n __Client,\n SSOClient,\n SSO,\n $Command,\n GetRoleCredentialsCommand,\n ListAccountRolesCommand,\n ListAccountsCommand,\n LogoutCommand,\n paginateListAccountRoles,\n paginateListAccounts,\n InvalidRequestException,\n ResourceNotFoundException,\n TooManyRequestsException,\n UnauthorizedException,\n GetRoleCredentialsRequestFilterSensitiveLog,\n RoleCredentialsFilterSensitiveLog,\n GetRoleCredentialsResponseFilterSensitiveLog,\n ListAccountRolesRequestFilterSensitiveLog,\n ListAccountsRequestFilterSensitiveLog,\n LogoutRequestFilterSensitiveLog\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,\n ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,\n ENV_EXPIRATION: () => ENV_EXPIRATION,\n ENV_KEY: () => ENV_KEY,\n ENV_SECRET: () => ENV_SECRET,\n ENV_SESSION: () => ENV_SESSION,\n fromEnv: () => fromEnv\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnv.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nvar ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nvar ENV_SESSION = \"AWS_SESSION_TOKEN\";\nvar ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nvar ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nvar ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nvar fromEnv = /* @__PURE__ */ __name((init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...sessionToken && { sessionToken },\n ...expiry && { expiration: new Date(expiry) },\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new import_property_provider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n}, \"fromEnv\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_KEY,\n ENV_SECRET,\n ENV_SESSION,\n ENV_EXPIRATION,\n ENV_CREDENTIAL_SCOPE,\n ENV_ACCOUNT_ID,\n fromEnv\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkUrl = void 0;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\nexports.checkUrl = checkUrl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nconst tslib_1 = require(\"tslib\");\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst promises_1 = tslib_1.__importDefault(require(\"fs/promises\"));\nconst checkUrl_1 = require(\"./checkUrl\");\nconst requestHelpers_1 = require(\"./requestHelpers\");\nconst retry_wrapper_1 = require(\"./retry-wrapper\");\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger ? console.warn : options.logger.warn;\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n (0, checkUrl_1.checkUrl)(url, options.logger);\n const requestHandler = new node_http_handler_1.NodeHttpHandler({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return (0, retry_wrapper_1.retryWrapper)(async () => {\n const request = (0, requestHelpers_1.createGetRequest)(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\nexports.fromHttp = fromHttp;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createGetRequest = createGetRequest;\nexports.getCredentials = getCredentials;\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_stream_1 = require(\"@smithy/util-stream\");\nfunction createGetRequest(url) {\n return new protocol_http_1.HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = (0, util_stream_1.sdkStreamMixin)(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new property_provider_1.CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryWrapper = void 0;\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\nexports.retryWrapper = retryWrapper;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromHttp = void 0;\nvar fromHttp_1 = require(\"./fromHttp/fromHttp\");\nObject.defineProperty(exports, \"fromHttp\", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } });\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromIni: () => fromIni\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromIni.ts\n\n\n// src/resolveProfileData.ts\n\n\n// src/resolveAssumeRoleCredentials.ts\n\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveCredentialSource.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: /* @__PURE__ */ __name(async (options) => {\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n }, \"EcsContainer\"),\n Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n }, \"Ec2InstanceMetadata\"),\n Environment: /* @__PURE__ */ __name(async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-env\")));\n return async () => fromEnv(options)().then(setNamedProvider);\n }, \"Environment\")\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n } else {\n throw new import_property_provider.CredentialsProviderError(\n `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,\n { logger }\n );\n }\n}, \"resolveCredentialSource\");\nvar setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\"), \"setNamedProvider\");\n\n// src/resolveAssumeRoleCredentials.ts\nvar isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = \"default\", logger } = {}) => {\n return Boolean(arg) && typeof arg === \"object\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));\n}, \"isAssumeRoleProfile\");\nvar isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n}, \"isAssumeRoleWithSourceProfile\");\nvar isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n}, \"isCredentialSourceProfile\");\nvar resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sts\")));\n options.roleAssumer = getDefaultRoleAssumer(\n {\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region\n }\n },\n options.clientPlugins\n );\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new import_property_provider.CredentialsProviderError(\n `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(\", \"),\n { logger: options.logger }\n );\n }\n options.logger?.debug(\n `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`\n );\n const sourceCredsProvider = source_profile ? resolveProfileData(\n source_profile,\n profiles,\n options,\n {\n ...visitedProfiles,\n [source_profile]: true\n },\n isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})\n ) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n } else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10)\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,\n { logger: options.logger, tryNextLink: false }\n );\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\")\n );\n }\n}, \"resolveAssumeRoleCredentials\");\nvar isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {\n return !section.role_arn && !!section.credential_source;\n}, \"isCredentialSourceWithoutRoleArn\");\n\n// src/resolveProcessCredentials.ts\n\nvar isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\", \"isProcessProfile\");\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\"))).then(\n ({ fromProcess }) => fromProcess({\n ...options,\n profile\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_PROCESS\", \"v\"))\n), \"resolveProcessCredentials\");\n\n// src/resolveSsoCredentials.ts\n\nvar resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig\n })().then((creds) => {\n if (profileData.sso_session) {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n } else {\n return (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n}, \"resolveSsoCredentials\");\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveStaticCredentials.ts\n\nvar isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.aws_access_key_id === \"string\" && typeof arg.aws_secret_access_key === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 && [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1, \"isStaticCredsProfile\");\nvar resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },\n ...profile.aws_account_id && { accountId: profile.aws_account_id }\n };\n return (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n}, \"resolveStaticCredentials\");\n\n// src/resolveWebIdentityCredentials.ts\n\nvar isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.web_identity_token_file === \"string\" && typeof arg.role_arn === \"string\" && [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1, \"isWebIdentityProfile\");\nvar resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\"))).then(\n ({ fromTokenFile }) => fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig\n })().then((creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\"))\n), \"resolveWebIdentityCredentials\");\n\n// src/resolveProfileData.ts\nvar resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options);\n }\n throw new import_property_provider.CredentialsProviderError(\n `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,\n { logger: options.logger }\n );\n}, \"resolveProfileData\");\n\n// src/fromIni.ts\nvar fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProfileData(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: _init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init\n );\n}, \"fromIni\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromIni\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,\n credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,\n defaultProvider: () => defaultProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultProvider.ts\nvar import_credential_provider_env = require(\"@aws-sdk/credential-provider-env\");\n\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/remoteProvider.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nvar remoteProvider = /* @__PURE__ */ __name(async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require(\"@smithy/credential-provider-imds\")));\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-http\")));\n return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new import_property_provider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n}, \"remoteProvider\");\n\n// src/defaultProvider.ts\nvar multipleCredentialSourceWarningEmitted = false;\nvar defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(\n async () => {\n const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\" ? init.logger.warn : console.warn;\n warnFn(\n `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`\n );\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new import_property_provider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return (0, import_credential_provider_env.fromEnv)(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new import_property_provider.CredentialsProviderError(\n \"Skipping SSO provider in default chain (inputs do not include SSO fields).\",\n { logger: init.logger }\n );\n }\n const { fromSSO } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-sso\")));\n return fromSSO(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-ini\")));\n return fromIni(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-process\")));\n return fromProcess(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/credential-provider-web-identity\")));\n return fromTokenFile(init)();\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new import_property_provider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger\n });\n }\n ),\n credentialsTreatedAsExpired,\n credentialsWillNeedRefresh\n), \"defaultProvider\");\nvar credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, \"credentialsWillNeedRefresh\");\nvar credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, \"credentialsTreatedAsExpired\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n defaultProvider,\n credentialsWillNeedRefresh,\n credentialsTreatedAsExpired\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromProcess: () => fromProcess\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromProcess.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\n\n// src/resolveProcessCredentials.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_child_process = require(\"child_process\");\nvar import_util = require(\"util\");\n\n// src/getValidatedProcessCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = /* @__PURE__ */ new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...data.SessionToken && { sessionToken: data.SessionToken },\n ...data.Expiration && { expiration: new Date(data.Expiration) },\n ...data.CredentialScope && { credentialScope: data.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n}, \"getValidatedProcessCredentials\");\n\n// src/resolveProcessCredentials.ts\nvar resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== void 0) {\n const execPromise = (0, import_util.promisify)(import_child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n } catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n } catch (error) {\n throw new import_property_provider.CredentialsProviderError(error.message, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n } else {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger\n });\n }\n}, \"resolveProcessCredentials\");\n\n// src/fromProcess.ts\nvar fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n return resolveProcessCredentials(\n (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n }),\n profiles,\n init.logger\n );\n}, \"fromProcess\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromProcess\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/loadSso.ts\nvar loadSso_exports = {};\n__export(loadSso_exports, {\n GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand,\n SSOClient: () => import_client_sso.SSOClient\n});\nvar import_client_sso;\nvar init_loadSso = __esm({\n \"src/loadSso.ts\"() {\n \"use strict\";\n import_client_sso = require(\"@aws-sdk/client-sso\");\n }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSSO: () => fromSSO,\n isSsoProfile: () => isSsoProfile,\n validateSsoProfile: () => validateSsoProfile\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSSO.ts\n\n\n\n// src/isSsoProfile.ts\nvar isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === \"string\" || typeof arg.sso_account_id === \"string\" || typeof arg.sso_session === \"string\" || typeof arg.sso_region === \"string\" || typeof arg.sso_role_name === \"string\"), \"isSsoProfile\");\n\n// src/resolveSSOCredentials.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_token_providers = require(\"@aws-sdk/token-providers\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nvar resolveSSOCredentials = /* @__PURE__ */ __name(async ({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig,\n parentClientConfig,\n profile,\n logger\n}) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await (0, import_token_providers.fromSso)({ profile })();\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString()\n };\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n } else {\n try {\n token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const { accessToken } = token;\n const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));\n const sso = ssoClient || new SSOClient2(\n Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion\n })\n );\n let ssoResp;\n try {\n ssoResp = await sso.send(\n new GetRoleCredentialsCommand2({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken\n })\n );\n } catch (e) {\n throw new import_property_provider.CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const {\n roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}\n } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new import_property_provider.CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...credentialScope && { credentialScope },\n ...accountId && { accountId }\n };\n if (ssoSession) {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO\", \"s\");\n } else {\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n}, \"resolveSSOCredentials\");\n\n// src/validateSsoProfile.ts\n\nvar validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new import_property_provider.CredentialsProviderError(\n `Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", \"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\n \", \"\n )}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,\n { tryNextLink: false, logger }\n );\n }\n return profile;\n}, \"validateSsoProfile\");\n\n// src/fromSSO.ts\nvar fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(\n profile,\n init.logger\n );\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new import_property_provider.CredentialsProviderError(\n 'Incomplete configuration. The fromSSO() argument hash must include \"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"',\n { tryNextLink: false, logger: init.logger }\n );\n } else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n profile: profileName\n });\n }\n}, \"fromSSO\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSSO,\n isSsoProfile,\n validateSsoProfile\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromTokenFile = void 0;\nconst client_1 = require(\"@aws-sdk/core/client\");\nconst property_provider_1 = require(\"@smithy/property-provider\");\nconst fs_1 = require(\"fs\");\nconst fromWebToken_1 = require(\"./fromWebToken\");\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new property_provider_1.CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await (0, fromWebToken_1.fromWebToken)({\n ...init,\n webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })();\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n (0, client_1.setCredentialFeature)(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\nexports.fromTokenFile = fromTokenFile;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fromWebToken = void 0;\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require(\"@aws-sdk/nested-clients/sts\")));\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\nexports.fromWebToken = fromWebToken;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"././fromTokenFile\"), module.exports);\n__reExport(index_exports, require(\"././fromWebToken\"), module.exports);\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromTokenFile,\n fromWebToken\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,\n getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,\n getUserAgentPlugin: () => getUserAgentPlugin,\n resolveUserAgentConfig: () => resolveUserAgentConfig,\n userAgentMiddleware: () => userAgentMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/configurations.ts\nvar import_core = require(\"@smithy/core\");\nvar DEFAULT_UA_APP_ID = void 0;\nfunction isValidUserAgentAppId(appId) {\n if (appId === void 0) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\n__name(isValidUserAgentAppId, \"isValidUserAgentAppId\");\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: /* @__PURE__ */ __name(async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n } else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n }, \"userAgentAppId\")\n });\n}\n__name(resolveUserAgentConfig, \"resolveUserAgentConfig\");\n\n// src/user-agent-middleware.ts\nvar import_util_endpoints = require(\"@aws-sdk/util-endpoints\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/check-features.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n (0, import_core2.setFeature)(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n } else {\n (0, import_core2.setFeature)(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n (0, import_core2.setFeature)(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n (0, import_core2.setFeature)(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n (0, import_core2.setFeature)(context, key, value);\n }\n }\n}\n__name(checkFeatures, \"checkFeatures\");\n\n// src/constants.ts\nvar USER_AGENT = \"user-agent\";\nvar X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nvar SPACE = \" \";\nvar UA_NAME_SEPARATOR = \"/\";\nvar UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nvar UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nvar UA_ESCAPE_CHAR = \"-\";\n\n// src/encode-features.ts\nvar BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n } else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n__name(encodeFeatures, \"encodeFeatures\");\n\n// src/user-agent-middleware.ts\nvar userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(\n `m/${encodeFeatures(\n Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features)\n )}`\n );\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));\n }\n const prefix = (0, import_util_endpoints.getUserAgentPrefix)();\n const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n } else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request\n });\n}, \"userAgentMiddleware\");\nvar escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => {\n const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n}, \"escapeUserAgent\");\nvar getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true\n};\nvar getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getUserAgentPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n DEFAULT_UA_APP_ID,\n resolveUserAgentConfig,\n userAgentMiddleware,\n getUserAgentMiddlewareOptions,\n getUserAgentPlugin\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sso-oidc/index.ts\nvar index_exports = {};\n__export(index_exports, {\n $Command: () => import_smithy_client6.Command,\n AccessDeniedException: () => AccessDeniedException,\n AuthorizationPendingException: () => AuthorizationPendingException,\n CreateTokenCommand: () => CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n InternalServerException: () => InternalServerException,\n InvalidClientException: () => InvalidClientException,\n InvalidGrantException: () => InvalidGrantException,\n InvalidRequestException: () => InvalidRequestException,\n InvalidScopeException: () => InvalidScopeException,\n SSOOIDC: () => SSOOIDC,\n SSOOIDCClient: () => SSOOIDCClient,\n SSOOIDCServiceException: () => SSOOIDCServiceException,\n SlowDownException: () => SlowDownException,\n UnauthorizedClientException: () => UnauthorizedClientException,\n UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,\n __Client: () => import_smithy_client2.Client\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_middleware_host_header = require(\"@aws-sdk/middleware-host-header\");\nvar import_middleware_logger = require(\"@aws-sdk/middleware-logger\");\nvar import_middleware_recursion_detection = require(\"@aws-sdk/middleware-recursion-detection\");\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar import_config_resolver = require(\"@smithy/config-resolver\");\nvar import_core = require(\"@smithy/core\");\nvar import_middleware_content_length = require(\"@smithy/middleware-content-length\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_retry = require(\"@smithy/middleware-retry\");\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar import_httpAuthSchemeProvider = require(\"./auth/httpAuthSchemeProvider\");\n\n// src/submodules/sso-oidc/endpoint/EndpointParameters.ts\nvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\"\n });\n}, \"resolveClientEndpointParameters\");\nvar commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n};\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar import_runtimeConfig = require(\"./runtimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar import_region_config_resolver = require(\"@aws-sdk/region-config-resolver\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts\nvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n } else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n }\n };\n}, \"getHttpAuthExtensionConfiguration\");\nvar resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials()\n };\n}, \"resolveHttpAuthRuntimeConfig\");\n\n// src/submodules/sso-oidc/runtimeExtensions.ts\nvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(\n (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),\n (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),\n (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),\n getHttpAuthExtensionConfiguration(runtimeConfig)\n );\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(\n runtimeConfig,\n (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),\n (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),\n (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),\n resolveHttpAuthRuntimeConfig(extensionConfiguration)\n );\n}, \"resolveRuntimeExtensions\");\n\n// src/submodules/sso-oidc/SSOOIDCClient.ts\nvar SSOOIDCClient = class extends import_smithy_client2.Client {\n static {\n __name(this, \"SSOOIDCClient\");\n }\n /**\n * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.\n */\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);\n const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);\n const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use(\n (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials\n }), \"identityProviderConfigProvider\")\n })\n );\n this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));\n }\n /**\n * Destroy underlying resources, like sockets. It's usually not necessary to do this.\n * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.\n * Otherwise, sockets might stay open for quite a long time before the server terminates them.\n */\n destroy() {\n super.destroy();\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar import_smithy_client7 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {\n static {\n __name(this, \"SSOOIDCServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);\n }\n};\n\n// src/submodules/sso-oidc/models/models_0.ts\nvar AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {\n static {\n __name(this, \"AccessDeniedException\");\n }\n name = \"AccessDeniedException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromEnvSigningName: () => fromEnvSigningName,\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromEnvSigningName.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_httpAuthSchemes = require(\"@aws-sdk/core/httpAuthSchemes\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new import_property_provider.TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n (0, import_client.setTokenFeature)(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n}, \"fromEnvSigningName\");\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\n\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromEnvSigningName,\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n toEndpointV1: () => toEndpointV1,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n description: \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveDefaultAwsRegionalEndpointsConfig.ts\nvar import_url_parser = require(\"@smithy/url-parser\");\nvar resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === void 0) {\n input.endpoint = async () => {\n return toEndpointV1(\n input.endpointProvider(\n {\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: void 0\n },\n { logger: input.logger }\n )\n );\n };\n }\n return input;\n}, \"resolveDefaultAwsRegionalEndpointsConfig\");\nvar toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), \"toEndpointV1\");\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveDefaultAwsRegionalEndpointsConfig,\n toEndpointV1,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n MetadataService: () => MetadataService\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/MetadataService.ts\nvar import_node_config_provider = require(\"@smithy/node-config-provider\");\nvar import_node_http_handler = require(\"@smithy/node-http-handler\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_util_stream = require(\"@smithy/util-stream\");\n\n// src/ConfigLoaders.ts\nvar ENV_ENDPOINT_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT\";\nvar CONFIG_ENDPOINT_NAME = \"ec2_metadata_service_endpoint\";\nvar ENDPOINT_SELECTORS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[ENV_ENDPOINT_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[CONFIG_ENDPOINT_NAME], \"configFileSelector\"),\n default: \"http://169.254.169.254\" /* IPv4 */\n};\nvar ENV_ENDPOINT_MODE_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE\";\nvar CONFIG_ENDPOINT_MODE_NAME = \"ec2_metadata_service_endpoint_mode\";\nvar ENDPOINT_MODE_SELECTORS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[ENV_ENDPOINT_MODE_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[CONFIG_ENDPOINT_MODE_NAME], \"configFileSelector\"),\n default: \"IPv4\" /* IPv4 */\n};\nvar AWS_EC2_METADATA_V1_DISABLED = \"AWS_EC2_METADATA_V1_DISABLED\";\nvar PROFILE_AWS_EC2_METADATA_V1_DISABLED = \"ec2_metadata_v1_disabled\";\nvar IMDSv1_DISABLED_SELECTORS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[AWS_EC2_METADATA_V1_DISABLED] ? env[AWS_EC2_METADATA_V1_DISABLED] !== \"false\" : void 0, \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED] ? profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED] !== \"false\" : void 0, \"configFileSelector\"),\n default: false\n};\n\n// src/MetadataService.ts\nvar MetadataService = class {\n static {\n __name(this, \"MetadataService\");\n }\n disableFetchToken;\n config;\n /**\n * Creates a new MetadataService object with a given set of options.\n */\n constructor(options = {}) {\n this.config = (async () => {\n const profile = options?.profile || process.env.AWS_PROFILE;\n return {\n endpoint: options.endpoint ?? await (0, import_node_config_provider.loadConfig)(ENDPOINT_SELECTORS, { profile })(),\n httpOptions: {\n timeout: options?.httpOptions?.timeout || 0\n },\n ec2MetadataV1Disabled: options?.ec2MetadataV1Disabled ?? await (0, import_node_config_provider.loadConfig)(IMDSv1_DISABLED_SELECTORS, { profile })()\n };\n })();\n this.disableFetchToken = options?.disableFetchToken || false;\n }\n async request(path, options) {\n const { endpoint, ec2MetadataV1Disabled, httpOptions } = await this.config;\n const handler = new import_node_http_handler.NodeHttpHandler({\n requestTimeout: httpOptions?.timeout,\n connectionTimeout: httpOptions?.timeout\n });\n const endpointUrl = new URL(endpoint);\n const headers = options.headers || {};\n if (this.disableFetchToken && ec2MetadataV1Disabled) {\n throw new Error(\"IMDSv1 is disabled and fetching token is disabled, cannot make the request.\");\n }\n if (!this.disableFetchToken) {\n try {\n headers[\"x-aws-ec2-metadata-token\"] = await this.fetchMetadataToken();\n } catch (err) {\n if (ec2MetadataV1Disabled) {\n throw err;\n }\n }\n }\n const request = new import_protocol_http.HttpRequest({\n method: options.method || \"GET\",\n // Default to GET if no method is specified\n headers,\n hostname: endpointUrl.hostname,\n path: endpointUrl.pathname + path,\n protocol: endpointUrl.protocol\n });\n try {\n const { response } = await handler.handle(request, {});\n if (response.statusCode === 200 && response.body) {\n return (0, import_util_stream.sdkStreamMixin)(response.body).transformToString();\n } else {\n throw new Error(`Request failed with status code ${response.statusCode}`);\n }\n } catch (error) {\n throw new Error(`Error making request to the metadata service: ${error}`);\n }\n }\n async fetchMetadataToken() {\n const { endpoint, httpOptions } = await this.config;\n const handler = new import_node_http_handler.NodeHttpHandler({\n requestTimeout: httpOptions?.timeout,\n connectionTimeout: httpOptions?.timeout\n });\n const endpointUrl = new URL(endpoint);\n const tokenRequest = new import_protocol_http.HttpRequest({\n method: \"PUT\",\n headers: {\n \"x-aws-ec2-metadata-token-ttl-seconds\": \"21600\"\n // 6 hours;\n },\n hostname: endpointUrl.hostname,\n path: \"/latest/api/token\",\n protocol: endpointUrl.protocol\n });\n try {\n const { response } = await handler.handle(tokenRequest, {});\n if (response.statusCode === 200 && response.body) {\n return (0, import_util_stream.sdkStreamMixin)(response.body).transformToString();\n } else {\n throw new Error(`Failed to fetch metadata token with status code ${response.statusCode}`);\n }\n } catch (error) {\n if (error?.statusCode === 400) {\n throw new Error(`Error fetching metadata token: ${error}`);\n } else if (error.message === \"TimeoutError\" || [403, 404, 405].includes(error.statusCode)) {\n this.disableFetchToken = true;\n throw new Error(`Error fetching metadata token: ${error}. disableFetchToken is enabled`);\n }\n throw new Error(`Error fetching metadata token: ${error}`);\n }\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n MetadataService\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n Upload: () => Upload\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/Upload.ts\nvar import_client_s3 = require(\"@aws-sdk/client-s3\");\nvar import_abort_controller = require(\"@smithy/abort-controller\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar import_events = require(\"events\");\n\n// src/bytelength.ts\nvar import_buffer = require(\"buffer\");\nvar import_runtimeConfig = require(\"././runtimeConfig\");\nvar byteLength = /* @__PURE__ */ __name((input) => {\n if (input === null || input === void 0) return 0;\n if (typeof input === \"string\") {\n return import_buffer.Buffer.byteLength(input);\n }\n if (typeof input.byteLength === \"number\") {\n return input.byteLength;\n } else if (typeof input.length === \"number\") {\n return input.length;\n } else if (typeof input.size === \"number\") {\n return input.size;\n } else if (typeof input.path === \"string\") {\n try {\n return import_runtimeConfig.ClientDefaultValues.lstatSync(input.path).size;\n } catch (error) {\n return void 0;\n }\n }\n return void 0;\n}, \"byteLength\");\n\n// src/chunker.ts\n\nvar import_stream = require(\"stream\");\n\n// src/chunks/getChunkStream.ts\n\nasync function* getChunkStream(data, partSize, getNextData) {\n let partNumber = 1;\n const currentBuffer = { chunks: [], length: 0 };\n for await (const datum of getNextData(data)) {\n currentBuffer.chunks.push(datum);\n currentBuffer.length += datum.byteLength;\n while (currentBuffer.length > partSize) {\n const dataChunk = currentBuffer.chunks.length > 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0];\n yield {\n partNumber,\n data: dataChunk.subarray(0, partSize)\n };\n currentBuffer.chunks = [dataChunk.subarray(partSize)];\n currentBuffer.length = currentBuffer.chunks[0].byteLength;\n partNumber += 1;\n }\n }\n yield {\n partNumber,\n data: currentBuffer.chunks.length !== 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0],\n lastPart: true\n };\n}\n__name(getChunkStream, \"getChunkStream\");\n\n// src/chunks/getChunkUint8Array.ts\nasync function* getChunkUint8Array(data, partSize) {\n let partNumber = 1;\n let startByte = 0;\n let endByte = partSize;\n while (endByte < data.byteLength) {\n yield {\n partNumber,\n data: data.subarray(startByte, endByte)\n };\n partNumber += 1;\n startByte = endByte;\n endByte = startByte + partSize;\n }\n yield {\n partNumber,\n data: data.subarray(startByte),\n lastPart: true\n };\n}\n__name(getChunkUint8Array, \"getChunkUint8Array\");\n\n// src/chunks/getDataReadable.ts\n\nasync function* getDataReadable(data) {\n for await (const chunk of data) {\n if (import_buffer.Buffer.isBuffer(chunk) || chunk instanceof Uint8Array) {\n yield chunk;\n } else {\n yield import_buffer.Buffer.from(chunk);\n }\n }\n}\n__name(getDataReadable, \"getDataReadable\");\n\n// src/chunks/getDataReadableStream.ts\n\nasync function* getDataReadableStream(data) {\n const reader = data.getReader();\n try {\n while (true) {\n const { done, value } = await reader.read();\n if (done) {\n return;\n }\n if (import_buffer.Buffer.isBuffer(value) || value instanceof Uint8Array) {\n yield value;\n } else {\n yield import_buffer.Buffer.from(value);\n }\n }\n } catch (e) {\n throw e;\n } finally {\n reader.releaseLock();\n }\n}\n__name(getDataReadableStream, \"getDataReadableStream\");\n\n// src/chunker.ts\nvar getChunk = /* @__PURE__ */ __name((data, partSize) => {\n if (data instanceof Uint8Array) {\n return getChunkUint8Array(data, partSize);\n }\n if (data instanceof import_stream.Readable) {\n return getChunkStream(data, partSize, getDataReadable);\n }\n if (data instanceof String || typeof data === \"string\") {\n return getChunkUint8Array(import_buffer.Buffer.from(data), partSize);\n }\n if (typeof data.stream === \"function\") {\n return getChunkStream(data.stream(), partSize, getDataReadableStream);\n }\n if (data instanceof ReadableStream) {\n return getChunkStream(data, partSize, getDataReadableStream);\n }\n throw new Error(\n \"Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;.\"\n );\n}, \"getChunk\");\n\n// src/Upload.ts\nvar Upload = class _Upload extends import_events.EventEmitter {\n static {\n __name(this, \"Upload\");\n }\n /**\n * @internal\n * modified in testing only.\n */\n static MIN_PART_SIZE = 1024 * 1024 * 5;\n /**\n * S3 multipart upload does not allow more than 10,000 parts.\n */\n MAX_PARTS = 1e4;\n // Defaults.\n queueSize = 4;\n partSize = _Upload.MIN_PART_SIZE;\n leavePartsOnError = false;\n tags = [];\n client;\n params;\n // used for reporting progress.\n totalBytes;\n bytesUploadedSoFar;\n // used in the upload.\n abortController;\n concurrentUploaders = [];\n createMultiPartPromise;\n abortMultipartUploadCommand = null;\n uploadedParts = [];\n uploadEnqueuedPartsCount = 0;\n /**\n * Last UploadId if the upload was done with MultipartUpload and not PutObject.\n */\n uploadId;\n uploadEvent;\n isMultiPart = true;\n singleUploadResult;\n sent = false;\n constructor(options) {\n super();\n this.queueSize = options.queueSize || this.queueSize;\n this.partSize = options.partSize || this.partSize;\n this.leavePartsOnError = options.leavePartsOnError || this.leavePartsOnError;\n this.tags = options.tags || this.tags;\n this.client = options.client;\n this.params = options.params;\n this.__validateInput();\n this.totalBytes = byteLength(this.params.Body);\n this.bytesUploadedSoFar = 0;\n this.abortController = options.abortController ?? new import_abort_controller.AbortController();\n }\n async abort() {\n this.abortController.abort();\n }\n async done() {\n if (this.sent) {\n throw new Error(\n \"@aws-sdk/lib-storage: this instance of Upload has already executed .done(). Create a new instance.\"\n );\n }\n this.sent = true;\n return await Promise.race([this.__doMultipartUpload(), this.__abortTimeout(this.abortController.signal)]);\n }\n on(event, listener) {\n this.uploadEvent = event;\n return super.on(event, listener);\n }\n async __uploadUsingPut(dataPart) {\n this.isMultiPart = false;\n const params = { ...this.params, Body: dataPart.data };\n const clientConfig = this.client.config;\n const requestHandler = clientConfig.requestHandler;\n const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;\n const uploadEventListener = /* @__PURE__ */ __name((event) => {\n this.bytesUploadedSoFar = event.loaded;\n this.totalBytes = event.total;\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket\n });\n }, \"uploadEventListener\");\n if (eventEmitter !== null) {\n eventEmitter.on(\"xhr.upload.progress\", uploadEventListener);\n }\n const resolved = await Promise.all([this.client.send(new import_client_s3.PutObjectCommand(params)), clientConfig?.endpoint?.()]);\n const putResult = resolved[0];\n let endpoint = resolved[1];\n if (!endpoint) {\n endpoint = (0, import_middleware_endpoint.toEndpointV1)(\n await (0, import_middleware_endpoint.getEndpointFromInstructions)(params, import_client_s3.PutObjectCommand, {\n ...clientConfig\n })\n );\n }\n if (!endpoint) {\n throw new Error('Could not resolve endpoint from S3 \"client.config.endpoint()\" nor EndpointsV2.');\n }\n if (eventEmitter !== null) {\n eventEmitter.off(\"xhr.upload.progress\", uploadEventListener);\n }\n const locationKey = this.params.Key.split(\"/\").map((segment) => (0, import_smithy_client.extendedEncodeURIComponent)(segment)).join(\"/\");\n const locationBucket = (0, import_smithy_client.extendedEncodeURIComponent)(this.params.Bucket);\n const Location = (() => {\n const endpointHostnameIncludesBucket = endpoint.hostname.startsWith(`${locationBucket}.`);\n const forcePathStyle = this.client.config.forcePathStyle;\n const optionalPort = endpoint.port ? `:${endpoint.port}` : ``;\n if (forcePathStyle) {\n return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationBucket}/${locationKey}`;\n }\n if (endpointHostnameIncludesBucket) {\n return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationKey}`;\n }\n return `${endpoint.protocol}//${locationBucket}.${endpoint.hostname}${optionalPort}/${locationKey}`;\n })();\n this.singleUploadResult = {\n ...putResult,\n Bucket: this.params.Bucket,\n Key: this.params.Key,\n Location\n };\n const totalSize = byteLength(dataPart.data);\n this.__notifyProgress({\n loaded: totalSize,\n total: totalSize,\n part: 1,\n Key: this.params.Key,\n Bucket: this.params.Bucket\n });\n }\n async __createMultipartUpload() {\n const requestChecksumCalculation = await this.client.config.requestChecksumCalculation();\n if (!this.createMultiPartPromise) {\n const createCommandParams = { ...this.params, Body: void 0 };\n if (requestChecksumCalculation === \"WHEN_SUPPORTED\") {\n createCommandParams.ChecksumAlgorithm = this.params.ChecksumAlgorithm || import_client_s3.ChecksumAlgorithm.CRC32;\n }\n this.createMultiPartPromise = this.client.send(new import_client_s3.CreateMultipartUploadCommand(createCommandParams)).then((createMpuResponse) => {\n this.abortMultipartUploadCommand = new import_client_s3.AbortMultipartUploadCommand({\n Bucket: this.params.Bucket,\n Key: this.params.Key,\n UploadId: createMpuResponse.UploadId\n });\n return createMpuResponse;\n });\n }\n return this.createMultiPartPromise;\n }\n async __doConcurrentUpload(dataFeeder) {\n for await (const dataPart of dataFeeder) {\n if (this.uploadEnqueuedPartsCount > this.MAX_PARTS) {\n throw new Error(\n `Exceeded ${this.MAX_PARTS} parts in multipart upload to Bucket: ${this.params.Bucket} Key: ${this.params.Key}.`\n );\n }\n if (this.abortController.signal.aborted) {\n return;\n }\n if (dataPart.partNumber === 1 && dataPart.lastPart) {\n return await this.__uploadUsingPut(dataPart);\n }\n if (!this.uploadId) {\n const { UploadId } = await this.__createMultipartUpload();\n this.uploadId = UploadId;\n if (this.abortController.signal.aborted) {\n return;\n }\n }\n const partSize = byteLength(dataPart.data) || 0;\n const requestHandler = this.client.config.requestHandler;\n const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;\n let lastSeenBytes = 0;\n const uploadEventListener = /* @__PURE__ */ __name((event, request) => {\n const requestPartSize = Number(request.query[\"partNumber\"]) || -1;\n if (requestPartSize !== dataPart.partNumber) {\n return;\n }\n if (event.total && partSize) {\n this.bytesUploadedSoFar += event.loaded - lastSeenBytes;\n lastSeenBytes = event.loaded;\n }\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket\n });\n }, \"uploadEventListener\");\n if (eventEmitter !== null) {\n eventEmitter.on(\"xhr.upload.progress\", uploadEventListener);\n }\n this.uploadEnqueuedPartsCount += 1;\n const partResult = await this.client.send(\n new import_client_s3.UploadPartCommand({\n ...this.params,\n // dataPart.data is chunked into a non-streaming buffer\n // so the ContentLength from the input should not be used for MPU.\n ContentLength: void 0,\n UploadId: this.uploadId,\n Body: dataPart.data,\n PartNumber: dataPart.partNumber\n })\n );\n if (eventEmitter !== null) {\n eventEmitter.off(\"xhr.upload.progress\", uploadEventListener);\n }\n if (this.abortController.signal.aborted) {\n return;\n }\n if (!partResult.ETag) {\n throw new Error(\n `Part ${dataPart.partNumber} is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?`\n );\n }\n this.uploadedParts.push({\n PartNumber: dataPart.partNumber,\n ETag: partResult.ETag,\n ...partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 },\n ...partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C },\n ...partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 },\n ...partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 }\n });\n if (eventEmitter === null) {\n this.bytesUploadedSoFar += partSize;\n }\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket\n });\n }\n }\n async __doMultipartUpload() {\n const dataFeeder = getChunk(this.params.Body, this.partSize);\n const concurrentUploaderFailures = [];\n for (let index = 0; index < this.queueSize; index++) {\n const currentUpload = this.__doConcurrentUpload(dataFeeder).catch((err) => {\n concurrentUploaderFailures.push(err);\n });\n this.concurrentUploaders.push(currentUpload);\n }\n await Promise.all(this.concurrentUploaders);\n if (concurrentUploaderFailures.length >= 1) {\n await this.markUploadAsAborted();\n throw concurrentUploaderFailures[0];\n }\n if (this.abortController.signal.aborted) {\n await this.markUploadAsAborted();\n throw Object.assign(new Error(\"Upload aborted.\"), { name: \"AbortError\" });\n }\n let result;\n if (this.isMultiPart) {\n this.uploadedParts.sort((a, b) => a.PartNumber - b.PartNumber);\n const uploadCompleteParams = {\n ...this.params,\n Body: void 0,\n UploadId: this.uploadId,\n MultipartUpload: {\n Parts: this.uploadedParts\n }\n };\n result = await this.client.send(new import_client_s3.CompleteMultipartUploadCommand(uploadCompleteParams));\n if (typeof result?.Location === \"string\" && result.Location.includes(\"%2F\")) {\n result.Location = result.Location.replace(/%2F/g, \"/\");\n }\n } else {\n result = this.singleUploadResult;\n }\n this.abortMultipartUploadCommand = null;\n if (this.tags.length) {\n await this.client.send(\n new import_client_s3.PutObjectTaggingCommand({\n ...this.params,\n Tagging: {\n TagSet: this.tags\n }\n })\n );\n }\n return result;\n }\n /**\n * Abort the last multipart upload in progress\n * if we know the upload id, the user did not specify to leave the parts, and\n * we have a prepared AbortMultipartUpload command.\n */\n async markUploadAsAborted() {\n if (this.uploadId && !this.leavePartsOnError && null !== this.abortMultipartUploadCommand) {\n await this.client.send(this.abortMultipartUploadCommand);\n this.abortMultipartUploadCommand = null;\n }\n }\n __notifyProgress(progress) {\n if (this.uploadEvent) {\n this.emit(this.uploadEvent, progress);\n }\n }\n async __abortTimeout(abortSignal) {\n return new Promise((resolve, reject) => {\n abortSignal.onabort = () => {\n const abortError = new Error(\"Upload aborted.\");\n abortError.name = \"AbortError\";\n reject(abortError);\n };\n });\n }\n __validateInput() {\n if (!this.params) {\n throw new Error(`InputError: Upload requires params to be passed to upload.`);\n }\n if (!this.client) {\n throw new Error(`InputError: Upload requires a AWS client to do uploads with.`);\n }\n if (this.partSize < _Upload.MIN_PART_SIZE) {\n throw new Error(\n `EntityTooSmall: Your proposed upload partsize [${this.partSize}] is smaller than the minimum allowed size [${_Upload.MIN_PART_SIZE}] (5MB)`\n );\n }\n if (this.queueSize < 1) {\n throw new Error(`Queue size: Must have at least one uploading queue.`);\n }\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n Upload\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientDefaultValues = void 0;\nconst fs_1 = require(\"fs\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nexports.ClientDefaultValues = {\n ...runtimeConfig_shared_1.ClientSharedValues,\n runtime: \"node\",\n lstatSync: fs_1.lstatSync,\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientSharedValues = void 0;\nexports.ClientSharedValues = {\n lstatSync: () => { },\n};\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS: () => NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS,\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME: () => NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME,\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME: () => NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME,\n NODE_USE_ARN_REGION_CONFIG_OPTIONS: () => NODE_USE_ARN_REGION_CONFIG_OPTIONS,\n NODE_USE_ARN_REGION_ENV_NAME: () => NODE_USE_ARN_REGION_ENV_NAME,\n NODE_USE_ARN_REGION_INI_NAME: () => NODE_USE_ARN_REGION_INI_NAME,\n bucketEndpointMiddleware: () => bucketEndpointMiddleware,\n bucketEndpointMiddlewareOptions: () => bucketEndpointMiddlewareOptions,\n bucketHostname: () => bucketHostname,\n getArnResources: () => getArnResources,\n getBucketEndpointPlugin: () => getBucketEndpointPlugin,\n getSuffixForArnEndpoint: () => getSuffixForArnEndpoint,\n resolveBucketEndpointConfig: () => resolveBucketEndpointConfig,\n validateAccountId: () => validateAccountId,\n validateDNSHostLabel: () => validateDNSHostLabel,\n validateNoDualstack: () => validateNoDualstack,\n validateNoFIPS: () => validateNoFIPS,\n validateOutpostService: () => validateOutpostService,\n validatePartition: () => validatePartition,\n validateRegion: () => validateRegion\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/NodeDisableMultiregionAccessPointConfigOptions.ts\nvar import_util_config_provider = require(\"@smithy/util-config-provider\");\nvar NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = \"AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS\";\nvar NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = \"s3_disable_multiregion_access_points\";\nvar NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => (0, import_util_config_provider.booleanSelector)(env, NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME, import_util_config_provider.SelectorType.ENV), \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => (0, import_util_config_provider.booleanSelector)(profile, NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME, import_util_config_provider.SelectorType.CONFIG), \"configFileSelector\"),\n default: false\n};\n\n// src/NodeUseArnRegionConfigOptions.ts\n\nvar NODE_USE_ARN_REGION_ENV_NAME = \"AWS_S3_USE_ARN_REGION\";\nvar NODE_USE_ARN_REGION_INI_NAME = \"s3_use_arn_region\";\nvar NODE_USE_ARN_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => (0, import_util_config_provider.booleanSelector)(env, NODE_USE_ARN_REGION_ENV_NAME, import_util_config_provider.SelectorType.ENV), \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => (0, import_util_config_provider.booleanSelector)(profile, NODE_USE_ARN_REGION_INI_NAME, import_util_config_provider.SelectorType.CONFIG), \"configFileSelector\"),\n /**\n * useArnRegion has specific behavior when undefined instead of false.\n * We therefore use undefined as the default value instead of false.\n */\n default: void 0\n};\n\n// src/bucketEndpointMiddleware.ts\nvar import_util_arn_parser = require(\"@aws-sdk/util-arn-parser\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\n\n// src/bucketHostnameUtils.ts\nvar DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\\.\\-]{1,61}[a-z0-9]$/;\nvar IP_ADDRESS_PATTERN = /(\\d+\\.){3}\\d+/;\nvar DOTS_PATTERN = /\\.\\./;\nvar DOT_PATTERN = /\\./;\nvar S3_HOSTNAME_PATTERN = /^(.+\\.)?s3(-fips)?(\\.dualstack)?[.-]([a-z0-9-]+)\\./;\nvar S3_US_EAST_1_ALTNAME_PATTERN = /^s3(-external-1)?\\.amazonaws\\.com$/;\nvar AWS_PARTITION_SUFFIX = \"amazonaws.com\";\nvar isBucketNameOptions = /* @__PURE__ */ __name((options) => typeof options.bucketName === \"string\", \"isBucketNameOptions\");\nvar isDnsCompatibleBucketName = /* @__PURE__ */ __name((bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName), \"isDnsCompatibleBucketName\");\nvar getRegionalSuffix = /* @__PURE__ */ __name((hostname) => {\n const parts = hostname.match(S3_HOSTNAME_PATTERN);\n return [parts[4], hostname.replace(new RegExp(`^${parts[0]}`), \"\")];\n}, \"getRegionalSuffix\");\nvar getSuffix = /* @__PURE__ */ __name((hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) ? [\"us-east-1\", AWS_PARTITION_SUFFIX] : getRegionalSuffix(hostname), \"getSuffix\");\nvar getSuffixForArnEndpoint = /* @__PURE__ */ __name((hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) ? [hostname.replace(`.${AWS_PARTITION_SUFFIX}`, \"\"), AWS_PARTITION_SUFFIX] : getRegionalSuffix(hostname), \"getSuffixForArnEndpoint\");\nvar validateArnEndpointOptions = /* @__PURE__ */ __name((options) => {\n if (options.pathStyleEndpoint) {\n throw new Error(\"Path-style S3 endpoint is not supported when bucket is an ARN\");\n }\n if (options.accelerateEndpoint) {\n throw new Error(\"Accelerate endpoint is not supported when bucket is an ARN\");\n }\n if (!options.tlsCompatible) {\n throw new Error(\"HTTPS is required when bucket is an ARN\");\n }\n}, \"validateArnEndpointOptions\");\nvar validateService = /* @__PURE__ */ __name((service) => {\n if (service !== \"s3\" && service !== \"s3-outposts\" && service !== \"s3-object-lambda\") {\n throw new Error(\"Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component\");\n }\n}, \"validateService\");\nvar validateS3Service = /* @__PURE__ */ __name((service) => {\n if (service !== \"s3\") {\n throw new Error(\"Expect 's3' in Accesspoint ARN service component\");\n }\n}, \"validateS3Service\");\nvar validateOutpostService = /* @__PURE__ */ __name((service) => {\n if (service !== \"s3-outposts\") {\n throw new Error(\"Expect 's3-posts' in Outpost ARN service component\");\n }\n}, \"validateOutpostService\");\nvar validatePartition = /* @__PURE__ */ __name((partition, options) => {\n if (partition !== options.clientPartition) {\n throw new Error(`Partition in ARN is incompatible, got \"${partition}\" but expected \"${options.clientPartition}\"`);\n }\n}, \"validatePartition\");\nvar validateRegion = /* @__PURE__ */ __name((region, options) => {\n}, \"validateRegion\");\nvar validateRegionalClient = /* @__PURE__ */ __name((region) => {\n if ([\"s3-external-1\", \"aws-global\"].includes(region)) {\n throw new Error(`Client region ${region} is not regional`);\n }\n}, \"validateRegionalClient\");\nvar validateAccountId = /* @__PURE__ */ __name((accountId) => {\n if (!/[0-9]{12}/.exec(accountId)) {\n throw new Error(\"Access point ARN accountID does not match regex '[0-9]{12}'\");\n }\n}, \"validateAccountId\");\nvar validateDNSHostLabel = /* @__PURE__ */ __name((label, options = { tlsCompatible: true }) => {\n if (label.length >= 64 || !/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(label) || /(\\d+\\.){3}\\d+/.test(label) || /[.-]{2}/.test(label) || options?.tlsCompatible && DOT_PATTERN.test(label)) {\n throw new Error(`Invalid DNS label ${label}`);\n }\n}, \"validateDNSHostLabel\");\nvar validateCustomEndpoint = /* @__PURE__ */ __name((options) => {\n if (options.isCustomEndpoint) {\n if (options.dualstackEndpoint) throw new Error(\"Dualstack endpoint is not supported with custom endpoint\");\n if (options.accelerateEndpoint) throw new Error(\"Accelerate endpoint is not supported with custom endpoint\");\n }\n}, \"validateCustomEndpoint\");\nvar getArnResources = /* @__PURE__ */ __name((resource) => {\n const delimiter = resource.includes(\":\") ? \":\" : \"/\";\n const [resourceType, ...rest] = resource.split(delimiter);\n if (resourceType === \"accesspoint\") {\n if (rest.length !== 1 || rest[0] === \"\") {\n throw new Error(`Access Point ARN should have one resource accesspoint${delimiter}{accesspointname}`);\n }\n return { accesspointName: rest[0] };\n } else if (resourceType === \"outpost\") {\n if (!rest[0] || rest[1] !== \"accesspoint\" || !rest[2] || rest.length !== 3) {\n throw new Error(\n `Outpost ARN should have resource outpost${delimiter}{outpostId}${delimiter}accesspoint${delimiter}{accesspointName}`\n );\n }\n const [outpostId, _, accesspointName] = rest;\n return { outpostId, accesspointName };\n } else {\n throw new Error(`ARN resource should begin with 'accesspoint${delimiter}' or 'outpost${delimiter}'`);\n }\n}, \"getArnResources\");\nvar validateNoDualstack = /* @__PURE__ */ __name((dualstackEndpoint) => {\n}, \"validateNoDualstack\");\nvar validateNoFIPS = /* @__PURE__ */ __name((useFipsEndpoint) => {\n if (useFipsEndpoint) throw new Error(`FIPS region is not supported with Outpost.`);\n}, \"validateNoFIPS\");\nvar validateMrapAlias = /* @__PURE__ */ __name((name) => {\n try {\n name.split(\".\").forEach((label) => {\n validateDNSHostLabel(label);\n });\n } catch (e) {\n throw new Error(`\"${name}\" is not a DNS compatible name.`);\n }\n}, \"validateMrapAlias\");\n\n// src/bucketHostname.ts\nvar bucketHostname = /* @__PURE__ */ __name((options) => {\n validateCustomEndpoint(options);\n return isBucketNameOptions(options) ? (\n // Construct endpoint when bucketName is a string referring to a bucket name\n getEndpointFromBucketName(options)\n ) : (\n // Construct endpoint when bucketName is an ARN referring to an S3 resource like Access Point\n getEndpointFromArn(options)\n );\n}, \"bucketHostname\");\nvar getEndpointFromBucketName = /* @__PURE__ */ __name(({\n accelerateEndpoint = false,\n clientRegion: region,\n baseHostname,\n bucketName,\n dualstackEndpoint = false,\n fipsEndpoint = false,\n pathStyleEndpoint = false,\n tlsCompatible = true,\n isCustomEndpoint = false\n}) => {\n const [clientRegion, hostnameSuffix] = isCustomEndpoint ? [region, baseHostname] : getSuffix(baseHostname);\n if (pathStyleEndpoint || !isDnsCompatibleBucketName(bucketName) || tlsCompatible && DOT_PATTERN.test(bucketName)) {\n return {\n bucketEndpoint: false,\n hostname: dualstackEndpoint ? `s3.dualstack.${clientRegion}.${hostnameSuffix}` : baseHostname\n };\n }\n if (accelerateEndpoint) {\n baseHostname = `s3-accelerate${dualstackEndpoint ? \".dualstack\" : \"\"}.${hostnameSuffix}`;\n } else if (dualstackEndpoint) {\n baseHostname = `s3.dualstack.${clientRegion}.${hostnameSuffix}`;\n }\n return {\n bucketEndpoint: true,\n hostname: `${bucketName}.${baseHostname}`\n };\n}, \"getEndpointFromBucketName\");\nvar getEndpointFromArn = /* @__PURE__ */ __name((options) => {\n const { isCustomEndpoint, baseHostname, clientRegion } = options;\n const hostnameSuffix = isCustomEndpoint ? baseHostname : getSuffixForArnEndpoint(baseHostname)[1];\n const {\n pathStyleEndpoint,\n accelerateEndpoint = false,\n fipsEndpoint = false,\n tlsCompatible = true,\n bucketName,\n clientPartition = \"aws\"\n } = options;\n validateArnEndpointOptions({ pathStyleEndpoint, accelerateEndpoint, tlsCompatible });\n const { service, partition, accountId, region, resource } = bucketName;\n validateService(service);\n validatePartition(partition, { clientPartition });\n validateAccountId(accountId);\n const { accesspointName, outpostId } = getArnResources(resource);\n if (service === \"s3-object-lambda\") {\n return getEndpointFromObjectLambdaArn({ ...options, tlsCompatible, bucketName, accesspointName, hostnameSuffix });\n }\n if (region === \"\") {\n return getEndpointFromMRAPArn({ ...options, clientRegion, mrapAlias: accesspointName, hostnameSuffix });\n }\n if (outpostId) {\n return getEndpointFromOutpostArn({ ...options, clientRegion, outpostId, accesspointName, hostnameSuffix });\n }\n return getEndpointFromAccessPointArn({ ...options, clientRegion, accesspointName, hostnameSuffix });\n}, \"getEndpointFromArn\");\nvar getEndpointFromObjectLambdaArn = /* @__PURE__ */ __name(({\n dualstackEndpoint = false,\n fipsEndpoint = false,\n tlsCompatible = true,\n useArnRegion,\n clientRegion,\n clientSigningRegion = clientRegion,\n accesspointName,\n bucketName,\n hostnameSuffix\n}) => {\n const { accountId, region, service } = bucketName;\n validateRegionalClient(clientRegion);\n const DNSHostLabel = `${accesspointName}-${accountId}`;\n validateDNSHostLabel(DNSHostLabel, { tlsCompatible });\n const endpointRegion = useArnRegion ? region : clientRegion;\n const signingRegion = useArnRegion ? region : clientSigningRegion;\n return {\n bucketEndpoint: true,\n hostname: `${DNSHostLabel}.${service}${fipsEndpoint ? \"-fips\" : \"\"}.${endpointRegion}.${hostnameSuffix}`,\n signingRegion,\n signingService: service\n };\n}, \"getEndpointFromObjectLambdaArn\");\nvar getEndpointFromMRAPArn = /* @__PURE__ */ __name(({\n disableMultiregionAccessPoints,\n dualstackEndpoint = false,\n isCustomEndpoint,\n mrapAlias,\n hostnameSuffix\n}) => {\n if (disableMultiregionAccessPoints === true) {\n throw new Error(\"SDK is attempting to use a MRAP ARN. Please enable to feature.\");\n }\n validateMrapAlias(mrapAlias);\n return {\n bucketEndpoint: true,\n hostname: `${mrapAlias}${isCustomEndpoint ? \"\" : `.accesspoint.s3-global`}.${hostnameSuffix}`,\n signingRegion: \"*\"\n };\n}, \"getEndpointFromMRAPArn\");\nvar getEndpointFromOutpostArn = /* @__PURE__ */ __name(({\n useArnRegion,\n clientRegion,\n clientSigningRegion = clientRegion,\n bucketName,\n outpostId,\n dualstackEndpoint = false,\n fipsEndpoint = false,\n tlsCompatible = true,\n accesspointName,\n isCustomEndpoint,\n hostnameSuffix\n}) => {\n validateRegionalClient(clientRegion);\n const DNSHostLabel = `${accesspointName}-${bucketName.accountId}`;\n validateDNSHostLabel(DNSHostLabel, { tlsCompatible });\n const endpointRegion = useArnRegion ? bucketName.region : clientRegion;\n const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion;\n validateOutpostService(bucketName.service);\n validateDNSHostLabel(outpostId, { tlsCompatible });\n validateNoFIPS(fipsEndpoint);\n const hostnamePrefix = `${DNSHostLabel}.${outpostId}`;\n return {\n bucketEndpoint: true,\n hostname: `${hostnamePrefix}${isCustomEndpoint ? \"\" : `.s3-outposts.${endpointRegion}`}.${hostnameSuffix}`,\n signingRegion,\n signingService: \"s3-outposts\"\n };\n}, \"getEndpointFromOutpostArn\");\nvar getEndpointFromAccessPointArn = /* @__PURE__ */ __name(({\n useArnRegion,\n clientRegion,\n clientSigningRegion = clientRegion,\n bucketName,\n dualstackEndpoint = false,\n fipsEndpoint = false,\n tlsCompatible = true,\n accesspointName,\n isCustomEndpoint,\n hostnameSuffix\n}) => {\n validateRegionalClient(clientRegion);\n const hostnamePrefix = `${accesspointName}-${bucketName.accountId}`;\n validateDNSHostLabel(hostnamePrefix, { tlsCompatible });\n const endpointRegion = useArnRegion ? bucketName.region : clientRegion;\n const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion;\n validateS3Service(bucketName.service);\n return {\n bucketEndpoint: true,\n hostname: `${hostnamePrefix}${isCustomEndpoint ? \"\" : `.s3-accesspoint${fipsEndpoint ? \"-fips\" : \"\"}${dualstackEndpoint ? \".dualstack\" : \"\"}.${endpointRegion}`}.${hostnameSuffix}`,\n signingRegion\n };\n}, \"getEndpointFromAccessPointArn\");\n\n// src/bucketEndpointMiddleware.ts\nvar bucketEndpointMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {\n const { Bucket: bucketName } = args.input;\n let replaceBucketInPath = options.bucketEndpoint;\n const request = args.request;\n if (import_protocol_http.HttpRequest.isInstance(request)) {\n if (options.bucketEndpoint) {\n request.hostname = bucketName;\n } else if ((0, import_util_arn_parser.validate)(bucketName)) {\n const bucketArn = (0, import_util_arn_parser.parse)(bucketName);\n const clientRegion = await options.region();\n const useDualstackEndpoint = await options.useDualstackEndpoint();\n const useFipsEndpoint = await options.useFipsEndpoint();\n const { partition, signingRegion = clientRegion } = await options.regionInfoProvider(clientRegion, { useDualstackEndpoint, useFipsEndpoint }) || {};\n const useArnRegion = await options.useArnRegion();\n const {\n hostname,\n bucketEndpoint,\n signingRegion: modifiedSigningRegion,\n signingService\n } = bucketHostname({\n bucketName: bucketArn,\n baseHostname: request.hostname,\n accelerateEndpoint: options.useAccelerateEndpoint,\n dualstackEndpoint: useDualstackEndpoint,\n fipsEndpoint: useFipsEndpoint,\n pathStyleEndpoint: options.forcePathStyle,\n tlsCompatible: request.protocol === \"https:\",\n useArnRegion,\n clientPartition: partition,\n clientSigningRegion: signingRegion,\n clientRegion,\n isCustomEndpoint: options.isCustomEndpoint,\n disableMultiregionAccessPoints: await options.disableMultiregionAccessPoints()\n });\n if (modifiedSigningRegion && modifiedSigningRegion !== signingRegion) {\n context[\"signing_region\"] = modifiedSigningRegion;\n }\n if (signingService && signingService !== \"s3\") {\n context[\"signing_service\"] = signingService;\n }\n request.hostname = hostname;\n replaceBucketInPath = bucketEndpoint;\n } else {\n const clientRegion = await options.region();\n const dualstackEndpoint = await options.useDualstackEndpoint();\n const fipsEndpoint = await options.useFipsEndpoint();\n const { hostname, bucketEndpoint } = bucketHostname({\n bucketName,\n clientRegion,\n baseHostname: request.hostname,\n accelerateEndpoint: options.useAccelerateEndpoint,\n dualstackEndpoint,\n fipsEndpoint,\n pathStyleEndpoint: options.forcePathStyle,\n tlsCompatible: request.protocol === \"https:\",\n isCustomEndpoint: options.isCustomEndpoint\n });\n request.hostname = hostname;\n replaceBucketInPath = bucketEndpoint;\n }\n if (replaceBucketInPath) {\n request.path = request.path.replace(/^(\\/)?[^\\/]+/, \"\");\n if (request.path === \"\") {\n request.path = \"/\";\n }\n }\n }\n return next({ ...args, request });\n}, \"bucketEndpointMiddleware\");\nvar bucketEndpointMiddlewareOptions = {\n tags: [\"BUCKET_ENDPOINT\"],\n name: \"bucketEndpointMiddleware\",\n relation: \"before\",\n toMiddleware: \"hostHeaderMiddleware\",\n override: true\n};\nvar getBucketEndpointPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.addRelativeTo(bucketEndpointMiddleware(options), bucketEndpointMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getBucketEndpointPlugin\");\n\n// src/configurations.ts\nfunction resolveBucketEndpointConfig(input) {\n const {\n bucketEndpoint = false,\n forcePathStyle = false,\n useAccelerateEndpoint = false,\n // useArnRegion has specific behavior when undefined instead of false.\n useArnRegion,\n disableMultiregionAccessPoints = false\n } = input;\n return Object.assign(input, {\n bucketEndpoint,\n forcePathStyle,\n useAccelerateEndpoint,\n useArnRegion: typeof useArnRegion === \"function\" ? useArnRegion : () => Promise.resolve(useArnRegion),\n disableMultiregionAccessPoints: typeof disableMultiregionAccessPoints === \"function\" ? disableMultiregionAccessPoints : () => Promise.resolve(disableMultiregionAccessPoints)\n });\n}\n__name(resolveBucketEndpointConfig, \"resolveBucketEndpointConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getArnResources,\n getSuffixForArnEndpoint,\n validateOutpostService,\n validatePartition,\n validateAccountId,\n validateRegion,\n validateDNSHostLabel,\n validateNoDualstack,\n validateNoFIPS,\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME,\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME,\n NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS,\n NODE_USE_ARN_REGION_ENV_NAME,\n NODE_USE_ARN_REGION_INI_NAME,\n NODE_USE_ARN_REGION_CONFIG_OPTIONS,\n bucketEndpointMiddleware,\n bucketEndpointMiddlewareOptions,\n getBucketEndpointPlugin,\n bucketHostname,\n resolveBucketEndpointConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addExpectContinueMiddleware: () => addExpectContinueMiddleware,\n addExpectContinueMiddlewareOptions: () => addExpectContinueMiddlewareOptions,\n getAddExpectContinuePlugin: () => getAddExpectContinuePlugin\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction addExpectContinueMiddleware(options) {\n return (next) => async (args) => {\n const { request } = args;\n if (import_protocol_http.HttpRequest.isInstance(request) && request.body && options.runtime === \"node\") {\n if (options.requestHandler?.constructor?.name !== \"FetchHttpHandler\") {\n request.headers = {\n ...request.headers,\n Expect: \"100-continue\"\n };\n }\n }\n return next({\n ...args,\n request\n });\n };\n}\n__name(addExpectContinueMiddleware, \"addExpectContinueMiddleware\");\nvar addExpectContinueMiddlewareOptions = {\n step: \"build\",\n tags: [\"SET_EXPECT_HEADER\", \"EXPECT_HEADER\"],\n name: \"addExpectContinueMiddleware\",\n override: true\n};\nvar getAddExpectContinuePlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(addExpectContinueMiddleware(options), addExpectContinueMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getAddExpectContinuePlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n addExpectContinueMiddlewareOptions,\n getAddExpectContinuePlugin,\n addExpectContinueMiddleware\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCrc32ChecksumAlgorithmFunction = void 0;\nconst tslib_1 = require(\"tslib\");\nconst crc32_1 = require(\"@aws-crypto/crc32\");\nconst util_1 = require(\"@aws-crypto/util\");\nconst zlib = tslib_1.__importStar(require(\"zlib\"));\nclass NodeCrc32 {\n checksum = 0;\n update(data) {\n this.checksum = zlib.crc32(data, this.checksum);\n }\n async digest() {\n return (0, util_1.numToUint8)(this.checksum);\n }\n reset() {\n this.checksum = 0;\n }\n}\nconst getCrc32ChecksumAlgorithmFunction = () => {\n if (typeof zlib.crc32 === \"undefined\") {\n return crc32_1.AwsCrc32;\n }\n return NodeCrc32;\n};\nexports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n CONFIG_REQUEST_CHECKSUM_CALCULATION: () => CONFIG_REQUEST_CHECKSUM_CALCULATION,\n CONFIG_RESPONSE_CHECKSUM_VALIDATION: () => CONFIG_RESPONSE_CHECKSUM_VALIDATION,\n ChecksumAlgorithm: () => ChecksumAlgorithm,\n ChecksumLocation: () => ChecksumLocation,\n DEFAULT_CHECKSUM_ALGORITHM: () => DEFAULT_CHECKSUM_ALGORITHM,\n DEFAULT_REQUEST_CHECKSUM_CALCULATION: () => DEFAULT_REQUEST_CHECKSUM_CALCULATION,\n DEFAULT_RESPONSE_CHECKSUM_VALIDATION: () => DEFAULT_RESPONSE_CHECKSUM_VALIDATION,\n ENV_REQUEST_CHECKSUM_CALCULATION: () => ENV_REQUEST_CHECKSUM_CALCULATION,\n ENV_RESPONSE_CHECKSUM_VALIDATION: () => ENV_RESPONSE_CHECKSUM_VALIDATION,\n NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS: () => NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS,\n NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS: () => NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS,\n RequestChecksumCalculation: () => RequestChecksumCalculation,\n ResponseChecksumValidation: () => ResponseChecksumValidation,\n crc64NvmeCrtContainer: () => crc64NvmeCrtContainer,\n flexibleChecksumsMiddleware: () => flexibleChecksumsMiddleware,\n flexibleChecksumsMiddlewareOptions: () => flexibleChecksumsMiddlewareOptions,\n getFlexibleChecksumsPlugin: () => getFlexibleChecksumsPlugin,\n resolveFlexibleChecksumsConfig: () => resolveFlexibleChecksumsConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/constants.ts\nvar RequestChecksumCalculation = {\n /**\n * When set, a checksum will be calculated for all request payloads of operations\n * modeled with the {@link httpChecksum} trait where `requestChecksumRequired` is `true`\n * AND/OR a `requestAlgorithmMember` is modeled.\n * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum}\n */\n WHEN_SUPPORTED: \"WHEN_SUPPORTED\",\n /**\n * When set, a checksum will only be calculated for request payloads of operations\n * modeled with the {@link httpChecksum} trait where `requestChecksumRequired` is `true`\n * OR where a `requestAlgorithmMember` is modeled and the user sets it.\n * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum}\n */\n WHEN_REQUIRED: \"WHEN_REQUIRED\"\n};\nvar DEFAULT_REQUEST_CHECKSUM_CALCULATION = RequestChecksumCalculation.WHEN_SUPPORTED;\nvar ResponseChecksumValidation = {\n /**\n * When set, checksum validation MUST be performed on all response payloads of operations\n * modeled with the {@link httpChecksum} trait where `responseAlgorithms` is modeled,\n * except when no modeled checksum algorithms are supported by an SDK.\n * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum}\n */\n WHEN_SUPPORTED: \"WHEN_SUPPORTED\",\n /**\n * When set, checksum validation MUST NOT be performed on response payloads of operations UNLESS\n * the SDK supports the modeled checksum algorithms AND the user has set the `requestValidationModeMember` to `ENABLED`.\n * It is currently impossible to model an operation as requiring a response checksum,\n * but this setting leaves the door open for future updates.\n */\n WHEN_REQUIRED: \"WHEN_REQUIRED\"\n};\nvar DEFAULT_RESPONSE_CHECKSUM_VALIDATION = RequestChecksumCalculation.WHEN_SUPPORTED;\nvar ChecksumAlgorithm = /* @__PURE__ */ ((ChecksumAlgorithm3) => {\n ChecksumAlgorithm3[\"MD5\"] = \"MD5\";\n ChecksumAlgorithm3[\"CRC32\"] = \"CRC32\";\n ChecksumAlgorithm3[\"CRC32C\"] = \"CRC32C\";\n ChecksumAlgorithm3[\"CRC64NVME\"] = \"CRC64NVME\";\n ChecksumAlgorithm3[\"SHA1\"] = \"SHA1\";\n ChecksumAlgorithm3[\"SHA256\"] = \"SHA256\";\n return ChecksumAlgorithm3;\n})(ChecksumAlgorithm || {});\nvar ChecksumLocation = /* @__PURE__ */ ((ChecksumLocation2) => {\n ChecksumLocation2[\"HEADER\"] = \"header\";\n ChecksumLocation2[\"TRAILER\"] = \"trailer\";\n return ChecksumLocation2;\n})(ChecksumLocation || {});\nvar DEFAULT_CHECKSUM_ALGORITHM = \"CRC32\" /* CRC32 */;\n\n// src/stringUnionSelector.ts\nvar stringUnionSelector = /* @__PURE__ */ __name((obj, key, union, type) => {\n if (!(key in obj)) return void 0;\n const value = obj[key].toUpperCase();\n if (!Object.values(union).includes(value)) {\n throw new TypeError(`Cannot load ${type} '${key}'. Expected one of ${Object.values(union)}, got '${obj[key]}'.`);\n }\n return value;\n}, \"stringUnionSelector\");\n\n// src/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.ts\nvar ENV_REQUEST_CHECKSUM_CALCULATION = \"AWS_REQUEST_CHECKSUM_CALCULATION\";\nvar CONFIG_REQUEST_CHECKSUM_CALCULATION = \"request_checksum_calculation\";\nvar NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => stringUnionSelector(env, ENV_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, \"env\" /* ENV */), \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => stringUnionSelector(profile, CONFIG_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, \"shared config entry\" /* CONFIG */), \"configFileSelector\"),\n default: DEFAULT_REQUEST_CHECKSUM_CALCULATION\n};\n\n// src/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.ts\nvar ENV_RESPONSE_CHECKSUM_VALIDATION = \"AWS_RESPONSE_CHECKSUM_VALIDATION\";\nvar CONFIG_RESPONSE_CHECKSUM_VALIDATION = \"response_checksum_validation\";\nvar NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => stringUnionSelector(env, ENV_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, \"env\" /* ENV */), \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => stringUnionSelector(profile, CONFIG_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, \"shared config entry\" /* CONFIG */), \"configFileSelector\"),\n default: DEFAULT_RESPONSE_CHECKSUM_VALIDATION\n};\n\n// src/crc64-nvme-crt-container.ts\nvar crc64NvmeCrtContainer = {\n CrtCrc64Nvme: null\n};\n\n// src/flexibleChecksumsMiddleware.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_util_stream = require(\"@smithy/util-stream\");\n\n// src/types.ts\nvar CLIENT_SUPPORTED_ALGORITHMS = [\n \"CRC32\" /* CRC32 */,\n \"CRC32C\" /* CRC32C */,\n \"CRC64NVME\" /* CRC64NVME */,\n \"SHA1\" /* SHA1 */,\n \"SHA256\" /* SHA256 */\n];\nvar PRIORITY_ORDER_ALGORITHMS = [\n \"SHA256\" /* SHA256 */,\n \"SHA1\" /* SHA1 */,\n \"CRC32\" /* CRC32 */,\n \"CRC32C\" /* CRC32C */,\n \"CRC64NVME\" /* CRC64NVME */\n];\n\n// src/getChecksumAlgorithmForRequest.ts\nvar getChecksumAlgorithmForRequest = /* @__PURE__ */ __name((input, { requestChecksumRequired, requestAlgorithmMember, requestChecksumCalculation }) => {\n if (!requestAlgorithmMember) {\n return requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired ? DEFAULT_CHECKSUM_ALGORITHM : void 0;\n }\n if (!input[requestAlgorithmMember]) {\n return void 0;\n }\n const checksumAlgorithm = input[requestAlgorithmMember];\n if (!CLIENT_SUPPORTED_ALGORITHMS.includes(checksumAlgorithm)) {\n throw new Error(\n `The checksum algorithm \"${checksumAlgorithm}\" is not supported by the client. Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`\n );\n }\n return checksumAlgorithm;\n}, \"getChecksumAlgorithmForRequest\");\n\n// src/getChecksumLocationName.ts\nvar getChecksumLocationName = /* @__PURE__ */ __name((algorithm) => algorithm === \"MD5\" /* MD5 */ ? \"content-md5\" : `x-amz-checksum-${algorithm.toLowerCase()}`, \"getChecksumLocationName\");\n\n// src/hasHeader.ts\nvar hasHeader = /* @__PURE__ */ __name((header, headers) => {\n const soughtHeader = header.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return true;\n }\n }\n return false;\n}, \"hasHeader\");\n\n// src/hasHeaderWithPrefix.ts\nvar hasHeaderWithPrefix = /* @__PURE__ */ __name((headerPrefix, headers) => {\n const soughtHeaderPrefix = headerPrefix.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (headerName.toLowerCase().startsWith(soughtHeaderPrefix)) {\n return true;\n }\n }\n return false;\n}, \"hasHeaderWithPrefix\");\n\n// src/isStreaming.ts\nvar import_is_array_buffer = require(\"@smithy/is-array-buffer\");\nvar isStreaming = /* @__PURE__ */ __name((body) => body !== void 0 && typeof body !== \"string\" && !ArrayBuffer.isView(body) && !(0, import_is_array_buffer.isArrayBuffer)(body), \"isStreaming\");\n\n// src/selectChecksumAlgorithmFunction.ts\nvar import_crc32c = require(\"@aws-crypto/crc32c\");\nvar import_getCrc32ChecksumAlgorithmFunction = require(\"././getCrc32ChecksumAlgorithmFunction\");\nvar selectChecksumAlgorithmFunction = /* @__PURE__ */ __name((checksumAlgorithm, config) => {\n switch (checksumAlgorithm) {\n case \"MD5\" /* MD5 */:\n return config.md5;\n case \"CRC32\" /* CRC32 */:\n return (0, import_getCrc32ChecksumAlgorithmFunction.getCrc32ChecksumAlgorithmFunction)();\n case \"CRC32C\" /* CRC32C */:\n return import_crc32c.AwsCrc32c;\n case \"CRC64NVME\" /* CRC64NVME */:\n if (typeof crc64NvmeCrtContainer.CrtCrc64Nvme !== \"function\") {\n throw new Error(\n `Please check whether you have installed the \"@aws-sdk/crc64-nvme-crt\" package explicitly. \nYou must also register the package by calling [require(\"@aws-sdk/crc64-nvme-crt\");] or an ESM equivalent such as [import \"@aws-sdk/crc64-nvme-crt\";]. \nFor more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`\n );\n }\n return crc64NvmeCrtContainer.CrtCrc64Nvme;\n case \"SHA1\" /* SHA1 */:\n return config.sha1;\n case \"SHA256\" /* SHA256 */:\n return config.sha256;\n default:\n throw new Error(`Unsupported checksum algorithm: ${checksumAlgorithm}`);\n }\n}, \"selectChecksumAlgorithmFunction\");\n\n// src/stringHasher.ts\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar stringHasher = /* @__PURE__ */ __name((checksumAlgorithmFn, body) => {\n const hash = new checksumAlgorithmFn();\n hash.update((0, import_util_utf8.toUint8Array)(body || \"\"));\n return hash.digest();\n}, \"stringHasher\");\n\n// src/flexibleChecksumsMiddleware.ts\nvar flexibleChecksumsMiddlewareOptions = {\n name: \"flexibleChecksumsMiddleware\",\n step: \"build\",\n tags: [\"BODY_CHECKSUM\"],\n override: true\n};\nvar flexibleChecksumsMiddleware = /* @__PURE__ */ __name((config, middlewareConfig) => (next, context) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n if (hasHeaderWithPrefix(\"x-amz-checksum-\", args.request.headers)) {\n return next(args);\n }\n const { request, input } = args;\n const { body: requestBody, headers } = request;\n const { base64Encoder, streamHasher } = config;\n const { requestChecksumRequired, requestAlgorithmMember } = middlewareConfig;\n const requestChecksumCalculation = await config.requestChecksumCalculation();\n const requestAlgorithmMemberName = requestAlgorithmMember?.name;\n const requestAlgorithmMemberHttpHeader = requestAlgorithmMember?.httpHeader;\n if (requestAlgorithmMemberName && !input[requestAlgorithmMemberName]) {\n if (requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired) {\n input[requestAlgorithmMemberName] = DEFAULT_CHECKSUM_ALGORITHM;\n if (requestAlgorithmMemberHttpHeader) {\n headers[requestAlgorithmMemberHttpHeader] = DEFAULT_CHECKSUM_ALGORITHM;\n }\n }\n }\n const checksumAlgorithm = getChecksumAlgorithmForRequest(input, {\n requestChecksumRequired,\n requestAlgorithmMember: requestAlgorithmMember?.name,\n requestChecksumCalculation\n });\n let updatedBody = requestBody;\n let updatedHeaders = headers;\n if (checksumAlgorithm) {\n switch (checksumAlgorithm) {\n case \"CRC32\" /* CRC32 */:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_CRC32\", \"U\");\n break;\n case \"CRC32C\" /* CRC32C */:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_CRC32C\", \"V\");\n break;\n case \"CRC64NVME\" /* CRC64NVME */:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_CRC64\", \"W\");\n break;\n case \"SHA1\" /* SHA1 */:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_SHA1\", \"X\");\n break;\n case \"SHA256\" /* SHA256 */:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_SHA256\", \"Y\");\n break;\n }\n const checksumLocationName = getChecksumLocationName(checksumAlgorithm);\n const checksumAlgorithmFn = selectChecksumAlgorithmFunction(checksumAlgorithm, config);\n if (isStreaming(requestBody)) {\n const { getAwsChunkedEncodingStream, bodyLengthChecker } = config;\n updatedBody = getAwsChunkedEncodingStream(\n typeof config.requestStreamBufferSize === \"number\" && config.requestStreamBufferSize >= 8 * 1024 ? (0, import_util_stream.createBufferedReadable)(requestBody, config.requestStreamBufferSize, context.logger) : requestBody,\n {\n base64Encoder,\n bodyLengthChecker,\n checksumLocationName,\n checksumAlgorithmFn,\n streamHasher\n }\n );\n updatedHeaders = {\n ...headers,\n \"content-encoding\": headers[\"content-encoding\"] ? `${headers[\"content-encoding\"]},aws-chunked` : \"aws-chunked\",\n \"transfer-encoding\": \"chunked\",\n \"x-amz-decoded-content-length\": headers[\"content-length\"],\n \"x-amz-content-sha256\": \"STREAMING-UNSIGNED-PAYLOAD-TRAILER\",\n \"x-amz-trailer\": checksumLocationName\n };\n delete updatedHeaders[\"content-length\"];\n } else if (!hasHeader(checksumLocationName, headers)) {\n const rawChecksum = await stringHasher(checksumAlgorithmFn, requestBody);\n updatedHeaders = {\n ...headers,\n [checksumLocationName]: base64Encoder(rawChecksum)\n };\n }\n }\n const result = await next({\n ...args,\n request: {\n ...request,\n headers: updatedHeaders,\n body: updatedBody\n }\n });\n return result;\n}, \"flexibleChecksumsMiddleware\");\n\n// src/flexibleChecksumsInputMiddleware.ts\n\nvar flexibleChecksumsInputMiddlewareOptions = {\n name: \"flexibleChecksumsInputMiddleware\",\n toMiddleware: \"serializerMiddleware\",\n relation: \"before\",\n tags: [\"BODY_CHECKSUM\"],\n override: true\n};\nvar flexibleChecksumsInputMiddleware = /* @__PURE__ */ __name((config, middlewareConfig) => (next, context) => async (args) => {\n const input = args.input;\n const { requestValidationModeMember } = middlewareConfig;\n const requestChecksumCalculation = await config.requestChecksumCalculation();\n const responseChecksumValidation = await config.responseChecksumValidation();\n switch (requestChecksumCalculation) {\n case RequestChecksumCalculation.WHEN_REQUIRED:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED\", \"a\");\n break;\n case RequestChecksumCalculation.WHEN_SUPPORTED:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED\", \"Z\");\n break;\n }\n switch (responseChecksumValidation) {\n case ResponseChecksumValidation.WHEN_REQUIRED:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED\", \"c\");\n break;\n case ResponseChecksumValidation.WHEN_SUPPORTED:\n (0, import_core.setFeature)(context, \"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED\", \"b\");\n break;\n }\n if (requestValidationModeMember && !input[requestValidationModeMember]) {\n if (responseChecksumValidation === ResponseChecksumValidation.WHEN_SUPPORTED) {\n input[requestValidationModeMember] = \"ENABLED\";\n }\n }\n return next(args);\n}, \"flexibleChecksumsInputMiddleware\");\n\n// src/flexibleChecksumsResponseMiddleware.ts\n\n\n// src/getChecksumAlgorithmListForResponse.ts\nvar getChecksumAlgorithmListForResponse = /* @__PURE__ */ __name((responseAlgorithms = []) => {\n const validChecksumAlgorithms = [];\n for (const algorithm of PRIORITY_ORDER_ALGORITHMS) {\n if (!responseAlgorithms.includes(algorithm) || !CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)) {\n continue;\n }\n validChecksumAlgorithms.push(algorithm);\n }\n return validChecksumAlgorithms;\n}, \"getChecksumAlgorithmListForResponse\");\n\n// src/isChecksumWithPartNumber.ts\nvar isChecksumWithPartNumber = /* @__PURE__ */ __name((checksum) => {\n const lastHyphenIndex = checksum.lastIndexOf(\"-\");\n if (lastHyphenIndex !== -1) {\n const numberPart = checksum.slice(lastHyphenIndex + 1);\n if (!numberPart.startsWith(\"0\")) {\n const number = parseInt(numberPart, 10);\n if (!isNaN(number) && number >= 1 && number <= 1e4) {\n return true;\n }\n }\n }\n return false;\n}, \"isChecksumWithPartNumber\");\n\n// src/validateChecksumFromResponse.ts\n\n\n// src/getChecksum.ts\nvar getChecksum = /* @__PURE__ */ __name(async (body, { checksumAlgorithmFn, base64Encoder }) => base64Encoder(await stringHasher(checksumAlgorithmFn, body)), \"getChecksum\");\n\n// src/validateChecksumFromResponse.ts\nvar validateChecksumFromResponse = /* @__PURE__ */ __name(async (response, { config, responseAlgorithms, logger }) => {\n const checksumAlgorithms = getChecksumAlgorithmListForResponse(responseAlgorithms);\n const { body: responseBody, headers: responseHeaders } = response;\n for (const algorithm of checksumAlgorithms) {\n const responseHeader = getChecksumLocationName(algorithm);\n const checksumFromResponse = responseHeaders[responseHeader];\n if (checksumFromResponse) {\n let checksumAlgorithmFn;\n try {\n checksumAlgorithmFn = selectChecksumAlgorithmFunction(algorithm, config);\n } catch (error) {\n if (algorithm === \"CRC64NVME\" /* CRC64NVME */) {\n logger?.warn(`Skipping ${\"CRC64NVME\" /* CRC64NVME */} checksum validation: ${error.message}`);\n continue;\n }\n throw error;\n }\n const { base64Encoder } = config;\n if (isStreaming(responseBody)) {\n response.body = (0, import_util_stream.createChecksumStream)({\n expectedChecksum: checksumFromResponse,\n checksumSourceLocation: responseHeader,\n checksum: new checksumAlgorithmFn(),\n source: responseBody,\n base64Encoder\n });\n return;\n }\n const checksum = await getChecksum(responseBody, { checksumAlgorithmFn, base64Encoder });\n if (checksum === checksumFromResponse) {\n break;\n }\n throw new Error(\n `Checksum mismatch: expected \"${checksum}\" but received \"${checksumFromResponse}\" in response header \"${responseHeader}\".`\n );\n }\n }\n}, \"validateChecksumFromResponse\");\n\n// src/flexibleChecksumsResponseMiddleware.ts\nvar flexibleChecksumsResponseMiddlewareOptions = {\n name: \"flexibleChecksumsResponseMiddleware\",\n toMiddleware: \"deserializerMiddleware\",\n relation: \"after\",\n tags: [\"BODY_CHECKSUM\"],\n override: true\n};\nvar flexibleChecksumsResponseMiddleware = /* @__PURE__ */ __name((config, middlewareConfig) => (next, context) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n const input = args.input;\n const result = await next(args);\n const response = result.response;\n const { requestValidationModeMember, responseAlgorithms } = middlewareConfig;\n if (requestValidationModeMember && input[requestValidationModeMember] === \"ENABLED\") {\n const { clientName, commandName } = context;\n const isS3WholeObjectMultipartGetResponseChecksum = clientName === \"S3Client\" && commandName === \"GetObjectCommand\" && getChecksumAlgorithmListForResponse(responseAlgorithms).every((algorithm) => {\n const responseHeader = getChecksumLocationName(algorithm);\n const checksumFromResponse = response.headers[responseHeader];\n return !checksumFromResponse || isChecksumWithPartNumber(checksumFromResponse);\n });\n if (isS3WholeObjectMultipartGetResponseChecksum) {\n return result;\n }\n await validateChecksumFromResponse(response, {\n config,\n responseAlgorithms,\n logger: context.logger\n });\n }\n return result;\n}, \"flexibleChecksumsResponseMiddleware\");\n\n// src/getFlexibleChecksumsPlugin.ts\nvar getFlexibleChecksumsPlugin = /* @__PURE__ */ __name((config, middlewareConfig) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(flexibleChecksumsMiddleware(config, middlewareConfig), flexibleChecksumsMiddlewareOptions);\n clientStack.addRelativeTo(\n flexibleChecksumsInputMiddleware(config, middlewareConfig),\n flexibleChecksumsInputMiddlewareOptions\n );\n clientStack.addRelativeTo(\n flexibleChecksumsResponseMiddleware(config, middlewareConfig),\n flexibleChecksumsResponseMiddlewareOptions\n );\n }, \"applyToStack\")\n}), \"getFlexibleChecksumsPlugin\");\n\n// src/resolveFlexibleChecksumsConfig.ts\nvar import_util_middleware = require(\"@smithy/util-middleware\");\nvar resolveFlexibleChecksumsConfig = /* @__PURE__ */ __name((input) => {\n const { requestChecksumCalculation, responseChecksumValidation, requestStreamBufferSize } = input;\n return Object.assign(input, {\n requestChecksumCalculation: (0, import_util_middleware.normalizeProvider)(requestChecksumCalculation ?? DEFAULT_REQUEST_CHECKSUM_CALCULATION),\n responseChecksumValidation: (0, import_util_middleware.normalizeProvider)(responseChecksumValidation ?? DEFAULT_RESPONSE_CHECKSUM_VALIDATION),\n requestStreamBufferSize: Number(requestStreamBufferSize ?? 0)\n });\n}, \"resolveFlexibleChecksumsConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n ENV_REQUEST_CHECKSUM_CALCULATION,\n CONFIG_REQUEST_CHECKSUM_CALCULATION,\n NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS,\n ENV_RESPONSE_CHECKSUM_VALIDATION,\n CONFIG_RESPONSE_CHECKSUM_VALIDATION,\n NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS,\n RequestChecksumCalculation,\n DEFAULT_REQUEST_CHECKSUM_CALCULATION,\n ResponseChecksumValidation,\n DEFAULT_RESPONSE_CHECKSUM_VALIDATION,\n ChecksumAlgorithm,\n ChecksumLocation,\n DEFAULT_CHECKSUM_ALGORITHM,\n crc64NvmeCrtContainer,\n flexibleChecksumsMiddlewareOptions,\n flexibleChecksumsMiddleware,\n getFlexibleChecksumsPlugin,\n resolveFlexibleChecksumsConfig\n});\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./submodules/client/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/httpAuthSchemes/index\"), exports);\ntslib_1.__exportStar(require(\"./submodules/protocols/index\"), exports);\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/client/index.ts\nvar index_exports = {};\n__export(index_exports, {\n emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,\n setCredentialFeature: () => setCredentialFeature,\n setFeature: () => setFeature,\n setTokenFeature: () => setTokenFeature,\n state: () => state\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/client/emitWarningIfUnsupportedVersion.ts\nvar state = {\n warningEmitted: false\n};\nvar emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 18) {\n state.warningEmitted = true;\n process.emitWarning(\n `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js 16.x on January 6, 2025.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/74kJMmI`\n );\n }\n}, \"emitWarningIfUnsupportedVersion\");\n\n// src/submodules/client/setCredentialFeature.ts\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n__name(setCredentialFeature, \"setCredentialFeature\");\n\n// src/submodules/client/setFeature.ts\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {}\n };\n } else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n__name(setFeature, \"setFeature\");\n\n// src/submodules/client/setTokenFeature.ts\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n__name(setTokenFeature, \"setTokenFeature\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n emitWarningIfUnsupportedVersion,\n setCredentialFeature,\n setFeature,\n setTokenFeature,\n state\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/httpAuthSchemes/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey: () => getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,\n validateSigningProperties: () => validateSigningProperties\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar import_protocol_http2 = require(\"@smithy/protocol-http\");\n\n// src/submodules/httpAuthSchemes/utils/getDateHeader.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, \"getDateHeader\");\n\n// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts\nvar getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), \"getSkewCorrectedDate\");\n\n// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts\nvar isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, \"isClockSkewed\");\n\n// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts\nvar getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n}, \"getUpdatedSystemClockOffset\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts\nvar throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n}, \"throwSigningPropertyError\");\nvar validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {\n const context = throwSigningPropertyError(\n \"context\",\n signingProperties.context\n );\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\n \"signer\",\n config.signer\n );\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName\n };\n}, \"validateSigningProperties\");\nvar AwsSdkSigV4Signer = class {\n static {\n __name(this, \"AwsSdkSigV4Signer\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion,\n signingService: signingName\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n};\nvar AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\n// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts\nvar import_protocol_http3 = require(\"@smithy/protocol-http\");\nvar AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {\n static {\n __name(this, \"AwsSdkSigV4ASigner\");\n }\n async sign(httpRequest, identity, signingProperties) {\n if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(\n signingProperties\n );\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName\n });\n return signedRequest;\n }\n};\n\n// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts\nvar getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [], \"getArrayForCommaSeparatedString\");\n\n// src/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.ts\nvar getBearerTokenEnvKey = /* @__PURE__ */ __name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`, \"getBearerTokenEnvKey\");\n\n// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts\nvar NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nvar NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nvar NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n /**\n * Retrieves auth scheme preference from environment variables\n * @param env - Node process environment object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n environmentVariableSelector: /* @__PURE__ */ __name((env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env) return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n }, \"environmentVariableSelector\"),\n /**\n * Retrieves auth scheme preference from config file\n * @param profile - Config profile object\n * @returns Array of auth scheme strings if preference is set, undefined otherwise\n */\n configFileSelector: /* @__PURE__ */ __name((profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n }, \"configFileSelector\"),\n /**\n * Default auth scheme preference if not specified in environment or config\n */\n default: []\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts\nvar import_core = require(\"@smithy/core\");\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {\n config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);\n return config;\n}, \"resolveAwsSdkSigV4AConfig\");\nvar NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new import_property_provider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true\n });\n },\n default: void 0\n};\n\n// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar import_core2 = require(\"@smithy/core\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = void 0;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n resolvedCredentials = /* @__PURE__ */ __name(async (options) => boundProvider(options).then(\n (creds) => (0, import_client.setCredentialFeature)(creds, \"CREDENTIALS_CODE\", \"e\")\n ), \"resolvedCredentials\");\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n } else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true\n });\n config.credentials = inputCredentials;\n const {\n // Default for signingEscapePath\n signingEscapePath = true,\n // Default for systemClockOffset\n systemClockOffset = config.systemClockOffset || 0,\n // No default for sha256 since it is platform dependent\n sha256\n } = config;\n let signer;\n if (config.signer) {\n signer = (0, import_core2.normalizeProvider)(config.signer);\n } else if (config.regionInfoProvider) {\n signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(\n async (region) => [\n await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint()\n }) || {},\n region\n ]\n ).then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }), \"signer\");\n } else {\n signer = /* @__PURE__ */ __name(async (authScheme) => {\n authScheme = Object.assign(\n {},\n {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),\n properties: {}\n },\n authScheme\n );\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath\n };\n const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;\n return new SignerCtor(params);\n }, \"signer\");\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer\n });\n return resolvedConfig;\n}, \"resolveAwsSdkSigV4Config\");\nvar resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, {\n credentials,\n credentialDefaultProvider\n}) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = (0, import_core2.memoizeIdentityProvider)(credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);\n } else {\n credentialsProvider = credentials;\n }\n } else {\n if (credentialDefaultProvider) {\n credentialsProvider = (0, import_core2.normalizeProvider)(\n credentialDefaultProvider(\n Object.assign({}, config, {\n parentClientConfig: config\n })\n )\n );\n } else {\n credentialsProvider = /* @__PURE__ */ __name(async () => {\n throw new Error(\n \"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\"\n );\n }, \"credentialsProvider\");\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\n__name(normalizeCredentialProvider, \"normalizeCredentialProvider\");\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), \"fn\");\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n__name(bindCallerConfig, \"bindCallerConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AWSSDKSigV4Signer,\n AwsSdkSigV4ASigner,\n AwsSdkSigV4Signer,\n NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,\n NODE_SIGV4A_CONFIG_OPTIONS,\n getBearerTokenEnvKey,\n resolveAWSSDKSigV4Config,\n resolveAwsSdkSigV4AConfig,\n resolveAwsSdkSigV4Config,\n validateSigningProperties\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/protocols/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,\n AwsJson1_0Protocol: () => AwsJson1_0Protocol,\n AwsJson1_1Protocol: () => AwsJson1_1Protocol,\n AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,\n AwsQueryProtocol: () => AwsQueryProtocol,\n AwsRestJsonProtocol: () => AwsRestJsonProtocol,\n AwsRestXmlProtocol: () => AwsRestXmlProtocol,\n JsonCodec: () => JsonCodec,\n JsonShapeDeserializer: () => JsonShapeDeserializer,\n JsonShapeSerializer: () => JsonShapeSerializer,\n XmlCodec: () => XmlCodec,\n XmlShapeDeserializer: () => XmlShapeDeserializer,\n XmlShapeSerializer: () => XmlShapeSerializer,\n _toBool: () => _toBool,\n _toNum: () => _toNum,\n _toStr: () => _toStr,\n awsExpectUnion: () => awsExpectUnion,\n loadRestJsonErrorCode: () => loadRestJsonErrorCode,\n loadRestXmlErrorCode: () => loadRestXmlErrorCode,\n parseJsonBody: () => parseJsonBody,\n parseJsonErrorBody: () => parseJsonErrorBody,\n parseXmlBody: () => parseXmlBody,\n parseXmlErrorBody: () => parseXmlErrorBody\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/submodules/protocols/coercing-serializers.ts\nvar _toStr = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n}, \"_toStr\");\nvar _toBool = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n}, \"_toBool\");\nvar _toNum = /* @__PURE__ */ __name((val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n}, \"_toNum\");\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar import_protocols = require(\"@smithy/core/protocols\");\nvar import_schema3 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/ConfigurableSerdeContext.ts\nvar SerdeContextConfig = class {\n static {\n __name(this, \"SerdeContextConfig\");\n }\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar import_schema = require(\"@smithy/core/schema\");\nvar import_serde2 = require(\"@smithy/core/serde\");\nvar import_util_base64 = require(\"@smithy/util-base64\");\n\n// src/submodules/protocols/json/jsonReviver.ts\nvar import_serde = require(\"@smithy/core/serde\");\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new import_serde.NumericValue(numericString, \"bigDecimal\");\n } else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n__name(jsonReviver, \"jsonReviver\");\n\n// src/submodules/protocols/common.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), \"collectBodyString\");\n\n// src/submodules/protocols/json/parseJsonBody.ts\nvar parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n } catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n }\n return {};\n}), \"parseJsonBody\");\nvar parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n}, \"parseJsonErrorBody\");\nvar loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {\n const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), \"findKey\");\n const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n }, \"sanitizeErrorCode\");\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== void 0) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== void 0) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== void 0) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n}, \"loadRestJsonErrorCode\");\n\n// src/submodules/protocols/json/JsonShapeDeserializer.ts\nvar JsonShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeDeserializer\");\n }\n async read(schema, data) {\n return this._read(\n schema,\n typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)\n );\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const deserializedValue = this._read(memberSchema, value[fromKey]);\n if (deserializedValue != null) {\n out[memberName] = deserializedValue;\n }\n }\n return out;\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return (0, import_util_base64.fromBase64)(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde2.LazyJsonString.from(value);\n }\n }\n if (ns.isTimestampSchema()) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:\n return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);\n case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde2.parseRfc7231DateTime)(value);\n case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return (0, import_serde2.parseEpochTimestamp)(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != void 0) {\n if (value instanceof import_serde2.NumericValue) {\n return value;\n }\n return new import_serde2.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar import_schema2 = require(\"@smithy/core/schema\");\nvar import_serde4 = require(\"@smithy/core/serde\");\nvar import_serde5 = require(\"@smithy/core/serde\");\n\n// src/submodules/protocols/json/jsonReplacer.ts\nvar import_serde3 = require(\"@smithy/core/serde\");\nvar NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nvar JsonReplacer = class {\n static {\n __name(this, \"JsonReplacer\");\n }\n /**\n * Stores placeholder key to true serialized value lookup.\n */\n values = /* @__PURE__ */ new Map();\n counter = 0;\n stage = 0;\n /**\n * Creates a jsonReplacer function that reserves big integer and big decimal values\n * for later replacement.\n */\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof import_serde3.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + +\"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n /**\n * Replaces placeholder keys with their true values.\n */\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n};\n\n// src/submodules/protocols/json/JsonShapeSerializer.ts\nvar JsonShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonShapeSerializer\");\n }\n buffer;\n rootSchema;\n write(schema, value) {\n this.rootSchema = import_schema2.NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = import_schema2.NormalizedSchema.of(schema);\n if (ns.isListSchema() && Array.isArray(value)) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n } else if (ns.isMapSchema() && isObject) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n } else if (ns.isStructSchema() && isObject) {\n const out = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;\n const serializableValue = this._write(memberSchema, value[memberName], ns);\n if (serializableValue !== void 0) {\n out[targetKey] = serializableValue;\n }\n }\n return out;\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === \"string\")) {\n if (ns === this.rootSchema) {\n return value;\n }\n if (!this.serdeContext?.base64Encoder) {\n throw new Error(\"Missing base64Encoder in serdeContext\");\n }\n return this.serdeContext?.base64Encoder(value);\n }\n if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:\n return (0, import_serde4.dateToUtcString)(value);\n case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n return value.getTime() / 1e3;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1e3;\n }\n }\n if (ns.isNumericSchema() && typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return import_serde5.LazyJsonString.from(value);\n }\n }\n return value;\n }\n};\n\n// src/submodules/protocols/json/JsonCodec.ts\nvar JsonCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"JsonCodec\");\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/json/AwsJsonRpcProtocol.ts\nvar AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {\n static {\n __name(this, \"AwsJsonRpcProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n this.codec = new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n jsonName: false\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": (this.getJsonRpcVersion() === \"1.0\" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()\n });\n if ((0, import_schema3.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema3.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema3.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema3.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_0Protocol.ts\nvar AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_0Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n};\n\n// src/submodules/protocols/json/AwsJson1_1Protocol.ts\nvar AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {\n static {\n __name(this, \"AwsJson1_1Protocol\");\n }\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n};\n\n// src/submodules/protocols/json/AwsRestJsonProtocol.ts\nvar import_protocols2 = require(\"@smithy/core/protocols\");\nvar import_schema4 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser2 = require(\"@smithy/util-body-length-browser\");\nvar AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestJsonProtocol\");\n }\n serializer;\n deserializer;\n codec;\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS\n },\n httpBindings: true,\n jsonName: true\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);\n const members = inputSchema.getMemberSchemas();\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/json\";\n }\n } else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/json\";\n }\n }\n }\n if (request.headers[\"content-type\"] && !request.body) {\n request.body = \"{}\";\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema4.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema4.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema4.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n\n// src/submodules/protocols/json/awsExpectUnion.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\nvar awsExpectUnion = /* @__PURE__ */ __name((value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return (0, import_smithy_client2.expectUnion)(value);\n}, \"awsExpectUnion\");\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar import_protocols5 = require(\"@smithy/core/protocols\");\nvar import_schema7 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser3 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/XmlShapeDeserializer.ts\nvar import_protocols3 = require(\"@smithy/core/protocols\");\nvar import_schema5 = require(\"@smithy/core/schema\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar import_util_utf8 = require(\"@smithy/util-utf8\");\nvar import_fast_xml_parser = require(\"fast-xml-parser\");\nvar XmlShapeDeserializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);\n }\n static {\n __name(this, \"XmlShapeDeserializer\");\n }\n stringDeserializer;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n /**\n * @param schema - describing the data.\n * @param bytes - serialized data.\n * @param key - used by AwsQuery to step one additional depth into the object before reading it.\n */\n read(schema, bytes, key) {\n const ns = import_schema5.NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n } else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = import_schema5.NormalizedSchema.of(_schema);\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer2 = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer2.push(this.readSchema(listValue, v));\n }\n }\n return buffer2;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n } else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value2 = entry[valueProperty];\n if (value2 != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value2);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n const parser = new import_fast_xml_parser.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(xml, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n }\n};\n\n// src/submodules/protocols/query/QueryShapeSerializer.ts\nvar import_protocols4 = require(\"@smithy/core/protocols\");\nvar import_schema6 = require(\"@smithy/core/schema\");\nvar import_serde6 = require(\"@smithy/core/serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_util_base642 = require(\"@smithy/util-base64\");\nvar QueryShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"QueryShapeSerializer\");\n }\n buffer;\n write(schema, value, prefix = \"\") {\n if (this.buffer === void 0) {\n this.buffer = \"\";\n }\n const ns = import_schema6.NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));\n }\n } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n } else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));\n }\n } else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);\n switch (format) {\n case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:\n this.writeValue((0, import_smithy_client4.dateToUtcString)(value));\n break;\n case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n this.writeValue(String(value.getTime() / 1e3));\n break;\n }\n }\n } else if (ns.isDocumentSchema()) {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);\n } else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n } else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n } else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n } else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n }\n }\n } else if (ns.isUnitSchema()) {\n } else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === void 0) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;\n }\n writeValue(value) {\n this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);\n }\n};\n\n// src/submodules/protocols/query/AwsQueryProtocol.ts\nvar AwsQueryProtocol = class extends import_protocols5.RpcProtocol {\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n static {\n __name(this, \"AwsQueryProtocol\");\n }\n serializer;\n deserializer;\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`\n });\n if ((0, import_schema7.deref)(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n request.body = `Action=${operationSchema.name.split(\"#\")[1]}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));\n } catch (e) {\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = import_schema7.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes2.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split(\"#\")[1] + \"Result\" : void 0;\n const bytes = await (0, import_protocols5.collectBody)(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject\n };\n return output;\n }\n /**\n * EC2 Query overrides this.\n */\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorDataSource = this.loadQueryError(dataObject);\n const registry = import_schema7.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.find(\n (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName\n );\n if (!errorSchema) {\n errorSchema = registry.getSchema(errorIdentifier);\n }\n } catch (e) {\n const baseExceptionSchema = import_schema7.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), errorDataSource);\n }\n throw new Error(errorName);\n }\n const ns = import_schema7.NormalizedSchema.of(errorSchema);\n const message = this.loadQueryErrorMessage(dataObject);\n const exception = new errorSchema.ctor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorDataSource[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n /**\n * The variations in the error and error message locations are attributed to\n * divergence between AWS Query and EC2 Query behavior.\n */\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== void 0) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n};\n\n// src/submodules/protocols/query/AwsEc2QueryProtocol.ts\nvar AwsEc2QueryProtocol = class extends AwsQueryProtocol {\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n static {\n __name(this, \"AwsEc2QueryProtocol\");\n }\n /**\n * EC2 Query reads XResponse.XResult instead of XResponse directly.\n */\n useNestedResult() {\n return false;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar import_protocols6 = require(\"@smithy/core/protocols\");\nvar import_schema9 = require(\"@smithy/core/schema\");\nvar import_util_body_length_browser4 = require(\"@smithy/util-body-length-browser\");\n\n// src/submodules/protocols/xml/parseXmlBody.ts\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_fast_xml_parser2 = require(\"fast-xml-parser\");\nvar parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new import_fast_xml_parser2.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : void 0, \"tagValueProcessor\")\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n let parsedObj;\n try {\n parsedObj = parser.parse(encoded, true);\n } catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);\n }\n return {};\n}), \"parseXmlBody\");\nvar parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n}, \"parseXmlErrorBody\");\nvar loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data?.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (data?.Code !== void 0) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadRestXmlErrorCode\");\n\n// src/submodules/protocols/xml/XmlShapeSerializer.ts\nvar import_xml_builder = require(\"@aws-sdk/xml-builder\");\nvar import_schema8 = require(\"@smithy/core/schema\");\nvar import_serde7 = require(\"@smithy/core/serde\");\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\nvar import_util_base643 = require(\"@smithy/util-base64\");\nvar XmlShapeSerializer = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlShapeSerializer\");\n }\n stringBuffer;\n byteBuffer;\n buffer;\n write(schema, value) {\n const ns = import_schema8.NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n } else if (ns.isBlobSchema()) {\n this.byteBuffer = \"byteLength\" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);\n } else {\n this.buffer = this.writeStruct(ns, value, void 0);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== void 0) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== void 0) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(\n true\n )}.`\n );\n }\n const structXmlNode = import_xml_builder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(\n memberSchema.getMergedTraits().xmlName ?? memberName,\n this.writeSimple(memberSchema, val)\n );\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n } else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n } else {\n const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`\n );\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = /* @__PURE__ */ __name((container2, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);\n } else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container2, xmlns);\n } else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container2.addChildNode(\n struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\")\n );\n } else {\n const listItemNode = import_xml_builder.XmlNode.of(\n flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"\n );\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container2.addChildNode(listItemNode);\n }\n }, \"writeItem\");\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n } else {\n const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`\n );\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {\n const keyNode = import_xml_builder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = import_xml_builder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n } else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n } else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n } else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n }, \"addKeyValue\");\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n } else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = import_xml_builder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = import_schema8.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);\n } else if (ns.isTimestampSchema() && value instanceof Date) {\n const options = this.settings.timestampFormat;\n const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;\n switch (format) {\n case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:\n nodeContents = String(value.getTime() / 1e3);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = (0, import_smithy_client6.dateToUtcString)(value);\n break;\n }\n } else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof import_serde7.NumericValue) {\n return value.string;\n }\n return String(value);\n } else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\n \"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\"\n );\n } else {\n throw new Error(\n `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(\n true\n )}`\n );\n }\n }\n if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = import_schema8.NormalizedSchema.of(_schema);\n const content = new import_xml_builder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n};\n\n// src/submodules/protocols/xml/XmlCodec.ts\nvar XmlCodec = class extends SerdeContextConfig {\n constructor(settings) {\n super();\n this.settings = settings;\n }\n static {\n __name(this, \"XmlCodec\");\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n};\n\n// src/submodules/protocols/xml/AwsRestXmlProtocol.ts\nvar AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {\n static {\n __name(this, \"AwsRestXmlProtocol\");\n }\n codec;\n serializer;\n deserializer;\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const ns = import_schema9.NormalizedSchema.of(operationSchema.input);\n const members = ns.getMemberSchemas();\n request.path = String(request.path).split(\"/\").filter((segment) => {\n return segment !== \"{Bucket}\";\n }).join(\"/\") || \"/\";\n if (!request.headers[\"content-type\"]) {\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n request.headers[\"content-type\"] = mediaType;\n } else if (httpPayloadMember.isStringSchema()) {\n request.headers[\"content-type\"] = \"text/plain\";\n } else if (httpPayloadMember.isBlobSchema()) {\n request.headers[\"content-type\"] = \"application/octet-stream\";\n } else {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n } else if (!ns.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;\n });\n if (hasBody) {\n request.headers[\"content-type\"] = \"application/xml\";\n }\n }\n }\n if (request.headers[\"content-type\"] === \"application/xml\") {\n if (typeof request.body === \"string\") {\n request.body = '' + request.body;\n }\n }\n if (request.body) {\n try {\n request.headers[\"content-length\"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));\n } catch (e) {\n }\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n let namespace = this.options.defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const registry = import_schema9.TypeRegistry.for(namespace);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorIdentifier);\n } catch (e) {\n const baseExceptionSchema = import_schema9.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace).getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = baseExceptionSchema.ctor;\n throw Object.assign(new ErrorCtor(errorName), dataObject);\n }\n throw new Error(errorName);\n }\n const ns = import_schema9.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new errorSchema.ctor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n Object.assign(exception, {\n $metadata: metadata,\n $response: response,\n $fault: ns.getMergedTraits().error,\n message,\n ...output\n });\n throw exception;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AwsEc2QueryProtocol,\n AwsJson1_0Protocol,\n AwsJson1_1Protocol,\n AwsJsonRpcProtocol,\n AwsQueryProtocol,\n AwsRestJsonProtocol,\n AwsRestXmlProtocol,\n JsonCodec,\n JsonShapeDeserializer,\n JsonShapeSerializer,\n XmlCodec,\n XmlShapeDeserializer,\n XmlShapeSerializer,\n _toBool,\n _toNum,\n _toStr,\n awsExpectUnion,\n loadRestJsonErrorCode,\n loadRestXmlErrorCode,\n parseJsonBody,\n parseJsonErrorBody,\n parseXmlBody,\n parseXmlErrorBody\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getHostHeaderPlugin: () => getHostHeaderPlugin,\n hostHeaderMiddleware: () => hostHeaderMiddleware,\n hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions,\n resolveHostHeaderConfig: () => resolveHostHeaderConfig\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\n__name(resolveHostHeaderConfig, \"resolveHostHeaderConfig\");\nvar hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n } else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null) host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n}, \"hostHeaderMiddleware\");\nvar hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true\n};\nvar getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getHostHeaderPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n hostHeaderMiddleware,\n hostHeaderMiddlewareOptions,\n getHostHeaderPlugin,\n resolveHostHeaderConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLocationConstraintPlugin: () => getLocationConstraintPlugin,\n locationConstraintMiddleware: () => locationConstraintMiddleware,\n locationConstraintMiddlewareOptions: () => locationConstraintMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\nfunction locationConstraintMiddleware(options) {\n return (next) => async (args) => {\n const { CreateBucketConfiguration } = args.input;\n const region = await options.region();\n if (!CreateBucketConfiguration?.LocationConstraint && !CreateBucketConfiguration?.Location) {\n args = {\n ...args,\n input: {\n ...args.input,\n CreateBucketConfiguration: region === \"us-east-1\" ? void 0 : { LocationConstraint: region }\n }\n };\n }\n return next(args);\n };\n}\n__name(locationConstraintMiddleware, \"locationConstraintMiddleware\");\nvar locationConstraintMiddlewareOptions = {\n step: \"initialize\",\n tags: [\"LOCATION_CONSTRAINT\", \"CREATE_BUCKET_CONFIGURATION\"],\n name: \"locationConstraintMiddleware\",\n override: true\n};\nvar getLocationConstraintPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(locationConstraintMiddleware(config), locationConstraintMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLocationConstraintPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n locationConstraintMiddlewareOptions,\n getLocationConstraintPlugin,\n locationConstraintMiddleware\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n getLoggerPlugin: () => getLoggerPlugin,\n loggerMiddleware: () => loggerMiddleware,\n loggerMiddlewareOptions: () => loggerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/loggerMiddleware.ts\nvar loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata\n });\n return response;\n } catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata\n });\n throw error;\n }\n}, \"loggerMiddleware\");\nvar loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true\n};\nvar getLoggerPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getLoggerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n loggerMiddleware,\n loggerMiddlewareOptions,\n getLoggerPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin: () => getRecursionDetectionPlugin,\n recursionDetectionMiddleware: () => recursionDetectionMiddleware\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nvar ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nvar ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nvar recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {\n const { request } = args;\n if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== \"node\") {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.length > 0, \"nonEmptyString\");\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request\n });\n}, \"recursionDetectionMiddleware\");\nvar addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\"\n};\nvar getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRecursionDetectionPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n recursionDetectionMiddleware,\n addRecursionDetectionMiddlewareOptions,\n getRecursionDetectionPlugin\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n copySnapshotPresignedUrlMiddleware: () => copySnapshotPresignedUrlMiddleware,\n copySnapshotPresignedUrlMiddlewareOptions: () => copySnapshotPresignedUrlMiddlewareOptions,\n getCopySnapshotPresignedUrlPlugin: () => getCopySnapshotPresignedUrlPlugin\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_util_format_url = require(\"@aws-sdk/util-format-url\");\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar version = \"2016-11-15\";\nfunction copySnapshotPresignedUrlMiddleware(options) {\n return (next, context) => async (args) => {\n const { input } = args;\n if (!input.PresignedUrl) {\n const destinationRegion = await options.region();\n const endpoint = await (0, import_middleware_endpoint.getEndpointFromInstructions)(\n input,\n {\n /**\n * Replication of {@link CopySnapshotCommand} in EC2.\n * Not imported due to circular dependency.\n */\n getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" }\n };\n }\n },\n {\n ...options,\n region: input.SourceRegion\n }\n );\n const resolvedEndpoint = typeof options.endpoint === \"function\" ? await options.endpoint() : (0, import_middleware_endpoint.toEndpointV1)(endpoint);\n const requestToSign = new import_protocol_http.HttpRequest({\n ...resolvedEndpoint,\n protocol: \"https\",\n headers: {\n host: resolvedEndpoint.hostname\n },\n query: {\n // Values must be string instead of e.g. boolean\n // because we need to sign the serialized form.\n ...Object.entries(input).reduce((acc, [k, v]) => {\n acc[k] = String(v ?? \"\");\n return acc;\n }, {}),\n Action: \"CopySnapshot\",\n Version: version,\n DestinationRegion: destinationRegion\n }\n });\n const signer = new import_signature_v4.SignatureV4({\n credentials: options.credentials,\n region: input.SourceRegion,\n service: \"ec2\",\n sha256: options.sha256,\n uriEscapePath: options.signingEscapePath\n });\n const presignedRequest = await signer.presign(requestToSign, {\n expiresIn: 3600\n });\n args = {\n ...args,\n input: {\n ...args.input,\n DestinationRegion: destinationRegion,\n PresignedUrl: (0, import_util_format_url.formatUrl)(presignedRequest)\n }\n };\n if (import_protocol_http.HttpRequest.isInstance(args.request)) {\n const { request } = args;\n if (!(request.body ?? \"\").includes(\"DestinationRegion=\")) {\n request.body += `&DestinationRegion=${destinationRegion}`;\n }\n if (!(request.body ?? \"\").includes(\"PresignedUrl=\")) {\n request.body += `&PresignedUrl=${(0, import_smithy_client.extendedEncodeURIComponent)(args.input.PresignedUrl)}`;\n }\n }\n }\n return next(args);\n };\n}\n__name(copySnapshotPresignedUrlMiddleware, \"copySnapshotPresignedUrlMiddleware\");\nvar copySnapshotPresignedUrlMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"CROSS_REGION_PRESIGNED_URL\"],\n name: \"crossRegionPresignedUrlMiddleware\",\n override: true,\n relation: \"after\",\n toMiddleware: \"endpointV2Middleware\"\n};\nvar getCopySnapshotPresignedUrlPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(copySnapshotPresignedUrlMiddleware(config), copySnapshotPresignedUrlMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getCopySnapshotPresignedUrlPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n copySnapshotPresignedUrlMiddlewareOptions,\n getCopySnapshotPresignedUrlPlugin,\n copySnapshotPresignedUrlMiddleware\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n changeResourceRecordSetsMiddleware: () => changeResourceRecordSetsMiddleware,\n changeResourceRecordSetsMiddlewareOptions: () => changeResourceRecordSetsMiddlewareOptions,\n getChangeResourceRecordSetsPlugin: () => getChangeResourceRecordSetsPlugin,\n getIdNormalizerPlugin: () => getIdNormalizerPlugin,\n idNormalizerMiddleware: () => idNormalizerMiddleware,\n idNormalizerMiddlewareOptions: () => idNormalizerMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/constants.ts\nvar IDENTIFIER_PREFIX_PATTERN = /^\\/(hostedzone|change|delegationset)\\//;\n\n// src/change-resource-record-sets.ts\nfunction changeResourceRecordSetsMiddleware() {\n return (next) => async (args) => {\n const { ChangeBatch } = args.input;\n const Changes = [];\n for (const change of ChangeBatch.Changes) {\n const { AliasTarget } = change.ResourceRecordSet;\n if (AliasTarget) {\n Changes.push({\n ...change,\n ResourceRecordSet: {\n ...change.ResourceRecordSet,\n AliasTarget: {\n ...AliasTarget,\n HostedZoneId: AliasTarget.HostedZoneId.replace(IDENTIFIER_PREFIX_PATTERN, \"\")\n }\n }\n });\n } else {\n Changes.push(change);\n }\n }\n return next({\n ...args,\n input: {\n ...args.input,\n ChangeBatch: {\n ...ChangeBatch,\n Changes\n }\n }\n });\n };\n}\n__name(changeResourceRecordSetsMiddleware, \"changeResourceRecordSetsMiddleware\");\nvar changeResourceRecordSetsMiddlewareOptions = {\n step: \"initialize\",\n tags: [\"ROUTE53_IDS\", \"CHANGE_RESOURCE_RECORD_SETS\"],\n name: \"changeResourceRecordSetsMiddleware\",\n override: true\n};\nvar getChangeResourceRecordSetsPlugin = /* @__PURE__ */ __name((unused) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(changeResourceRecordSetsMiddleware(), changeResourceRecordSetsMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getChangeResourceRecordSetsPlugin\");\n\n// src/id-normalizer.ts\nvar IDENTIFIER_PARAMETERS = [\"DelegationSetId\", \"HostedZoneId\", \"Id\"];\nfunction idNormalizerMiddleware() {\n return (next) => async (args) => {\n const input = { ...args.input };\n for (const paramName of IDENTIFIER_PARAMETERS) {\n const param = input[paramName];\n if (param) {\n input[paramName] = param.replace(IDENTIFIER_PREFIX_PATTERN, \"\");\n }\n }\n return next({\n ...args,\n input\n });\n };\n}\n__name(idNormalizerMiddleware, \"idNormalizerMiddleware\");\nvar idNormalizerMiddlewareOptions = {\n step: \"initialize\",\n tags: [\"ROUTE53_IDS\"],\n name: \"idNormalizerMiddleware\",\n override: true\n};\nvar getIdNormalizerPlugin = /* @__PURE__ */ __name((unused) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(idNormalizerMiddleware(), idNormalizerMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getIdNormalizerPlugin\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n changeResourceRecordSetsMiddlewareOptions,\n getChangeResourceRecordSetsPlugin,\n changeResourceRecordSetsMiddleware,\n idNormalizerMiddlewareOptions,\n getIdNormalizerPlugin,\n idNormalizerMiddleware\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS: () => NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS,\n S3ExpressIdentityCache: () => S3ExpressIdentityCache,\n S3ExpressIdentityCacheEntry: () => S3ExpressIdentityCacheEntry,\n S3ExpressIdentityProviderImpl: () => S3ExpressIdentityProviderImpl,\n SignatureV4S3Express: () => SignatureV4S3Express,\n checkContentLengthHeader: () => checkContentLengthHeader,\n checkContentLengthHeaderMiddlewareOptions: () => checkContentLengthHeaderMiddlewareOptions,\n getCheckContentLengthHeaderPlugin: () => getCheckContentLengthHeaderPlugin,\n getRegionRedirectMiddlewarePlugin: () => getRegionRedirectMiddlewarePlugin,\n getS3ExpiresMiddlewarePlugin: () => getS3ExpiresMiddlewarePlugin,\n getS3ExpressHttpSigningPlugin: () => getS3ExpressHttpSigningPlugin,\n getS3ExpressPlugin: () => getS3ExpressPlugin,\n getThrow200ExceptionsPlugin: () => getThrow200ExceptionsPlugin,\n getValidateBucketNamePlugin: () => getValidateBucketNamePlugin,\n regionRedirectEndpointMiddleware: () => regionRedirectEndpointMiddleware,\n regionRedirectEndpointMiddlewareOptions: () => regionRedirectEndpointMiddlewareOptions,\n regionRedirectMiddleware: () => regionRedirectMiddleware,\n regionRedirectMiddlewareOptions: () => regionRedirectMiddlewareOptions,\n resolveS3Config: () => resolveS3Config,\n s3ExpiresMiddleware: () => s3ExpiresMiddleware,\n s3ExpiresMiddlewareOptions: () => s3ExpiresMiddlewareOptions,\n s3ExpressHttpSigningMiddleware: () => s3ExpressHttpSigningMiddleware,\n s3ExpressHttpSigningMiddlewareOptions: () => s3ExpressHttpSigningMiddlewareOptions,\n s3ExpressMiddleware: () => s3ExpressMiddleware,\n s3ExpressMiddlewareOptions: () => s3ExpressMiddlewareOptions,\n throw200ExceptionsMiddleware: () => throw200ExceptionsMiddleware,\n throw200ExceptionsMiddlewareOptions: () => throw200ExceptionsMiddlewareOptions,\n validateBucketNameMiddleware: () => validateBucketNameMiddleware,\n validateBucketNameMiddlewareOptions: () => validateBucketNameMiddlewareOptions\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/check-content-length-header.ts\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar CONTENT_LENGTH_HEADER = \"content-length\";\nvar DECODED_CONTENT_LENGTH_HEADER = \"x-amz-decoded-content-length\";\nfunction checkContentLengthHeader() {\n return (next, context) => async (args) => {\n const { request } = args;\n if (import_protocol_http.HttpRequest.isInstance(request)) {\n if (!(CONTENT_LENGTH_HEADER in request.headers) && !(DECODED_CONTENT_LENGTH_HEADER in request.headers)) {\n const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`;\n if (typeof context?.logger?.warn === \"function\" && !(context.logger instanceof import_smithy_client.NoOpLogger)) {\n context.logger.warn(message);\n } else {\n console.warn(message);\n }\n }\n }\n return next({ ...args });\n };\n}\n__name(checkContentLengthHeader, \"checkContentLengthHeader\");\nvar checkContentLengthHeaderMiddlewareOptions = {\n step: \"finalizeRequest\",\n tags: [\"CHECK_CONTENT_LENGTH_HEADER\"],\n name: \"getCheckContentLengthHeaderPlugin\",\n override: true\n};\nvar getCheckContentLengthHeaderPlugin = /* @__PURE__ */ __name((unused) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(checkContentLengthHeader(), checkContentLengthHeaderMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getCheckContentLengthHeaderPlugin\");\n\n// src/region-redirect-endpoint-middleware.ts\nvar regionRedirectEndpointMiddleware = /* @__PURE__ */ __name((config) => {\n return (next, context) => async (args) => {\n const originalRegion = await config.region();\n const regionProviderRef = config.region;\n let unlock = /* @__PURE__ */ __name(() => {\n }, \"unlock\");\n if (context.__s3RegionRedirect) {\n Object.defineProperty(config, \"region\", {\n writable: false,\n value: /* @__PURE__ */ __name(async () => {\n return context.__s3RegionRedirect;\n }, \"value\")\n });\n unlock = /* @__PURE__ */ __name(() => Object.defineProperty(config, \"region\", {\n writable: true,\n value: regionProviderRef\n }), \"unlock\");\n }\n try {\n const result = await next(args);\n if (context.__s3RegionRedirect) {\n unlock();\n const region = await config.region();\n if (originalRegion !== region) {\n throw new Error(\"Region was not restored following S3 region redirect.\");\n }\n }\n return result;\n } catch (e) {\n unlock();\n throw e;\n }\n };\n}, \"regionRedirectEndpointMiddleware\");\nvar regionRedirectEndpointMiddlewareOptions = {\n tags: [\"REGION_REDIRECT\", \"S3\"],\n name: \"regionRedirectEndpointMiddleware\",\n override: true,\n relation: \"before\",\n toMiddleware: \"endpointV2Middleware\"\n};\n\n// src/region-redirect-middleware.ts\nfunction regionRedirectMiddleware(clientConfig) {\n return (next, context) => async (args) => {\n try {\n return await next(args);\n } catch (err) {\n if (clientConfig.followRegionRedirects) {\n if (err?.$metadata?.httpStatusCode === 301 || // err.name === \"PermanentRedirect\" && --> removing the error name check, as that allows for HEAD operations (which have the 301 status code, but not the same error name) to be covered for region redirection as well\n err?.$metadata?.httpStatusCode === 400 && err?.name === \"IllegalLocationConstraintException\") {\n try {\n const actualRegion = err.$response.headers[\"x-amz-bucket-region\"];\n context.logger?.debug(`Redirecting from ${await clientConfig.region()} to ${actualRegion}`);\n context.__s3RegionRedirect = actualRegion;\n } catch (e) {\n throw new Error(\"Region redirect failed: \" + e);\n }\n return next(args);\n }\n }\n throw err;\n }\n };\n}\n__name(regionRedirectMiddleware, \"regionRedirectMiddleware\");\nvar regionRedirectMiddlewareOptions = {\n step: \"initialize\",\n tags: [\"REGION_REDIRECT\", \"S3\"],\n name: \"regionRedirectMiddleware\",\n override: true\n};\nvar getRegionRedirectMiddlewarePlugin = /* @__PURE__ */ __name((clientConfig) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(regionRedirectMiddleware(clientConfig), regionRedirectMiddlewareOptions);\n clientStack.addRelativeTo(regionRedirectEndpointMiddleware(clientConfig), regionRedirectEndpointMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getRegionRedirectMiddlewarePlugin\");\n\n// src/s3-expires-middleware.ts\n\n\nvar s3ExpiresMiddleware = /* @__PURE__ */ __name((config) => {\n return (next, context) => async (args) => {\n const result = await next(args);\n const { response } = result;\n if (import_protocol_http.HttpResponse.isInstance(response)) {\n if (response.headers.expires) {\n response.headers.expiresstring = response.headers.expires;\n try {\n (0, import_smithy_client.parseRfc7231DateTime)(response.headers.expires);\n } catch (e) {\n context.logger?.warn(\n `AWS SDK Warning for ${context.clientName}::${context.commandName} response parsing (${response.headers.expires}): ${e}`\n );\n delete response.headers.expires;\n }\n }\n }\n return result;\n };\n}, \"s3ExpiresMiddleware\");\nvar s3ExpiresMiddlewareOptions = {\n tags: [\"S3\"],\n name: \"s3ExpiresMiddleware\",\n override: true,\n relation: \"after\",\n toMiddleware: \"deserializerMiddleware\"\n};\nvar getS3ExpiresMiddlewarePlugin = /* @__PURE__ */ __name((clientConfig) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.addRelativeTo(s3ExpiresMiddleware(clientConfig), s3ExpiresMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getS3ExpiresMiddlewarePlugin\");\n\n// src/s3-express/classes/S3ExpressIdentityCache.ts\nvar S3ExpressIdentityCache = class _S3ExpressIdentityCache {\n constructor(data = {}) {\n this.data = data;\n }\n static {\n __name(this, \"S3ExpressIdentityCache\");\n }\n lastPurgeTime = Date.now();\n static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS = 3e4;\n get(key) {\n const entry = this.data[key];\n if (!entry) {\n return;\n }\n return entry;\n }\n set(key, entry) {\n this.data[key] = entry;\n return entry;\n }\n delete(key) {\n delete this.data[key];\n }\n async purgeExpired() {\n const now = Date.now();\n if (this.lastPurgeTime + _S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS > now) {\n return;\n }\n for (const key in this.data) {\n const entry = this.data[key];\n if (!entry.isRefreshing) {\n const credential = await entry.identity;\n if (credential.expiration) {\n if (credential.expiration.getTime() < now) {\n delete this.data[key];\n }\n }\n }\n }\n }\n};\n\n// src/s3-express/classes/S3ExpressIdentityCacheEntry.ts\nvar S3ExpressIdentityCacheEntry = class {\n /**\n * @param identity - stored identity.\n * @param accessed - timestamp of last access in epoch ms.\n * @param isRefreshing - this key is currently in the process of being refreshed (background).\n */\n constructor(_identity, isRefreshing = false, accessed = Date.now()) {\n this._identity = _identity;\n this.isRefreshing = isRefreshing;\n this.accessed = accessed;\n }\n static {\n __name(this, \"S3ExpressIdentityCacheEntry\");\n }\n get identity() {\n this.accessed = Date.now();\n return this._identity;\n }\n};\n\n// src/s3-express/classes/S3ExpressIdentityProviderImpl.ts\nvar S3ExpressIdentityProviderImpl = class _S3ExpressIdentityProviderImpl {\n constructor(createSessionFn, cache = new S3ExpressIdentityCache()) {\n this.createSessionFn = createSessionFn;\n this.cache = cache;\n }\n static {\n __name(this, \"S3ExpressIdentityProviderImpl\");\n }\n static REFRESH_WINDOW_MS = 6e4;\n async getS3ExpressIdentity(awsIdentity, identityProperties) {\n const key = identityProperties.Bucket;\n const { cache } = this;\n const entry = cache.get(key);\n if (entry) {\n return entry.identity.then((identity) => {\n const isExpired = (identity.expiration?.getTime() ?? 0) < Date.now();\n if (isExpired) {\n return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity;\n }\n const isExpiringSoon = (identity.expiration?.getTime() ?? 0) < Date.now() + _S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS;\n if (isExpiringSoon && !entry.isRefreshing) {\n entry.isRefreshing = true;\n this.getIdentity(key).then((id) => {\n cache.set(key, new S3ExpressIdentityCacheEntry(Promise.resolve(id)));\n });\n }\n return identity;\n });\n }\n return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity;\n }\n async getIdentity(key) {\n await this.cache.purgeExpired().catch((error) => {\n console.warn(\"Error while clearing expired entries in S3ExpressIdentityCache: \\n\" + error);\n });\n const session = await this.createSessionFn(key);\n if (!session.Credentials?.AccessKeyId || !session.Credentials?.SecretAccessKey) {\n throw new Error(\"s3#createSession response credential missing AccessKeyId or SecretAccessKey.\");\n }\n const identity = {\n accessKeyId: session.Credentials.AccessKeyId,\n secretAccessKey: session.Credentials.SecretAccessKey,\n sessionToken: session.Credentials.SessionToken,\n expiration: session.Credentials.Expiration ? new Date(session.Credentials.Expiration) : void 0\n };\n return identity;\n }\n};\n\n// src/s3-express/classes/SignatureV4S3Express.ts\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\n\n// src/s3-express/constants.ts\nvar import_util_config_provider = require(\"@smithy/util-config-provider\");\nvar S3_EXPRESS_BUCKET_TYPE = \"Directory\";\nvar S3_EXPRESS_BACKEND = \"S3Express\";\nvar S3_EXPRESS_AUTH_SCHEME = \"sigv4-s3express\";\nvar SESSION_TOKEN_QUERY_PARAM = \"X-Amz-S3session-Token\";\nvar SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();\nvar NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME = \"AWS_S3_DISABLE_EXPRESS_SESSION_AUTH\";\nvar NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME = \"s3_disable_express_session_auth\";\nvar NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => (0, import_util_config_provider.booleanSelector)(env, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME, import_util_config_provider.SelectorType.ENV), \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => (0, import_util_config_provider.booleanSelector)(profile, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME, import_util_config_provider.SelectorType.CONFIG), \"configFileSelector\"),\n default: false\n};\n\n// src/s3-express/classes/SignatureV4S3Express.ts\nvar SignatureV4S3Express = class extends import_signature_v4.SignatureV4 {\n static {\n __name(this, \"SignatureV4S3Express\");\n }\n /**\n * Signs with alternate provided credentials instead of those provided in the\n * constructor.\n *\n * Additionally omits the credential sessionToken and assigns it to the\n * alternate header field for S3 Express.\n */\n async signWithCredentials(requestToSign, credentials, options) {\n const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);\n requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken;\n const privateAccess = this;\n setSingleOverride(privateAccess, credentialsWithoutSessionToken);\n return privateAccess.signRequest(requestToSign, options ?? {});\n }\n /**\n * Similar to {@link SignatureV4S3Express#signWithCredentials} but for presigning.\n */\n async presignWithCredentials(requestToSign, credentials, options) {\n const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);\n delete requestToSign.headers[SESSION_TOKEN_HEADER];\n requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;\n requestToSign.query = requestToSign.query ?? {};\n requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;\n const privateAccess = this;\n setSingleOverride(privateAccess, credentialsWithoutSessionToken);\n return this.presign(requestToSign, options);\n }\n};\nfunction getCredentialsWithoutSessionToken(credentials) {\n const credentialsWithoutSessionToken = {\n accessKeyId: credentials.accessKeyId,\n secretAccessKey: credentials.secretAccessKey,\n expiration: credentials.expiration\n };\n return credentialsWithoutSessionToken;\n}\n__name(getCredentialsWithoutSessionToken, \"getCredentialsWithoutSessionToken\");\nfunction setSingleOverride(privateAccess, credentialsWithoutSessionToken) {\n const id = setTimeout(() => {\n throw new Error(\"SignatureV4S3Express credential override was created but not called.\");\n }, 10);\n const currentCredentialProvider = privateAccess.credentialProvider;\n const overrideCredentialsProviderOnce = /* @__PURE__ */ __name(() => {\n clearTimeout(id);\n privateAccess.credentialProvider = currentCredentialProvider;\n return Promise.resolve(credentialsWithoutSessionToken);\n }, \"overrideCredentialsProviderOnce\");\n privateAccess.credentialProvider = overrideCredentialsProviderOnce;\n}\n__name(setSingleOverride, \"setSingleOverride\");\n\n// src/s3-express/functions/s3ExpressMiddleware.ts\nvar import_core = require(\"@aws-sdk/core\");\n\nvar s3ExpressMiddleware = /* @__PURE__ */ __name((options) => {\n return (next, context) => async (args) => {\n if (context.endpointV2) {\n const endpoint = context.endpointV2;\n const isS3ExpressAuth = endpoint.properties?.authSchemes?.[0]?.name === S3_EXPRESS_AUTH_SCHEME;\n const isS3ExpressBucket = endpoint.properties?.backend === S3_EXPRESS_BACKEND || endpoint.properties?.bucketType === S3_EXPRESS_BUCKET_TYPE;\n if (isS3ExpressBucket) {\n (0, import_core.setFeature)(context, \"S3_EXPRESS_BUCKET\", \"J\");\n context.isS3ExpressBucket = true;\n }\n if (isS3ExpressAuth) {\n const requestBucket = args.input.Bucket;\n if (requestBucket) {\n const s3ExpressIdentity = await options.s3ExpressIdentityProvider.getS3ExpressIdentity(\n await options.credentials(),\n {\n Bucket: requestBucket\n }\n );\n context.s3ExpressIdentity = s3ExpressIdentity;\n if (import_protocol_http.HttpRequest.isInstance(args.request) && s3ExpressIdentity.sessionToken) {\n args.request.headers[SESSION_TOKEN_HEADER] = s3ExpressIdentity.sessionToken;\n }\n }\n }\n }\n return next(args);\n };\n}, \"s3ExpressMiddleware\");\nvar s3ExpressMiddlewareOptions = {\n name: \"s3ExpressMiddleware\",\n step: \"build\",\n tags: [\"S3\", \"S3_EXPRESS\"],\n override: true\n};\nvar getS3ExpressPlugin = /* @__PURE__ */ __name((options) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.add(s3ExpressMiddleware(options), s3ExpressMiddlewareOptions);\n }, \"applyToStack\")\n}), \"getS3ExpressPlugin\");\n\n// src/s3-express/functions/s3ExpressHttpSigningMiddleware.ts\nvar import_core2 = require(\"@smithy/core\");\n\nvar import_util_middleware = require(\"@smithy/util-middleware\");\n\n// src/s3-express/functions/signS3Express.ts\nvar signS3Express = /* @__PURE__ */ __name(async (s3ExpressIdentity, signingOptions, request, sigV4MultiRegionSigner) => {\n const signedRequest = await sigV4MultiRegionSigner.signWithCredentials(request, s3ExpressIdentity, {});\n if (signedRequest.headers[\"X-Amz-Security-Token\"] || signedRequest.headers[\"x-amz-security-token\"]) {\n throw new Error(\"X-Amz-Security-Token must not be set for s3-express requests.\");\n }\n return signedRequest;\n}, \"signS3Express\");\n\n// src/s3-express/functions/s3ExpressHttpSigningMiddleware.ts\nvar defaultErrorHandler = /* @__PURE__ */ __name((signingProperties) => (error) => {\n throw error;\n}, \"defaultErrorHandler\");\nvar defaultSuccessHandler = /* @__PURE__ */ __name((httpResponse, signingProperties) => {\n}, \"defaultSuccessHandler\");\nvar s3ExpressHttpSigningMiddlewareOptions = import_core2.httpSigningMiddlewareOptions;\nvar s3ExpressHttpSigningMiddleware = /* @__PURE__ */ __name((config) => (next, context) => async (args) => {\n if (!import_protocol_http.HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n const smithyContext = (0, import_util_middleware.getSmithyContext)(context);\n const scheme = smithyContext.selectedHttpAuthScheme;\n if (!scheme) {\n throw new Error(`No HttpAuthScheme was selected: unable to sign request`);\n }\n const {\n httpAuthOption: { signingProperties = {} },\n identity,\n signer\n } = scheme;\n let request;\n if (context.s3ExpressIdentity) {\n request = await signS3Express(\n context.s3ExpressIdentity,\n signingProperties,\n args.request,\n await config.signer()\n );\n } else {\n request = await signer.sign(args.request, identity, signingProperties);\n }\n const output = await next({\n ...args,\n request\n }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties));\n (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties);\n return output;\n}, \"s3ExpressHttpSigningMiddleware\");\nvar getS3ExpressHttpSigningPlugin = /* @__PURE__ */ __name((config) => ({\n applyToStack: /* @__PURE__ */ __name((clientStack) => {\n clientStack.addRelativeTo(\n s3ExpressHttpSigningMiddleware(config),\n import_core2.httpSigningMiddlewareOptions\n );\n }, \"applyToStack\")\n}), \"getS3ExpressHttpSigningPlugin\");\n\n// src/s3Configuration.ts\nvar resolveS3Config = /* @__PURE__ */ __name((input, {\n session\n}) => {\n const [s3ClientProvider, CreateSessionCommandCtor] = session;\n const {\n forcePathStyle,\n useAccelerateEndpoint,\n disableMultiregionAccessPoints,\n followRegionRedirects,\n s3ExpressIdentityProvider,\n bucketEndpoint\n } = input;\n return Object.assign(input, {\n forcePathStyle: forcePathStyle ?? false,\n useAccelerateEndpoint: useAccelerateEndpoint ?? false,\n disableMultiregionAccessPoints: disableMultiregionAccessPoints ?? false,\n followRegionRedirects: followRegionRedirects ?? false,\n s3ExpressIdentityProvider: s3ExpressIdentityProvider ?? new S3ExpressIdentityProviderImpl(\n async (key) => s3ClientProvider().send(\n new CreateSessionCommandCtor({\n Bucket: key\n })\n )\n ),\n bucketEndpoint: bucketEndpoint ?? false\n });\n}, \"resolveS3Config\");\n\n// src/throw-200-exceptions.ts\n\nvar import_util_stream = require(\"@smithy/util-stream\");\nvar THROW_IF_EMPTY_BODY = {\n CopyObjectCommand: true,\n UploadPartCopyCommand: true,\n CompleteMultipartUploadCommand: true\n};\nvar MAX_BYTES_TO_INSPECT = 3e3;\nvar throw200ExceptionsMiddleware = /* @__PURE__ */ __name((config) => (next, context) => async (args) => {\n const result = await next(args);\n const { response } = result;\n if (!import_protocol_http.HttpResponse.isInstance(response)) {\n return result;\n }\n const { statusCode, body: sourceBody } = response;\n if (statusCode < 200 || statusCode >= 300) {\n return result;\n }\n const isSplittableStream = typeof sourceBody?.stream === \"function\" || typeof sourceBody?.pipe === \"function\" || typeof sourceBody?.tee === \"function\";\n if (!isSplittableStream) {\n return result;\n }\n let bodyCopy = sourceBody;\n let body = sourceBody;\n if (sourceBody && typeof sourceBody === \"object\" && !(sourceBody instanceof Uint8Array)) {\n [bodyCopy, body] = await (0, import_util_stream.splitStream)(sourceBody);\n }\n response.body = body;\n const bodyBytes = await collectBody(bodyCopy, {\n streamCollector: /* @__PURE__ */ __name(async (stream) => {\n return (0, import_util_stream.headStream)(stream, MAX_BYTES_TO_INSPECT);\n }, \"streamCollector\")\n });\n if (typeof bodyCopy?.destroy === \"function\") {\n bodyCopy.destroy();\n }\n const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));\n if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {\n const err = new Error(\"S3 aborted request\");\n err.name = \"InternalError\";\n throw err;\n }\n if (bodyStringTail && bodyStringTail.endsWith(\"Single error code. For this exception the value will be access_denied.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AccessDeniedException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {\n static {\n __name(this, \"AuthorizationPendingException\");\n }\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * authorization_pending.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenRequestFilterSensitiveLog\");\nvar CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },\n ...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }\n}), \"CreateTokenResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be expired_token.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InternalServerException = class _InternalServerException extends SSOOIDCServiceException {\n static {\n __name(this, \"InternalServerException\");\n }\n name = \"InternalServerException\";\n $fault = \"server\";\n /**\n *Single error code. For this exception the value will be server_error.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts\n });\n Object.setPrototypeOf(this, _InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidClientException\");\n }\n name = \"InvalidClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidGrantException\");\n }\n name = \"InvalidGrantException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_grant.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidRequestException\");\n }\n name = \"InvalidRequestException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * invalid_request.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidRequestException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {\n static {\n __name(this, \"InvalidScopeException\");\n }\n name = \"InvalidScopeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be invalid_scope.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar SlowDownException = class _SlowDownException extends SSOOIDCServiceException {\n static {\n __name(this, \"SlowDownException\");\n }\n name = \"SlowDownException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be slow_down.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnauthorizedClientException\");\n }\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unauthorized_client.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\nvar UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {\n static {\n __name(this, \"UnsupportedGrantTypeException\");\n }\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n /**\n *Single error code. For this exception the value will be\n * unsupported_grant_type.
Human-readable text providing additional information, used to assist the client developer\n * in understanding the error that occurred.
\n * @public\n */\n error_description;\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n};\n\n// src/submodules/sso-oidc/protocols/Aws_restJson1.ts\nvar import_core2 = require(\"@aws-sdk/core\");\nvar import_core3 = require(\"@smithy/core\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {\n const b = (0, import_core3.requestBuilder)(input, context);\n const headers = {\n \"content-type\": \"application/json\"\n };\n b.bp(\"/token\");\n let body;\n body = JSON.stringify(\n (0, import_smithy_client5.take)(input, {\n clientId: [],\n clientSecret: [],\n code: [],\n codeVerifier: [],\n deviceCode: [],\n grantType: [],\n redirectUri: [],\n refreshToken: [],\n scope: /* @__PURE__ */ __name((_) => (0, import_smithy_client5._json)(_), \"scope\")\n })\n );\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n}, \"se_CreateTokenCommand\");\nvar de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = (0, import_smithy_client5.map)({\n $metadata: deserializeMetadata(output)\n });\n const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), \"body\");\n const doc = (0, import_smithy_client5.take)(data, {\n accessToken: import_smithy_client5.expectString,\n expiresIn: import_smithy_client5.expectInt32,\n idToken: import_smithy_client5.expectString,\n refreshToken: import_smithy_client5.expectString,\n tokenType: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n return contents;\n}, \"de_CreateTokenCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core2.parseJsonErrorBody)(output.body, context)\n };\n const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);\n switch (errorCode) {\n case \"AccessDeniedException\":\n case \"com.amazonaws.ssooidc#AccessDeniedException\":\n throw await de_AccessDeniedExceptionRes(parsedOutput, context);\n case \"AuthorizationPendingException\":\n case \"com.amazonaws.ssooidc#AuthorizationPendingException\":\n throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);\n case \"ExpiredTokenException\":\n case \"com.amazonaws.ssooidc#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"InternalServerException\":\n case \"com.amazonaws.ssooidc#InternalServerException\":\n throw await de_InternalServerExceptionRes(parsedOutput, context);\n case \"InvalidClientException\":\n case \"com.amazonaws.ssooidc#InvalidClientException\":\n throw await de_InvalidClientExceptionRes(parsedOutput, context);\n case \"InvalidGrantException\":\n case \"com.amazonaws.ssooidc#InvalidGrantException\":\n throw await de_InvalidGrantExceptionRes(parsedOutput, context);\n case \"InvalidRequestException\":\n case \"com.amazonaws.ssooidc#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"InvalidScopeException\":\n case \"com.amazonaws.ssooidc#InvalidScopeException\":\n throw await de_InvalidScopeExceptionRes(parsedOutput, context);\n case \"SlowDownException\":\n case \"com.amazonaws.ssooidc#SlowDownException\":\n throw await de_SlowDownExceptionRes(parsedOutput, context);\n case \"UnauthorizedClientException\":\n case \"com.amazonaws.ssooidc#UnauthorizedClientException\":\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\n case \"UnsupportedGrantTypeException\":\n case \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\":\n throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);\nvar de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AccessDeniedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AccessDeniedExceptionRes\");\nvar de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new AuthorizationPendingException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_AuthorizationPendingExceptionRes\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InternalServerException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InternalServerExceptionRes\");\nvar de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidClientExceptionRes\");\nvar de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidGrantException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidGrantExceptionRes\");\nvar de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidRequestExceptionRes\");\nvar de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new InvalidScopeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_InvalidScopeExceptionRes\");\nvar de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new SlowDownException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_SlowDownExceptionRes\");\nvar de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnauthorizedClientExceptionRes\");\nvar de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const contents = (0, import_smithy_client5.map)({});\n const data = parsedOutput.body;\n const doc = (0, import_smithy_client5.take)(data, {\n error: import_smithy_client5.expectString,\n error_description: import_smithy_client5.expectString\n });\n Object.assign(contents, doc);\n const exception = new UnsupportedGrantTypeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents\n });\n return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);\n}, \"de_UnsupportedGrantTypeExceptionRes\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\n\n// src/submodules/sso-oidc/commands/CreateTokenCommand.ts\nvar CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSSOOIDCService\", \"CreateToken\", {}).n(\"SSOOIDCClient\", \"CreateTokenCommand\").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {\n static {\n __name(this, \"CreateTokenCommand\");\n }\n};\n\n// src/submodules/sso-oidc/SSOOIDC.ts\nvar commands = {\n CreateTokenCommand\n};\nvar SSOOIDC = class extends SSOOIDCClient {\n static {\n __name(this, \"SSOOIDC\");\n }\n};\n(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n $Command,\n AccessDeniedException,\n AuthorizationPendingException,\n CreateTokenCommand,\n CreateTokenRequestFilterSensitiveLog,\n CreateTokenResponseFilterSensitiveLog,\n ExpiredTokenException,\n InternalServerException,\n InvalidClientException,\n InvalidGrantException,\n InvalidRequestException,\n InvalidScopeException,\n SSOOIDC,\n SSOOIDCClient,\n SSOOIDCServiceException,\n SlowDownException,\n UnauthorizedClientException,\n UnsupportedGrantTypeException,\n __Client\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.STSClient = exports.__Client = void 0;\nconst middleware_host_header_1 = require(\"@aws-sdk/middleware-host-header\");\nconst middleware_logger_1 = require(\"@aws-sdk/middleware-logger\");\nconst middleware_recursion_detection_1 = require(\"@aws-sdk/middleware-recursion-detection\");\nconst middleware_user_agent_1 = require(\"@aws-sdk/middleware-user-agent\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_1 = require(\"@smithy/core\");\nconst middleware_content_length_1 = require(\"@smithy/middleware-content-length\");\nconst middleware_endpoint_1 = require(\"@smithy/middleware-endpoint\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nObject.defineProperty(exports, \"__Client\", { enumerable: true, get: function () { return smithy_client_1.Client; } });\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst EndpointParameters_1 = require(\"./endpoint/EndpointParameters\");\nconst runtimeConfig_1 = require(\"./runtimeConfig\");\nconst runtimeExtensions_1 = require(\"./runtimeExtensions\");\nclass STSClient extends smithy_client_1.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);\n const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);\n const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);\n const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);\n const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);\n const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));\n this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));\n this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\nexports.STSClient = STSClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\nexports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst STSClient_1 = require(\"../STSClient\");\nconst defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;\nconst resolveStsAuthConfig = (input) => Object.assign(input, {\n stsClientCtor: STSClient_1.STSClient,\n});\nexports.resolveStsAuthConfig = resolveStsAuthConfig;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, exports.resolveStsAuthConfig)(config);\n const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);\n return Object.assign(config_1, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.commonParams = exports.resolveClientEndpointParameters = void 0;\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexports.resolveClientEndpointParameters = resolveClientEndpointParameters;\nexports.commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst F = \"required\", G = \"type\", H = \"fn\", I = \"argv\", J = \"ref\";\nconst a = false, b = true, c = \"booleanEquals\", d = \"stringEquals\", e = \"sigv4\", f = \"sts\", g = \"us-east-1\", h = \"endpoint\", i = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", j = \"tree\", k = \"error\", l = \"getAttr\", m = { [F]: false, [G]: \"String\" }, n = { [F]: true, \"default\": false, [G]: \"Boolean\" }, o = { [J]: \"Endpoint\" }, p = { [H]: \"isSet\", [I]: [{ [J]: \"Region\" }] }, q = { [J]: \"Region\" }, r = { [H]: \"aws.partition\", [I]: [q], \"assign\": \"PartitionResult\" }, s = { [J]: \"UseFIPS\" }, t = { [J]: \"UseDualStack\" }, u = { \"url\": \"https://sts.amazonaws.com\", \"properties\": { \"authSchemes\": [{ \"name\": e, \"signingName\": f, \"signingRegion\": g }] }, \"headers\": {} }, v = {}, w = { \"conditions\": [{ [H]: d, [I]: [q, \"aws-global\"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: \"PartitionResult\" }, \"supportsFIPS\"] }, A = { [J]: \"PartitionResult\" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, \"supportsDualStack\"] }] }, C = [{ [H]: \"isSet\", [I]: [o] }], D = [x], E = [y];\nconst _data = { version: \"1.0\", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: \"UseGlobalEndpoint\" }, b] }, { [H]: \"not\", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, \"ap-northeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-south-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"ap-southeast-2\"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, \"ca-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-central-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-north-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"eu-west-3\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"sa-east-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-east-2\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-1\"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, \"us-west-2\"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: \"{Region}\" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", [G]: k }, { conditions: E, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://sts.{Region}.amazonaws.com\", properties: v, headers: v }, [G]: h }, { endpoint: { url: \"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"FIPS is enabled but this partition does not support FIPS\", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: \"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: v, headers: v }, [G]: h }], [G]: j }, { error: \"DualStack is enabled but this partition does not support DualStack\", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: \"Invalid Configuration: Missing Region\", [G]: k }] };\nexports.ruleSet = _data;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/submodules/sts/index.ts\nvar index_exports = {};\n__export(index_exports, {\n AssumeRoleCommand: () => AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,\n ExpiredTokenException: () => ExpiredTokenException,\n IDPCommunicationErrorException: () => IDPCommunicationErrorException,\n IDPRejectedClaimException: () => IDPRejectedClaimException,\n InvalidIdentityTokenException: () => InvalidIdentityTokenException,\n MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,\n PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,\n RegionDisabledException: () => RegionDisabledException,\n STS: () => STS,\n STSServiceException: () => STSServiceException,\n decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,\n getDefaultRoleAssumer: () => getDefaultRoleAssumer2,\n getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./STSClient\"), module.exports);\n\n// src/submodules/sts/STS.ts\nvar import_smithy_client6 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar import_middleware_endpoint = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde = require(\"@smithy/middleware-serde\");\nvar import_smithy_client4 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/models/models_0.ts\nvar import_smithy_client2 = require(\"@smithy/smithy-client\");\n\n// src/submodules/sts/models/STSServiceException.ts\nvar import_smithy_client = require(\"@smithy/smithy-client\");\nvar STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {\n static {\n __name(this, \"STSServiceException\");\n }\n /**\n * @internal\n */\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, _STSServiceException.prototype);\n }\n};\n\n// src/submodules/sts/models/models_0.ts\nvar CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }\n}), \"CredentialsFilterSensitiveLog\");\nvar AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleResponseFilterSensitiveLog\");\nvar ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {\n static {\n __name(this, \"ExpiredTokenException\");\n }\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _ExpiredTokenException.prototype);\n }\n};\nvar MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {\n static {\n __name(this, \"MalformedPolicyDocumentException\");\n }\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);\n }\n};\nvar PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {\n static {\n __name(this, \"PackedPolicyTooLargeException\");\n }\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);\n }\n};\nvar RegionDisabledException = class _RegionDisabledException extends STSServiceException {\n static {\n __name(this, \"RegionDisabledException\");\n }\n name = \"RegionDisabledException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _RegionDisabledException.prototype);\n }\n};\nvar IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {\n static {\n __name(this, \"IDPRejectedClaimException\");\n }\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);\n }\n};\nvar InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {\n static {\n __name(this, \"InvalidIdentityTokenException\");\n }\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);\n }\n};\nvar AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }\n}), \"AssumeRoleWithWebIdentityRequestFilterSensitiveLog\");\nvar AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({\n ...obj,\n ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }\n}), \"AssumeRoleWithWebIdentityResponseFilterSensitiveLog\");\nvar IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {\n static {\n __name(this, \"IDPCommunicationErrorException\");\n }\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n /**\n * @internal\n */\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts\n });\n Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);\n }\n};\n\n// src/submodules/sts/protocols/Aws_query.ts\nvar import_core = require(\"@aws-sdk/core\");\nvar import_protocol_http = require(\"@smithy/protocol-http\");\nvar import_smithy_client3 = require(\"@smithy/smithy-client\");\nvar se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleRequest(input, context),\n [_A]: _AR,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleCommand\");\nvar se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {\n const headers = SHARED_HEADERS;\n let body;\n body = buildFormUrlencodedString({\n ...se_AssumeRoleWithWebIdentityRequest(input, context),\n [_A]: _ARWWI,\n [_V]: _\n });\n return buildHttpRpcRequest(context, headers, \"/\", void 0, body);\n}, \"se_AssumeRoleWithWebIdentityCommand\");\nvar de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleResponse(data.AssumeRoleResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleCommand\");\nvar de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const data = await (0, import_core.parseXmlBody)(output.body, context);\n let contents = {};\n contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents\n };\n return response;\n}, \"de_AssumeRoleWithWebIdentityCommand\");\nvar de_CommandError = /* @__PURE__ */ __name(async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await (0, import_core.parseXmlErrorBody)(output.body, context)\n };\n const errorCode = loadQueryErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExpiredTokenException\":\n case \"com.amazonaws.sts#ExpiredTokenException\":\n throw await de_ExpiredTokenExceptionRes(parsedOutput, context);\n case \"MalformedPolicyDocument\":\n case \"com.amazonaws.sts#MalformedPolicyDocumentException\":\n throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);\n case \"PackedPolicyTooLarge\":\n case \"com.amazonaws.sts#PackedPolicyTooLargeException\":\n throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context);\n case \"RegionDisabledException\":\n case \"com.amazonaws.sts#RegionDisabledException\":\n throw await de_RegionDisabledExceptionRes(parsedOutput, context);\n case \"IDPCommunicationError\":\n case \"com.amazonaws.sts#IDPCommunicationErrorException\":\n throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);\n case \"IDPRejectedClaim\":\n case \"com.amazonaws.sts#IDPRejectedClaimException\":\n throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);\n case \"InvalidIdentityToken\":\n case \"com.amazonaws.sts#InvalidIdentityTokenException\":\n throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody: parsedBody.Error,\n errorCode\n });\n }\n}, \"de_CommandError\");\nvar de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_ExpiredTokenException(body.Error, context);\n const exception = new ExpiredTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_ExpiredTokenExceptionRes\");\nvar de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPCommunicationErrorException(body.Error, context);\n const exception = new IDPCommunicationErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPCommunicationErrorExceptionRes\");\nvar de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_IDPRejectedClaimException(body.Error, context);\n const exception = new IDPRejectedClaimException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_IDPRejectedClaimExceptionRes\");\nvar de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_InvalidIdentityTokenException(body.Error, context);\n const exception = new InvalidIdentityTokenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_InvalidIdentityTokenExceptionRes\");\nvar de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_MalformedPolicyDocumentException(body.Error, context);\n const exception = new MalformedPolicyDocumentException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_MalformedPolicyDocumentExceptionRes\");\nvar de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_PackedPolicyTooLargeException(body.Error, context);\n const exception = new PackedPolicyTooLargeException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_PackedPolicyTooLargeExceptionRes\");\nvar de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = de_RegionDisabledException(body.Error, context);\n const exception = new RegionDisabledException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized\n });\n return (0, import_smithy_client3.decorateServiceException)(exception, body);\n}, \"de_RegionDisabledExceptionRes\");\nvar se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n if (input[_T] != null) {\n const memberEntries = se_tagListType(input[_T], context);\n if (input[_T]?.length === 0) {\n entries.Tags = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `Tags.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_TTK] != null) {\n const memberEntries = se_tagKeyListType(input[_TTK], context);\n if (input[_TTK]?.length === 0) {\n entries.TransitiveTagKeys = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `TransitiveTagKeys.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_EI] != null) {\n entries[_EI] = input[_EI];\n }\n if (input[_SN] != null) {\n entries[_SN] = input[_SN];\n }\n if (input[_TC] != null) {\n entries[_TC] = input[_TC];\n }\n if (input[_SI] != null) {\n entries[_SI] = input[_SI];\n }\n if (input[_PC] != null) {\n const memberEntries = se_ProvidedContextsListType(input[_PC], context);\n if (input[_PC]?.length === 0) {\n entries.ProvidedContexts = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `ProvidedContexts.${key}`;\n entries[loc] = value;\n });\n }\n return entries;\n}, \"se_AssumeRoleRequest\");\nvar se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_RA] != null) {\n entries[_RA] = input[_RA];\n }\n if (input[_RSN] != null) {\n entries[_RSN] = input[_RSN];\n }\n if (input[_WIT] != null) {\n entries[_WIT] = input[_WIT];\n }\n if (input[_PI] != null) {\n entries[_PI] = input[_PI];\n }\n if (input[_PA] != null) {\n const memberEntries = se_policyDescriptorListType(input[_PA], context);\n if (input[_PA]?.length === 0) {\n entries.PolicyArns = [];\n }\n Object.entries(memberEntries).forEach(([key, value]) => {\n const loc = `PolicyArns.${key}`;\n entries[loc] = value;\n });\n }\n if (input[_P] != null) {\n entries[_P] = input[_P];\n }\n if (input[_DS] != null) {\n entries[_DS] = input[_DS];\n }\n return entries;\n}, \"se_AssumeRoleWithWebIdentityRequest\");\nvar se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_PolicyDescriptorType(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_policyDescriptorListType\");\nvar se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_a] != null) {\n entries[_a] = input[_a];\n }\n return entries;\n}, \"se_PolicyDescriptorType\");\nvar se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_PAr] != null) {\n entries[_PAr] = input[_PAr];\n }\n if (input[_CA] != null) {\n entries[_CA] = input[_CA];\n }\n return entries;\n}, \"se_ProvidedContext\");\nvar se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_ProvidedContext(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_ProvidedContextsListType\");\nvar se_Tag = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n if (input[_K] != null) {\n entries[_K] = input[_K];\n }\n if (input[_Va] != null) {\n entries[_Va] = input[_Va];\n }\n return entries;\n}, \"se_Tag\");\nvar se_tagKeyListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n entries[`member.${counter}`] = entry;\n counter++;\n }\n return entries;\n}, \"se_tagKeyListType\");\nvar se_tagListType = /* @__PURE__ */ __name((input, context) => {\n const entries = {};\n let counter = 1;\n for (const entry of input) {\n if (entry === null) {\n continue;\n }\n const memberEntries = se_Tag(entry, context);\n Object.entries(memberEntries).forEach(([key, value]) => {\n entries[`member.${counter}.${key}`] = value;\n });\n counter++;\n }\n return entries;\n}, \"se_tagListType\");\nvar de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_ARI] != null) {\n contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);\n }\n if (output[_Ar] != null) {\n contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);\n }\n return contents;\n}, \"de_AssumedRoleUser\");\nvar de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleResponse\");\nvar de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_C] != null) {\n contents[_C] = de_Credentials(output[_C], context);\n }\n if (output[_SFWIT] != null) {\n contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);\n }\n if (output[_ARU] != null) {\n contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);\n }\n if (output[_PPS] != null) {\n contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);\n }\n if (output[_Pr] != null) {\n contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);\n }\n if (output[_Au] != null) {\n contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);\n }\n if (output[_SI] != null) {\n contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);\n }\n return contents;\n}, \"de_AssumeRoleWithWebIdentityResponse\");\nvar de_Credentials = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_AKI] != null) {\n contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);\n }\n if (output[_SAK] != null) {\n contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);\n }\n if (output[_ST] != null) {\n contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);\n }\n if (output[_E] != null) {\n contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));\n }\n return contents;\n}, \"de_Credentials\");\nvar de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_ExpiredTokenException\");\nvar de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPCommunicationErrorException\");\nvar de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_IDPRejectedClaimException\");\nvar de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_InvalidIdentityTokenException\");\nvar de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_MalformedPolicyDocumentException\");\nvar de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_PackedPolicyTooLargeException\");\nvar de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {\n const contents = {};\n if (output[_m] != null) {\n contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);\n }\n return contents;\n}, \"de_RegionDisabledException\");\nvar deserializeMetadata = /* @__PURE__ */ __name((output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"]\n}), \"deserializeMetadata\");\nvar throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);\nvar buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers\n };\n if (resolvedHostname !== void 0) {\n contents.hostname = resolvedHostname;\n }\n if (body !== void 0) {\n contents.body = body;\n }\n return new import_protocol_http.HttpRequest(contents);\n}, \"buildHttpRpcRequest\");\nvar SHARED_HEADERS = {\n \"content-type\": \"application/x-www-form-urlencoded\"\n};\nvar _ = \"2011-06-15\";\nvar _A = \"Action\";\nvar _AKI = \"AccessKeyId\";\nvar _AR = \"AssumeRole\";\nvar _ARI = \"AssumedRoleId\";\nvar _ARU = \"AssumedRoleUser\";\nvar _ARWWI = \"AssumeRoleWithWebIdentity\";\nvar _Ar = \"Arn\";\nvar _Au = \"Audience\";\nvar _C = \"Credentials\";\nvar _CA = \"ContextAssertion\";\nvar _DS = \"DurationSeconds\";\nvar _E = \"Expiration\";\nvar _EI = \"ExternalId\";\nvar _K = \"Key\";\nvar _P = \"Policy\";\nvar _PA = \"PolicyArns\";\nvar _PAr = \"ProviderArn\";\nvar _PC = \"ProvidedContexts\";\nvar _PI = \"ProviderId\";\nvar _PPS = \"PackedPolicySize\";\nvar _Pr = \"Provider\";\nvar _RA = \"RoleArn\";\nvar _RSN = \"RoleSessionName\";\nvar _SAK = \"SecretAccessKey\";\nvar _SFWIT = \"SubjectFromWebIdentityToken\";\nvar _SI = \"SourceIdentity\";\nvar _SN = \"SerialNumber\";\nvar _ST = \"SessionToken\";\nvar _T = \"Tags\";\nvar _TC = \"TokenCode\";\nvar _TTK = \"TransitiveTagKeys\";\nvar _V = \"Version\";\nvar _Va = \"Value\";\nvar _WIT = \"WebIdentityToken\";\nvar _a = \"arn\";\nvar _m = \"message\";\nvar buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + \"=\" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join(\"&\"), \"buildFormUrlencodedString\");\nvar loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {\n if (data.Error?.Code !== void 0) {\n return data.Error.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n}, \"loadQueryErrorCode\");\n\n// src/submodules/sts/commands/AssumeRoleCommand.ts\nvar AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRole\", {}).n(\"STSClient\", \"AssumeRoleCommand\").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() {\n static {\n __name(this, \"AssumeRoleCommand\");\n }\n};\n\n// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts\nvar import_middleware_endpoint2 = require(\"@smithy/middleware-endpoint\");\nvar import_middleware_serde2 = require(\"@smithy/middleware-serde\");\nvar import_smithy_client5 = require(\"@smithy/smithy-client\");\nvar import_EndpointParameters2 = require(\"./endpoint/EndpointParameters\");\nvar AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {\n return [\n (0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),\n (0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())\n ];\n}).s(\"AWSSecurityTokenServiceV20110615\", \"AssumeRoleWithWebIdentity\", {}).n(\"STSClient\", \"AssumeRoleWithWebIdentityCommand\").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {\n static {\n __name(this, \"AssumeRoleWithWebIdentityCommand\");\n }\n};\n\n// src/submodules/sts/STS.ts\nvar import_STSClient = require(\"./STSClient\");\nvar commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand\n};\nvar STS = class extends import_STSClient.STSClient {\n static {\n __name(this, \"STS\");\n }\n};\n(0, import_smithy_client6.createAggregatedClient)(commands, STS);\n\n// src/submodules/sts/index.ts\nvar import_EndpointParameters3 = require(\"./endpoint/EndpointParameters\");\n\n// src/submodules/sts/defaultStsRoleAssumers.ts\nvar import_client = require(\"@aws-sdk/core/client\");\nvar ASSUME_ROLE_DEFAULT_REGION = \"us-east-1\";\nvar getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return void 0;\n}, \"getAccountIdFromAssumedRoleUser\");\nvar resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n credentialProviderLogger?.debug?.(\n \"@aws-sdk/client-sts::resolveRegion\",\n \"accepting first of:\",\n `${region} (provider)`,\n `${parentRegion} (parent client)`,\n `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`\n );\n return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;\n}, \"resolveRegion\");\nvar getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n // A hack to make sts client uses the credential in current closure.\n credentialDefaultProvider: /* @__PURE__ */ __name(() => async () => closureSourceCreds, \"credentialDefaultProvider\"),\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n}, \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, STSClient3) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const {\n logger = stsOptions?.parentClientConfig?.logger,\n region,\n requestHandler = stsOptions?.parentClientConfig?.requestHandler,\n credentialProviderLogger\n } = stsOptions;\n const resolvedRegion = await resolveRegion(\n region,\n stsOptions?.parentClientConfig?.region,\n credentialProviderLogger\n );\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient3({\n profile: stsOptions?.parentClientConfig?.profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,\n logger\n });\n }\n const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2);\n const credentials = {\n accessKeyId: Credentials2.AccessKeyId,\n secretAccessKey: Credentials2.SecretAccessKey,\n sessionToken: Credentials2.SessionToken,\n expiration: Credentials2.Expiration,\n // TODO(credentialScope): access normally when shape is updated.\n ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope },\n ...accountId && { accountId }\n };\n if (accountId) {\n (0, import_client.setCredentialFeature)(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n (0, import_client.setCredentialFeature)(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n}, \"getDefaultRoleAssumerWithWebIdentity\");\nvar isH2 = /* @__PURE__ */ __name((requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n}, \"isH2\");\n\n// src/submodules/sts/defaultRoleAssumers.ts\nvar import_STSClient2 = require(\"./STSClient\");\nvar getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {\n if (!customizations) return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n static {\n __name(this, \"CustomizableSTSClient\");\n }\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n}, \"getCustomizableStsClientCtor\");\nvar getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumer\");\nvar getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), \"getDefaultRoleAssumerWithWebIdentity\");\nvar decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer2(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),\n ...input\n}), \"decorateDefaultCredentialProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n AssumeRoleCommand,\n AssumeRoleResponseFilterSensitiveLog,\n AssumeRoleWithWebIdentityCommand,\n AssumeRoleWithWebIdentityRequestFilterSensitiveLog,\n AssumeRoleWithWebIdentityResponseFilterSensitiveLog,\n ClientInputEndpointParameters,\n CredentialsFilterSensitiveLog,\n ExpiredTokenException,\n IDPCommunicationErrorException,\n IDPRejectedClaimException,\n InvalidIdentityTokenException,\n MalformedPolicyDocumentException,\n PackedPolicyTooLargeException,\n RegionDisabledException,\n STS,\n STSServiceException,\n decorateDefaultCredentialProvider,\n getDefaultRoleAssumer,\n getDefaultRoleAssumerWithWebIdentity,\n ...require(\"./STSClient\")\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst core_2 = require(\"@smithy/core\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst smithy_client_2 = require(\"@smithy/smithy-client\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") ||\n (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n serviceId: config?.serviceId ?? \"STS\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveRuntimeExtensions = void 0;\nconst region_config_resolver_1 = require(\"@aws-sdk/region-config-resolver\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst httpAuthExtensionConfiguration_1 = require(\"./auth/httpAuthExtensionConfiguration\");\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));\n};\nexports.resolveRuntimeExtensions = resolveRuntimeExtensions;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,\n NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,\n REGION_ENV_NAME: () => REGION_ENV_NAME,\n REGION_INI_NAME: () => REGION_INI_NAME,\n getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,\n resolveRegionConfig: () => resolveRegionConfig\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/extensions/index.ts\nvar getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n }\n };\n}, \"getAwsRegionExtensionConfiguration\");\nvar resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region()\n };\n}, \"resolveAwsRegionExtensionConfiguration\");\n\n// src/regionConfig/config.ts\nvar REGION_ENV_NAME = \"AWS_REGION\";\nvar REGION_INI_NAME = \"region\";\nvar NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], \"configFileSelector\"),\n default: /* @__PURE__ */ __name(() => {\n throw new Error(\"Region is missing\");\n }, \"default\")\n};\nvar NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\"\n};\n\n// src/regionConfig/isFipsRegion.ts\nvar isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\")), \"isFipsRegion\");\n\n// src/regionConfig/getRealRegion.ts\nvar getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [\"fips-aws-global\", \"aws-fips\"].includes(region) ? \"us-east-1\" : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\") : region, \"getRealRegion\");\n\n// src/regionConfig/resolveRegionConfig.ts\nvar resolveRegionConfig = /* @__PURE__ */ __name((input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: /* @__PURE__ */ __name(async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n }, \"region\"),\n useFipsEndpoint: /* @__PURE__ */ __name(async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n }, \"useFipsEndpoint\")\n });\n}, \"resolveRegionConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n getAwsRegionExtensionConfiguration,\n resolveAwsRegionExtensionConfiguration,\n REGION_ENV_NAME,\n REGION_INI_NAME,\n NODE_REGION_CONFIG_OPTIONS,\n NODE_REGION_CONFIG_FILE_OPTIONS,\n resolveRegionConfig\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n SignatureV4MultiRegion: () => SignatureV4MultiRegion,\n signatureV4CrtContainer: () => signatureV4CrtContainer\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/SignatureV4MultiRegion.ts\nvar import_middleware_sdk_s3 = require(\"@aws-sdk/middleware-sdk-s3\");\nvar import_signature_v4 = require(\"@smithy/signature-v4\");\n\n// src/signature-v4-crt-container.ts\nvar signatureV4CrtContainer = {\n CrtSignerV4: null\n};\n\n// src/SignatureV4MultiRegion.ts\nvar SignatureV4MultiRegion = class {\n static {\n __name(this, \"SignatureV4MultiRegion\");\n }\n sigv4aSigner;\n sigv4Signer;\n signerOptions;\n static sigv4aDependency() {\n if (typeof signatureV4CrtContainer.CrtSignerV4 === \"function\") {\n return \"crt\";\n } else if (typeof import_signature_v4.signatureV4aContainer.SignatureV4a === \"function\") {\n return \"js\";\n }\n return \"none\";\n }\n constructor(options) {\n this.sigv4Signer = new import_middleware_sdk_s3.SignatureV4S3Express(options);\n this.signerOptions = options;\n }\n async sign(requestToSign, options = {}) {\n if (options.signingRegion === \"*\") {\n return this.getSigv4aSigner().sign(requestToSign, options);\n }\n return this.sigv4Signer.sign(requestToSign, options);\n }\n /**\n * Sign with alternate credentials to the ones provided in the constructor.\n * Note: This is only supported for SigV4a when using the CRT implementation.\n */\n async signWithCredentials(requestToSign, credentials, options = {}) {\n if (options.signingRegion === \"*\") {\n const signer = this.getSigv4aSigner();\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n if (CrtSignerV4 && signer instanceof CrtSignerV4) {\n return signer.signWithCredentials(requestToSign, credentials, options);\n } else {\n throw new Error(\n `signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the \"@aws-sdk/signature-v4-crt\" package explicitly. You must also register the package by calling [require(\"@aws-sdk/signature-v4-crt\");] or an ESM equivalent such as [import \"@aws-sdk/signature-v4-crt\";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`\n );\n }\n }\n return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);\n }\n /**\n * Presign a request.\n * Note: This is only supported for SigV4a when using the CRT implementation.\n */\n async presign(originalRequest, options = {}) {\n if (options.signingRegion === \"*\") {\n const signer = this.getSigv4aSigner();\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n if (CrtSignerV4 && signer instanceof CrtSignerV4) {\n return signer.presign(originalRequest, options);\n } else {\n throw new Error(\n `presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the \"@aws-sdk/signature-v4-crt\" package explicitly. You must also register the package by calling [require(\"@aws-sdk/signature-v4-crt\");] or an ESM equivalent such as [import \"@aws-sdk/signature-v4-crt\";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`\n );\n }\n }\n return this.sigv4Signer.presign(originalRequest, options);\n }\n async presignWithCredentials(originalRequest, credentials, options = {}) {\n if (options.signingRegion === \"*\") {\n throw new Error(\"Method presignWithCredentials is not supported for [signingRegion=*].\");\n }\n return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options);\n }\n getSigv4aSigner() {\n if (!this.sigv4aSigner) {\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n const JsSigV4aSigner = import_signature_v4.signatureV4aContainer.SignatureV4a;\n if (this.signerOptions.runtime === \"node\") {\n if (!CrtSignerV4 && !JsSigV4aSigner) {\n throw new Error(\n \"Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt\"\n );\n }\n if (CrtSignerV4 && typeof CrtSignerV4 === \"function\") {\n this.sigv4aSigner = new CrtSignerV4({\n ...this.signerOptions,\n signingAlgorithm: 1\n });\n } else if (JsSigV4aSigner && typeof JsSigV4aSigner === \"function\") {\n this.sigv4aSigner = new JsSigV4aSigner({\n ...this.signerOptions\n });\n } else {\n throw new Error(\n \"Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt\"\n );\n }\n } else {\n if (!JsSigV4aSigner || typeof JsSigV4aSigner !== \"function\") {\n throw new Error(\n \"JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a\"\n );\n }\n this.sigv4aSigner = new JsSigV4aSigner({\n ...this.signerOptions\n });\n }\n }\n return this.sigv4aSigner;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n SignatureV4MultiRegion,\n signatureV4CrtContainer\n});\n\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n fromSso: () => fromSso,\n fromStatic: () => fromStatic,\n nodeProvider: () => nodeProvider\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/fromSso.ts\n\n\n\n// src/constants.ts\nvar EXPIRE_WINDOW_MS = 5 * 60 * 1e3;\nvar REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\n// src/getSsoOidcClient.ts\nvar getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {\n const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = new SSOOIDCClient(\n Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger\n })\n );\n return ssoOidcClient;\n}, \"getSsoOidcClient\");\n\n// src/getNewSsoOidcToken.ts\nvar getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {\n const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require(\"@aws-sdk/nested-clients/sso-oidc\")));\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);\n return ssoOidcClient.send(\n new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\"\n })\n );\n}, \"getNewSsoOidcToken\");\n\n// src/validateTokenExpiry.ts\nvar import_property_provider = require(\"@smithy/property-provider\");\nvar validateTokenExpiry = /* @__PURE__ */ __name((token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n}, \"validateTokenExpiry\");\n\n// src/validateTokenKey.ts\n\nvar validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new import_property_provider.TokenProviderError(\n `Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`,\n false\n );\n }\n}, \"validateTokenKey\");\n\n// src/writeSSOTokenToFile.ts\nvar import_shared_ini_file_loader = require(\"@smithy/shared-ini-file-loader\");\nvar import_fs = require(\"fs\");\nvar { writeFile } = import_fs.promises;\nvar writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {\n const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n}, \"writeSSOTokenToFile\");\n\n// src/fromSso.ts\nvar lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);\nvar fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {\n const init = {\n ..._init,\n parentClientConfig: {\n ...callerClientConfig,\n ..._init.parentClientConfig\n }\n };\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);\n const profileName = (0, import_shared_ini_file_loader.getProfileName)({\n profile: init.profile ?? callerClientConfig?.profile\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n } else if (!profile[\"sso_session\"]) {\n throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' could not be found in shared credentials file.`,\n false\n );\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new import_property_provider.TokenProviderError(\n `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,\n false\n );\n }\n }\n const ssoStartUrl = ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName);\n } catch (e) {\n throw new import_property_provider.TokenProviderError(\n `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,\n false\n );\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = { token: accessToken, expiration: new Date(expiresAt) };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n try {\n lastRefreshAttemptTime.setTime(Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken\n });\n } catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration\n };\n } catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n}, \"fromSso\");\n\n// src/fromStatic.ts\n\nvar fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n}, \"fromStatic\");\n\n// src/nodeProvider.ts\n\nvar nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(\n (0, import_property_provider.chain)(fromSso(init), async () => {\n throw new import_property_provider.TokenProviderError(\"Could not load token from any providers\", false);\n }),\n (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5,\n (token) => token.expiration !== void 0\n), \"nodeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n fromSso,\n fromStatic,\n nodeProvider\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n build: () => build,\n parse: () => parse,\n validate: () => validate\n});\nmodule.exports = __toCommonJS(index_exports);\nvar validate = /* @__PURE__ */ __name((str) => typeof str === \"string\" && str.indexOf(\"arn:\") === 0 && str.split(\":\").length >= 6, \"validate\");\nvar parse = /* @__PURE__ */ __name((arn) => {\n const segments = arn.split(\":\");\n if (segments.length < 6 || segments[0] !== \"arn\") throw new Error(\"Malformed ARN\");\n const [\n ,\n //Skip \"arn\" literal\n partition,\n service,\n region,\n accountId,\n ...resource\n ] = segments;\n return {\n partition,\n service,\n region,\n accountId,\n resource: resource.join(\":\")\n };\n}, \"parse\");\nvar build = /* @__PURE__ */ __name((arnObject) => {\n const { partition = \"aws\", service, region, accountId, resource } = arnObject;\n if ([service, region, accountId, resource].some((segment) => typeof segment !== \"string\")) {\n throw new Error(\"Input ARN object is invalid\");\n }\n return `arn:${partition}:${service}:${region}:${accountId}:${resource}`;\n}, \"build\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n validate,\n parse,\n build\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n ConditionObject: () => import_util_endpoints.ConditionObject,\n DeprecatedObject: () => import_util_endpoints.DeprecatedObject,\n EndpointError: () => import_util_endpoints.EndpointError,\n EndpointObject: () => import_util_endpoints.EndpointObject,\n EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,\n EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,\n EndpointParams: () => import_util_endpoints.EndpointParams,\n EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,\n EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,\n ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,\n EvaluateOptions: () => import_util_endpoints.EvaluateOptions,\n Expression: () => import_util_endpoints.Expression,\n FunctionArgv: () => import_util_endpoints.FunctionArgv,\n FunctionObject: () => import_util_endpoints.FunctionObject,\n FunctionReturn: () => import_util_endpoints.FunctionReturn,\n ParameterObject: () => import_util_endpoints.ParameterObject,\n ReferenceObject: () => import_util_endpoints.ReferenceObject,\n ReferenceRecord: () => import_util_endpoints.ReferenceRecord,\n RuleSetObject: () => import_util_endpoints.RuleSetObject,\n RuleSetRules: () => import_util_endpoints.RuleSetRules,\n TreeRuleObject: () => import_util_endpoints.TreeRuleObject,\n awsEndpointFunctions: () => awsEndpointFunctions,\n getUserAgentPrefix: () => getUserAgentPrefix,\n isIpAddress: () => import_util_endpoints.isIpAddress,\n partition: () => partition,\n resolveEndpoint: () => import_util_endpoints.resolveEndpoint,\n setPartitionInfo: () => setPartitionInfo,\n useDefaultPartitionInfo: () => useDefaultPartitionInfo\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/aws.ts\n\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\n\n\n// src/lib/isIpAddress.ts\nvar import_util_endpoints = require(\"@smithy/util-endpoints\");\n\n// src/lib/aws/isVirtualHostableS3Bucket.ts\nvar isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0, import_util_endpoints.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0, import_util_endpoints.isIpAddress)(value)) {\n return false;\n }\n return true;\n}, \"isVirtualHostableS3Bucket\");\n\n// src/lib/aws/parseArn.ts\nvar ARN_DELIMITER = \":\";\nvar RESOURCE_DELIMITER = \"/\";\nvar parseArn = /* @__PURE__ */ __name((value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6) return null;\n const [arn, partition2, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition2 === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\") return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition: partition2,\n service,\n region,\n accountId,\n resourceId\n };\n}, \"parseArn\");\n\n// src/lib/aws/partitions.json\nvar partitions_default = {\n partitions: [{\n id: \"aws\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-east-1\",\n name: \"aws\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"af-south-1\": {\n description: \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n description: \"Asia Pacific (Hong Kong)\"\n },\n \"ap-northeast-1\": {\n description: \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n description: \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n description: \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n description: \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n description: \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n description: \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n description: \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n description: \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n description: \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n description: \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-7\": {\n description: \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n description: \"AWS Standard global region\"\n },\n \"ca-central-1\": {\n description: \"Canada (Central)\"\n },\n \"ca-west-1\": {\n description: \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n description: \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n description: \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n description: \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n description: \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n description: \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n description: \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n description: \"Europe (London)\"\n },\n \"eu-west-3\": {\n description: \"Europe (Paris)\"\n },\n \"il-central-1\": {\n description: \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n description: \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n description: \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n description: \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n description: \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n description: \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n description: \"US East (Ohio)\"\n },\n \"us-west-1\": {\n description: \"US West (N. California)\"\n },\n \"us-west-2\": {\n description: \"US West (Oregon)\"\n }\n }\n }, {\n id: \"aws-cn\",\n outputs: {\n dnsSuffix: \"amazonaws.com.cn\",\n dualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n implicitGlobalRegion: \"cn-northwest-1\",\n name: \"aws-cn\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-cn-global\": {\n description: \"AWS China global region\"\n },\n \"cn-north-1\": {\n description: \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n description: \"China (Ningxia)\"\n }\n }\n }, {\n id: \"aws-us-gov\",\n outputs: {\n dnsSuffix: \"amazonaws.com\",\n dualStackDnsSuffix: \"api.aws\",\n implicitGlobalRegion: \"us-gov-west-1\",\n name: \"aws-us-gov\",\n supportsDualStack: true,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-us-gov-global\": {\n description: \"AWS GovCloud (US) global region\"\n },\n \"us-gov-east-1\": {\n description: \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n description: \"AWS GovCloud (US-West)\"\n }\n }\n }, {\n id: \"aws-iso\",\n outputs: {\n dnsSuffix: \"c2s.ic.gov\",\n dualStackDnsSuffix: \"c2s.ic.gov\",\n implicitGlobalRegion: \"us-iso-east-1\",\n name: \"aws-iso\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-global\": {\n description: \"AWS ISO (US) global region\"\n },\n \"us-iso-east-1\": {\n description: \"US ISO East\"\n },\n \"us-iso-west-1\": {\n description: \"US ISO WEST\"\n }\n }\n }, {\n id: \"aws-iso-b\",\n outputs: {\n dnsSuffix: \"sc2s.sgov.gov\",\n dualStackDnsSuffix: \"sc2s.sgov.gov\",\n implicitGlobalRegion: \"us-isob-east-1\",\n name: \"aws-iso-b\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-b-global\": {\n description: \"AWS ISOB (US) global region\"\n },\n \"us-isob-east-1\": {\n description: \"US ISOB East (Ohio)\"\n }\n }\n }, {\n id: \"aws-iso-e\",\n outputs: {\n dnsSuffix: \"cloud.adc-e.uk\",\n dualStackDnsSuffix: \"cloud.adc-e.uk\",\n implicitGlobalRegion: \"eu-isoe-west-1\",\n name: \"aws-iso-e\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-e-global\": {\n description: \"AWS ISOE (Europe) global region\"\n },\n \"eu-isoe-west-1\": {\n description: \"EU ISOE West\"\n }\n }\n }, {\n id: \"aws-iso-f\",\n outputs: {\n dnsSuffix: \"csp.hci.ic.gov\",\n dualStackDnsSuffix: \"csp.hci.ic.gov\",\n implicitGlobalRegion: \"us-isof-south-1\",\n name: \"aws-iso-f\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"aws-iso-f-global\": {\n description: \"AWS ISOF global region\"\n },\n \"us-isof-east-1\": {\n description: \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n description: \"US ISOF SOUTH\"\n }\n }\n }, {\n id: \"aws-eusc\",\n outputs: {\n dnsSuffix: \"amazonaws.eu\",\n dualStackDnsSuffix: \"amazonaws.eu\",\n implicitGlobalRegion: \"eusc-de-east-1\",\n name: \"aws-eusc\",\n supportsDualStack: false,\n supportsFIPS: true\n },\n regionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n regions: {\n \"eusc-de-east-1\": {\n description: \"EU (Germany)\"\n }\n }\n }],\n version: \"1.1\"\n};\n\n// src/lib/aws/partition.ts\nvar selectedPartitionsInfo = partitions_default;\nvar selectedUserAgentPrefix = \"\";\nvar partition = /* @__PURE__ */ __name((value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition2 of partitions) {\n const { regions, outputs } = partition2;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData\n };\n }\n }\n }\n for (const partition2 of partitions) {\n const { regionRegex, outputs } = partition2;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\n \"Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.\"\n );\n }\n return {\n ...DEFAULT_PARTITION.outputs\n };\n}, \"partition\");\nvar setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n}, \"setPartitionInfo\");\nvar useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {\n setPartitionInfo(partitions_default, \"\");\n}, \"useDefaultPartitionInfo\");\nvar getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, \"getUserAgentPrefix\");\n\n// src/aws.ts\nvar awsEndpointFunctions = {\n isVirtualHostableS3Bucket,\n parseArn,\n partition\n};\nimport_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\n// src/resolveEndpoint.ts\n\n\n// src/types/EndpointError.ts\n\n\n// src/types/EndpointRuleObject.ts\n\n\n// src/types/ErrorRuleObject.ts\n\n\n// src/types/RuleSetObject.ts\n\n\n// src/types/TreeRuleObject.ts\n\n\n// src/types/shared.ts\n\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n awsEndpointFunctions,\n partition,\n setPartitionInfo,\n useDefaultPartitionInfo,\n getUserAgentPrefix,\n isIpAddress,\n resolveEndpoint,\n EndpointError\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n formatUrl: () => formatUrl\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_querystring_builder = require(\"@smithy/querystring-builder\");\nfunction formatUrl(request) {\n const { port, query } = request;\n let { protocol, path, hostname } = request;\n if (protocol && protocol.slice(-1) !== \":\") {\n protocol += \":\";\n }\n if (port) {\n hostname += `:${port}`;\n }\n if (path && path.charAt(0) !== \"/\") {\n path = `/${path}`;\n }\n let queryString = query ? (0, import_querystring_builder.buildQueryString)(query) : \"\";\n if (queryString && queryString[0] !== \"?\") {\n queryString = `?${queryString}`;\n }\n let auth = \"\";\n if (request.username != null || request.password != null) {\n const username = request.username ?? \"\";\n const password = request.password ?? \"\";\n auth = `${username}:${password}@`;\n }\n let fragment = \"\";\n if (request.fragment) {\n fragment = `#${request.fragment}`;\n }\n return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;\n}\n__name(formatUrl, \"formatUrl\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n formatUrl\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,\n UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,\n createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,\n crtAvailability: () => crtAvailability,\n defaultUserAgent: () => defaultUserAgent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/defaultUserAgent.ts\nvar import_os = require(\"os\");\nvar import_process = require(\"process\");\n\n// src/crt-availability.ts\nvar crtAvailability = {\n isCrtAvailable: false\n};\n\n// src/is-crt-available.ts\nvar isCrtAvailable = /* @__PURE__ */ __name(() => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n}, \"isCrtAvailable\");\n\n// src/defaultUserAgent.ts\nvar createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n // sdk-metadata\n [\"aws-sdk-js\", clientVersion],\n // ua-metadata\n [\"ua\", \"2.1\"],\n // os-metadata\n [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],\n // language-metadata\n // ECMAScript edition doesn't matter in JS, so no version needed.\n [\"lang/js\"],\n [\"md/nodejs\", `${import_process.versions.node}`]\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (import_process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n}, \"createDefaultUserAgentProvider\");\nvar defaultUserAgent = createDefaultUserAgentProvider;\n\n// src/nodeAppIdConfigOptions.ts\nvar import_middleware_user_agent = require(\"@aws-sdk/middleware-user-agent\");\nvar UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nvar UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nvar UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nvar NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[UA_APP_ID_ENV_NAME], \"environmentVariableSelector\"),\n configFileSelector: /* @__PURE__ */ __name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], \"configFileSelector\"),\n default: import_middleware_user_agent.DEFAULT_UA_APP_ID\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n crtAvailability,\n createDefaultUserAgentProvider,\n defaultUserAgent,\n UA_APP_ID_ENV_NAME,\n UA_APP_ID_INI_NAME,\n NODE_APP_ID_CONFIG_OPTIONS\n});\n\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n XmlNode: () => XmlNode,\n XmlText: () => XmlText\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/escape-attribute.ts\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n__name(escapeAttribute, \"escapeAttribute\");\n\n// src/escape-element.ts\nfunction escapeElement(value) {\n return value.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(//g, \">\").replace(/\\r/g, \" \").replace(/\\n/g, \" \").replace(/\\u0085/g, \" \").replace(/\\u2028/, \" \");\n}\n__name(escapeElement, \"escapeElement\");\n\n// src/XmlText.ts\nvar XmlText = class {\n constructor(value) {\n this.value = value;\n }\n static {\n __name(this, \"XmlText\");\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n};\n\n// src/XmlNode.ts\nvar XmlNode = class _XmlNode {\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n static {\n __name(this, \"XmlNode\");\n }\n attributes = {};\n static of(name, childText, withName) {\n const node = new _XmlNode(name);\n if (childText !== void 0) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== void 0) {\n node.withName(withName);\n }\n return node;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#withName(string)} for codegen brevity.\n */\n n(name) {\n this.name = name;\n return this;\n }\n /**\n * @internal\n * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.\n */\n c(child) {\n this.children.push(child);\n return this;\n }\n /**\n * @internal\n * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.\n */\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n /**\n * Create a child node.\n * Used in serialization of string fields.\n * @internal\n */\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = _XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n /**\n * Creates list child nodes.\n * @internal\n */\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n /**\n * Creates list child nodes with container.\n * @internal\n */\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new _XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}${this.name}>`;\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n XmlNode,\n XmlText\n});\n\n","'use strict';\n\nconst PROTECTED_KEYS = {\n REQUEST_ID: Symbol.for(\"_AWS_LAMBDA_REQUEST_ID\"),\n X_RAY_TRACE_ID: Symbol.for(\"_AWS_LAMBDA_X_RAY_TRACE_ID\"),\n TENANT_ID: Symbol.for(\"_AWS_LAMBDA_TENANT_ID\"),\n};\nconst NO_GLOBAL_AWS_LAMBDA = [\"true\", \"1\"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? \"\");\nif (!NO_GLOBAL_AWS_LAMBDA) {\n globalThis.awslambda = globalThis.awslambda || {};\n}\nclass InvokeStoreBase {\n static PROTECTED_KEYS = PROTECTED_KEYS;\n isProtectedKey(key) {\n return Object.values(PROTECTED_KEYS).includes(key);\n }\n getRequestId() {\n return this.get(PROTECTED_KEYS.REQUEST_ID) ?? \"-\";\n }\n getXRayTraceId() {\n return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID);\n }\n getTenantId() {\n return this.get(PROTECTED_KEYS.TENANT_ID);\n }\n}\nclass InvokeStoreSingle extends InvokeStoreBase {\n currentContext;\n getContext() {\n return this.currentContext;\n }\n hasContext() {\n return this.currentContext !== undefined;\n }\n get(key) {\n return this.currentContext?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n this.currentContext = this.currentContext || {};\n this.currentContext[key] = value;\n }\n run(context, fn) {\n this.currentContext = context;\n return fn();\n }\n}\nclass InvokeStoreMulti extends InvokeStoreBase {\n als;\n static async create() {\n const instance = new InvokeStoreMulti();\n const asyncHooks = await import('node:async_hooks');\n instance.als = new asyncHooks.AsyncLocalStorage();\n return instance;\n }\n getContext() {\n return this.als.getStore();\n }\n hasContext() {\n return this.als.getStore() !== undefined;\n }\n get(key) {\n return this.als.getStore()?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n const store = this.als.getStore();\n if (!store) {\n throw new Error(\"No context available\");\n }\n store[key] = value;\n }\n run(context, fn) {\n return this.als.run(context, fn);\n }\n}\nexports.InvokeStore = void 0;\n(function (InvokeStore) {\n let instance = null;\n async function getInstanceAsync(forceInvokeStoreMulti) {\n if (!instance) {\n instance = (async () => {\n const isMulti = forceInvokeStoreMulti === true || \"AWS_LAMBDA_MAX_CONCURRENCY\" in process.env;\n const newInstance = isMulti\n ? await InvokeStoreMulti.create()\n : new InvokeStoreSingle();\n if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) {\n return globalThis.awslambda.InvokeStore;\n }\n else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) {\n globalThis.awslambda.InvokeStore = newInstance;\n return newInstance;\n }\n else {\n return newInstance;\n }\n })();\n }\n return instance;\n }\n InvokeStore.getInstanceAsync = getInstanceAsync;\n InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === \"1\"\n ? {\n reset: () => {\n instance = null;\n if (globalThis.awslambda?.InvokeStore) {\n delete globalThis.awslambda.InvokeStore;\n }\n globalThis.awslambda = { InvokeStore: undefined };\n },\n }\n : undefined;\n})(exports.InvokeStore || (exports.InvokeStore = {}));\n\nexports.InvokeStoreBase = InvokeStoreBase;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Database = void 0;\nconst entity_1 = require(\"./entity\");\nconst relationship_1 = require(\"./relationship\");\nclass Database {\n static entitiesOnly(entities) {\n return new Database(entities, relationship_1.NO_RELATIONSHIPS);\n }\n constructor(entities, relationships) {\n this.idCtr = 0;\n this.schema = {\n ...entities,\n ...relationships({\n relationship: (fromKey, toKey) => (0, relationship_1.relationshipCollection)((id) => this.get(fromKey, id), (id) => this.get(toKey, id)),\n }),\n };\n }\n id() {\n return `${this.idCtr++}`;\n }\n /**\n * Allocate an ID and store\n */\n allocate(key, entity) {\n return this.store(key, this.e(entity));\n }\n /**\n * Store with a preallocated ID\n */\n store(key, entity) {\n const coll = this.schema[key];\n coll.add(entity);\n return entity;\n }\n /**\n * Get an entity by key\n */\n get(key, id) {\n const coll = this.schema[key];\n const ret = coll.entities.get(typeof id === 'string' ? id : id.$ref);\n if (!ret) {\n throw new Error(`No such ${String(key)}: ${id}`);\n }\n return ret;\n }\n /**\n * All entities of a given type\n */\n all(key) {\n const coll = this.schema[key];\n return Array.from(coll.entities.values());\n }\n /**\n * Lookup an entity by index\n */\n lookup(key, index, lookup, value) {\n const coll = this.schema[key];\n const ids = coll.indexes[index].lookups[lookup](value);\n return addOnlyMethod(ids.map((id) => coll.entities.get(id)), `${String(key)} with ${String(index)} ${String(lookup)} ${JSON.stringify(value)}`);\n }\n /**\n * Allocate an ID and store if the entity does not yet exist\n */\n findOrAllocate(key, index, lookup, entity) {\n const res = this.lookup(key, index, lookup, entity[index]);\n if (res.length) {\n return res.only();\n }\n return this.allocate(key, entity);\n }\n link(key, from, to, attributes) {\n const col = this.schema[key];\n col.add(from, to, attributes);\n }\n /**\n * Follow a link\n */\n follow(key, from) {\n const col = this.schema[key];\n const toLinks = col.forward.get(from.$id) ?? [];\n const ret = toLinks.map((i) => ({ entity: col.toColl(i.$id), ...removeId(i) }));\n return addOnlyMethod(ret, `${String(key)} from ${from}`);\n }\n /**\n * Follow incoming links backwards\n */\n incoming(key, to) {\n const col = this.schema[key];\n const fromIds = col.backward.get(to.$id) ?? [];\n const ret = fromIds.map((i) => ({ entity: col.fromColl(i.$id), ...removeId(i) }));\n return addOnlyMethod(ret, `${String(key)} to ${to}`);\n }\n e(entity) {\n return {\n $id: this.id(),\n ...entity,\n };\n }\n /**\n * Turn the current database collection into something that can be stored.\n */\n save() {\n return {\n idCtr: this.idCtr,\n schema: dehydrate(this.schema),\n };\n function dehydrate(x) {\n if ((0, entity_1.isEntityCollection)(x)) {\n return x.dehydrate();\n }\n if ((0, relationship_1.isRelationshipCollection)(x)) {\n return x.dehydrate();\n }\n if (Array.isArray(x)) {\n return x.map(dehydrate);\n }\n if (!!x && typeof x === 'object') {\n return Object.fromEntries(Object.entries(x).map(([k, v]) => [k, dehydrate(v)]));\n }\n return x;\n }\n }\n load(db) {\n this.idCtr = db.idCtr;\n hydrate(this.schema, db.schema);\n function hydrate(proto, x) {\n if ((0, entity_1.isEntityCollection)(proto)) {\n proto.hydrateFrom(x);\n }\n if ((0, relationship_1.isRelationshipCollection)(proto)) {\n proto.hydrateFrom(x);\n }\n if (Array.isArray(x)) {\n x.forEach(hydrate);\n }\n if (!!proto && typeof proto === 'object' && !!x && typeof x === 'object') {\n for (const [k, v] of Object.entries(proto)) {\n const dehydratedData = x[k];\n if (dehydratedData !== undefined) {\n // May be missing if this is from a database created from an old version of the schema\n hydrate(v, dehydratedData);\n }\n }\n }\n }\n }\n}\nexports.Database = Database;\nfunction removeId(x) {\n const ret = { ...x };\n delete ret.$id;\n return ret;\n}\nfunction addOnlyMethod(xs, description) {\n return Object.defineProperties(xs, {\n only: {\n enumerable: false,\n value: () => {\n if (xs.length !== 1) {\n throw new Error(`Expected exactly 1 ${description}, found ${xs.length}`);\n }\n return xs[0];\n },\n },\n });\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZGF0YWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscUNBQXVHO0FBQ3ZHLGlEQU13QjtBQVN4QixNQUFhLFFBQVE7SUFDWixNQUFNLENBQUMsWUFBWSxDQUFvQixRQUFZO1FBQ3hELE9BQU8sSUFBSSxRQUFRLENBQUMsUUFBUSxFQUFFLCtCQUFnQixDQUFDLENBQUM7SUFDbEQsQ0FBQztJQUtELFlBQVksUUFBWSxFQUFFLGFBQWtEO1FBRnBFLFVBQUssR0FBRyxDQUFDLENBQUM7UUFHaEIsSUFBSSxDQUFDLE1BQU0sR0FBRztZQUNaLEdBQUcsUUFBUTtZQUNYLEdBQUcsYUFBYSxDQUFDO2dCQUNmLFlBQVksRUFBRSxDQUFDLE9BQU8sRUFBRSxLQUFLLEVBQUUsRUFBRSxDQUMvQixJQUFBLHFDQUFzQixFQUNwQixDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxPQUFPLEVBQUUsRUFBRSxDQUFDLEVBQzdCLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FDNUI7YUFDSixDQUFDO1NBQ0gsQ0FBQztJQUNKLENBQUM7SUFFTSxFQUFFO1FBQ1AsT0FBTyxHQUFHLElBQUksQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDO0lBQzNCLENBQUM7SUFFRDs7T0FFRztJQUNJLFFBQVEsQ0FBcUIsR0FBTSxFQUFFLE1BQWdDO1FBQzFFLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO0lBQ3pDLENBQUM7SUFFRDs7T0FFRztJQUNJLEtBQUssQ0FBcUIsR0FBTSxFQUFFLE1BQXlCO1FBQ2hFLE1BQU0sSUFBSSxHQUEwQixJQUFJLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBUSxDQUFDO1FBQzVELElBQUksQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLENBQUM7UUFDakIsT0FBTyxNQUFhLENBQUM7SUFDdkIsQ0FBQztJQUVEOztPQUVHO0lBQ0ksR0FBRyxDQUFxQixHQUFNLEVBQUUsRUFBeUM7UUFDOUUsTUFBTSxJQUFJLEdBQTBCLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFRLENBQUM7UUFDNUQsTUFBTSxHQUFHLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNyRSxJQUFJLENBQUMsR0FBRyxFQUFFO1lBQ1IsTUFBTSxJQUFJLEtBQUssQ0FBQyxXQUFXLE1BQU0sQ0FBQyxHQUFHLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1NBQ2xEO1FBQ0QsT0FBTyxHQUFHLENBQUM7SUFDYixDQUFDO0lBRUQ7O09BRUc7SUFDSSxHQUFHLENBQXFCLEdBQU07UUFDbkMsTUFBTSxJQUFJLEdBQTBCLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFRLENBQUM7UUFDNUQsT0FBTyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQztJQUM1QyxDQUFDO0lBRUQ7O09BRUc7SUFDSSxNQUFNLENBQ1gsR0FBTSxFQUNOLEtBQVEsRUFDUixNQUFvQyxFQUNwQyxLQUFxQztRQUVyQyxNQUFNLElBQUksR0FBMEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQVEsQ0FBQztRQUM1RCxNQUFNLEdBQUcsR0FBSSxJQUFJLENBQUMsT0FBZSxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNoRSxPQUFPLGFBQWEsQ0FDbEIsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQVUsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsRUFDOUMsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLFNBQVMsTUFBTSxDQUFDLEtBQUssQ0FBQyxJQUFJLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxJQUFJLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQ2xGLENBQUM7SUFDSixDQUFDO0lBRUQ7O09BRUc7SUFDSSxjQUFjLENBQ25CLEdBQU0sRUFDTixLQUFRLEVBQ1IsTUFBb0MsRUFDcEMsTUFBZ0M7UUFFaEMsTUFBTSxHQUFHLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQztRQUMzRCxJQUFJLEdBQUcsQ0FBQyxNQUFNLEVBQUU7WUFDZCxPQUFPLEdBQUcsQ0FBQyxJQUFJLEVBQUUsQ0FBQztTQUNuQjtRQUNELE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLEVBQUUsTUFBTSxDQUFDLENBQUM7SUFDcEMsQ0FBQztJQWNNLElBQUksQ0FDVCxHQUFNLEVBQ04sSUFBNEIsRUFDNUIsRUFBd0IsRUFDeEIsVUFBbUM7UUFFbkMsTUFBTSxHQUFHLEdBQWdDLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFRLENBQUM7UUFDakUsR0FBRyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEVBQUUsRUFBRSxFQUFFLFVBQVUsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7SUFFRDs7T0FFRztJQUNJLE1BQU0sQ0FDWCxHQUFNLEVBQ04sSUFBNEI7UUFFNUIsTUFBTSxHQUFHLEdBQWdDLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFRLENBQUM7UUFDakUsTUFBTSxPQUFPLEdBQUcsR0FBRyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUNoRCxNQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsTUFBTSxFQUFFLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFVLENBQUEsQ0FBQyxDQUFDO1FBRXZGLE9BQU8sYUFBYSxDQUFDLEdBQUcsRUFBRSxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsU0FBUyxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQzNELENBQUM7SUFFRDs7T0FFRztJQUNJLFFBQVEsQ0FDYixHQUFNLEVBQ04sRUFBd0I7UUFFeEIsTUFBTSxHQUFHLEdBQWdDLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFRLENBQUM7UUFDakUsTUFBTSxPQUFPLEdBQUcsR0FBRyxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUMvQyxNQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsTUFBTSxFQUFFLEdBQUcsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFVLENBQUEsQ0FBQyxDQUFDO1FBRXpGLE9BQU8sYUFBYSxDQUFDLEdBQUcsRUFBRSxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZELENBQUM7SUFFTSxDQUFDLENBQW1CLE1BQWdCO1FBQ3pDLE9BQU87WUFDTCxHQUFHLEVBQUUsSUFBSSxDQUFDLEVBQUUsRUFBRTtZQUNkLEdBQUcsTUFBTTtTQUNILENBQUM7SUFDWCxDQUFDO0lBRUQ7O09BRUc7SUFDSSxJQUFJO1FBQ1QsT0FBTztZQUNMLEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSztZQUNqQixNQUFNLEVBQUUsU0FBUyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUM7U0FDL0IsQ0FBQztRQUVGLFNBQVMsU0FBUyxDQUFDLENBQVU7WUFDM0IsSUFBSSxJQUFBLDJCQUFrQixFQUFDLENBQUMsQ0FBQyxFQUFFO2dCQUN6QixPQUFPLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQzthQUN0QjtZQUNELElBQUksSUFBQSx1Q0FBd0IsRUFBQyxDQUFDLENBQUMsRUFBRTtnQkFDL0IsT0FBTyxDQUFDLENBQUMsU0FBUyxFQUFFLENBQUM7YUFDdEI7WUFDRCxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUU7Z0JBQ3BCLE9BQU8sQ0FBQyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQzthQUN6QjtZQUNELElBQUksQ0FBQyxDQUFDLENBQUMsSUFBSSxPQUFPLENBQUMsS0FBSyxRQUFRLEVBQUU7Z0JBQ2hDLE9BQU8sTUFBTSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsRUFBRSxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7YUFDakY7WUFDRCxPQUFPLENBQUMsQ0FBQztRQUNYLENBQUM7SUFDSCxDQUFDO0lBRU0sSUFBSSxDQUFDLEVBQXNCO1FBQ2hDLElBQUksQ0FBQyxLQUFLLEdBQUcsRUFBRSxDQUFDLEtBQUssQ0FBQztRQUN0QixPQUFPLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsTUFBTSxDQUFDLENBQUM7UUFFaEMsU0FBUyxPQUFPLENBQUMsS0FBYyxFQUFFLENBQVU7WUFDekMsSUFBSSxJQUFBLDJCQUFrQixFQUFDLEtBQUssQ0FBQyxFQUFFO2dCQUM3QixLQUFLLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDO2FBQ3RCO1lBQ0QsSUFBSSxJQUFBLHVDQUF3QixFQUFDLEtBQUssQ0FBQyxFQUFFO2dCQUNuQyxLQUFLLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDO2FBQ3RCO1lBQ0QsSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFO2dCQUNwQixDQUFDLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO2FBQ3BCO1lBQ0QsSUFBSSxDQUFDLENBQUMsS0FBSyxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxLQUFLLFFBQVEsRUFBRTtnQkFDeEUsS0FBSyxNQUFNLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLE1BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLEVBQUU7b0JBQzFDLE1BQU0sY0FBYyxHQUFJLENBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQztvQkFDckMsSUFBSSxjQUFjLEtBQUssU0FBUyxFQUFFO3dCQUNoQyxzRkFBc0Y7d0JBQ3RGLE9BQU8sQ0FBQyxDQUFDLEVBQUUsY0FBYyxDQUFDLENBQUM7cUJBQzVCO2lCQUNGO2FBQ0Y7UUFDSCxDQUFDO0lBQ0gsQ0FBQztDQUNGO0FBMU1ELDRCQTBNQztBQU9ELFNBQVMsUUFBUSxDQUFtQixDQUFJO0lBQ3RDLE1BQU0sR0FBRyxHQUFHLEVBQUUsR0FBRyxDQUFDLEVBQUUsQ0FBQztJQUNyQixPQUFRLEdBQVcsQ0FBQyxHQUFHLENBQUM7SUFDeEIsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDO0FBc0NELFNBQVMsYUFBYSxDQUFJLEVBQU8sRUFBRSxXQUFtQjtJQUNwRCxPQUFPLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxFQUFFLEVBQUU7UUFDakMsSUFBSSxFQUFFO1lBQ0osVUFBVSxFQUFFLEtBQUs7WUFDakIsS0FBSyxFQUFFLEdBQUcsRUFBRTtnQkFDVixJQUFJLEVBQUUsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO29CQUNuQixNQUFNLElBQUksS0FBSyxDQUFDLHNCQUFzQixXQUFXLFdBQVcsRUFBRSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7aUJBQzFFO2dCQUNELE9BQU8sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ2YsQ0FBQztTQUNGO0tBQ0YsQ0FBUSxDQUFDO0FBQ1osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVudGl0eSwgRW50aXR5Q29sbGVjdGlvbiwgRW50aXR5SW5kZXgsIGlzRW50aXR5Q29sbGVjdGlvbiwgUGxhaW4sIFJlZmVyZW5jZSB9IGZyb20gJy4vZW50aXR5JztcbmltcG9ydCB7XG4gIGlzUmVsYXRpb25zaGlwQ29sbGVjdGlvbixcbiAgTk9fUkVMQVRJT05TSElQUyxcbiAgUmVsYXRpb25zaGlwLFxuICByZWxhdGlvbnNoaXBDb2xsZWN0aW9uLFxuICBSZWxhdGlvbnNoaXBDb2xsZWN0aW9uLFxufSBmcm9tICcuL3JlbGF0aW9uc2hpcCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVsYXRpb25zaGlwc0J1aWxkZXI8RVMgZXh0ZW5kcyBvYmplY3Q+IHtcbiAgcmVsYXRpb25zaGlwPFIgZXh0ZW5kcyBSZWxhdGlvbnNoaXA8YW55LCBhbnksIGFueT4+KFxuICAgIGZyb21LZXk6IEtleXNGb3I8RVMsIEVudGl0eUNvbGxlY3Rpb248UlsnZnJvbSddLCBhbnk+PixcbiAgICB0b0tleTogS2V5c0ZvcjxFUywgRW50aXR5Q29sbGVjdGlvbjxSWyd0byddLCBhbnk+PixcbiAgKTogUmVsYXRpb25zaGlwQ29sbGVjdGlvbjxSPjtcbn1cblxuZXhwb3J0IGNsYXNzIERhdGFiYXNlPEVTIGV4dGVuZHMgb2JqZWN0LCBSUyBleHRlbmRzIG9iamVjdD4ge1xuICBwdWJsaWMgc3RhdGljIGVudGl0aWVzT25seTxFUyBleHRlbmRzIG9iamVjdD4oZW50aXRpZXM6IEVTKTogRGF0YWJhc2U8RVMsIHt9PiB7XG4gICAgcmV0dXJuIG5ldyBEYXRhYmFzZShlbnRpdGllcywgTk9fUkVMQVRJT05TSElQUyk7XG4gIH1cblxuICBwcml2YXRlIHJlYWRvbmx5IHNjaGVtYTogRVMgJiBSUztcbiAgcHJpdmF0ZSBpZEN0ciA9IDA7XG5cbiAgY29uc3RydWN0b3IoZW50aXRpZXM6IEVTLCByZWxhdGlvbnNoaXBzOiAoeDogUmVsYXRpb25zaGlwc0J1aWxkZXI8RVM+KSA9PiBSUykge1xuICAgIHRoaXMuc2NoZW1hID0ge1xuICAgICAgLi4uZW50aXRpZXMsXG4gICAgICAuLi5yZWxhdGlvbnNoaXBzKHtcbiAgICAgICAgcmVsYXRpb25zaGlwOiAoZnJvbUtleSwgdG9LZXkpID0+XG4gICAgICAgICAgcmVsYXRpb25zaGlwQ29sbGVjdGlvbihcbiAgICAgICAgICAgIChpZCkgPT4gdGhpcy5nZXQoZnJvbUtleSwgaWQpLFxuICAgICAgICAgICAgKGlkKSA9PiB0aGlzLmdldCh0b0tleSwgaWQpLFxuICAgICAgICAgICksXG4gICAgICB9KSxcbiAgICB9O1xuICB9XG5cbiAgcHVibGljIGlkKCkge1xuICAgIHJldHVybiBgJHt0aGlzLmlkQ3RyKyt9YDtcbiAgfVxuXG4gIC8qKlxuICAgKiBBbGxvY2F0ZSBhbiBJRCBhbmQgc3RvcmVcbiAgICovXG4gIHB1YmxpYyBhbGxvY2F0ZTxLIGV4dGVuZHMga2V5b2YgRVM+KGtleTogSywgZW50aXR5OiBQbGFpbjxFbnRpdHlUeXBlPEVTW0tdPj4pOiBFbnRpdHlUeXBlPEVTW0tdPiB7XG4gICAgcmV0dXJuIHRoaXMuc3RvcmUoa2V5LCB0aGlzLmUoZW50aXR5KSk7XG4gIH1cblxuICAvKipcbiAgICogU3RvcmUgd2l0aCBhIHByZWFsbG9jYXRlZCBJRFxuICAgKi9cbiAgcHVibGljIHN0b3JlPEsgZXh0ZW5kcyBrZXlvZiBFUz4oa2V5OiBLLCBlbnRpdHk6IEVudGl0eVR5cGU8RVNbS10+KTogRW50aXR5VHlwZTxFU1tLXT4ge1xuICAgIGNvbnN0IGNvbGw6IEVudGl0eUNvbGxlY3Rpb248YW55PiA9IHRoaXMuc2NoZW1hW2tleV0gYXMgYW55O1xuICAgIGNvbGwuYWRkKGVudGl0eSk7XG4gICAgcmV0dXJuIGVudGl0eSBhcyBhbnk7XG4gIH1cblxuICAvKipcbiAgICogR2V0IGFuIGVudGl0eSBieSBrZXlcbiAgICovXG4gIHB1YmxpYyBnZXQ8SyBleHRlbmRzIGtleW9mIEVTPihrZXk6IEssIGlkOiBzdHJpbmcgfCBSZWZlcmVuY2U8RW50aXR5VHlwZTxFU1tLXT4+KTogRW50aXR5VHlwZTxFU1tLXT4ge1xuICAgIGNvbnN0IGNvbGw6IEVudGl0eUNvbGxlY3Rpb248YW55PiA9IHRoaXMuc2NoZW1hW2tleV0gYXMgYW55O1xuICAgIGNvbnN0IHJldCA9IGNvbGwuZW50aXRpZXMuZ2V0KHR5cGVvZiBpZCA9PT0gJ3N0cmluZycgPyBpZCA6IGlkLiRyZWYpO1xuICAgIGlmICghcmV0KSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYE5vIHN1Y2ggJHtTdHJpbmcoa2V5KX06ICR7aWR9YCk7XG4gICAgfVxuICAgIHJldHVybiByZXQ7XG4gIH1cblxuICAvKipcbiAgICogQWxsIGVudGl0aWVzIG9mIGEgZ2l2ZW4gdHlwZVxuICAgKi9cbiAgcHVibGljIGFsbDxLIGV4dGVuZHMga2V5b2YgRVM+KGtleTogSyk6IEFycmF5PEVudGl0eVR5cGU8RVNbS10+PiB7XG4gICAgY29uc3QgY29sbDogRW50aXR5Q29sbGVjdGlvbjxhbnk+ID0gdGhpcy5zY2hlbWFba2V5XSBhcyBhbnk7XG4gICAgcmV0dXJuIEFycmF5LmZyb20oY29sbC5lbnRpdGllcy52YWx1ZXMoKSk7XG4gIH1cblxuICAvKipcbiAgICogTG9va3VwIGFuIGVudGl0eSBieSBpbmRleFxuICAgKi9cbiAgcHVibGljIGxvb2t1cDxLIGV4dGVuZHMga2V5b2YgRVMsIEkgZXh0ZW5kcyBJbmRleE5hbWVzT2Y8RVNbS10+PihcbiAgICBrZXk6IEssXG4gICAgaW5kZXg6IEksXG4gICAgbG9va3VwOiBJbmRleE9mPEVTW0tdLCBJPlsnbG9va3VwcyddLFxuICAgIHZhbHVlOiBJbmRleE9mPEVTW0tdLCBJPlsndmFsdWVUeXBlJ10sXG4gICk6IFJpY2hSZWFkb25seUFycmF5PEVudGl0eVR5cGU8RVNbS10+PiB7XG4gICAgY29uc3QgY29sbDogRW50aXR5Q29sbGVjdGlvbjxhbnk+ID0gdGhpcy5zY2hlbWFba2V5XSBhcyBhbnk7XG4gICAgY29uc3QgaWRzID0gKGNvbGwuaW5kZXhlcyBhcyBhbnkpW2luZGV4XS5sb29rdXBzW2xvb2t1cF0odmFsdWUpO1xuICAgIHJldHVybiBhZGRPbmx5TWV0aG9kKFxuICAgICAgaWRzLm1hcCgoaWQ6IHN0cmluZykgPT4gY29sbC5lbnRpdGllcy5nZXQoaWQpKSxcbiAgICAgIGAke1N0cmluZyhrZXkpfSB3aXRoICR7U3RyaW5nKGluZGV4KX0gJHtTdHJpbmcobG9va3VwKX0gJHtKU09OLnN0cmluZ2lmeSh2YWx1ZSl9YCxcbiAgICApO1xuICB9XG5cbiAgLyoqXG4gICAqIEFsbG9jYXRlIGFuIElEIGFuZCBzdG9yZSBpZiB0aGUgZW50aXR5IGRvZXMgbm90IHlldCBleGlzdFxuICAgKi9cbiAgcHVibGljIGZpbmRPckFsbG9jYXRlPEsgZXh0ZW5kcyBrZXlvZiBFUywgSSBleHRlbmRzIGtleW9mIFBsYWluPEVudGl0eVR5cGU8RVNbS10+PiAmIEluZGV4TmFtZXNPZjxFU1tLXT4+KFxuICAgIGtleTogSyxcbiAgICBpbmRleDogSSxcbiAgICBsb29rdXA6IEluZGV4T2Y8RVNbS10sIEk+Wydsb29rdXBzJ10sXG4gICAgZW50aXR5OiBQbGFpbjxFbnRpdHlUeXBlPEVTW0tdPj4sXG4gICk6IEVudGl0eVR5cGU8RVNbS10+IHtcbiAgICBjb25zdCByZXMgPSB0aGlzLmxvb2t1cChrZXksIGluZGV4LCBsb29rdXAsIGVudGl0eVtpbmRleF0pO1xuICAgIGlmIChyZXMubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gcmVzLm9ubHkoKTtcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuYWxsb2NhdGUoa2V5LCBlbnRpdHkpO1xuICB9XG5cbiAgLyoqXG4gICAqIFJlY29yZCBhIHJlbGF0aW9uc2hpcCBiZXR3ZWVuIHR3byBlbnRpdGllc1xuICAgKlxuICAgKiBPdmVybG9hZCB0byBhY2NvdW50IGZvciB3aGV0aGVyIHdlIGhhdmUgYXR0cmlidXRlcyBvciBub3QuXG4gICAqL1xuICBwdWJsaWMgbGluazxLIGV4dGVuZHMgUmVsV0F0dHJzPFJTPj4oXG4gICAga2V5OiBLLFxuICAgIGZyb206IFJlbFR5cGU8UlNbS10+Wydmcm9tJ10sXG4gICAgdG86IFJlbFR5cGU8UlNbS10+Wyd0byddLFxuICAgIGF0dHJpYnV0ZXM6IFJlbFR5cGU8UlNbS10+WydhdHRyJ10sXG4gICk6IHZvaWQ7XG4gIHB1YmxpYyBsaW5rPEsgZXh0ZW5kcyBSZWxXb0F0dHJzPFJTPj4oa2V5OiBLLCBmcm9tOiBSZWxUeXBlPFJTW0tdPlsnZnJvbSddLCB0bzogUmVsVHlwZTxSU1tLXT5bJ3RvJ10pOiB2b2lkO1xuICBwdWJsaWMgbGluazxLIGV4dGVuZHMga2V5b2YgUlM+KFxuICAgIGtleTogSyxcbiAgICBmcm9tOiBSZWxUeXBlPFJTW0tdPlsnZnJvbSddLFxuICAgIHRvOiBSZWxUeXBlPFJTW0tdPlsndG8nXSxcbiAgICBhdHRyaWJ1dGVzPzogUmVsVHlwZTxSU1tLXT5bJ2F0dHInXSxcbiAgKSB7XG4gICAgY29uc3QgY29sOiBSZWxhdGlvbnNoaXBDb2xsZWN0aW9uPGFueT4gPSB0aGlzLnNjaGVtYVtrZXldIGFzIGFueTtcbiAgICBjb2wuYWRkKGZyb20sIHRvLCBhdHRyaWJ1dGVzKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBGb2xsb3cgYSBsaW5rXG4gICAqL1xuICBwdWJsaWMgZm9sbG93PEsgZXh0ZW5kcyBrZXlvZiBSUz4oXG4gICAga2V5OiBLLFxuICAgIGZyb206IFJlbFR5cGU8UlNbS10+Wydmcm9tJ10sXG4gICk6IFJpY2hSZWFkb25seUFycmF5PExpbms8UmVsVHlwZTxSU1tLXT5bJ3RvJ10sIFJlbFR5cGU8UlNbS10+WydhdHRyJ10+PiB7XG4gICAgY29uc3QgY29sOiBSZWxhdGlvbnNoaXBDb2xsZWN0aW9uPGFueT4gPSB0aGlzLnNjaGVtYVtrZXldIGFzIGFueTtcbiAgICBjb25zdCB0b0xpbmtzID0gY29sLmZvcndhcmQuZ2V0KGZyb20uJGlkKSA/PyBbXTtcbiAgICBjb25zdCByZXQgPSB0b0xpbmtzLm1hcCgoaSkgPT4gKHsgZW50aXR5OiBjb2wudG9Db2xsKGkuJGlkKSwgLi4ucmVtb3ZlSWQoaSkgfSBhcyBhbnkpKTtcblxuICAgIHJldHVybiBhZGRPbmx5TWV0aG9kKHJldCwgYCR7U3RyaW5nKGtleSl9IGZyb20gJHtmcm9tfWApO1xuICB9XG5cbiAgLyoqXG4gICAqIEZvbGxvdyBpbmNvbWluZyBsaW5rcyBiYWNrd2FyZHNcbiAgICovXG4gIHB1YmxpYyBpbmNvbWluZzxLIGV4dGVuZHMga2V5b2YgUlM+KFxuICAgIGtleTogSyxcbiAgICB0bzogUmVsVHlwZTxSU1tLXT5bJ3RvJ10sXG4gICk6IFJpY2hSZWFkb25seUFycmF5PExpbms8UmVsVHlwZTxSU1tLXT5bJ2Zyb20nXSwgUmVsVHlwZTxSU1tLXT5bJ2F0dHInXT4+IHtcbiAgICBjb25zdCBjb2w6IFJlbGF0aW9uc2hpcENvbGxlY3Rpb248YW55PiA9IHRoaXMuc2NoZW1hW2tleV0gYXMgYW55O1xuICAgIGNvbnN0IGZyb21JZHMgPSBjb2wuYmFja3dhcmQuZ2V0KHRvLiRpZCkgPz8gW107XG4gICAgY29uc3QgcmV0ID0gZnJvbUlkcy5tYXAoKGkpID0+ICh7IGVudGl0eTogY29sLmZyb21Db2xsKGkuJGlkKSwgLi4ucmVtb3ZlSWQoaSkgfSBhcyBhbnkpKTtcblxuICAgIHJldHVybiBhZGRPbmx5TWV0aG9kKHJldCwgYCR7U3RyaW5nKGtleSl9IHRvICR7dG99YCk7XG4gIH1cblxuICBwdWJsaWMgZTxFIGV4dGVuZHMgRW50aXR5PihlbnRpdHk6IFBsYWluPEU+KTogRSB7XG4gICAgcmV0dXJuIHtcbiAgICAgICRpZDogdGhpcy5pZCgpLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH0gYXMgYW55O1xuICB9XG5cbiAgLyoqXG4gICAqIFR1cm4gdGhlIGN1cnJlbnQgZGF0YWJhc2UgY29sbGVjdGlvbiBpbnRvIHNvbWV0aGluZyB0aGF0IGNhbiBiZSBzdG9yZWQuXG4gICAqL1xuICBwdWJsaWMgc2F2ZSgpOiBEZWh5ZHJhdGVkRGF0YWJhc2Uge1xuICAgIHJldHVybiB7XG4gICAgICBpZEN0cjogdGhpcy5pZEN0cixcbiAgICAgIHNjaGVtYTogZGVoeWRyYXRlKHRoaXMuc2NoZW1hKSxcbiAgICB9O1xuXG4gICAgZnVuY3Rpb24gZGVoeWRyYXRlKHg6IHVua25vd24pOiBhbnkge1xuICAgICAgaWYgKGlzRW50aXR5Q29sbGVjdGlvbih4KSkge1xuICAgICAgICByZXR1cm4geC5kZWh5ZHJhdGUoKTtcbiAgICAgIH1cbiAgICAgIGlmIChpc1JlbGF0aW9uc2hpcENvbGxlY3Rpb24oeCkpIHtcbiAgICAgICAgcmV0dXJuIHguZGVoeWRyYXRlKCk7XG4gICAgICB9XG4gICAgICBpZiAoQXJyYXkuaXNBcnJheSh4KSkge1xuICAgICAgICByZXR1cm4geC5tYXAoZGVoeWRyYXRlKTtcbiAgICAgIH1cbiAgICAgIGlmICghIXggJiYgdHlwZW9mIHggPT09ICdvYmplY3QnKSB7XG4gICAgICAgIHJldHVybiBPYmplY3QuZnJvbUVudHJpZXMoT2JqZWN0LmVudHJpZXMoeCkubWFwKChbaywgdl0pID0+IFtrLCBkZWh5ZHJhdGUodildKSk7XG4gICAgICB9XG4gICAgICByZXR1cm4geDtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgbG9hZChkYjogRGVoeWRyYXRlZERhdGFiYXNlKSB7XG4gICAgdGhpcy5pZEN0ciA9IGRiLmlkQ3RyO1xuICAgIGh5ZHJhdGUodGhpcy5zY2hlbWEsIGRiLnNjaGVtYSk7XG5cbiAgICBmdW5jdGlvbiBoeWRyYXRlKHByb3RvOiB1bmtub3duLCB4OiB1bmtub3duKTogdm9pZCB7XG4gICAgICBpZiAoaXNFbnRpdHlDb2xsZWN0aW9uKHByb3RvKSkge1xuICAgICAgICBwcm90by5oeWRyYXRlRnJvbSh4KTtcbiAgICAgIH1cbiAgICAgIGlmIChpc1JlbGF0aW9uc2hpcENvbGxlY3Rpb24ocHJvdG8pKSB7XG4gICAgICAgIHByb3RvLmh5ZHJhdGVGcm9tKHgpO1xuICAgICAgfVxuICAgICAgaWYgKEFycmF5LmlzQXJyYXkoeCkpIHtcbiAgICAgICAgeC5mb3JFYWNoKGh5ZHJhdGUpO1xuICAgICAgfVxuICAgICAgaWYgKCEhcHJvdG8gJiYgdHlwZW9mIHByb3RvID09PSAnb2JqZWN0JyAmJiAhIXggJiYgdHlwZW9mIHggPT09ICdvYmplY3QnKSB7XG4gICAgICAgIGZvciAoY29uc3QgW2ssIHZdIG9mIE9iamVjdC5lbnRyaWVzKHByb3RvKSkge1xuICAgICAgICAgIGNvbnN0IGRlaHlkcmF0ZWREYXRhID0gKHggYXMgYW55KVtrXTtcbiAgICAgICAgICBpZiAoZGVoeWRyYXRlZERhdGEgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgLy8gTWF5IGJlIG1pc3NpbmcgaWYgdGhpcyBpcyBmcm9tIGEgZGF0YWJhc2UgY3JlYXRlZCBmcm9tIGFuIG9sZCB2ZXJzaW9uIG9mIHRoZSBzY2hlbWFcbiAgICAgICAgICAgIGh5ZHJhdGUodiwgZGVoeWRyYXRlZERhdGEpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuXG5pbnRlcmZhY2UgRGVoeWRyYXRlZERhdGFiYXNlIHtcbiAgcmVhZG9ubHkgaWRDdHI6IG51bWJlcjtcbiAgcmVhZG9ubHkgc2NoZW1hOiBhbnk7XG59XG5cbmZ1bmN0aW9uIHJlbW92ZUlkPEEgZXh0ZW5kcyBvYmplY3Q+KHg6IEEpOiBPbWl0PEEsICckaWQnPiB7XG4gIGNvbnN0IHJldCA9IHsgLi4ueCB9O1xuICBkZWxldGUgKHJldCBhcyBhbnkpLiRpZDtcbiAgcmV0dXJuIHJldDtcbn1cblxuZXhwb3J0IHR5cGUgTGluazxFLCBBPiA9IHsgcmVhZG9ubHkgZW50aXR5OiBFIH0gJiBBO1xuXG50eXBlIFJlbFdBdHRyczxSUz4gPSB7IFtLIGluIGtleW9mIFJTXToge30gZXh0ZW5kcyBSZWxUeXBlPFJTW0tdPlsnYXR0ciddID8gbmV2ZXIgOiBLIH1ba2V5b2YgUlNdO1xudHlwZSBSZWxXb0F0dHJzPFJTPiA9IHsgW0sgaW4ga2V5b2YgUlNdOiB7fSBleHRlbmRzIFJlbFR5cGU8UlNbS10+WydhdHRyJ10gPyBLIDogbmV2ZXIgfVtrZXlvZiBSU107XG5cbi8vIE5lY2Vzc2FyeSBiZWNhdXNlIHRoaXMgdHlwZSBtaWdodCBiZSBhIHVuaW9uXG50eXBlIEluZGV4TmFtZXNPZjxBPiA9IEEgZXh0ZW5kcyBFbnRpdHlDb2xsZWN0aW9uPGFueT4gPyBLZXlzT2ZVbmlvbjxBWydpbmRleGVzJ10+IDogbmV2ZXI7XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBwcmV0dGllci9wcmV0dGllclxudHlwZSBJbmRleE9mPEVDLCBJIGV4dGVuZHMgSW5kZXhOYW1lc09mPEVDPj4gPVxuICBFQyBleHRlbmRzIEVudGl0eUNvbGxlY3Rpb248YW55PlxuICA/IEVDWydpbmRleGVzJ11bSV0gZXh0ZW5kcyBFbnRpdHlJbmRleDxhbnksIGluZmVyIEluZGV4VHlwZT5cbiAgICA/IHtcbiAgICAgICAgdmFsdWVUeXBlOiBJbmRleFR5cGU7XG4gICAgICAgIGxvb2t1cHM6IGtleW9mIEVDWydpbmRleGVzJ11bSV1bJ2xvb2t1cHMnXTtcbiAgICAgIH1cbiAgICA6IG5ldmVyXG4gIDogbmV2ZXI7XG5cbnR5cGUgRW50aXR5VHlwZTxBPiA9IEEgZXh0ZW5kcyBFbnRpdHlDb2xsZWN0aW9uPGluZmVyIEI+ID8gQiA6IG5ldmVyO1xuXG50eXBlIFJlbFR5cGU8QT4gPSBBIGV4dGVuZHMgUmVsYXRpb25zaGlwQ29sbGVjdGlvbjxpbmZlciBSPiA/IFIgOiBuZXZlcjtcblxudHlwZSBSZXNvbHZlVW5pb248VD4gPSBUIGV4dGVuZHMgVCA/IFQgOiBuZXZlcjtcblxudHlwZSBLZXlzT2ZVbmlvbjxUPiA9IGtleW9mIFJlc29sdmVVbmlvbjxUPjtcblxuZXhwb3J0IHR5cGUgRW50aXRpZXNPZjxEQj4gPSBEQiBleHRlbmRzIERhdGFiYXNlPGluZmVyIEVTLCBhbnk+ID8geyBbayBpbiBrZXlvZiBFU106IEVudGl0eVR5cGU8RVNba10+IH0gOiB7fTtcblxuZXhwb3J0IGludGVyZmFjZSBSaWNoUmVhZG9ubHlBcnJheTxBPiBleHRlbmRzIFJlYWRvbmx5QXJyYXk8QT4ge1xuICAvKipcbiAgICogUmV0dXJuIHRoZSBmaXJzdCBhbmQgb25seSBlbGVtZW50LCB0aHJvd2luZyBpZiB0aGVyZSBhcmUgIT0gMSBlbGVtZW50c1xuICAgKi9cbiAgb25seSgpOiBBO1xufVxuXG5mdW5jdGlvbiBhZGRPbmx5TWV0aG9kPEE+KHhzOiBBW10sIGRlc2NyaXB0aW9uOiBzdHJpbmcpOiBSaWNoUmVhZG9ubHlBcnJheTxBPiB7XG4gIHJldHVybiBPYmplY3QuZGVmaW5lUHJvcGVydGllcyh4cywge1xuICAgIG9ubHk6IHtcbiAgICAgIGVudW1lcmFibGU6IGZhbHNlLFxuICAgICAgdmFsdWU6ICgpID0+IHtcbiAgICAgICAgaWYgKHhzLmxlbmd0aCAhPT0gMSkge1xuICAgICAgICAgIHRocm93IG5ldyBFcnJvcihgRXhwZWN0ZWQgZXhhY3RseSAxICR7ZGVzY3JpcHRpb259LCBmb3VuZCAke3hzLmxlbmd0aH1gKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4geHNbMF07XG4gICAgICB9LFxuICAgIH0sXG4gIH0pIGFzIGFueTtcbn1cblxuLyoqXG4gKiBSZXR1cm4gdGhlIGtleXMgb2YgYW4gb2JqZWN0IHRoYXQgbWFwIHRvIGEgcGFydGljdWxhciB0eXBlXG4gKi9cbnR5cGUgS2V5c0ZvcjxPIGV4dGVuZHMgb2JqZWN0LCBUPiA9IHsgW2sgaW4ga2V5b2YgT106IE9ba10gZXh0ZW5kcyBUID8gayA6IG5ldmVyIH1ba2V5b2YgT107XG4iXX0=","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.optionalCmp = exports.numberCmp = exports.stringCmp = exports.ref = exports.isEntityCollection = exports.calculatedIndex = exports.fieldIndex = exports.entityCollection = void 0;\nconst sorted_map_1 = require(\"./sorted-map\");\nfunction entityCollection() {\n const entities = new Map();\n const _indexes = {};\n function add(x) {\n entities.set(x.$id, x);\n for (const index of Object.values(_indexes)) {\n // FIXME: why can't we type this?\n index.add(x);\n }\n }\n return {\n type: 'entities',\n entities,\n indexes: _indexes,\n add,\n dehydrate: () => ({\n type: 'entities',\n entities: Array.from(validatePlainObjects(entities).values()),\n }),\n hydrateFrom: (x) => {\n entities.clear();\n for (const e of Object.values(x.entities)) {\n add(e);\n }\n },\n index(indexes) {\n // This limitation exists purely because I couldn't type it otherwise.\n // Declaring a return type of `EntityCollection` would make a lot\n // of our other type inspection code stop working (the union is hard to pick\n // apart). Since adding indexes in multiple goes is not really a use case,\n // the simpler solution is just to type it as if we replaced all indexes\n // and add a runtime check to make sure the types aren't lying.\n if (Object.keys(_indexes).length > 0) {\n throw new Error('You may only call .index() once on a new collection');\n }\n Object.assign(_indexes, indexes);\n return this;\n },\n };\n}\nexports.entityCollection = entityCollection;\n/**\n * An index that uses the value of an entity's field\n */\nfunction fieldIndex(propName, comparator) {\n return calculatedIndex((x) => x[propName], comparator);\n}\nexports.fieldIndex = fieldIndex;\n/**\n * An index that is calculated based on a function applied to an entity\n */\nfunction calculatedIndex(fn, comparator) {\n const index = [];\n return {\n add: (x) => sorted_map_1.sortedMap.add(index, comparator, fn(x), x.$id),\n lookups: {\n equals: (value) => sorted_map_1.sortedMap.findAll(index, comparator, value),\n },\n index,\n };\n}\nexports.calculatedIndex = calculatedIndex;\nfunction isEntityCollection(x) {\n return typeof x === 'object' && !!x && x.type === 'entities';\n}\nexports.isEntityCollection = isEntityCollection;\nfunction validatePlainObjects(xs) {\n for (const x of xs.values()) {\n if (x.constructor !== Object) {\n throw new Error(`Entities should be plain-text objects, got instance of ${x.constructor}`);\n }\n }\n return xs;\n}\nfunction ref(x) {\n return typeof x === 'string' ? { $ref: x } : { $ref: x.$id };\n}\nexports.ref = ref;\n/**\n * Determines whether two strings are equivalent in the current or specified locale.\n */\nfunction stringCmp(a, b) {\n return a.localeCompare(b);\n}\nexports.stringCmp = stringCmp;\n/**\n * Determines whether two numbers are equivalent.\n */\nfunction numberCmp(a, b) {\n return a - b;\n}\nexports.numberCmp = numberCmp;\n/**\n * Creates a comparator to determine equivalent of two values, using a given comparator, but allows values to be optional.\n *\n * @param frontOrder If `true`, returns so that undefined values are ordered at the front. If `false`, undefined values are ordered at the back.\n */\nfunction optionalCmp(cmp, frontOrder = true) {\n return (a, b) => {\n if (a == undefined && b != undefined) {\n return frontOrder ? -1 : 1;\n }\n if (a != undefined && b == undefined) {\n return frontOrder ? 1 : -1;\n }\n if (a == undefined && b == undefined) {\n return 0;\n }\n return cmp(a, b);\n };\n}\nexports.optionalCmp = optionalCmp;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2VudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2Q0FBeUQ7QUE0RXpELFNBQWdCLGdCQUFnQjtJQUM5QixNQUFNLFFBQVEsR0FBRyxJQUFJLEdBQUcsRUFBYSxDQUFDO0lBQ3RDLE1BQU0sUUFBUSxHQUFHLEVBQUUsQ0FBQztJQUVwQixTQUFTLEdBQUcsQ0FBQyxDQUFJO1FBQ2YsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUFDO1FBQ3ZCLEtBQUssTUFBTSxLQUFLLElBQUksTUFBTSxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsRUFBRTtZQUMzQyxpQ0FBaUM7WUFDaEMsS0FBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztTQUN2QjtJQUNILENBQUM7SUFFRCxPQUFPO1FBQ0wsSUFBSSxFQUFFLFVBQVU7UUFDaEIsUUFBUTtRQUNSLE9BQU8sRUFBRSxRQUFlO1FBQ3hCLEdBQUc7UUFDSCxTQUFTLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQztZQUNoQixJQUFJLEVBQUUsVUFBVTtZQUNoQixRQUFRLEVBQUUsS0FBSyxDQUFDLElBQUksQ0FBQyxvQkFBb0IsQ0FBQyxRQUFRLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQztTQUM5RCxDQUFDO1FBQ0YsV0FBVyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7WUFDakIsUUFBUSxDQUFDLEtBQUssRUFBRSxDQUFDO1lBQ2pCLEtBQUssTUFBTSxDQUFDLElBQUksTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUU7Z0JBQ3pDLEdBQUcsQ0FBQyxDQUFRLENBQUMsQ0FBQzthQUNmO1FBQ0gsQ0FBQztRQUNELEtBQUssQ0FBQyxPQUFPO1lBQ1gsc0VBQXNFO1lBQ3RFLDRFQUE0RTtZQUM1RSw0RUFBNEU7WUFDNUUsMEVBQTBFO1lBQzFFLHdFQUF3RTtZQUN4RSwrREFBK0Q7WUFDL0QsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7Z0JBQ3BDLE1BQU0sSUFBSSxLQUFLLENBQUMscURBQXFELENBQUMsQ0FBQzthQUN4RTtZQUNELE1BQU0sQ0FBQyxNQUFNLENBQUMsUUFBUSxFQUFFLE9BQU8sQ0FBQyxDQUFDO1lBQ2pDLE9BQU8sSUFBVyxDQUFDO1FBQ3JCLENBQUM7S0FDRixDQUFDO0FBQ0osQ0FBQztBQXpDRCw0Q0F5Q0M7QUFFRDs7R0FFRztBQUNILFNBQWdCLFVBQVUsQ0FDeEIsUUFBVyxFQUNYLFVBQXNDO0lBRXRDLE9BQU8sZUFBZSxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsVUFBVSxDQUFDLENBQUM7QUFDekQsQ0FBQztBQUxELGdDQUtDO0FBRUQ7O0dBRUc7QUFDSCxTQUFnQixlQUFlLENBQXNCLEVBQWUsRUFBRSxVQUFtQztJQUN2RyxNQUFNLEtBQUssR0FBOEIsRUFBRSxDQUFDO0lBQzVDLE9BQU87UUFDTCxHQUFHLEVBQUUsQ0FBQyxDQUFJLEVBQUUsRUFBRSxDQUFDLHNCQUFTLENBQUMsR0FBRyxDQUFDLEtBQUssRUFBRSxVQUFVLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxHQUFHLENBQUM7UUFDN0QsT0FBTyxFQUFFO1lBQ1AsTUFBTSxFQUFFLENBQUMsS0FBUSxFQUFFLEVBQUUsQ0FBQyxzQkFBUyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsVUFBVSxFQUFFLEtBQUssQ0FBQztTQUMzRDtRQUNSLEtBQUs7S0FDTixDQUFDO0FBQ0osQ0FBQztBQVRELDBDQVNDO0FBRUQsU0FBZ0Isa0JBQWtCLENBQUMsQ0FBVTtJQUMzQyxPQUFPLE9BQU8sQ0FBQyxLQUFLLFFBQVEsSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFLLENBQVMsQ0FBQyxJQUFJLEtBQUssVUFBVSxDQUFDO0FBQ3hFLENBQUM7QUFGRCxnREFFQztBQUVELFNBQVMsb0JBQW9CLENBQW1CLEVBQWtCO0lBQ2hFLEtBQUssTUFBTSxDQUFDLElBQUksRUFBRSxDQUFDLE1BQU0sRUFBRSxFQUFFO1FBQzNCLElBQUksQ0FBQyxDQUFDLFdBQVcsS0FBSyxNQUFNLEVBQUU7WUFDNUIsTUFBTSxJQUFJLEtBQUssQ0FBQywwREFBMEQsQ0FBQyxDQUFDLFdBQVcsRUFBRSxDQUFDLENBQUM7U0FDNUY7S0FDRjtJQUNELE9BQU8sRUFBRSxDQUFDO0FBQ1osQ0FBQztBQU1ELFNBQWdCLEdBQUcsQ0FBbUIsQ0FBYTtJQUNqRCxPQUFPLE9BQU8sQ0FBQyxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUMvRCxDQUFDO0FBRkQsa0JBRUM7QUFFRDs7R0FFRztBQUNILFNBQWdCLFNBQVMsQ0FBQyxDQUFTLEVBQUUsQ0FBUztJQUM1QyxPQUFPLENBQUMsQ0FBQyxhQUFhLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDNUIsQ0FBQztBQUZELDhCQUVDO0FBRUQ7O0dBRUc7QUFDSCxTQUFnQixTQUFTLENBQUMsQ0FBUyxFQUFFLENBQVM7SUFDNUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ2YsQ0FBQztBQUZELDhCQUVDO0FBRUQ7Ozs7R0FJRztBQUNILFNBQWdCLFdBQVcsQ0FBSSxHQUEyQixFQUFFLFVBQVUsR0FBRyxJQUFJO0lBQzNFLE9BQU8sQ0FBQyxDQUFnQixFQUFFLENBQWdCLEVBQUUsRUFBRTtRQUM1QyxJQUFJLENBQUMsSUFBSSxTQUFTLElBQUksQ0FBQyxJQUFJLFNBQVMsRUFBRTtZQUNwQyxPQUFPLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztTQUM1QjtRQUNELElBQUksQ0FBQyxJQUFJLFNBQVMsSUFBSSxDQUFDLElBQUksU0FBUyxFQUFFO1lBQ3BDLE9BQU8sVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO1NBQzVCO1FBQ0QsSUFBSSxDQUFDLElBQUksU0FBUyxJQUFJLENBQUMsSUFBSSxTQUFTLEVBQUU7WUFDcEMsT0FBTyxDQUFDLENBQUM7U0FDVjtRQUVELE9BQU8sR0FBRyxDQUFDLENBQUUsRUFBRSxDQUFFLENBQUMsQ0FBQztJQUNyQixDQUFDLENBQUM7QUFDSixDQUFDO0FBZEQsa0NBY0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzb3J0ZWRNYXAsIFNvcnRlZE11bHRpTWFwIH0gZnJvbSAnLi9zb3J0ZWQtbWFwJztcblxuZXhwb3J0IGludGVyZmFjZSBFbnRpdHkge1xuICByZWFkb25seSAkaWQ6IHN0cmluZztcbn1cblxuZXhwb3J0IHR5cGUgUGxhaW48RSBleHRlbmRzIEVudGl0eT4gPSBPbWl0PEUsICckaWQnPjtcblxudHlwZSBJbmRleGVzPEEgZXh0ZW5kcyBFbnRpdHk+ID0geyBbSyBpbiBQcm9wZXJ0eUtleV06IEVudGl0eUluZGV4PEEsIGFueT4gfTtcblxuZXhwb3J0IGludGVyZmFjZSBFbnRpdHlDb2xsZWN0aW9uPEEgZXh0ZW5kcyBFbnRpdHksIEkgZXh0ZW5kcyBJbmRleGVzPEVudGl0eT4gPSB7fT4ge1xuICByZWFkb25seSB0eXBlOiAnZW50aXRpZXMnO1xuICByZWFkb25seSBlbnRpdGllczogTWFwPHN0cmluZywgQT47XG4gIHJlYWRvbmx5IGluZGV4ZXM6IEk7XG5cbiAgYWRkKHg6IEEpOiB2b2lkO1xuICBkZWh5ZHJhdGUoKTogYW55O1xuICBoeWRyYXRlRnJvbSh4OiBhbnkpOiB2b2lkO1xuXG4gIC8qKlxuICAgKiBBZGQgaW5kZXhlcyB0byB0aGlzIGNvbGxlY3Rpb25cbiAgICpcbiAgICogQ3JlYXRpbmcgYW4gaW5kZXhlZCBjb2xsZWN0aW9uIGlzIGEgdHdvLXN0ZXAgb3BlcmF0aW9uIHNvIHRoYXQgd2UgY2FuIHNwZWNpZnkgdGhlXG4gICAqIEVudGl0eSB0eXBlLCBidXQgaW5mZXIgdGhlIGluZGV4IHR5cGVzIChUeXBlU2NyaXB0IGRvZXMgbm90IGFsbG93IGJvdGggc3BlY2lmeWluZyBBTkRcbiAgICogaW5mZXJyaW5nIGdlbmVyaWMgYXJndW1lbnRzIGluIGEgc2luZ2xlIGNhbGwpLlxuICAgKi9cbiAgaW5kZXg8SUkgZXh0ZW5kcyBJbmRleGVzPEE+PihpbmRleGVzOiBJSSk6IEVudGl0eUNvbGxlY3Rpb248QSwgSUk+O1xufVxuXG4vKipcbiAqIEludGVyZmFjZSBmb3IgaW5kZXggb2JqZWN0c1xuICovXG5leHBvcnQgaW50ZXJmYWNlIEVudGl0eUluZGV4PEEgZXh0ZW5kcyBFbnRpdHksIEluZGV4VHlwZT4ge1xuICAvKipcbiAgICogVGhlIGxvb2t1cHMgdGhhdCB0aGUgaW5kZXhlZCBmaWVsZCB0eXBlIGFmZm9yZHNcbiAgICpcbiAgICogRm9yIGV4YW1wbGUsICdlcXVhbHMnLCAnbGVzc1RoYW4nLCAncHJlZml4JywgZXRjLlxuICAgKi9cbiAgcmVhZG9ubHkgbG9va3VwczogSW5kZXhMb29rdXBzPEluZGV4VHlwZT47XG5cbiAgLyoqXG4gICAqIFRoZSBpbmRleCBkYXRhIHN0b3JlXG4gICAqL1xuICByZWFkb25seSBpbmRleDogU29ydGVkTXVsdGlNYXA8SW5kZXhUeXBlLCBzdHJpbmc+O1xuXG4gIC8qKlxuICAgKiBBZGQgYW4gZW50aXR5IHRvIHRoZSBpbmRleFxuICAgKi9cbiAgYWRkKHg6IEEpOiB2b2lkO1xufVxuXG4vKipcbiAqIE1hcCBhIHR5cGUgdGhlIHR5cGVzIG9mIGxvb2t1cHMgd2UgY2FuIGRvIG9uIHRoYXQgdHlwZVxuICovXG5leHBvcnQgdHlwZSBJbmRleExvb2t1cHM8UD4gPSBbUF0gZXh0ZW5kcyBbc3RyaW5nXVxuICA/IFN0cmluZ0luZGV4TG9va3Vwc1xuICA6IFtQXSBleHRlbmRzIFtzdHJpbmcgfCB1bmRlZmluZWRdXG4gID8gT3B0aW9uYWxTdHJpbmdJbmRleExvb2t1cHNcbiAgOiB7fTtcblxuLyoqXG4gKiBBbGwgdGhlIGxvb2t1cHMgb24gJ3N0cmluZycgdHlwZXNcbiAqXG4gKiBXZSBjdXJyZW50bHkgb25seSBoYXZlICdlcXVhbHMnIGJ1dCB3ZSBjb3VsZCBoYXZlIG1vcmUgOilcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBTdHJpbmdJbmRleExvb2t1cHMge1xuICBlcXVhbHMoeDogc3RyaW5nKTogc3RyaW5nW107XG59XG5cbi8qKlxuICogQWxsIHRoZSBsb29rdXBzIG9uICdzdHJpbmcgfCB1bmRlZmluZWQnIHR5cGVzXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgT3B0aW9uYWxTdHJpbmdJbmRleExvb2t1cHMge1xuICBlcXVhbHMoeDogc3RyaW5nIHwgdW5kZWZpbmVkKTogc3RyaW5nW107XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBlbnRpdHlDb2xsZWN0aW9uPEEgZXh0ZW5kcyBFbnRpdHk+KCk6IEVudGl0eUNvbGxlY3Rpb248QSwge30+IHtcbiAgY29uc3QgZW50aXRpZXMgPSBuZXcgTWFwPHN0cmluZywgQT4oKTtcbiAgY29uc3QgX2luZGV4ZXMgPSB7fTtcblxuICBmdW5jdGlvbiBhZGQoeDogQSkge1xuICAgIGVudGl0aWVzLnNldCh4LiRpZCwgeCk7XG4gICAgZm9yIChjb25zdCBpbmRleCBvZiBPYmplY3QudmFsdWVzKF9pbmRleGVzKSkge1xuICAgICAgLy8gRklYTUU6IHdoeSBjYW4ndCB3ZSB0eXBlIHRoaXM/XG4gICAgICAoaW5kZXggYXMgYW55KS5hZGQoeCk7XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIHtcbiAgICB0eXBlOiAnZW50aXRpZXMnLFxuICAgIGVudGl0aWVzLFxuICAgIGluZGV4ZXM6IF9pbmRleGVzIGFzIGFueSxcbiAgICBhZGQsXG4gICAgZGVoeWRyYXRlOiAoKSA9PiAoe1xuICAgICAgdHlwZTogJ2VudGl0aWVzJyxcbiAgICAgIGVudGl0aWVzOiBBcnJheS5mcm9tKHZhbGlkYXRlUGxhaW5PYmplY3RzKGVudGl0aWVzKS52YWx1ZXMoKSksXG4gICAgfSksXG4gICAgaHlkcmF0ZUZyb206ICh4KSA9PiB7XG4gICAgICBlbnRpdGllcy5jbGVhcigpO1xuICAgICAgZm9yIChjb25zdCBlIG9mIE9iamVjdC52YWx1ZXMoeC5lbnRpdGllcykpIHtcbiAgICAgICAgYWRkKGUgYXMgYW55KTtcbiAgICAgIH1cbiAgICB9LFxuICAgIGluZGV4KGluZGV4ZXMpIHtcbiAgICAgIC8vIFRoaXMgbGltaXRhdGlvbiBleGlzdHMgcHVyZWx5IGJlY2F1c2UgSSBjb3VsZG4ndCB0eXBlIGl0IG90aGVyd2lzZS5cbiAgICAgIC8vIERlY2xhcmluZyBhIHJldHVybiB0eXBlIG9mIGBFbnRpdHlDb2xsZWN0aW9uPEEsIEkgfCBJST5gIHdvdWxkIG1ha2UgYSBsb3RcbiAgICAgIC8vIG9mIG91ciBvdGhlciB0eXBlIGluc3BlY3Rpb24gY29kZSBzdG9wIHdvcmtpbmcgKHRoZSB1bmlvbiBpcyBoYXJkIHRvIHBpY2tcbiAgICAgIC8vIGFwYXJ0KS4gU2luY2UgYWRkaW5nIGluZGV4ZXMgaW4gbXVsdGlwbGUgZ29lcyBpcyBub3QgcmVhbGx5IGEgdXNlIGNhc2UsXG4gICAgICAvLyB0aGUgc2ltcGxlciBzb2x1dGlvbiBpcyBqdXN0IHRvIHR5cGUgaXQgYXMgaWYgd2UgcmVwbGFjZWQgYWxsIGluZGV4ZXNcbiAgICAgIC8vIGFuZCBhZGQgYSBydW50aW1lIGNoZWNrIHRvIG1ha2Ugc3VyZSB0aGUgdHlwZXMgYXJlbid0IGx5aW5nLlxuICAgICAgaWYgKE9iamVjdC5rZXlzKF9pbmRleGVzKS5sZW5ndGggPiAwKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcignWW91IG1heSBvbmx5IGNhbGwgLmluZGV4KCkgb25jZSBvbiBhIG5ldyBjb2xsZWN0aW9uJyk7XG4gICAgICB9XG4gICAgICBPYmplY3QuYXNzaWduKF9pbmRleGVzLCBpbmRleGVzKTtcbiAgICAgIHJldHVybiB0aGlzIGFzIGFueTtcbiAgICB9LFxuICB9O1xufVxuXG4vKipcbiAqIEFuIGluZGV4IHRoYXQgdXNlcyB0aGUgdmFsdWUgb2YgYW4gZW50aXR5J3MgZmllbGRcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGZpZWxkSW5kZXg8QSBleHRlbmRzIEVudGl0eSwgUCBleHRlbmRzIGtleW9mIEE+KFxuICBwcm9wTmFtZTogUCxcbiAgY29tcGFyYXRvcjogc29ydGVkTWFwLkNvbXBhcmF0b3I8QVtQXT4sXG4pOiBFbnRpdHlJbmRleDxBLCBBW1BdPiB7XG4gIHJldHVybiBjYWxjdWxhdGVkSW5kZXgoKHgpID0+IHhbcHJvcE5hbWVdLCBjb21wYXJhdG9yKTtcbn1cblxuLyoqXG4gKiBBbiBpbmRleCB0aGF0IGlzIGNhbGN1bGF0ZWQgYmFzZWQgb24gYSBmdW5jdGlvbiBhcHBsaWVkIHRvIGFuIGVudGl0eVxuICovXG5leHBvcnQgZnVuY3Rpb24gY2FsY3VsYXRlZEluZGV4PEEgZXh0ZW5kcyBFbnRpdHksIEI+KGZuOiAoeDogQSkgPT4gQiwgY29tcGFyYXRvcjogc29ydGVkTWFwLkNvbXBhcmF0b3I8Qj4pIHtcbiAgY29uc3QgaW5kZXg6IFNvcnRlZE11bHRpTWFwPEIsIHN0cmluZz4gPSBbXTtcbiAgcmV0dXJuIHtcbiAgICBhZGQ6ICh4OiBBKSA9PiBzb3J0ZWRNYXAuYWRkKGluZGV4LCBjb21wYXJhdG9yLCBmbih4KSwgeC4kaWQpLFxuICAgIGxvb2t1cHM6IHtcbiAgICAgIGVxdWFsczogKHZhbHVlOiBCKSA9PiBzb3J0ZWRNYXAuZmluZEFsbChpbmRleCwgY29tcGFyYXRvciwgdmFsdWUpLFxuICAgIH0gYXMgYW55LFxuICAgIGluZGV4LFxuICB9O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gaXNFbnRpdHlDb2xsZWN0aW9uKHg6IHVua25vd24pOiB4IGlzIEVudGl0eUNvbGxlY3Rpb248YW55PiB7XG4gIHJldHVybiB0eXBlb2YgeCA9PT0gJ29iamVjdCcgJiYgISF4ICYmICh4IGFzIGFueSkudHlwZSA9PT0gJ2VudGl0aWVzJztcbn1cblxuZnVuY3Rpb24gdmFsaWRhdGVQbGFpbk9iamVjdHM8QSBleHRlbmRzIG9iamVjdD4oeHM6IE1hcDxzdHJpbmcsIEE+KTogTWFwPHN0cmluZywgQT4ge1xuICBmb3IgKGNvbnN0IHggb2YgeHMudmFsdWVzKCkpIHtcbiAgICBpZiAoeC5jb25zdHJ1Y3RvciAhPT0gT2JqZWN0KSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYEVudGl0aWVzIHNob3VsZCBiZSBwbGFpbi10ZXh0IG9iamVjdHMsIGdvdCBpbnN0YW5jZSBvZiAke3guY29uc3RydWN0b3J9YCk7XG4gICAgfVxuICB9XG4gIHJldHVybiB4cztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBSZWZlcmVuY2U8RSBleHRlbmRzIEVudGl0eT4ge1xuICByZWFkb25seSAkcmVmOiBFWyckaWQnXTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHJlZjxFIGV4dGVuZHMgRW50aXR5Pih4OiBFIHwgc3RyaW5nKTogUmVmZXJlbmNlPEU+IHtcbiAgcmV0dXJuIHR5cGVvZiB4ID09PSAnc3RyaW5nJyA/IHsgJHJlZjogeCB9IDogeyAkcmVmOiB4LiRpZCB9O1xufVxuXG4vKipcbiAqIERldGVybWluZXMgd2hldGhlciB0d28gc3RyaW5ncyBhcmUgZXF1aXZhbGVudCBpbiB0aGUgY3VycmVudCBvciBzcGVjaWZpZWQgbG9jYWxlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gc3RyaW5nQ21wKGE6IHN0cmluZywgYjogc3RyaW5nKTogbnVtYmVyIHtcbiAgcmV0dXJuIGEubG9jYWxlQ29tcGFyZShiKTtcbn1cblxuLyoqXG4gKiBEZXRlcm1pbmVzIHdoZXRoZXIgdHdvIG51bWJlcnMgYXJlIGVxdWl2YWxlbnQuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBudW1iZXJDbXAoYTogbnVtYmVyLCBiOiBudW1iZXIpOiBudW1iZXIge1xuICByZXR1cm4gYSAtIGI7XG59XG5cbi8qKlxuICogQ3JlYXRlcyBhIGNvbXBhcmF0b3IgdG8gZGV0ZXJtaW5lIGVxdWl2YWxlbnQgb2YgdHdvIHZhbHVlcywgdXNpbmcgYSBnaXZlbiBjb21wYXJhdG9yLCBidXQgYWxsb3dzIHZhbHVlcyB0byBiZSBvcHRpb25hbC5cbiAqXG4gKiBAcGFyYW0gZnJvbnRPcmRlciBJZiBgdHJ1ZWAsIHJldHVybnMgc28gdGhhdCB1bmRlZmluZWQgdmFsdWVzIGFyZSBvcmRlcmVkIGF0IHRoZSBmcm9udC4gSWYgYGZhbHNlYCwgdW5kZWZpbmVkIHZhbHVlcyBhcmUgb3JkZXJlZCBhdCB0aGUgYmFjay5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIG9wdGlvbmFsQ21wPEE+KGNtcDogKGE6IEEsIGI6IEEpID0+IG51bWJlciwgZnJvbnRPcmRlciA9IHRydWUpIHtcbiAgcmV0dXJuIChhOiBBIHwgdW5kZWZpbmVkLCBiOiBBIHwgdW5kZWZpbmVkKSA9PiB7XG4gICAgaWYgKGEgPT0gdW5kZWZpbmVkICYmIGIgIT0gdW5kZWZpbmVkKSB7XG4gICAgICByZXR1cm4gZnJvbnRPcmRlciA/IC0xIDogMTtcbiAgICB9XG4gICAgaWYgKGEgIT0gdW5kZWZpbmVkICYmIGIgPT0gdW5kZWZpbmVkKSB7XG4gICAgICByZXR1cm4gZnJvbnRPcmRlciA/IDEgOiAtMTtcbiAgICB9XG4gICAgaWYgKGEgPT0gdW5kZWZpbmVkICYmIGIgPT0gdW5kZWZpbmVkKSB7XG4gICAgICByZXR1cm4gMDtcbiAgICB9XG5cbiAgICByZXR1cm4gY21wKGEhLCBiISk7XG4gIH07XG59XG4iXX0=","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./entity\"), exports);\n__exportStar(require(\"./relationship\"), exports);\n__exportStar(require(\"./database\"), exports);\n__exportStar(require(\"./invariant\"), exports);\n__exportStar(require(\"./result\"), exports);\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDJDQUF5QjtBQUN6QixpREFBK0I7QUFDL0IsNkNBQTJCO0FBQzNCLDhDQUE0QjtBQUM1QiwyQ0FBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0eSc7XG5leHBvcnQgKiBmcm9tICcuL3JlbGF0aW9uc2hpcCc7XG5leHBvcnQgKiBmcm9tICcuL2RhdGFiYXNlJztcbmV4cG9ydCAqIGZyb20gJy4vaW52YXJpYW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVzdWx0JztcbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.impliesU = exports.implies = exports.evolutionInvariant = void 0;\nfunction evolutionInvariant(description, pred) {\n // TODO: Find a way\n Array.isArray(description);\n Array.isArray(pred);\n}\nexports.evolutionInvariant = evolutionInvariant;\nfunction implies(x, y) {\n return !x || y;\n}\nexports.implies = implies;\n/**\n * Implies, but treats 'undefined' as 'false'\n */\nfunction impliesU(x, y) {\n return !x || !!y;\n}\nexports.impliesU = impliesU;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YXJpYW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2ludmFyaWFudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFJQSxTQUFnQixrQkFBa0IsQ0FBSSxXQUFtQixFQUFFLElBQStCO0lBQ3hGLG1CQUFtQjtJQUNuQixLQUFLLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQzNCLEtBQUssQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDdEIsQ0FBQztBQUpELGdEQUlDO0FBRUQsU0FBZ0IsT0FBTyxDQUFDLENBQVUsRUFBRSxDQUFVO0lBQzVDLE9BQU8sQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQ2pCLENBQUM7QUFGRCwwQkFFQztBQUVEOztHQUVHO0FBQ0gsU0FBZ0IsUUFBUSxDQUFDLENBQXNCLEVBQUUsQ0FBc0I7SUFDckUsT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ25CLENBQUM7QUFGRCw0QkFFQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEludmFyaWFudCA9IHZvaWQ7XG5cbmV4cG9ydCB0eXBlIEV2b2x1dGlvbkludmFyaWFudFByZWQ8QT4gPSAocHJldmlvdXM6IEEsIGN1cnJlbnQ6IEEpID0+IGJvb2xlYW47XG5cbmV4cG9ydCBmdW5jdGlvbiBldm9sdXRpb25JbnZhcmlhbnQ8QT4oZGVzY3JpcHRpb246IHN0cmluZywgcHJlZDogRXZvbHV0aW9uSW52YXJpYW50UHJlZDxBPik6IEludmFyaWFudCB7XG4gIC8vIFRPRE86IEZpbmQgYSB3YXlcbiAgQXJyYXkuaXNBcnJheShkZXNjcmlwdGlvbik7XG4gIEFycmF5LmlzQXJyYXkocHJlZCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpbXBsaWVzKHg6IGJvb2xlYW4sIHk6IGJvb2xlYW4pIHtcbiAgcmV0dXJuICF4IHx8IHk7XG59XG5cbi8qKlxuICogSW1wbGllcywgYnV0IHRyZWF0cyAndW5kZWZpbmVkJyBhcyAnZmFsc2UnXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBpbXBsaWVzVSh4OiBib29sZWFuIHwgdW5kZWZpbmVkLCB5OiBib29sZWFuIHwgdW5kZWZpbmVkKSB7XG4gIHJldHVybiAheCB8fCAhIXk7XG59XG4iXX0=","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isRelationshipCollection = exports.relationshipCollection = exports.NO_RELATIONSHIPS = void 0;\nconst NO_RELATIONSHIPS = () => ({});\nexports.NO_RELATIONSHIPS = NO_RELATIONSHIPS;\nfunction relationshipCollection(fromField, toField) {\n const forward = new Map();\n const backward = new Map();\n function add(fromId, toId, attrs) {\n let f = forward.get(fromId);\n if (!f) {\n f = [];\n forward.set(fromId, f);\n }\n let b = backward.get(toId);\n if (!b) {\n b = [];\n backward.set(toId, b);\n }\n // Behaves like a set, only add new relationship if it is structurally distinct\n const forwardRel = { $id: toId, ...attrs };\n const forwardRelStr = JSON.stringify(forwardRel);\n const existingRelationship = f.find((x) => JSON.stringify(x) === forwardRelStr);\n if (!existingRelationship) {\n f.push(forwardRel);\n b.push({ $id: fromId, ...attrs });\n }\n }\n return {\n type: 'rel',\n fromColl: fromField,\n toColl: toField,\n forward,\n backward,\n add(from, to, attributes) {\n add(from.$id, to.$id, attributes);\n },\n dehydrate() {\n return {\n type: 'rel',\n forward: Object.fromEntries(forward.entries()),\n };\n },\n hydrateFrom(x) {\n forward.clear();\n backward.clear();\n for (const [fromId, targets] of Object.entries(x.forward)) {\n for (const target of targets) {\n add(fromId, target.$id, removeId(target));\n }\n }\n },\n };\n}\nexports.relationshipCollection = relationshipCollection;\nfunction isRelationshipCollection(x) {\n return typeof x === 'object' && !!x && x.type === 'rel';\n}\nexports.isRelationshipCollection = isRelationshipCollection;\nfunction removeId(x) {\n const ret = { ...x };\n delete ret.$id;\n return ret;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVsYXRpb25zaGlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3JlbGF0aW9uc2hpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUE2Qk8sTUFBTSxnQkFBZ0IsR0FBRyxHQUFHLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBQTlCLFFBQUEsZ0JBQWdCLG9CQUFjO0FBRTNDLFNBQWdCLHNCQUFzQixDQUNwQyxTQUF3QixFQUN4QixPQUFvQjtJQUVwQixNQUFNLE9BQU8sR0FBRyxJQUFJLEdBQUcsRUFBMkIsQ0FBQztJQUNuRCxNQUFNLFFBQVEsR0FBRyxJQUFJLEdBQUcsRUFBMkIsQ0FBQztJQUVwRCxTQUFTLEdBQUcsQ0FBQyxNQUFjLEVBQUUsSUFBWSxFQUFFLEtBQVU7UUFDbkQsSUFBSSxDQUFDLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUM1QixJQUFJLENBQUMsQ0FBQyxFQUFFO1lBQ04sQ0FBQyxHQUFHLEVBQUUsQ0FBQztZQUNQLE9BQU8sQ0FBQyxHQUFHLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDO1NBQ3hCO1FBQ0QsSUFBSSxDQUFDLEdBQUcsUUFBUSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUMzQixJQUFJLENBQUMsQ0FBQyxFQUFFO1lBQ04sQ0FBQyxHQUFHLEVBQUUsQ0FBQztZQUNQLFFBQVEsQ0FBQyxHQUFHLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDO1NBQ3ZCO1FBRUQsK0VBQStFO1FBQy9FLE1BQU0sVUFBVSxHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxHQUFHLEtBQUssRUFBRSxDQUFDO1FBQzNDLE1BQU0sYUFBYSxHQUFHLElBQUksQ0FBQyxTQUFTLENBQUMsVUFBVSxDQUFDLENBQUM7UUFDakQsTUFBTSxvQkFBb0IsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxLQUFLLGFBQWEsQ0FBQyxDQUFDO1FBRWhGLElBQUksQ0FBQyxvQkFBb0IsRUFBRTtZQUN6QixDQUFDLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1lBQ25CLENBQUMsQ0FBQyxJQUFJLENBQUMsRUFBRSxHQUFHLEVBQUUsTUFBTSxFQUFFLEdBQUcsS0FBSyxFQUFFLENBQUMsQ0FBQztTQUNuQztJQUNILENBQUM7SUFFRCxPQUFPO1FBQ0wsSUFBSSxFQUFFLEtBQUs7UUFDWCxRQUFRLEVBQUUsU0FBUztRQUNuQixNQUFNLEVBQUUsT0FBTztRQUNmLE9BQU87UUFDUCxRQUFRO1FBQ1IsR0FBRyxDQUFDLElBQVksRUFBRSxFQUFVLEVBQUUsVUFBZTtZQUMzQyxHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRSxFQUFFLENBQUMsR0FBRyxFQUFFLFVBQVUsQ0FBQyxDQUFDO1FBQ3BDLENBQUM7UUFDRCxTQUFTO1lBQ1AsT0FBTztnQkFDTCxJQUFJLEVBQUUsS0FBSztnQkFDWCxPQUFPLEVBQUUsTUFBTSxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsT0FBTyxFQUFFLENBQUM7YUFDL0MsQ0FBQztRQUNKLENBQUM7UUFDRCxXQUFXLENBQUMsQ0FBTTtZQUNoQixPQUFPLENBQUMsS0FBSyxFQUFFLENBQUM7WUFDaEIsUUFBUSxDQUFDLEtBQUssRUFBRSxDQUFDO1lBRWpCLEtBQUssTUFBTSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsSUFBSSxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsRUFBRTtnQkFDekQsS0FBSyxNQUFNLE1BQU0sSUFBSSxPQUEwQixFQUFFO29CQUMvQyxHQUFHLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxHQUFHLEVBQUUsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7aUJBQzNDO2FBQ0Y7UUFDSCxDQUFDO0tBQ0YsQ0FBQztBQUNKLENBQUM7QUF4REQsd0RBd0RDO0FBRUQsU0FBZ0Isd0JBQXdCLENBQUMsQ0FBVTtJQUNqRCxPQUFPLE9BQU8sQ0FBQyxLQUFLLFFBQVEsSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFLLENBQVMsQ0FBQyxJQUFJLEtBQUssS0FBSyxDQUFDO0FBQ25FLENBQUM7QUFGRCw0REFFQztBQUVELFNBQVMsUUFBUSxDQUFtQixDQUFJO0lBQ3RDLE1BQU0sR0FBRyxHQUFHLEVBQUUsR0FBRyxDQUFDLEVBQUUsQ0FBQztJQUNyQixPQUFRLEdBQVcsQ0FBQyxHQUFHLENBQUM7SUFDeEIsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRW50aXR5LCBFbnRpdHlDb2xsZWN0aW9uIH0gZnJvbSAnLi9lbnRpdHknO1xuXG5leHBvcnQgaW50ZXJmYWNlIFJlbGF0aW9uc2hpcDxGcm9tIGV4dGVuZHMgRW50aXR5LCBUbyBleHRlbmRzIEVudGl0eSwgQXR0cmlidXRlcyA9IHt9PiB7XG4gIHJlYWRvbmx5IGZyb206IEZyb207XG4gIHJlYWRvbmx5IHRvOiBUbztcbiAgcmVhZG9ubHkgYXR0cjogQXR0cmlidXRlcztcbn1cblxudHlwZSBGcm9tR2V0dGVyPFIgZXh0ZW5kcyBSZWxhdGlvbnNoaXA8YW55LCBhbnksIGFueT4+ID0gKGlkOiBzdHJpbmcpID0+IFJbJ2Zyb20nXTtcbnR5cGUgVG9HZXR0ZXI8UiBleHRlbmRzIFJlbGF0aW9uc2hpcDxhbnksIGFueSwgYW55Pj4gPSAoaWQ6IHN0cmluZykgPT4gUlsndG8nXTtcblxuZXhwb3J0IGludGVyZmFjZSBSZWxhdGlvbnNoaXBDb2xsZWN0aW9uPFIgZXh0ZW5kcyBSZWxhdGlvbnNoaXA8YW55LCBhbnksIGFueT4+IHtcbiAgcmVhZG9ubHkgdHlwZTogJ3JlbCc7XG4gIHJlYWRvbmx5IGZyb21Db2xsOiBGcm9tR2V0dGVyPFI+O1xuICByZWFkb25seSB0b0NvbGw6IFRvR2V0dGVyPFI+O1xuICByZWFkb25seSBmb3J3YXJkOiBNYXA8c3RyaW5nLCBSZWw8UlsnYXR0ciddPltdPjtcbiAgcmVhZG9ubHkgYmFja3dhcmQ6IE1hcDxzdHJpbmcsIFJlbDxSWydhdHRyJ10+W10+O1xuXG4gIGFkZChmcm9tOiBSWydmcm9tJ10sIHRvOiBSWyd0byddLCBhdHRyaWJ1dGVzOiBSWydhdHRyJ10pOiB2b2lkO1xuICBkZWh5ZHJhdGUoKTogYW55O1xuICBoeWRyYXRlRnJvbSh4OiBhbnkpOiB2b2lkO1xufVxuXG5leHBvcnQgdHlwZSBSZWw8QXR0cmlidXRlcz4gPSB7IHJlYWRvbmx5ICRpZDogc3RyaW5nIH0gJiBBdHRyaWJ1dGVzO1xuXG5leHBvcnQgdHlwZSBLZXlGb3JFbnRpdHlDb2xsZWN0aW9uPFMsIEUgZXh0ZW5kcyBFbnRpdHk+ID0ge1xuICBbSyBpbiBrZXlvZiBTXTogU1tLXSBleHRlbmRzIEVudGl0eUNvbGxlY3Rpb248RT4gPyBLIDogbmV2ZXI7XG59W2tleW9mIFNdO1xuXG5leHBvcnQgY29uc3QgTk9fUkVMQVRJT05TSElQUyA9ICgpID0+ICh7fSk7XG5cbmV4cG9ydCBmdW5jdGlvbiByZWxhdGlvbnNoaXBDb2xsZWN0aW9uPFIgZXh0ZW5kcyBSZWxhdGlvbnNoaXA8YW55LCBhbnksIGFueT4+KFxuICBmcm9tRmllbGQ6IEZyb21HZXR0ZXI8Uj4sXG4gIHRvRmllbGQ6IFRvR2V0dGVyPFI+LFxuKTogUmVsYXRpb25zaGlwQ29sbGVjdGlvbjxSPiB7XG4gIGNvbnN0IGZvcndhcmQgPSBuZXcgTWFwPHN0cmluZywgQXJyYXk8UmVsPGFueT4+PigpO1xuICBjb25zdCBiYWNrd2FyZCA9IG5ldyBNYXA8c3RyaW5nLCBBcnJheTxSZWw8YW55Pj4+KCk7XG5cbiAgZnVuY3Rpb24gYWRkKGZyb21JZDogc3RyaW5nLCB0b0lkOiBzdHJpbmcsIGF0dHJzOiBhbnkpIHtcbiAgICBsZXQgZiA9IGZvcndhcmQuZ2V0KGZyb21JZCk7XG4gICAgaWYgKCFmKSB7XG4gICAgICBmID0gW107XG4gICAgICBmb3J3YXJkLnNldChmcm9tSWQsIGYpO1xuICAgIH1cbiAgICBsZXQgYiA9IGJhY2t3YXJkLmdldCh0b0lkKTtcbiAgICBpZiAoIWIpIHtcbiAgICAgIGIgPSBbXTtcbiAgICAgIGJhY2t3YXJkLnNldCh0b0lkLCBiKTtcbiAgICB9XG5cbiAgICAvLyBCZWhhdmVzIGxpa2UgYSBzZXQsIG9ubHkgYWRkIG5ldyByZWxhdGlvbnNoaXAgaWYgaXQgaXMgc3RydWN0dXJhbGx5IGRpc3RpbmN0XG4gICAgY29uc3QgZm9yd2FyZFJlbCA9IHsgJGlkOiB0b0lkLCAuLi5hdHRycyB9O1xuICAgIGNvbnN0IGZvcndhcmRSZWxTdHIgPSBKU09OLnN0cmluZ2lmeShmb3J3YXJkUmVsKTtcbiAgICBjb25zdCBleGlzdGluZ1JlbGF0aW9uc2hpcCA9IGYuZmluZCgoeCkgPT4gSlNPTi5zdHJpbmdpZnkoeCkgPT09IGZvcndhcmRSZWxTdHIpO1xuXG4gICAgaWYgKCFleGlzdGluZ1JlbGF0aW9uc2hpcCkge1xuICAgICAgZi5wdXNoKGZvcndhcmRSZWwpO1xuICAgICAgYi5wdXNoKHsgJGlkOiBmcm9tSWQsIC4uLmF0dHJzIH0pO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiB7XG4gICAgdHlwZTogJ3JlbCcsXG4gICAgZnJvbUNvbGw6IGZyb21GaWVsZCxcbiAgICB0b0NvbGw6IHRvRmllbGQsXG4gICAgZm9yd2FyZCxcbiAgICBiYWNrd2FyZCxcbiAgICBhZGQoZnJvbTogRW50aXR5LCB0bzogRW50aXR5LCBhdHRyaWJ1dGVzOiBhbnkpIHtcbiAgICAgIGFkZChmcm9tLiRpZCwgdG8uJGlkLCBhdHRyaWJ1dGVzKTtcbiAgICB9LFxuICAgIGRlaHlkcmF0ZSgpOiBhbnkge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgdHlwZTogJ3JlbCcsXG4gICAgICAgIGZvcndhcmQ6IE9iamVjdC5mcm9tRW50cmllcyhmb3J3YXJkLmVudHJpZXMoKSksXG4gICAgICB9O1xuICAgIH0sXG4gICAgaHlkcmF0ZUZyb20oeDogYW55KTogdm9pZCB7XG4gICAgICBmb3J3YXJkLmNsZWFyKCk7XG4gICAgICBiYWNrd2FyZC5jbGVhcigpO1xuXG4gICAgICBmb3IgKGNvbnN0IFtmcm9tSWQsIHRhcmdldHNdIG9mIE9iamVjdC5lbnRyaWVzKHguZm9yd2FyZCkpIHtcbiAgICAgICAgZm9yIChjb25zdCB0YXJnZXQgb2YgdGFyZ2V0cyBhcyBBcnJheTxSZWw8YW55Pj4pIHtcbiAgICAgICAgICBhZGQoZnJvbUlkLCB0YXJnZXQuJGlkLCByZW1vdmVJZCh0YXJnZXQpKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sXG4gIH07XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1JlbGF0aW9uc2hpcENvbGxlY3Rpb24oeDogdW5rbm93bik6IHggaXMgUmVsYXRpb25zaGlwQ29sbGVjdGlvbjxhbnk+IHtcbiAgcmV0dXJuIHR5cGVvZiB4ID09PSAnb2JqZWN0JyAmJiAhIXggJiYgKHggYXMgYW55KS50eXBlID09PSAncmVsJztcbn1cblxuZnVuY3Rpb24gcmVtb3ZlSWQ8QSBleHRlbmRzIG9iamVjdD4oeDogQSk6IE9taXQ8QSwgJyRpZCc+IHtcbiAgY29uc3QgcmV0ID0geyAuLi54IH07XG4gIGRlbGV0ZSAocmV0IGFzIGFueSkuJGlkO1xuICByZXR1cm4gcmV0O1xufVxuIl19","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.liftUndefined = exports.liftResult = exports.locateFailure = exports.chain = exports.using = exports.tryCatch = exports.assertSuccess = exports.errorFrom = exports.errorMessage = exports.unpackOr = exports.unpack = exports.isSuccess = exports.isFailure = exports.failure = void 0;\n// Ensures you must use `fail()` to construct an instance of type Failure\nconst errorSym = Symbol('error');\nfunction mkLocate(prefix) {\n const ret = (error) => failure(`${prefix}: ${error}`);\n ret.in = (prefix2) => mkLocate(`${prefix}: ${prefix2}`);\n ret.locate = locateFailure(prefix);\n return ret;\n}\nfunction failure(error) {\n return { [errorSym]: error };\n}\nexports.failure = failure;\nfailure.in = (prefix) => mkLocate(prefix);\nfailure.locate = (x) => x;\nfunction isFailure(x) {\n return !!x && typeof x === 'object' && x[errorSym];\n}\nexports.isFailure = isFailure;\nfunction isSuccess(x) {\n return !isFailure(x);\n}\nexports.isSuccess = isSuccess;\nfunction unpack(x) {\n if (isFailure(x)) {\n throw new Error(`unpack: ${x[errorSym]}`);\n }\n return x;\n}\nexports.unpack = unpack;\nfunction unpackOr(x, def) {\n return (isFailure(x) ? def : x);\n}\nexports.unpackOr = unpackOr;\nfunction errorMessage(x) {\n return x[errorSym];\n}\nexports.errorMessage = errorMessage;\nfunction errorFrom(x) {\n return new Error(errorMessage(x));\n}\nexports.errorFrom = errorFrom;\nfunction assertSuccess(x) {\n if (isFailure(x)) {\n throw errorFrom(x);\n }\n}\nexports.assertSuccess = assertSuccess;\nfunction tryCatch(failOrBlock, maybeBlock) {\n const block = (maybeBlock ?? failOrBlock);\n const f = (maybeBlock ? failOrBlock : failure);\n try {\n return block();\n }\n catch (e) {\n return f(`Error: ${e.message}\\n${e.stack}`);\n }\n}\nexports.tryCatch = tryCatch;\nfunction using(value, block) {\n if (isFailure(value)) {\n return value;\n }\n return block(value);\n}\nexports.using = using;\nfunction chain(value, ...fns) {\n for (const fn of fns) {\n if (isFailure(value)) {\n return value;\n }\n value = fn(value);\n }\n return value;\n}\nexports.chain = chain;\n/* eslint-enable prettier/prettier */\n/**\n * Make a function that will prepend a prefix to error messages\n *\n * This is one way to be specific about the location where errors originate, by prefixing\n * errors as the call stack unwinds.\n *\n * A different method is to pass in a modified failure function using `failure.in(...)`,\n * to build the error message as the call stack deepens.\n */\nfunction locateFailure(prefix) {\n return (x) => (isFailure(x) ? failure(`${prefix}: ${x[errorSym]}`) : x);\n}\nexports.locateFailure = locateFailure;\nfunction liftResult(xs) {\n const failures = Array.isArray(xs) ? xs.filter(isFailure) : Object.values(xs).filter(isFailure);\n if (failures.length > 0) {\n return failure(failures.map(errorMessage).join(', '));\n }\n return xs;\n}\nexports.liftResult = liftResult;\nfunction liftUndefined(valueOrFunction) {\n if (typeof valueOrFunction === 'function') {\n return (...args) => {\n const value = valueOrFunction(...args);\n return value !== undefined ? value : failure('value is undefined');\n };\n }\n return valueOrFunction !== undefined ? valueOrFunction : failure('value is undefined');\n}\nexports.liftUndefined = liftUndefined;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3Jlc3VsdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5RUFBeUU7QUFDekUsTUFBTSxRQUFRLEdBQUcsTUFBTSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBYWpDLFNBQVMsUUFBUSxDQUFDLE1BQWM7SUFDOUIsTUFBTSxHQUFHLEdBQVMsQ0FBQyxLQUFhLEVBQUUsRUFBRSxDQUFDLE9BQU8sQ0FBQyxHQUFHLE1BQU0sS0FBSyxLQUFLLEVBQUUsQ0FBQyxDQUFDO0lBQ3BFLEdBQUcsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxPQUFlLEVBQUUsRUFBRSxDQUFDLFFBQVEsQ0FBQyxHQUFHLE1BQU0sS0FBSyxPQUFPLEVBQUUsQ0FBQyxDQUFDO0lBQ2hFLEdBQUcsQ0FBQyxNQUFNLEdBQUcsYUFBYSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ25DLE9BQU8sR0FBRyxDQUFDO0FBQ2IsQ0FBQztBQUlELFNBQWdCLE9BQU8sQ0FBQyxLQUFhO0lBQ25DLE9BQU8sRUFBRSxDQUFDLFFBQVEsQ0FBQyxFQUFFLEtBQUssRUFBRSxDQUFDO0FBQy9CLENBQUM7QUFGRCwwQkFFQztBQUNELE9BQU8sQ0FBQyxFQUFFLEdBQUcsQ0FBQyxNQUFjLEVBQUUsRUFBRSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsQ0FBQztBQUNsRCxPQUFPLENBQUMsTUFBTSxHQUFHLENBQUksQ0FBWSxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFFeEMsU0FBZ0IsU0FBUyxDQUFJLENBQVk7SUFDdkMsT0FBTyxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxLQUFLLFFBQVEsSUFBSyxDQUFTLENBQUMsUUFBUSxDQUFDLENBQUM7QUFDOUQsQ0FBQztBQUZELDhCQUVDO0FBRUQsU0FBZ0IsU0FBUyxDQUFJLENBQVk7SUFDdkMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUN2QixDQUFDO0FBRkQsOEJBRUM7QUFFRCxTQUFnQixNQUFNLENBQUksQ0FBWTtJQUNwQyxJQUFJLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUNoQixNQUFNLElBQUksS0FBSyxDQUFDLFdBQVcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FBQztLQUMzQztJQUNELE9BQU8sQ0FBQyxDQUFDO0FBQ1gsQ0FBQztBQUxELHdCQUtDO0FBRUQsU0FBZ0IsUUFBUSxDQUFPLENBQVksRUFBRSxHQUFNO0lBQ2pELE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFRLENBQUM7QUFDekMsQ0FBQztBQUZELDRCQUVDO0FBRUQsU0FBZ0IsWUFBWSxDQUFDLENBQVU7SUFDckMsT0FBTyxDQUFDLENBQUMsUUFBUSxDQUFDLENBQUM7QUFDckIsQ0FBQztBQUZELG9DQUVDO0FBRUQsU0FBZ0IsU0FBUyxDQUFDLENBQVU7SUFDbEMsT0FBTyxJQUFJLEtBQUssQ0FBQyxZQUFZLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUNwQyxDQUFDO0FBRkQsOEJBRUM7QUFJRCxTQUFnQixhQUFhLENBQUMsQ0FBVTtJQUN0QyxJQUFJLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUNoQixNQUFNLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUNwQjtBQUNILENBQUM7QUFKRCxzQ0FJQztBQUlELFNBQWdCLFFBQVEsQ0FBSSxXQUE2QixFQUFFLFVBQW9CO0lBQzdFLE1BQU0sS0FBSyxHQUFZLENBQUMsVUFBVSxJQUFJLFdBQVcsQ0FBUSxDQUFDO0lBQzFELE1BQU0sQ0FBQyxHQUFTLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBUSxDQUFDO0lBRTVELElBQUk7UUFDRixPQUFPLEtBQUssRUFBRSxDQUFDO0tBQ2hCO0lBQUMsT0FBTyxDQUFNLEVBQUU7UUFDZixPQUFPLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxPQUFPLEtBQUssQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUM7S0FDN0M7QUFDSCxDQUFDO0FBVEQsNEJBU0M7QUFFRCxTQUFnQixLQUFLLENBQU8sS0FBZ0IsRUFBRSxLQUEwQjtJQUN0RSxJQUFJLFNBQVMsQ0FBQyxLQUFLLENBQUMsRUFBRTtRQUNwQixPQUFPLEtBQUssQ0FBQztLQUNkO0lBQ0QsT0FBTyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDdEIsQ0FBQztBQUxELHNCQUtDO0FBWUQsU0FBZ0IsS0FBSyxDQUFDLEtBQWtCLEVBQUUsR0FBRyxHQUFtQztJQUM5RSxLQUFLLE1BQU0sRUFBRSxJQUFJLEdBQUcsRUFBRTtRQUNwQixJQUFJLFNBQVMsQ0FBQyxLQUFLLENBQUMsRUFBRTtZQUNwQixPQUFPLEtBQUssQ0FBQztTQUNkO1FBQ0QsS0FBSyxHQUFHLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQztLQUNuQjtJQUNELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQVJELHNCQVFDO0FBQ0QscUNBQXFDO0FBRXJDOzs7Ozs7OztHQVFHO0FBQ0gsU0FBZ0IsYUFBYSxDQUFDLE1BQWM7SUFDMUMsT0FBTyxDQUFJLENBQVksRUFBYSxFQUFFLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLE1BQU0sS0FBSyxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUNuRyxDQUFDO0FBRkQsc0NBRUM7QUFNRCxTQUFnQixVQUFVLENBQ3hCLEVBQWdEO0lBRWhELE1BQU0sUUFBUSxHQUFHLEtBQUssQ0FBQyxPQUFPLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQ2hHLElBQUksUUFBUSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7UUFDdkIsT0FBTyxPQUFPLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxZQUFZLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztLQUN2RDtJQUNELE9BQU8sRUFBUyxDQUFDO0FBQ25CLENBQUM7QUFSRCxnQ0FRQztBQU9ELFNBQWdCLGFBQWEsQ0FBQyxlQUFvQjtJQUNoRCxJQUFJLE9BQU8sZUFBZSxLQUFLLFVBQVUsRUFBRTtRQUN6QyxPQUFPLENBQUMsR0FBRyxJQUFXLEVBQUUsRUFBRTtZQUN4QixNQUFNLEtBQUssR0FBRyxlQUFlLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQztZQUN2QyxPQUFPLEtBQUssS0FBSyxTQUFTLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLG9CQUFvQixDQUFDLENBQUM7UUFDckUsQ0FBQyxDQUFDO0tBQ0g7SUFDRCxPQUFPLGVBQWUsS0FBSyxTQUFTLENBQUMsQ0FBQyxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLG9CQUFvQixDQUFDLENBQUM7QUFDekYsQ0FBQztBQVJELHNDQVFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gRW5zdXJlcyB5b3UgbXVzdCB1c2UgYGZhaWwoKWAgdG8gY29uc3RydWN0IGFuIGluc3RhbmNlIG9mIHR5cGUgRmFpbHVyZVxuY29uc3QgZXJyb3JTeW0gPSBTeW1ib2woJ2Vycm9yJyk7XG5cbmV4cG9ydCB0eXBlIFJlc3VsdDxBPiA9IEEgfCBGYWlsdXJlO1xuZXhwb3J0IGludGVyZmFjZSBGYWlsdXJlIHtcbiAgcmVhZG9ubHkgW2Vycm9yU3ltXTogc3RyaW5nO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEZhaWwge1xuICAoZXJyb3I6IHN0cmluZyk6IEZhaWx1cmU7XG4gIGluKHByZWZpeDogc3RyaW5nKTogRmFpbDtcbiAgbG9jYXRlPEE+KHg6IFJlc3VsdDxBPik6IFJlc3VsdDxBPjtcbn1cblxuZnVuY3Rpb24gbWtMb2NhdGUocHJlZml4OiBzdHJpbmcpOiBGYWlsIHtcbiAgY29uc3QgcmV0OiBGYWlsID0gKGVycm9yOiBzdHJpbmcpID0+IGZhaWx1cmUoYCR7cHJlZml4fTogJHtlcnJvcn1gKTtcbiAgcmV0LmluID0gKHByZWZpeDI6IHN0cmluZykgPT4gbWtMb2NhdGUoYCR7cHJlZml4fTogJHtwcmVmaXgyfWApO1xuICByZXQubG9jYXRlID0gbG9jYXRlRmFpbHVyZShwcmVmaXgpO1xuICByZXR1cm4gcmV0O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIGZhaWx1cmUgZXh0ZW5kcyBGYWlsIHt9XG5cbmV4cG9ydCBmdW5jdGlvbiBmYWlsdXJlKGVycm9yOiBzdHJpbmcpOiBGYWlsdXJlIHtcbiAgcmV0dXJuIHsgW2Vycm9yU3ltXTogZXJyb3IgfTtcbn1cbmZhaWx1cmUuaW4gPSAocHJlZml4OiBzdHJpbmcpID0+IG1rTG9jYXRlKHByZWZpeCk7XG5mYWlsdXJlLmxvY2F0ZSA9IDxBPih4OiBSZXN1bHQ8QT4pID0+IHg7XG5cbmV4cG9ydCBmdW5jdGlvbiBpc0ZhaWx1cmU8QT4oeDogUmVzdWx0PEE+KTogeCBpcyBGYWlsdXJlIHtcbiAgcmV0dXJuICEheCAmJiB0eXBlb2YgeCA9PT0gJ29iamVjdCcgJiYgKHggYXMgYW55KVtlcnJvclN5bV07XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1N1Y2Nlc3M8QT4oeDogUmVzdWx0PEE+KTogeCBpcyBBIHtcbiAgcmV0dXJuICFpc0ZhaWx1cmUoeCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiB1bnBhY2s8QT4oeDogUmVzdWx0PEE+KTogQSB7XG4gIGlmIChpc0ZhaWx1cmUoeCkpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoYHVucGFjazogJHt4W2Vycm9yU3ltXX1gKTtcbiAgfVxuICByZXR1cm4geDtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHVucGFja09yPEEsIEI+KHg6IFJlc3VsdDxBPiwgZGVmOiBCKTogQiBleHRlbmRzIEEgPyBBIDogQSB8IEIge1xuICByZXR1cm4gKGlzRmFpbHVyZSh4KSA/IGRlZiA6IHgpIGFzIGFueTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGVycm9yTWVzc2FnZSh4OiBGYWlsdXJlKTogc3RyaW5nIHtcbiAgcmV0dXJuIHhbZXJyb3JTeW1dO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZXJyb3JGcm9tKHg6IEZhaWx1cmUpOiBFcnJvciB7XG4gIHJldHVybiBuZXcgRXJyb3IoZXJyb3JNZXNzYWdlKHgpKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGFzc2VydFN1Y2Nlc3M8QT4oeDogUmVzdWx0PEE+KTogYXNzZXJ0cyB4IGlzIEE7XG5leHBvcnQgZnVuY3Rpb24gYXNzZXJ0U3VjY2Vzcyh4OiBGYWlsdXJlKTogbmV2ZXI7XG5leHBvcnQgZnVuY3Rpb24gYXNzZXJ0U3VjY2Vzcyh4OiBGYWlsdXJlKTogdm9pZCB7XG4gIGlmIChpc0ZhaWx1cmUoeCkpIHtcbiAgICB0aHJvdyBlcnJvckZyb20oeCk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHRyeUNhdGNoPEE+KGJsb2NrOiAoKSA9PiBBKTogUmVzdWx0PEE+O1xuZXhwb3J0IGZ1bmN0aW9uIHRyeUNhdGNoPEE+KGZhaWxGbjogRmFpbCwgYmxvY2s6ICgpID0+IEEpOiBSZXN1bHQ8QT47XG5leHBvcnQgZnVuY3Rpb24gdHJ5Q2F0Y2g8QT4oZmFpbE9yQmxvY2s6IEZhaWwgfCAoKCkgPT4gQSksIG1heWJlQmxvY2s/OiAoKSA9PiBBKTogUmVzdWx0PEE+IHtcbiAgY29uc3QgYmxvY2s6ICgpID0+IEEgPSAobWF5YmVCbG9jayA/PyBmYWlsT3JCbG9jaykgYXMgYW55O1xuICBjb25zdCBmOiBGYWlsID0gKG1heWJlQmxvY2sgPyBmYWlsT3JCbG9jayA6IGZhaWx1cmUpIGFzIGFueTtcblxuICB0cnkge1xuICAgIHJldHVybiBibG9jaygpO1xuICB9IGNhdGNoIChlOiBhbnkpIHtcbiAgICByZXR1cm4gZihgRXJyb3I6ICR7ZS5tZXNzYWdlfVxcbiR7ZS5zdGFja31gKTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gdXNpbmc8QSwgQj4odmFsdWU6IFJlc3VsdDxBPiwgYmxvY2s6ICh4OiBBKSA9PiBSZXN1bHQ8Qj4pOiBSZXN1bHQ8Qj4ge1xuICBpZiAoaXNGYWlsdXJlKHZhbHVlKSkge1xuICAgIHJldHVybiB2YWx1ZTtcbiAgfVxuICByZXR1cm4gYmxvY2sodmFsdWUpO1xufVxuXG4vKipcbiAqIExpa2UgJ3VzaW5nJywgYnV0IGNhbiB0YWtlIGFueSBudW1iZXIgb2YgZnVuY3Rpb25zXG4gKi9cbi8qIGVzbGludC1kaXNhYmxlIHByZXR0aWVyL3ByZXR0aWVyICovXG5leHBvcnQgZnVuY3Rpb24gY2hhaW48QSwgQj4odmFsdWU6IFJlc3VsdDxBPiwgYjA6ICh4OiBBKSA9PiBSZXN1bHQ8Qj4pOiBSZXN1bHQ8Qj47XG5leHBvcnQgZnVuY3Rpb24gY2hhaW48QSwgQiwgQz4odmFsdWU6IFJlc3VsdDxBPiwgYjA6ICh4OiBBKSA9PiBSZXN1bHQ8Qj4sIGIxOiAoeDogQikgPT4gUmVzdWx0PEM+KTogUmVzdWx0PEM+O1xuZXhwb3J0IGZ1bmN0aW9uIGNoYWluPEEsIEIsIEMsIEQ+KHZhbHVlOiBSZXN1bHQ8QT4sIGIwOiAoeDogQSkgPT4gUmVzdWx0PEI+LCBiMTogKHg6IEIpID0+IFJlc3VsdDxDPiwgYjI6ICh4OiBDKSA9PiBSZXN1bHQ8RD4pOiBSZXN1bHQ8RD47XG5leHBvcnQgZnVuY3Rpb24gY2hhaW48QSwgQiwgQywgRCwgRT4odmFsdWU6IFJlc3VsdDxBPiwgYjA6ICh4OiBBKSA9PiBSZXN1bHQ8Qj4sIGIxOiAoeDogQikgPT4gUmVzdWx0PEM+LCBiMjogKHg6IEMpID0+IFJlc3VsdDxEPiwgYjM6ICh4OiBEKSA9PiBSZXN1bHQ8RT4pOiBSZXN1bHQ8RT47XG5leHBvcnQgZnVuY3Rpb24gY2hhaW48QSwgQiwgQywgRCwgRSwgRj4odmFsdWU6IFJlc3VsdDxBPiwgYjA6ICh4OiBBKSA9PiBSZXN1bHQ8Qj4sIGIxOiAoeDogQikgPT4gUmVzdWx0PEM+LCBiMjogKHg6IEMpID0+IFJlc3VsdDxEPiwgYjM6ICh4OiBEKSA9PiBSZXN1bHQ8RT4sIGI0OiAoeDogRSkgPT4gUmVzdWx0PEY+KTogUmVzdWx0PEY+O1xuZXhwb3J0IGZ1bmN0aW9uIGNoYWluPEEsIEIsIEMsIEQsIEUsIEYsIEc+KHZhbHVlOiBSZXN1bHQ8QT4sIGIwOiAoeDogQSkgPT4gUmVzdWx0PEI+LCBiMTogKHg6IEIpID0+IFJlc3VsdDxDPiwgYjI6ICh4OiBDKSA9PiBSZXN1bHQ8RD4sIGIzOiAoeDogRCkgPT4gUmVzdWx0PEU+LCBiNDogKHg6IEUpID0+IFJlc3VsdDxGPiwgYjU6ICh4OiBGKSA9PiBSZXN1bHQ8Rz4pOiBSZXN1bHQ8Rz47XG5leHBvcnQgZnVuY3Rpb24gY2hhaW4odmFsdWU6IFJlc3VsdDxhbnk+LCAuLi5mbnM6IEFycmF5PCh4OiBhbnkpID0+IFJlc3VsdDxhbnk+Pik6IFJlc3VsdDxhbnk+IHtcbiAgZm9yIChjb25zdCBmbiBvZiBmbnMpIHtcbiAgICBpZiAoaXNGYWlsdXJlKHZhbHVlKSkge1xuICAgICAgcmV0dXJuIHZhbHVlO1xuICAgIH1cbiAgICB2YWx1ZSA9IGZuKHZhbHVlKTtcbiAgfVxuICByZXR1cm4gdmFsdWU7XG59XG4vKiBlc2xpbnQtZW5hYmxlIHByZXR0aWVyL3ByZXR0aWVyICovXG5cbi8qKlxuICogTWFrZSBhIGZ1bmN0aW9uIHRoYXQgd2lsbCBwcmVwZW5kIGEgcHJlZml4IHRvIGVycm9yIG1lc3NhZ2VzXG4gKlxuICogVGhpcyBpcyBvbmUgd2F5IHRvIGJlIHNwZWNpZmljIGFib3V0IHRoZSBsb2NhdGlvbiB3aGVyZSBlcnJvcnMgb3JpZ2luYXRlLCBieSBwcmVmaXhpbmdcbiAqIGVycm9ycyBhcyB0aGUgY2FsbCBzdGFjayB1bndpbmRzLlxuICpcbiAqIEEgZGlmZmVyZW50IG1ldGhvZCBpcyB0byBwYXNzIGluIGEgbW9kaWZpZWQgZmFpbHVyZSBmdW5jdGlvbiB1c2luZyBgZmFpbHVyZS5pbiguLi4pYCxcbiAqIHRvIGJ1aWxkIHRoZSBlcnJvciBtZXNzYWdlIGFzIHRoZSBjYWxsIHN0YWNrIGRlZXBlbnMuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBsb2NhdGVGYWlsdXJlKHByZWZpeDogc3RyaW5nKSB7XG4gIHJldHVybiA8QT4oeDogUmVzdWx0PEE+KTogUmVzdWx0PEE+ID0+IChpc0ZhaWx1cmUoeCkgPyBmYWlsdXJlKGAke3ByZWZpeH06ICR7eFtlcnJvclN5bV19YCkgOiB4KTtcbn1cblxuZXhwb3J0IHR5cGUgRmFpbHVyZXMgPSBBcnJheTxGYWlsdXJlPjtcblxuZXhwb3J0IGZ1bmN0aW9uIGxpZnRSZXN1bHQ8QT4oeHM6IFJlY29yZDxzdHJpbmcsIFJlc3VsdDxBPj4pOiBSZXN1bHQ8UmVjb3JkPHN0cmluZywgQT4+O1xuZXhwb3J0IGZ1bmN0aW9uIGxpZnRSZXN1bHQ8QT4oeHM6IEFycmF5PFJlc3VsdDxBPj4pOiBSZXN1bHQ8QXJyYXk8QT4+O1xuZXhwb3J0IGZ1bmN0aW9uIGxpZnRSZXN1bHQ8QT4oXG4gIHhzOiBSZWNvcmQ8c3RyaW5nLCBSZXN1bHQ8QT4+IHwgQXJyYXk8UmVzdWx0PEE+Pixcbik6IFJlc3VsdDxSZWNvcmQ8c3RyaW5nLCBBPj4gfCBSZXN1bHQ8QXJyYXk8QT4+IHtcbiAgY29uc3QgZmFpbHVyZXMgPSBBcnJheS5pc0FycmF5KHhzKSA/IHhzLmZpbHRlcihpc0ZhaWx1cmUpIDogT2JqZWN0LnZhbHVlcyh4cykuZmlsdGVyKGlzRmFpbHVyZSk7XG4gIGlmIChmYWlsdXJlcy5sZW5ndGggPiAwKSB7XG4gICAgcmV0dXJuIGZhaWx1cmUoZmFpbHVyZXMubWFwKGVycm9yTWVzc2FnZSkuam9pbignLCAnKSk7XG4gIH1cbiAgcmV0dXJuIHhzIGFzIGFueTtcbn1cblxuLyoqXG4gKiBMaWZ0IGEgdmFsdWUgdGhhdCBjYW4gYmUgJ3VuZGVmaW5lZCcgdG8gYSByZXN1bHQsIG9yIGEgZnVuY3Rpb24gdGhhdCBjYW4gcmV0dXJuIHVuZGVmaW5lZC5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGxpZnRVbmRlZmluZWQ8QT4odjogQSB8IHVuZGVmaW5lZCk6IFJlc3VsdDxOb25OdWxsYWJsZTxBPj47XG5leHBvcnQgZnVuY3Rpb24gbGlmdFVuZGVmaW5lZDxBLCBGIGV4dGVuZHMgKC4uLmFyZ3M6IGFueVtdKSA9PiBBPih2OiBGKTogKHg6IFBhcmFtZXRlcnM8Rj4pID0+IFJlc3VsdDxOb25OdWxsYWJsZTxBPj47XG5leHBvcnQgZnVuY3Rpb24gbGlmdFVuZGVmaW5lZCh2YWx1ZU9yRnVuY3Rpb246IGFueSk6IGFueSB7XG4gIGlmICh0eXBlb2YgdmFsdWVPckZ1bmN0aW9uID09PSAnZnVuY3Rpb24nKSB7XG4gICAgcmV0dXJuICguLi5hcmdzOiBhbnlbXSkgPT4ge1xuICAgICAgY29uc3QgdmFsdWUgPSB2YWx1ZU9yRnVuY3Rpb24oLi4uYXJncyk7XG4gICAgICByZXR1cm4gdmFsdWUgIT09IHVuZGVmaW5lZCA/IHZhbHVlIDogZmFpbHVyZSgndmFsdWUgaXMgdW5kZWZpbmVkJyk7XG4gICAgfTtcbiAgfVxuICByZXR1cm4gdmFsdWVPckZ1bmN0aW9uICE9PSB1bmRlZmluZWQgPyB2YWx1ZU9yRnVuY3Rpb24gOiBmYWlsdXJlKCd2YWx1ZSBpcyB1bmRlZmluZWQnKTtcbn1cbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sortedMap = void 0;\n/**\n * A sorted map that may contain the same key multiple times\n *\n * Stored as a sorted array of [key, value] pairs, using binary search to locate\n * entries.\n */\nvar sortedMap;\n(function (sortedMap) {\n function add(map, cmp, key, value) {\n const i = lowerBound(map, cmp, key);\n map.splice(i, 0, [key, value]);\n }\n sortedMap.add = add;\n function find(map, cmp, key) {\n const i = lowerBound(map, cmp, key);\n if (i === map.length) {\n return undefined;\n }\n const [foundKey, value] = map[i];\n return cmp(foundKey, key) === 0 ? value : undefined;\n }\n sortedMap.find = find;\n function findAll(map, cmp, key) {\n let i = lowerBound(map, cmp, key);\n const ret = [];\n while (i < map.length && cmp(map[i][0], key) === 0) {\n ret.push(map[i][1]);\n i += 1;\n }\n return ret;\n }\n sortedMap.findAll = findAll;\n /**\n * Return the index to the first element in the the sorted map\n *\n * @see https://en.cppreference.com/w/cpp/algorithm/lower_bound#Version_2\n */\n function lowerBound(map, cmp, key) {\n let first = 0;\n let count = map.length;\n while (count > 0) {\n let it = first;\n let step = Math.floor(count / 2);\n it += step;\n if (cmp(map[it][0], key) < 0) {\n first = ++it;\n count -= step + 1;\n }\n else {\n count = step;\n }\n }\n return first;\n }\n})(sortedMap = exports.sortedMap || (exports.sortedMap = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydGVkLW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zb3J0ZWQtbWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBOzs7OztHQUtHO0FBQ0gsSUFBaUIsU0FBUyxDQXNEekI7QUF0REQsV0FBaUIsU0FBUztJQUd4QixTQUFnQixHQUFHLENBQU8sR0FBeUIsRUFBRSxHQUFrQixFQUFFLEdBQU0sRUFBRSxLQUFRO1FBQ3ZGLE1BQU0sQ0FBQyxHQUFHLFVBQVUsQ0FBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBQ3BDLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEdBQUcsRUFBRSxLQUFLLENBQUMsQ0FBQyxDQUFDO0lBQ2pDLENBQUM7SUFIZSxhQUFHLE1BR2xCLENBQUE7SUFFRCxTQUFnQixJQUFJLENBQU8sR0FBeUIsRUFBRSxHQUFrQixFQUFFLEdBQU07UUFDOUUsTUFBTSxDQUFDLEdBQUcsVUFBVSxDQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFDcEMsSUFBSSxDQUFDLEtBQUssR0FBRyxDQUFDLE1BQU0sRUFBRTtZQUNwQixPQUFPLFNBQVMsQ0FBQztTQUNsQjtRQUVELE1BQU0sQ0FBQyxRQUFRLEVBQUUsS0FBSyxDQUFDLEdBQUcsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ2pDLE9BQU8sR0FBRyxDQUFDLFFBQVEsRUFBRSxHQUFHLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO0lBQ3RELENBQUM7SUFSZSxjQUFJLE9BUW5CLENBQUE7SUFFRCxTQUFnQixPQUFPLENBQU8sR0FBeUIsRUFBRSxHQUFrQixFQUFFLEdBQU07UUFDakYsSUFBSSxDQUFDLEdBQUcsVUFBVSxDQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFFbEMsTUFBTSxHQUFHLEdBQUcsRUFBRSxDQUFDO1FBQ2YsT0FBTyxDQUFDLEdBQUcsR0FBRyxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxLQUFLLENBQUMsRUFBRTtZQUNsRCxHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ3BCLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDUjtRQUVELE9BQU8sR0FBRyxDQUFDO0lBQ2IsQ0FBQztJQVZlLGlCQUFPLFVBVXRCLENBQUE7SUFFRDs7OztPQUlHO0lBQ0gsU0FBUyxVQUFVLENBQU8sR0FBeUIsRUFBRSxHQUFrQixFQUFFLEdBQU07UUFDN0UsSUFBSSxLQUFLLEdBQUcsQ0FBQyxDQUFDO1FBQ2QsSUFBSSxLQUFLLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQztRQUV2QixPQUFPLEtBQUssR0FBRyxDQUFDLEVBQUU7WUFDaEIsSUFBSSxFQUFFLEdBQUcsS0FBSyxDQUFDO1lBQ2YsSUFBSSxJQUFJLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDLENBQUM7WUFDakMsRUFBRSxJQUFJLElBQUksQ0FBQztZQUVYLElBQUksR0FBRyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsR0FBRyxDQUFDLEVBQUU7Z0JBQzVCLEtBQUssR0FBRyxFQUFFLEVBQUUsQ0FBQztnQkFDYixLQUFLLElBQUksSUFBSSxHQUFHLENBQUMsQ0FBQzthQUNuQjtpQkFBTTtnQkFDTCxLQUFLLEdBQUcsSUFBSSxDQUFDO2FBQ2Q7U0FDRjtRQUVELE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztBQUNILENBQUMsRUF0RGdCLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBc0R6QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFNvcnRlZE11bHRpTWFwPEEsIEI+ID0gQXJyYXk8W0EsIEJdPjtcblxuLyoqXG4gKiBBIHNvcnRlZCBtYXAgdGhhdCBtYXkgY29udGFpbiB0aGUgc2FtZSBrZXkgbXVsdGlwbGUgdGltZXNcbiAqXG4gKiBTdG9yZWQgYXMgYSBzb3J0ZWQgYXJyYXkgb2YgW2tleSwgdmFsdWVdIHBhaXJzLCB1c2luZyBiaW5hcnkgc2VhcmNoIHRvIGxvY2F0ZVxuICogZW50cmllcy5cbiAqL1xuZXhwb3J0IG5hbWVzcGFjZSBzb3J0ZWRNYXAge1xuICBleHBvcnQgdHlwZSBDb21wYXJhdG9yPEE+ID0gKGE6IEEsIGI6IEEpID0+IG51bWJlcjtcblxuICBleHBvcnQgZnVuY3Rpb24gYWRkPEEsIEI+KG1hcDogU29ydGVkTXVsdGlNYXA8QSwgQj4sIGNtcDogQ29tcGFyYXRvcjxBPiwga2V5OiBBLCB2YWx1ZTogQikge1xuICAgIGNvbnN0IGkgPSBsb3dlckJvdW5kKG1hcCwgY21wLCBrZXkpO1xuICAgIG1hcC5zcGxpY2UoaSwgMCwgW2tleSwgdmFsdWVdKTtcbiAgfVxuXG4gIGV4cG9ydCBmdW5jdGlvbiBmaW5kPEEsIEI+KG1hcDogU29ydGVkTXVsdGlNYXA8QSwgQj4sIGNtcDogQ29tcGFyYXRvcjxBPiwga2V5OiBBKTogQiB8IHVuZGVmaW5lZCB7XG4gICAgY29uc3QgaSA9IGxvd2VyQm91bmQobWFwLCBjbXAsIGtleSk7XG4gICAgaWYgKGkgPT09IG1hcC5sZW5ndGgpIHtcbiAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgfVxuXG4gICAgY29uc3QgW2ZvdW5kS2V5LCB2YWx1ZV0gPSBtYXBbaV07XG4gICAgcmV0dXJuIGNtcChmb3VuZEtleSwga2V5KSA9PT0gMCA/IHZhbHVlIDogdW5kZWZpbmVkO1xuICB9XG5cbiAgZXhwb3J0IGZ1bmN0aW9uIGZpbmRBbGw8QSwgQj4obWFwOiBTb3J0ZWRNdWx0aU1hcDxBLCBCPiwgY21wOiBDb21wYXJhdG9yPEE+LCBrZXk6IEEpOiBCW10ge1xuICAgIGxldCBpID0gbG93ZXJCb3VuZChtYXAsIGNtcCwga2V5KTtcblxuICAgIGNvbnN0IHJldCA9IFtdO1xuICAgIHdoaWxlIChpIDwgbWFwLmxlbmd0aCAmJiBjbXAobWFwW2ldWzBdLCBrZXkpID09PSAwKSB7XG4gICAgICByZXQucHVzaChtYXBbaV1bMV0pO1xuICAgICAgaSArPSAxO1xuICAgIH1cblxuICAgIHJldHVybiByZXQ7XG4gIH1cblxuICAvKipcbiAgICogUmV0dXJuIHRoZSBpbmRleCB0byB0aGUgZmlyc3QgZWxlbWVudCBpbiB0aGUgdGhlIHNvcnRlZCBtYXBcbiAgICpcbiAgICogQHNlZSBodHRwczovL2VuLmNwcHJlZmVyZW5jZS5jb20vdy9jcHAvYWxnb3JpdGhtL2xvd2VyX2JvdW5kI1ZlcnNpb25fMlxuICAgKi9cbiAgZnVuY3Rpb24gbG93ZXJCb3VuZDxBLCBCPihtYXA6IFNvcnRlZE11bHRpTWFwPEEsIEI+LCBjbXA6IENvbXBhcmF0b3I8QT4sIGtleTogQSk6IG51bWJlciB7XG4gICAgbGV0IGZpcnN0ID0gMDtcbiAgICBsZXQgY291bnQgPSBtYXAubGVuZ3RoO1xuXG4gICAgd2hpbGUgKGNvdW50ID4gMCkge1xuICAgICAgbGV0IGl0ID0gZmlyc3Q7XG4gICAgICBsZXQgc3RlcCA9IE1hdGguZmxvb3IoY291bnQgLyAyKTtcbiAgICAgIGl0ICs9IHN0ZXA7XG5cbiAgICAgIGlmIChjbXAobWFwW2l0XVswXSwga2V5KSA8IDApIHtcbiAgICAgICAgZmlyc3QgPSArK2l0O1xuICAgICAgICBjb3VudCAtPSBzdGVwICsgMTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGNvdW50ID0gc3RlcDtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gZmlyc3Q7XG4gIH1cbn1cbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync,\n readdir: fs.readdir,\n readdirSync: fs.readdirSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;\nconst NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');\nif (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {\n throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);\n}\nconst MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);\nconst MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);\nconst SUPPORTED_MAJOR_VERSION = 10;\nconst SUPPORTED_MINOR_VERSION = 10;\nconst IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;\nconst IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;\n/**\n * IS `true` for Node.js 10.10 and greater.\n */\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.scandirSync = exports.scandir = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction scandir(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.scandir = scandir;\nfunction scandirSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.scandirSync = scandirSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst rpl = require(\"run-parallel\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings, callback) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n readdirWithFileTypes(directory, settings, callback);\n return;\n }\n readdir(directory, settings, callback);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings, callback) {\n settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const entries = dirents.map((dirent) => ({\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n }));\n if (!settings.followSymbolicLinks) {\n callSuccessCallback(callback, entries);\n return;\n }\n const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));\n rpl(tasks, (rplError, rplEntries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, rplEntries);\n });\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction makeRplTaskEntry(entry, settings) {\n return (done) => {\n if (!entry.dirent.isSymbolicLink()) {\n done(null, entry);\n return;\n }\n settings.fs.stat(entry.path, (statError, stats) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n done(statError);\n return;\n }\n done(null, entry);\n return;\n }\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n done(null, entry);\n });\n };\n}\nfunction readdir(directory, settings, callback) {\n settings.fs.readdir(directory, (readdirError, names) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const tasks = names.map((name) => {\n const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n return (done) => {\n fsStat.stat(path, settings.fsStatSettings, (error, stats) => {\n if (error !== null) {\n done(error);\n return;\n }\n const entry = {\n name,\n path,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n done(null, entry);\n });\n };\n });\n rpl(tasks, (rplError, entries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, entries);\n });\n });\n}\nexports.readdir = readdir;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = void 0;\nfunction joinPathSegments(a, b, separator) {\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n return readdirWithFileTypes(directory, settings);\n }\n return readdir(directory, settings);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings) {\n const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });\n return dirents.map((dirent) => {\n const entry = {\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n };\n if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {\n try {\n const stats = settings.fs.statSync(entry.path);\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n }\n catch (error) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n throw error;\n }\n }\n }\n return entry;\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction readdir(directory, settings) {\n const names = settings.fs.readdirSync(directory);\n return names.map((name) => {\n const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n const stats = fsStat.statSync(entryPath, settings.fsStatSettings);\n const entry = {\n name,\n path: entryPath,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n return entry;\n });\n}\nexports.readdir = readdir;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.stats = this._getValue(this._options.stats, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n this.fsStatSettings = new fsStat.Settings({\n followSymbolicLink: this.followSymbolicLinks,\n fs: this.fs,\n throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createDirentFromStats = void 0;\nclass DirentFromStats {\n constructor(name, stats) {\n this.name = name;\n this.isBlockDevice = stats.isBlockDevice.bind(stats);\n this.isCharacterDevice = stats.isCharacterDevice.bind(stats);\n this.isDirectory = stats.isDirectory.bind(stats);\n this.isFIFO = stats.isFIFO.bind(stats);\n this.isFile = stats.isFile.bind(stats);\n this.isSocket = stats.isSocket.bind(stats);\n this.isSymbolicLink = stats.isSymbolicLink.bind(stats);\n }\n}\nfunction createDirentFromStats(name, stats) {\n return new DirentFromStats(name, stats);\n}\nexports.createDirentFromStats = createDirentFromStats;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fs = void 0;\nconst fs = require(\"./fs\");\nexports.fs = fs;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.statSync = exports.stat = exports.Settings = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction stat(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.stat = stat;\nfunction statSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.statSync = statSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings, callback) {\n settings.fs.lstat(path, (lstatError, lstat) => {\n if (lstatError !== null) {\n callFailureCallback(callback, lstatError);\n return;\n }\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n callSuccessCallback(callback, lstat);\n return;\n }\n settings.fs.stat(path, (statError, stat) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n callFailureCallback(callback, statError);\n return;\n }\n callSuccessCallback(callback, lstat);\n return;\n }\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n callSuccessCallback(callback, stat);\n });\n });\n}\nexports.read = read;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings) {\n const lstat = settings.fs.lstatSync(path);\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n return lstat;\n }\n try {\n const stat = settings.fs.statSync(path);\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n return stat;\n }\n catch (error) {\n if (!settings.throwErrorOnBrokenSymbolicLink) {\n return lstat;\n }\n throw error;\n }\n}\nexports.read = read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;\nconst async_1 = require(\"./providers/async\");\nconst stream_1 = require(\"./providers/stream\");\nconst sync_1 = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction walk(directory, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);\n return;\n }\n new async_1.default(directory, getSettings(optionsOrSettingsOrCallback)).read(callback);\n}\nexports.walk = walk;\nfunction walkSync(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new sync_1.default(directory, settings);\n return provider.read();\n}\nexports.walkSync = walkSync;\nfunction walkStream(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new stream_1.default(directory, settings);\n return provider.read();\n}\nexports.walkStream = walkStream;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nclass AsyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._storage = [];\n }\n read(callback) {\n this._reader.onError((error) => {\n callFailureCallback(callback, error);\n });\n this._reader.onEntry((entry) => {\n this._storage.push(entry);\n });\n this._reader.onEnd(() => {\n callSuccessCallback(callback, this._storage);\n });\n this._reader.read();\n }\n}\nexports.default = AsyncProvider;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, entries) {\n callback(null, entries);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst async_1 = require(\"../readers/async\");\nclass StreamProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._stream = new stream_1.Readable({\n objectMode: true,\n read: () => { },\n destroy: () => {\n if (!this._reader.isDestroyed) {\n this._reader.destroy();\n }\n }\n });\n }\n read() {\n this._reader.onError((error) => {\n this._stream.emit('error', error);\n });\n this._reader.onEntry((entry) => {\n this._stream.push(entry);\n });\n this._reader.onEnd(() => {\n this._stream.push(null);\n });\n this._reader.read();\n return this._stream;\n }\n}\nexports.default = StreamProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nclass SyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new sync_1.default(this._root, this._settings);\n }\n read() {\n return this._reader.read();\n }\n}\nexports.default = SyncProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst events_1 = require(\"events\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst fastq = require(\"fastq\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass AsyncReader extends reader_1.default {\n constructor(_root, _settings) {\n super(_root, _settings);\n this._settings = _settings;\n this._scandir = fsScandir.scandir;\n this._emitter = new events_1.EventEmitter();\n this._queue = fastq(this._worker.bind(this), this._settings.concurrency);\n this._isFatalError = false;\n this._isDestroyed = false;\n this._queue.drain = () => {\n if (!this._isFatalError) {\n this._emitter.emit('end');\n }\n };\n }\n read() {\n this._isFatalError = false;\n this._isDestroyed = false;\n setImmediate(() => {\n this._pushToQueue(this._root, this._settings.basePath);\n });\n return this._emitter;\n }\n get isDestroyed() {\n return this._isDestroyed;\n }\n destroy() {\n if (this._isDestroyed) {\n throw new Error('The reader is already destroyed');\n }\n this._isDestroyed = true;\n this._queue.killAndDrain();\n }\n onEntry(callback) {\n this._emitter.on('entry', callback);\n }\n onError(callback) {\n this._emitter.once('error', callback);\n }\n onEnd(callback) {\n this._emitter.once('end', callback);\n }\n _pushToQueue(directory, base) {\n const queueItem = { directory, base };\n this._queue.push(queueItem, (error) => {\n if (error !== null) {\n this._handleError(error);\n }\n });\n }\n _worker(item, done) {\n this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {\n if (error !== null) {\n done(error, undefined);\n return;\n }\n for (const entry of entries) {\n this._handleEntry(entry, item.base);\n }\n done(null, undefined);\n });\n }\n _handleError(error) {\n if (this._isDestroyed || !common.isFatalError(this._settings, error)) {\n return;\n }\n this._isFatalError = true;\n this._isDestroyed = true;\n this._emitter.emit('error', error);\n }\n _handleEntry(entry, base) {\n if (this._isDestroyed || this._isFatalError) {\n return;\n }\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._emitEntry(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _emitEntry(entry) {\n this._emitter.emit('entry', entry);\n }\n}\nexports.default = AsyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;\nfunction isFatalError(settings, error) {\n if (settings.errorFilter === null) {\n return true;\n }\n return !settings.errorFilter(error);\n}\nexports.isFatalError = isFatalError;\nfunction isAppliedFilter(filter, value) {\n return filter === null || filter(value);\n}\nexports.isAppliedFilter = isAppliedFilter;\nfunction replacePathSegmentSeparator(filepath, separator) {\n return filepath.split(/[/\\\\]/).join(separator);\n}\nexports.replacePathSegmentSeparator = replacePathSegmentSeparator;\nfunction joinPathSegments(a, b, separator) {\n if (a === '') {\n return b;\n }\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst common = require(\"./common\");\nclass Reader {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator);\n }\n}\nexports.default = Reader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass SyncReader extends reader_1.default {\n constructor() {\n super(...arguments);\n this._scandir = fsScandir.scandirSync;\n this._storage = [];\n this._queue = new Set();\n }\n read() {\n this._pushToQueue(this._root, this._settings.basePath);\n this._handleQueue();\n return this._storage;\n }\n _pushToQueue(directory, base) {\n this._queue.add({ directory, base });\n }\n _handleQueue() {\n for (const item of this._queue.values()) {\n this._handleDirectory(item.directory, item.base);\n }\n }\n _handleDirectory(directory, base) {\n try {\n const entries = this._scandir(directory, this._settings.fsScandirSettings);\n for (const entry of entries) {\n this._handleEntry(entry, base);\n }\n }\n catch (error) {\n this._handleError(error);\n }\n }\n _handleError(error) {\n if (!common.isFatalError(this._settings, error)) {\n return;\n }\n throw error;\n }\n _handleEntry(entry, base) {\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._pushToStorage(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _pushToStorage(entry) {\n this._storage.push(entry);\n }\n}\nexports.default = SyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.basePath = this._getValue(this._options.basePath, undefined);\n this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);\n this.deepFilter = this._getValue(this._options.deepFilter, null);\n this.entryFilter = this._getValue(this._options.entryFilter, null);\n this.errorFilter = this._getValue(this._options.errorFilter, null);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.fsScandirSettings = new fsScandir.Settings({\n followSymbolicLinks: this._options.followSymbolicLinks,\n fs: this._options.fs,\n pathSegmentSeparator: this._options.pathSegmentSeparator,\n stats: this._options.stats,\n throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n createTokenAuth: () => createTokenAuth\n});\nmodule.exports = __toCommonJS(dist_src_exports);\n\n// pkg/dist-src/auth.js\nvar REGEX_IS_INSTALLATION_LEGACY = /^v1\\./;\nvar REGEX_IS_INSTALLATION = /^ghs_/;\nvar REGEX_IS_USER_TO_SERVER = /^ghu_/;\nasync function auth(token) {\n const isApp = token.split(/\\./).length === 3;\n const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);\n const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);\n const tokenType = isApp ? \"app\" : isInstallation ? \"installation\" : isUserToServer ? \"user-to-server\" : \"oauth\";\n return {\n type: \"token\",\n token,\n tokenType\n };\n}\n\n// pkg/dist-src/with-authorization-prefix.js\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n return `token ${token}`;\n}\n\n// pkg/dist-src/hook.js\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(\n route,\n parameters\n );\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\n// pkg/dist-src/index.js\nvar createTokenAuth = function createTokenAuth2(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n if (typeof token !== \"string\") {\n throw new Error(\n \"[@octokit/auth-token] Token passed to createTokenAuth is not a string\"\n );\n }\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n createTokenAuth\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar index_exports = {};\n__export(index_exports, {\n Octokit: () => Octokit\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_universal_user_agent = require(\"universal-user-agent\");\nvar import_before_after_hook = require(\"before-after-hook\");\nvar import_request = require(\"@octokit/request\");\nvar import_graphql = require(\"@octokit/graphql\");\nvar import_auth_token = require(\"@octokit/auth-token\");\n\n// pkg/dist-src/version.js\nvar VERSION = \"5.2.1\";\n\n// pkg/dist-src/index.js\nvar noop = () => {\n};\nvar consoleWarn = console.warn.bind(console);\nvar consoleError = console.error.bind(console);\nvar userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;\nvar Octokit = class {\n static {\n this.VERSION = VERSION;\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(\n Object.assign(\n {},\n defaults,\n options,\n options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null\n )\n );\n }\n };\n return OctokitWithDefaults;\n }\n static {\n this.plugins = [];\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n const currentPlugins = this.plugins;\n const NewOctokit = class extends this {\n static {\n this.plugins = currentPlugins.concat(\n newPlugins.filter((plugin) => !currentPlugins.includes(plugin))\n );\n }\n };\n return NewOctokit;\n }\n constructor(options = {}) {\n const hook = new import_before_after_hook.Collection();\n const requestDefaults = {\n baseUrl: import_request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n };\n requestDefaults.headers[\"user-agent\"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = import_request.request.defaults(requestDefaults);\n this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);\n this.log = Object.assign(\n {\n debug: noop,\n info: noop,\n warn: consoleWarn,\n error: consoleError\n },\n options.log\n );\n this.hook = hook;\n if (!options.authStrategy) {\n if (!options.auth) {\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n const auth = (0, import_auth_token.createTokenAuth)(options.auth);\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(\n Object.assign(\n {\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n },\n options.auth\n )\n );\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n const classConstructor = this.constructor;\n for (let i = 0; i < classConstructor.plugins.length; ++i) {\n Object.assign(this, classConstructor.plugins[i](this, options));\n }\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n Octokit\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n endpoint: () => endpoint\n});\nmodule.exports = __toCommonJS(dist_src_exports);\n\n// pkg/dist-src/defaults.js\nvar import_universal_user_agent = require(\"universal-user-agent\");\n\n// pkg/dist-src/version.js\nvar VERSION = \"9.0.6\";\n\n// pkg/dist-src/defaults.js\nvar userAgent = `octokit-endpoint.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;\nvar DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\"\n }\n};\n\n// pkg/dist-src/util/lowercase-keys.js\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\n// pkg/dist-src/util/is-plain-object.js\nfunction isPlainObject(value) {\n if (typeof value !== \"object\" || value === null)\n return false;\n if (Object.prototype.toString.call(value) !== \"[object Object]\")\n return false;\n const proto = Object.getPrototypeOf(value);\n if (proto === null)\n return true;\n const Ctor = Object.prototype.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);\n}\n\n// pkg/dist-src/util/merge-deep.js\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach((key) => {\n if (isPlainObject(options[key])) {\n if (!(key in defaults))\n Object.assign(result, { [key]: options[key] });\n else\n result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, { [key]: options[key] });\n }\n });\n return result;\n}\n\n// pkg/dist-src/util/remove-undefined-properties.js\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === void 0) {\n delete obj[key];\n }\n }\n return obj;\n}\n\n// pkg/dist-src/merge.js\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? { method, url } : { url: method }, options);\n } else {\n options = Object.assign({}, route);\n }\n options.headers = lowercaseKeys(options.headers);\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options);\n if (options.url === \"/graphql\") {\n if (defaults && defaults.mediaType.previews?.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(\n (preview) => !mergedOptions.mediaType.previews.includes(preview)\n ).concat(mergedOptions.mediaType.previews);\n }\n mergedOptions.mediaType.previews = (mergedOptions.mediaType.previews || []).map((preview) => preview.replace(/-preview/, \"\"));\n }\n return mergedOptions;\n}\n\n// pkg/dist-src/util/add-query-parameters.js\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n if (names.length === 0) {\n return url;\n }\n return url + separator + names.map((name) => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\n// pkg/dist-src/util/extract-url-variable-names.js\nvar urlVariableRegex = /\\{[^{}}]+\\}/g;\nfunction removeNonChars(variableName) {\n return variableName.replace(/(?:^\\W+)|(?:(? a.concat(b), []);\n}\n\n// pkg/dist-src/util/omit.js\nfunction omit(object, keysToOmit) {\n const result = { __proto__: null };\n for (const key of Object.keys(object)) {\n if (keysToOmit.indexOf(key) === -1) {\n result[key] = object[key];\n }\n }\n return result;\n}\n\n// pkg/dist-src/util/url-template.js\nfunction encodeReserved(str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n return part;\n }).join(\"\");\n}\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\nfunction isDefined(value) {\n return value !== void 0 && value !== null;\n}\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\nfunction getValues(context, operator, key, modifier) {\n var value = context[key], result = [];\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n value = value.toString();\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n result.push(\n encodeValue(operator, value, isKeyOperator(operator) ? key : \"\")\n );\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function(value2) {\n result.push(\n encodeValue(operator, value2, isKeyOperator(operator) ? key : \"\")\n );\n });\n } else {\n Object.keys(value).forEach(function(k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function(value2) {\n tmp.push(encodeValue(operator, value2));\n });\n } else {\n Object.keys(value).forEach(function(k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n } else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n return result;\n}\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n template = template.replace(\n /\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g,\n function(_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n expression.split(/,/g).forEach(function(variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n if (operator && operator !== \"+\") {\n var separator = \",\";\n if (operator === \"?\") {\n separator = \"&\";\n } else if (operator !== \"#\") {\n separator = operator;\n }\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n }\n );\n if (template === \"/\") {\n return template;\n } else {\n return template.replace(/\\/$/, \"\");\n }\n}\n\n// pkg/dist-src/parse.js\nfunction parse(options) {\n let method = options.method.toUpperCase();\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"mediaType\"\n ]);\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n const omittedParameters = Object.keys(options).filter((option) => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n headers.accept = headers.accept.split(/,/).map(\n (format) => format.replace(\n /application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/,\n `application/vnd$1$2.${options.mediaType.format}`\n )\n ).join(\",\");\n }\n if (url.endsWith(\"/graphql\")) {\n if (options.mediaType.previews?.length) {\n const previewsFromAcceptHeader = headers.accept.match(/(? {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n }\n }\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n }\n }\n }\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n }\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n }\n return Object.assign(\n { method, url, headers },\n typeof body !== \"undefined\" ? { body } : null,\n options.request ? { request: options.request } : null\n );\n}\n\n// pkg/dist-src/endpoint-with-defaults.js\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS2 = merge(oldDefaults, newDefaults);\n const endpoint2 = endpointWithDefaults.bind(null, DEFAULTS2);\n return Object.assign(endpoint2, {\n DEFAULTS: DEFAULTS2,\n defaults: withDefaults.bind(null, DEFAULTS2),\n merge: merge.bind(null, DEFAULTS2),\n parse\n });\n}\n\n// pkg/dist-src/index.js\nvar endpoint = withDefaults(null, DEFAULTS);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n endpoint\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar index_exports = {};\n__export(index_exports, {\n GraphqlResponseError: () => GraphqlResponseError,\n graphql: () => graphql2,\n withCustomRequest: () => withCustomRequest\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_request3 = require(\"@octokit/request\");\nvar import_universal_user_agent = require(\"universal-user-agent\");\n\n// pkg/dist-src/version.js\nvar VERSION = \"7.1.1\";\n\n// pkg/dist-src/with-defaults.js\nvar import_request2 = require(\"@octokit/request\");\n\n// pkg/dist-src/graphql.js\nvar import_request = require(\"@octokit/request\");\n\n// pkg/dist-src/error.js\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\n` + data.errors.map((e) => ` - ${e.message}`).join(\"\\n\");\n}\nvar GraphqlResponseError = class extends Error {\n constructor(request2, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request2;\n this.headers = headers;\n this.response = response;\n this.name = \"GraphqlResponseError\";\n this.errors = response.errors;\n this.data = response.data;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n};\n\n// pkg/dist-src/graphql.js\nvar NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\"\n];\nvar FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nvar GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request2, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(\n new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`)\n );\n }\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(\n new Error(\n `[@octokit/graphql] \"${key}\" cannot be used as variable name`\n )\n );\n }\n }\n const parsedOptions = typeof query === \"string\" ? Object.assign({ query }, options) : query;\n const requestOptions = Object.keys(\n parsedOptions\n ).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = parsedOptions[key];\n return result;\n }, {});\n const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl;\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n return request2(requestOptions).then((response) => {\n if (response.data.errors) {\n const headers = {};\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n throw new GraphqlResponseError(\n requestOptions,\n headers,\n response.data\n );\n }\n return response.data.data;\n });\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(request2, newDefaults) {\n const newRequest = request2.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: newRequest.endpoint\n });\n}\n\n// pkg/dist-src/index.js\nvar graphql2 = withDefaults(import_request3.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n GraphqlResponseError,\n graphql,\n withCustomRequest\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n composePaginateRest: () => composePaginateRest,\n isPaginatingEndpoint: () => isPaginatingEndpoint,\n paginateRest: () => paginateRest,\n paginatingEndpoints: () => paginatingEndpoints\n});\nmodule.exports = __toCommonJS(dist_src_exports);\n\n// pkg/dist-src/version.js\nvar VERSION = \"9.2.2\";\n\n// pkg/dist-src/normalize-paginated-list-response.js\nfunction normalizePaginatedListResponse(response) {\n if (!response.data) {\n return {\n ...response,\n data: []\n };\n }\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n\n// pkg/dist-src/iterator.js\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url)\n return { done: true };\n try {\n const response = await requestMethod({ method, url, headers });\n const normalizedResponse = normalizePaginatedListResponse(response);\n url = ((normalizedResponse.headers.link || \"\").match(\n /<([^<>]+)>;\\s*rel=\"next\"/\n ) || [])[1];\n return { value: normalizedResponse };\n } catch (error) {\n if (error.status !== 409)\n throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n })\n };\n}\n\n// pkg/dist-src/paginate.js\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = void 0;\n }\n return gather(\n octokit,\n [],\n iterator(octokit, route, parameters)[Symbol.asyncIterator](),\n mapFn\n );\n}\nfunction gather(octokit, results, iterator2, mapFn) {\n return iterator2.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(\n mapFn ? mapFn(result.value, done) : result.value.data\n );\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator2, mapFn);\n });\n}\n\n// pkg/dist-src/compose-paginate.js\nvar composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\n// pkg/dist-src/generated/paginating-endpoints.js\nvar paginatingEndpoints = [\n \"GET /advisories\",\n \"GET /app/hook/deliveries\",\n \"GET /app/installation-requests\",\n \"GET /app/installations\",\n \"GET /assignments/{assignment_id}/accepted_assignments\",\n \"GET /classrooms\",\n \"GET /classrooms/{classroom_id}/assignments\",\n \"GET /enterprises/{enterprise}/dependabot/alerts\",\n \"GET /enterprises/{enterprise}/secret-scanning/alerts\",\n \"GET /events\",\n \"GET /gists\",\n \"GET /gists/public\",\n \"GET /gists/starred\",\n \"GET /gists/{gist_id}/comments\",\n \"GET /gists/{gist_id}/commits\",\n \"GET /gists/{gist_id}/forks\",\n \"GET /installation/repositories\",\n \"GET /issues\",\n \"GET /licenses\",\n \"GET /marketplace_listing/plans\",\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n \"GET /marketplace_listing/stubbed/plans\",\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n \"GET /networks/{owner}/{repo}/events\",\n \"GET /notifications\",\n \"GET /organizations\",\n \"GET /orgs/{org}/actions/cache/usage-by-repository\",\n \"GET /orgs/{org}/actions/permissions/repositories\",\n \"GET /orgs/{org}/actions/runners\",\n \"GET /orgs/{org}/actions/secrets\",\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/actions/variables\",\n \"GET /orgs/{org}/actions/variables/{name}/repositories\",\n \"GET /orgs/{org}/blocks\",\n \"GET /orgs/{org}/code-scanning/alerts\",\n \"GET /orgs/{org}/codespaces\",\n \"GET /orgs/{org}/codespaces/secrets\",\n \"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/copilot/billing/seats\",\n \"GET /orgs/{org}/dependabot/alerts\",\n \"GET /orgs/{org}/dependabot/secrets\",\n \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/events\",\n \"GET /orgs/{org}/failed_invitations\",\n \"GET /orgs/{org}/hooks\",\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries\",\n \"GET /orgs/{org}/installations\",\n \"GET /orgs/{org}/invitations\",\n \"GET /orgs/{org}/invitations/{invitation_id}/teams\",\n \"GET /orgs/{org}/issues\",\n \"GET /orgs/{org}/members\",\n \"GET /orgs/{org}/members/{username}/codespaces\",\n \"GET /orgs/{org}/migrations\",\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n \"GET /orgs/{org}/organization-roles/{role_id}/teams\",\n \"GET /orgs/{org}/organization-roles/{role_id}/users\",\n \"GET /orgs/{org}/outside_collaborators\",\n \"GET /orgs/{org}/packages\",\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n \"GET /orgs/{org}/personal-access-token-requests\",\n \"GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories\",\n \"GET /orgs/{org}/personal-access-tokens\",\n \"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories\",\n \"GET /orgs/{org}/projects\",\n \"GET /orgs/{org}/properties/values\",\n \"GET /orgs/{org}/public_members\",\n \"GET /orgs/{org}/repos\",\n \"GET /orgs/{org}/rulesets\",\n \"GET /orgs/{org}/rulesets/rule-suites\",\n \"GET /orgs/{org}/secret-scanning/alerts\",\n \"GET /orgs/{org}/security-advisories\",\n \"GET /orgs/{org}/teams\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n \"GET /orgs/{org}/teams/{team_slug}/members\",\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n \"GET /orgs/{org}/teams/{team_slug}/repos\",\n \"GET /orgs/{org}/teams/{team_slug}/teams\",\n \"GET /projects/columns/{column_id}/cards\",\n \"GET /projects/{project_id}/collaborators\",\n \"GET /projects/{project_id}/columns\",\n \"GET /repos/{owner}/{repo}/actions/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/caches\",\n \"GET /repos/{owner}/{repo}/actions/organization-secrets\",\n \"GET /repos/{owner}/{repo}/actions/organization-variables\",\n \"GET /repos/{owner}/{repo}/actions/runners\",\n \"GET /repos/{owner}/{repo}/actions/runs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n \"GET /repos/{owner}/{repo}/actions/variables\",\n \"GET /repos/{owner}/{repo}/actions/workflows\",\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n \"GET /repos/{owner}/{repo}/activity\",\n \"GET /repos/{owner}/{repo}/assignees\",\n \"GET /repos/{owner}/{repo}/branches\",\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n \"GET /repos/{owner}/{repo}/code-scanning/analyses\",\n \"GET /repos/{owner}/{repo}/codespaces\",\n \"GET /repos/{owner}/{repo}/codespaces/devcontainers\",\n \"GET /repos/{owner}/{repo}/codespaces/secrets\",\n \"GET /repos/{owner}/{repo}/collaborators\",\n \"GET /repos/{owner}/{repo}/comments\",\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/commits\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/status\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n \"GET /repos/{owner}/{repo}/contributors\",\n \"GET /repos/{owner}/{repo}/dependabot/alerts\",\n \"GET /repos/{owner}/{repo}/dependabot/secrets\",\n \"GET /repos/{owner}/{repo}/deployments\",\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n \"GET /repos/{owner}/{repo}/environments\",\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies\",\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps\",\n \"GET /repos/{owner}/{repo}/events\",\n \"GET /repos/{owner}/{repo}/forks\",\n \"GET /repos/{owner}/{repo}/hooks\",\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n \"GET /repos/{owner}/{repo}/invitations\",\n \"GET /repos/{owner}/{repo}/issues\",\n \"GET /repos/{owner}/{repo}/issues/comments\",\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n \"GET /repos/{owner}/{repo}/keys\",\n \"GET /repos/{owner}/{repo}/labels\",\n \"GET /repos/{owner}/{repo}/milestones\",\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n \"GET /repos/{owner}/{repo}/notifications\",\n \"GET /repos/{owner}/{repo}/pages/builds\",\n \"GET /repos/{owner}/{repo}/projects\",\n \"GET /repos/{owner}/{repo}/pulls\",\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n \"GET /repos/{owner}/{repo}/releases\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\",\n \"GET /repos/{owner}/{repo}/rules/branches/{branch}\",\n \"GET /repos/{owner}/{repo}/rulesets\",\n \"GET /repos/{owner}/{repo}/rulesets/rule-suites\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\",\n \"GET /repos/{owner}/{repo}/security-advisories\",\n \"GET /repos/{owner}/{repo}/stargazers\",\n \"GET /repos/{owner}/{repo}/subscribers\",\n \"GET /repos/{owner}/{repo}/tags\",\n \"GET /repos/{owner}/{repo}/teams\",\n \"GET /repos/{owner}/{repo}/topics\",\n \"GET /repositories\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/variables\",\n \"GET /search/code\",\n \"GET /search/commits\",\n \"GET /search/issues\",\n \"GET /search/labels\",\n \"GET /search/repositories\",\n \"GET /search/topics\",\n \"GET /search/users\",\n \"GET /teams/{team_id}/discussions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\",\n \"GET /teams/{team_id}/invitations\",\n \"GET /teams/{team_id}/members\",\n \"GET /teams/{team_id}/projects\",\n \"GET /teams/{team_id}/repos\",\n \"GET /teams/{team_id}/teams\",\n \"GET /user/blocks\",\n \"GET /user/codespaces\",\n \"GET /user/codespaces/secrets\",\n \"GET /user/emails\",\n \"GET /user/followers\",\n \"GET /user/following\",\n \"GET /user/gpg_keys\",\n \"GET /user/installations\",\n \"GET /user/installations/{installation_id}/repositories\",\n \"GET /user/issues\",\n \"GET /user/keys\",\n \"GET /user/marketplace_purchases\",\n \"GET /user/marketplace_purchases/stubbed\",\n \"GET /user/memberships/orgs\",\n \"GET /user/migrations\",\n \"GET /user/migrations/{migration_id}/repositories\",\n \"GET /user/orgs\",\n \"GET /user/packages\",\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n \"GET /user/public_emails\",\n \"GET /user/repos\",\n \"GET /user/repository_invitations\",\n \"GET /user/social_accounts\",\n \"GET /user/ssh_signing_keys\",\n \"GET /user/starred\",\n \"GET /user/subscriptions\",\n \"GET /user/teams\",\n \"GET /users\",\n \"GET /users/{username}/events\",\n \"GET /users/{username}/events/orgs/{org}\",\n \"GET /users/{username}/events/public\",\n \"GET /users/{username}/followers\",\n \"GET /users/{username}/following\",\n \"GET /users/{username}/gists\",\n \"GET /users/{username}/gpg_keys\",\n \"GET /users/{username}/keys\",\n \"GET /users/{username}/orgs\",\n \"GET /users/{username}/packages\",\n \"GET /users/{username}/projects\",\n \"GET /users/{username}/received_events\",\n \"GET /users/{username}/received_events/public\",\n \"GET /users/{username}/repos\",\n \"GET /users/{username}/social_accounts\",\n \"GET /users/{username}/ssh_signing_keys\",\n \"GET /users/{username}/starred\",\n \"GET /users/{username}/subscriptions\"\n];\n\n// pkg/dist-src/paginating-endpoints.js\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n// pkg/dist-src/index.js\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n composePaginateRest,\n isPaginatingEndpoint,\n paginateRest,\n paginatingEndpoints\n});\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n legacyRestEndpointMethods: () => legacyRestEndpointMethods,\n restEndpointMethods: () => restEndpointMethods\n});\nmodule.exports = __toCommonJS(dist_src_exports);\n\n// pkg/dist-src/version.js\nvar VERSION = \"10.4.1\";\n\n// pkg/dist-src/generated/endpoints.js\nvar Endpoints = {\n actions: {\n addCustomLabelsToSelfHostedRunnerForOrg: [\n \"POST /orgs/{org}/actions/runners/{runner_id}/labels\"\n ],\n addCustomLabelsToSelfHostedRunnerForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"\n ],\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n addSelectedRepoToOrgVariable: [\n \"PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}\"\n ],\n approveWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"\n ],\n createEnvironmentVariable: [\n \"POST /repositories/{repository_id}/environments/{environment_name}/variables\"\n ],\n createOrUpdateEnvironmentSecret: [\n \"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"\n ],\n createOrgVariable: [\"POST /orgs/{org}/actions/variables\"],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\"\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\"\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\"\n ],\n createRepoVariable: [\"POST /repos/{owner}/{repo}/actions/variables\"],\n createWorkflowDispatch: [\n \"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"\n ],\n deleteActionsCacheById: [\n \"DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}\"\n ],\n deleteActionsCacheByKey: [\n \"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}\"\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"\n ],\n deleteEnvironmentSecret: [\n \"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"\n ],\n deleteEnvironmentVariable: [\n \"DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}\"\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteOrgVariable: [\"DELETE /orgs/{org}/actions/variables/{name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"\n ],\n deleteRepoVariable: [\n \"DELETE /repos/{owner}/{repo}/actions/variables/{name}\"\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\"\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"\n ],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"\n ],\n disableSelectedRepositoryGithubActionsOrganization: [\n \"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"\n ],\n disableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"\n ],\n downloadJobLogsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"\n ],\n downloadWorkflowRunAttemptLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs\"\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"\n ],\n enableSelectedRepositoryGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"\n ],\n enableWorkflow: [\n \"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"\n ],\n forceCancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel\"\n ],\n generateRunnerJitconfigForOrg: [\n \"POST /orgs/{org}/actions/runners/generate-jitconfig\"\n ],\n generateRunnerJitconfigForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig\"\n ],\n getActionsCacheList: [\"GET /repos/{owner}/{repo}/actions/caches\"],\n getActionsCacheUsage: [\"GET /repos/{owner}/{repo}/actions/cache/usage\"],\n getActionsCacheUsageByRepoForOrg: [\n \"GET /orgs/{org}/actions/cache/usage-by-repository\"\n ],\n getActionsCacheUsageForOrg: [\"GET /orgs/{org}/actions/cache/usage\"],\n getAllowedActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/selected-actions\"\n ],\n getAllowedActionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getCustomOidcSubClaimForRepo: [\n \"GET /repos/{owner}/{repo}/actions/oidc/customization/sub\"\n ],\n getEnvironmentPublicKey: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"\n ],\n getEnvironmentSecret: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"\n ],\n getEnvironmentVariable: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}\"\n ],\n getGithubActionsDefaultWorkflowPermissionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/workflow\"\n ],\n getGithubActionsDefaultWorkflowPermissionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions/workflow\"\n ],\n getGithubActionsPermissionsOrganization: [\n \"GET /orgs/{org}/actions/permissions\"\n ],\n getGithubActionsPermissionsRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions\"\n ],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getOrgVariable: [\"GET /orgs/{org}/actions/variables/{name}\"],\n getPendingDeploymentsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"\n ],\n getRepoPermissions: [\n \"GET /repos/{owner}/{repo}/actions/permissions\",\n {},\n { renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"] }\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getRepoVariable: [\"GET /repos/{owner}/{repo}/actions/variables/{name}\"],\n getReviewsForRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"\n ],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"\n ],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowAccessToRepository: [\n \"GET /repos/{owner}/{repo}/actions/permissions/access\"\n ],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunAttempt: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}\"\n ],\n getWorkflowRunUsage: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"\n ],\n getWorkflowUsage: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"\n ],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"\n ],\n listEnvironmentVariables: [\n \"GET /repositories/{repository_id}/environments/{environment_name}/variables\"\n ],\n listJobsForWorkflowRun: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"\n ],\n listJobsForWorkflowRunAttempt: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\"\n ],\n listLabelsForSelfHostedRunnerForOrg: [\n \"GET /orgs/{org}/actions/runners/{runner_id}/labels\"\n ],\n listLabelsForSelfHostedRunnerForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"\n ],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listOrgVariables: [\"GET /orgs/{org}/actions/variables\"],\n listRepoOrganizationSecrets: [\n \"GET /repos/{owner}/{repo}/actions/organization-secrets\"\n ],\n listRepoOrganizationVariables: [\n \"GET /repos/{owner}/{repo}/actions/organization-variables\"\n ],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoVariables: [\"GET /repos/{owner}/{repo}/actions/variables\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\n \"GET /repos/{owner}/{repo}/actions/runners/downloads\"\n ],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"\n ],\n listSelectedReposForOrgVariable: [\n \"GET /orgs/{org}/actions/variables/{name}/repositories\"\n ],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"GET /orgs/{org}/actions/permissions/repositories\"\n ],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"\n ],\n listWorkflowRuns: [\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"\n ],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunJobForWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun\"\n ],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n reRunWorkflowFailedJobs: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs\"\n ],\n removeAllCustomLabelsFromSelfHostedRunnerForOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}/labels\"\n ],\n removeAllCustomLabelsFromSelfHostedRunnerForRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"\n ],\n removeCustomLabelFromSelfHostedRunnerForOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}\"\n ],\n removeCustomLabelFromSelfHostedRunnerForRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}\"\n ],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n removeSelectedRepoFromOrgVariable: [\n \"DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}\"\n ],\n reviewCustomGatesForRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule\"\n ],\n reviewPendingDeploymentsForRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"\n ],\n setAllowedActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/selected-actions\"\n ],\n setAllowedActionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"\n ],\n setCustomLabelsForSelfHostedRunnerForOrg: [\n \"PUT /orgs/{org}/actions/runners/{runner_id}/labels\"\n ],\n setCustomLabelsForSelfHostedRunnerForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"\n ],\n setCustomOidcSubClaimForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/oidc/customization/sub\"\n ],\n setGithubActionsDefaultWorkflowPermissionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/workflow\"\n ],\n setGithubActionsDefaultWorkflowPermissionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions/workflow\"\n ],\n setGithubActionsPermissionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions\"\n ],\n setGithubActionsPermissionsRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions\"\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"\n ],\n setSelectedReposForOrgVariable: [\n \"PUT /orgs/{org}/actions/variables/{name}/repositories\"\n ],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\n \"PUT /orgs/{org}/actions/permissions/repositories\"\n ],\n setWorkflowAccessToRepository: [\n \"PUT /repos/{owner}/{repo}/actions/permissions/access\"\n ],\n updateEnvironmentVariable: [\n \"PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}\"\n ],\n updateOrgVariable: [\"PATCH /orgs/{org}/actions/variables/{name}\"],\n updateRepoVariable: [\n \"PATCH /repos/{owner}/{repo}/actions/variables/{name}\"\n ]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\n \"DELETE /notifications/threads/{thread_id}/subscription\"\n ],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\n \"GET /notifications/threads/{thread_id}/subscription\"\n ],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\n \"GET /users/{username}/events/orgs/{org}\"\n ],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\n \"GET /users/{username}/received_events/public\"\n ],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/notifications\"\n ],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsDone: [\"DELETE /notifications/threads/{thread_id}\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\n \"PUT /notifications/threads/{thread_id}/subscription\"\n ],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\",\n {},\n { renamed: [\"apps\", \"addRepoToInstallationForAuthenticatedUser\"] }\n ],\n addRepoToInstallationForAuthenticatedUser: [\n \"PUT /user/installations/{installation_id}/repositories/{repository_id}\"\n ],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\n \"POST /app/installations/{installation_id}/access_tokens\"\n ],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\n \"GET /marketplace_listing/accounts/{account_id}\"\n ],\n getSubscriptionPlanForAccountStubbed: [\n \"GET /marketplace_listing/stubbed/accounts/{account_id}\"\n ],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"\n ],\n listInstallationReposForAuthenticatedUser: [\n \"GET /user/installations/{installation_id}/repositories\"\n ],\n listInstallationRequestsForAuthenticatedApp: [\n \"GET /app/installation-requests\"\n ],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\n \"GET /user/marketplace_purchases/stubbed\"\n ],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\n \"POST /app/hook/deliveries/{delivery_id}/attempts\"\n ],\n removeRepoFromInstallation: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\",\n {},\n { renamed: [\"apps\", \"removeRepoFromInstallationForAuthenticatedUser\"] }\n ],\n removeRepoFromInstallationForAuthenticatedUser: [\n \"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"\n ],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\n \"DELETE /app/installations/{installation_id}/suspended\"\n ],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\n \"GET /users/{username}/settings/billing/actions\"\n ],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\n \"GET /users/{username}/settings/billing/packages\"\n ],\n getSharedStorageBillingOrg: [\n \"GET /orgs/{org}/settings/billing/shared-storage\"\n ],\n getSharedStorageBillingUser: [\n \"GET /users/{username}/settings/billing/shared-storage\"\n ]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"\n ],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"\n ],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestRun: [\n \"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest\"\n ],\n rerequestSuite: [\n \"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"\n ],\n setSuitesPreferences: [\n \"PATCH /repos/{owner}/{repo}/check-suites/preferences\"\n ],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\n \"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"\n ],\n getAlert: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\",\n {},\n { renamedParameters: { alert_id: \"alert_number\" } }\n ],\n getAnalysis: [\n \"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"\n ],\n getCodeqlDatabase: [\n \"GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}\"\n ],\n getDefaultSetup: [\"GET /repos/{owner}/{repo}/code-scanning/default-setup\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"\n ],\n listAlertsForOrg: [\"GET /orgs/{org}/code-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n {},\n { renamed: [\"codeScanning\", \"listAlertInstances\"] }\n ],\n listCodeqlDatabases: [\n \"GET /repos/{owner}/{repo}/code-scanning/codeql/databases\"\n ],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"\n ],\n updateDefaultSetup: [\n \"PATCH /repos/{owner}/{repo}/code-scanning/default-setup\"\n ],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"]\n },\n codespaces: {\n addRepositoryForSecretForAuthenticatedUser: [\n \"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n checkPermissionsForDevcontainer: [\n \"GET /repos/{owner}/{repo}/codespaces/permissions_check\"\n ],\n codespaceMachinesForAuthenticatedUser: [\n \"GET /user/codespaces/{codespace_name}/machines\"\n ],\n createForAuthenticatedUser: [\"POST /user/codespaces\"],\n createOrUpdateOrgSecret: [\n \"PUT /orgs/{org}/codespaces/secrets/{secret_name}\"\n ],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"\n ],\n createOrUpdateSecretForAuthenticatedUser: [\n \"PUT /user/codespaces/secrets/{secret_name}\"\n ],\n createWithPrForAuthenticatedUser: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces\"\n ],\n createWithRepoForAuthenticatedUser: [\n \"POST /repos/{owner}/{repo}/codespaces\"\n ],\n deleteForAuthenticatedUser: [\"DELETE /user/codespaces/{codespace_name}\"],\n deleteFromOrganization: [\n \"DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}\"\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/codespaces/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"\n ],\n deleteSecretForAuthenticatedUser: [\n \"DELETE /user/codespaces/secrets/{secret_name}\"\n ],\n exportForAuthenticatedUser: [\n \"POST /user/codespaces/{codespace_name}/exports\"\n ],\n getCodespacesForUserInOrg: [\n \"GET /orgs/{org}/members/{username}/codespaces\"\n ],\n getExportDetailsForAuthenticatedUser: [\n \"GET /user/codespaces/{codespace_name}/exports/{export_id}\"\n ],\n getForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/codespaces/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/codespaces/secrets/{secret_name}\"],\n getPublicKeyForAuthenticatedUser: [\n \"GET /user/codespaces/secrets/public-key\"\n ],\n getRepoPublicKey: [\n \"GET /repos/{owner}/{repo}/codespaces/secrets/public-key\"\n ],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"\n ],\n getSecretForAuthenticatedUser: [\n \"GET /user/codespaces/secrets/{secret_name}\"\n ],\n listDevcontainersInRepositoryForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/codespaces/devcontainers\"\n ],\n listForAuthenticatedUser: [\"GET /user/codespaces\"],\n listInOrganization: [\n \"GET /orgs/{org}/codespaces\",\n {},\n { renamedParameters: { org_id: \"org\" } }\n ],\n listInRepositoryForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/codespaces\"\n ],\n listOrgSecrets: [\"GET /orgs/{org}/codespaces/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/codespaces/secrets\"],\n listRepositoriesForSecretForAuthenticatedUser: [\n \"GET /user/codespaces/secrets/{secret_name}/repositories\"\n ],\n listSecretsForAuthenticatedUser: [\"GET /user/codespaces/secrets\"],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories\"\n ],\n preFlightWithRepoForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/codespaces/new\"\n ],\n publishForAuthenticatedUser: [\n \"POST /user/codespaces/{codespace_name}/publish\"\n ],\n removeRepositoryForSecretForAuthenticatedUser: [\n \"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n repoMachinesForAuthenticatedUser: [\n \"GET /repos/{owner}/{repo}/codespaces/machines\"\n ],\n setRepositoriesForSecretForAuthenticatedUser: [\n \"PUT /user/codespaces/secrets/{secret_name}/repositories\"\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories\"\n ],\n startForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/start\"],\n stopForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/stop\"],\n stopInOrganization: [\n \"POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop\"\n ],\n updateForAuthenticatedUser: [\"PATCH /user/codespaces/{codespace_name}\"]\n },\n copilot: {\n addCopilotSeatsForTeams: [\n \"POST /orgs/{org}/copilot/billing/selected_teams\"\n ],\n addCopilotSeatsForUsers: [\n \"POST /orgs/{org}/copilot/billing/selected_users\"\n ],\n cancelCopilotSeatAssignmentForTeams: [\n \"DELETE /orgs/{org}/copilot/billing/selected_teams\"\n ],\n cancelCopilotSeatAssignmentForUsers: [\n \"DELETE /orgs/{org}/copilot/billing/selected_users\"\n ],\n getCopilotOrganizationDetails: [\"GET /orgs/{org}/copilot/billing\"],\n getCopilotSeatDetailsForUser: [\n \"GET /orgs/{org}/members/{username}/copilot\"\n ],\n listCopilotSeats: [\"GET /orgs/{org}/copilot/billing/seats\"]\n },\n dependabot: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n createOrUpdateOrgSecret: [\n \"PUT /orgs/{org}/dependabot/secrets/{secret_name}\"\n ],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/dependabot/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"\n ],\n getAlert: [\"GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/dependabot/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/dependabot/secrets/{secret_name}\"],\n getRepoPublicKey: [\n \"GET /repos/{owner}/{repo}/dependabot/secrets/public-key\"\n ],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"\n ],\n listAlertsForEnterprise: [\n \"GET /enterprises/{enterprise}/dependabot/alerts\"\n ],\n listAlertsForOrg: [\"GET /orgs/{org}/dependabot/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/dependabot/alerts\"],\n listOrgSecrets: [\"GET /orgs/{org}/dependabot/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/dependabot/secrets\"],\n listSelectedReposForOrgSecret: [\n \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"\n ],\n removeSelectedRepoFromOrgSecret: [\n \"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"\n ],\n setSelectedReposForOrgSecret: [\n \"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"\n ],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}\"\n ]\n },\n dependencyGraph: {\n createRepositorySnapshot: [\n \"POST /repos/{owner}/{repo}/dependency-graph/snapshots\"\n ],\n diffRange: [\n \"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}\"\n ],\n exportSbom: [\"GET /repos/{owner}/{repo}/dependency-graph/sbom\"]\n },\n emojis: { get: [\"GET /emojis\"] },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\n \"GET /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"] }\n ],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\n \"DELETE /repos/{owner}/{repo}/interaction-limits\"\n ],\n removeRestrictionsForYourPublicRepos: [\n \"DELETE /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"] }\n ],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\n \"PUT /user/interaction-limits\",\n {},\n { renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"] }\n ]\n },\n issues: {\n addAssignees: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"\n ],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n checkUserCanBeAssignedToIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}\"\n ],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"\n ],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"\n ],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\n \"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"\n ],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\"\n ],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"\n ],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"\n ],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"\n ],\n removeAssignees: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"\n ],\n removeLabel: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"\n ],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\n \"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"\n ]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\n \"POST /markdown/raw\",\n { headers: { \"content-type\": \"text/plain; charset=utf-8\" } }\n ]\n },\n meta: {\n get: [\"GET /meta\"],\n getAllVersions: [\"GET /versions\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\n \"DELETE /repos/{owner}/{repo}/import\",\n {},\n {\n deprecated: \"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import\"\n }\n ],\n deleteArchiveForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/archive\"\n ],\n deleteArchiveForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/archive\"\n ],\n downloadArchiveForOrg: [\n \"GET /orgs/{org}/migrations/{migration_id}/archive\"\n ],\n getArchiveForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/archive\"\n ],\n getCommitAuthors: [\n \"GET /repos/{owner}/{repo}/import/authors\",\n {},\n {\n deprecated: \"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors\"\n }\n ],\n getImportStatus: [\n \"GET /repos/{owner}/{repo}/import\",\n {},\n {\n deprecated: \"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status\"\n }\n ],\n getLargeFiles: [\n \"GET /repos/{owner}/{repo}/import/large_files\",\n {},\n {\n deprecated: \"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files\"\n }\n ],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\"],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\"],\n listForAuthenticatedUser: [\"GET /user/migrations\"],\n listForOrg: [\"GET /orgs/{org}/migrations\"],\n listReposForAuthenticatedUser: [\n \"GET /user/migrations/{migration_id}/repositories\"\n ],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\"],\n listReposForUser: [\n \"GET /user/migrations/{migration_id}/repositories\",\n {},\n { renamed: [\"migrations\", \"listReposForAuthenticatedUser\"] }\n ],\n mapCommitAuthor: [\n \"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\",\n {},\n {\n deprecated: \"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author\"\n }\n ],\n setLfsPreference: [\n \"PATCH /repos/{owner}/{repo}/import/lfs\",\n {},\n {\n deprecated: \"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference\"\n }\n ],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\n \"PUT /repos/{owner}/{repo}/import\",\n {},\n {\n deprecated: \"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import\"\n }\n ],\n unlockRepoForAuthenticatedUser: [\n \"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\"\n ],\n unlockRepoForOrg: [\n \"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\"\n ],\n updateImport: [\n \"PATCH /repos/{owner}/{repo}/import\",\n {},\n {\n deprecated: \"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import\"\n }\n ]\n },\n oidc: {\n getOidcCustomSubTemplateForOrg: [\n \"GET /orgs/{org}/actions/oidc/customization/sub\"\n ],\n updateOidcCustomSubTemplateForOrg: [\n \"PUT /orgs/{org}/actions/oidc/customization/sub\"\n ]\n },\n orgs: {\n addSecurityManagerTeam: [\n \"PUT /orgs/{org}/security-managers/teams/{team_slug}\"\n ],\n assignTeamToOrgRole: [\n \"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}\"\n ],\n assignUserToOrgRole: [\n \"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}\"\n ],\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\n \"PUT /orgs/{org}/outside_collaborators/{username}\"\n ],\n createCustomOrganizationRole: [\"POST /orgs/{org}/organization-roles\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createOrUpdateCustomProperties: [\"PATCH /orgs/{org}/properties/schema\"],\n createOrUpdateCustomPropertiesValuesForRepos: [\n \"PATCH /orgs/{org}/properties/values\"\n ],\n createOrUpdateCustomProperty: [\n \"PUT /orgs/{org}/properties/schema/{custom_property_name}\"\n ],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n delete: [\"DELETE /orgs/{org}\"],\n deleteCustomOrganizationRole: [\n \"DELETE /orgs/{org}/organization-roles/{role_id}\"\n ],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n enableOrDisableSecurityProductOnAllOrgRepos: [\n \"POST /orgs/{org}/{security_product}/{enablement}\"\n ],\n get: [\"GET /orgs/{org}\"],\n getAllCustomProperties: [\"GET /orgs/{org}/properties/schema\"],\n getCustomProperty: [\n \"GET /orgs/{org}/properties/schema/{custom_property_name}\"\n ],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getOrgRole: [\"GET /orgs/{org}/organization-roles/{role_id}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"\n ],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listCustomPropertiesValuesForRepos: [\"GET /orgs/{org}/properties/values\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOrgRoleTeams: [\"GET /orgs/{org}/organization-roles/{role_id}/teams\"],\n listOrgRoleUsers: [\"GET /orgs/{org}/organization-roles/{role_id}/users\"],\n listOrgRoles: [\"GET /orgs/{org}/organization-roles\"],\n listOrganizationFineGrainedPermissions: [\n \"GET /orgs/{org}/organization-fine-grained-permissions\"\n ],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPatGrantRepositories: [\n \"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories\"\n ],\n listPatGrantRequestRepositories: [\n \"GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories\"\n ],\n listPatGrantRequests: [\"GET /orgs/{org}/personal-access-token-requests\"],\n listPatGrants: [\"GET /orgs/{org}/personal-access-tokens\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listSecurityManagerTeams: [\"GET /orgs/{org}/security-managers\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n patchCustomOrganizationRole: [\n \"PATCH /orgs/{org}/organization-roles/{role_id}\"\n ],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"\n ],\n removeCustomProperty: [\n \"DELETE /orgs/{org}/properties/schema/{custom_property_name}\"\n ],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\n \"DELETE /orgs/{org}/outside_collaborators/{username}\"\n ],\n removePublicMembershipForAuthenticatedUser: [\n \"DELETE /orgs/{org}/public_members/{username}\"\n ],\n removeSecurityManagerTeam: [\n \"DELETE /orgs/{org}/security-managers/teams/{team_slug}\"\n ],\n reviewPatGrantRequest: [\n \"POST /orgs/{org}/personal-access-token-requests/{pat_request_id}\"\n ],\n reviewPatGrantRequestsInBulk: [\n \"POST /orgs/{org}/personal-access-token-requests\"\n ],\n revokeAllOrgRolesTeam: [\n \"DELETE /orgs/{org}/organization-roles/teams/{team_slug}\"\n ],\n revokeAllOrgRolesUser: [\n \"DELETE /orgs/{org}/organization-roles/users/{username}\"\n ],\n revokeOrgRoleTeam: [\n \"DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}\"\n ],\n revokeOrgRoleUser: [\n \"DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}\"\n ],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\n \"PUT /orgs/{org}/public_members/{username}\"\n ],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\n \"PATCH /user/memberships/orgs/{org}\"\n ],\n updatePatAccess: [\"POST /orgs/{org}/personal-access-tokens/{pat_id}\"],\n updatePatAccesses: [\"POST /orgs/{org}/personal-access-tokens\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}\"\n ],\n deletePackageForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"\n ],\n deletePackageForUser: [\n \"DELETE /users/{username}/packages/{package_type}/{package_name}\"\n ],\n deletePackageVersionForAuthenticatedUser: [\n \"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n deletePackageVersionForOrg: [\n \"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n deletePackageVersionForUser: [\n \"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n {},\n { renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"] }\n ],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n {},\n {\n renamed: [\n \"packages\",\n \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"\n ]\n }\n ],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions\"\n ],\n getAllPackageVersionsForPackageOwnedByOrg: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"\n ],\n getAllPackageVersionsForPackageOwnedByUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions\"\n ],\n getPackageForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}\"\n ],\n getPackageForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}\"\n ],\n getPackageForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}\"\n ],\n getPackageVersionForAuthenticatedUser: [\n \"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n getPackageVersionForOrganization: [\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n getPackageVersionForUser: [\n \"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"\n ],\n listDockerMigrationConflictingPackagesForAuthenticatedUser: [\n \"GET /user/docker/conflicts\"\n ],\n listDockerMigrationConflictingPackagesForOrganization: [\n \"GET /orgs/{org}/docker/conflicts\"\n ],\n listDockerMigrationConflictingPackagesForUser: [\n \"GET /users/{username}/docker/conflicts\"\n ],\n listPackagesForAuthenticatedUser: [\"GET /user/packages\"],\n listPackagesForOrganization: [\"GET /orgs/{org}/packages\"],\n listPackagesForUser: [\"GET /users/{username}/packages\"],\n restorePackageForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/restore{?token}\"\n ],\n restorePackageForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"\n ],\n restorePackageForUser: [\n \"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}\"\n ],\n restorePackageVersionForAuthenticatedUser: [\n \"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"\n ],\n restorePackageVersionForOrg: [\n \"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"\n ],\n restorePackageVersionForUser: [\n \"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"\n ]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\"],\n createCard: [\"POST /projects/columns/{column_id}/cards\"],\n createColumn: [\"POST /projects/{project_id}/columns\"],\n createForAuthenticatedUser: [\"POST /user/projects\"],\n createForOrg: [\"POST /orgs/{org}/projects\"],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\"],\n delete: [\"DELETE /projects/{project_id}\"],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\"],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\"],\n get: [\"GET /projects/{project_id}\"],\n getCard: [\"GET /projects/columns/cards/{card_id}\"],\n getColumn: [\"GET /projects/columns/{column_id}\"],\n getPermissionForUser: [\n \"GET /projects/{project_id}/collaborators/{username}/permission\"\n ],\n listCards: [\"GET /projects/columns/{column_id}/cards\"],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\"],\n listColumns: [\"GET /projects/{project_id}/columns\"],\n listForOrg: [\"GET /orgs/{org}/projects\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\"],\n listForUser: [\"GET /users/{username}/projects\"],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\"],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\"],\n removeCollaborator: [\n \"DELETE /projects/{project_id}/collaborators/{username}\"\n ],\n update: [\"PATCH /projects/{project_id}\"],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\"],\n updateColumn: [\"PATCH /projects/columns/{column_id}\"]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"\n ],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"\n ],\n deletePendingReview: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"\n ],\n deleteReviewComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"\n ],\n dismissReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"\n ],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"\n ],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"\n ],\n listReviewComments: [\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"\n ],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\n \"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"\n ],\n requestReviewers: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"\n ],\n submitReview: [\n \"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"\n ],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\"\n ],\n updateReview: [\n \"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"\n ],\n updateReviewComment: [\n \"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"\n ]\n },\n rateLimit: { get: [\"GET /rate_limit\"] },\n reactions: {\n createForCommitComment: [\n \"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\"\n ],\n createForIssue: [\n \"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\"\n ],\n createForIssueComment: [\n \"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"\n ],\n createForPullRequestReviewComment: [\n \"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"\n ],\n createForRelease: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\"\n ],\n createForTeamDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"\n ],\n createForTeamDiscussionInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"\n ],\n deleteForCommitComment: [\n \"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\"\n ],\n deleteForIssue: [\n \"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\"\n ],\n deleteForIssueComment: [\n \"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\"\n ],\n deleteForPullRequestComment: [\n \"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\"\n ],\n deleteForRelease: [\n \"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}\"\n ],\n deleteForTeamDiscussion: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\"\n ],\n deleteForTeamDiscussionComment: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\"\n ],\n listForCommitComment: [\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\"\n ],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n listForIssueComment: [\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"\n ],\n listForPullRequestReviewComment: [\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"\n ],\n listForRelease: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\"\n ],\n listForTeamDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"\n ],\n listForTeamDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"\n ]\n },\n repos: {\n acceptInvitation: [\n \"PATCH /user/repository_invitations/{invitation_id}\",\n {},\n { renamed: [\"repos\", \"acceptInvitationForAuthenticatedUser\"] }\n ],\n acceptInvitationForAuthenticatedUser: [\n \"PATCH /user/repository_invitations/{invitation_id}\"\n ],\n addAppAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" }\n ],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" }\n ],\n addTeamAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" }\n ],\n addUserAccessRestrictions: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" }\n ],\n cancelPagesDeployment: [\n \"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel\"\n ],\n checkAutomatedSecurityFixes: [\n \"GET /repos/{owner}/{repo}/automated-security-fixes\"\n ],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\n \"GET /repos/{owner}/{repo}/vulnerability-alerts\"\n ],\n codeownersErrors: [\"GET /repos/{owner}/{repo}/codeowners/errors\"],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\n \"GET /repos/{owner}/{repo}/compare/{basehead}\"\n ],\n createAutolink: [\"POST /repos/{owner}/{repo}/autolinks\"],\n createCommitComment: [\n \"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"\n ],\n createCommitSignatureProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"\n ],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentBranchPolicy: [\n \"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies\"\n ],\n createDeploymentProtectionRule: [\n \"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules\"\n ],\n createDeploymentStatus: [\n \"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"\n ],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateCustomPropertiesValues: [\n \"PATCH /repos/{owner}/{repo}/properties/values\"\n ],\n createOrUpdateEnvironment: [\n \"PUT /repos/{owner}/{repo}/environments/{environment_name}\"\n ],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createOrgRuleset: [\"POST /orgs/{org}/rulesets\"],\n createPagesDeployment: [\"POST /repos/{owner}/{repo}/pages/deployments\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\"],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createRepoRuleset: [\"POST /repos/{owner}/{repo}/rulesets\"],\n createTagProtection: [\"POST /repos/{owner}/{repo}/tags/protection\"],\n createUsingTemplate: [\n \"POST /repos/{template_owner}/{template_repo}/generate\"\n ],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\n \"DELETE /user/repository_invitations/{invitation_id}\",\n {},\n { renamed: [\"repos\", \"declineInvitationForAuthenticatedUser\"] }\n ],\n declineInvitationForAuthenticatedUser: [\n \"DELETE /user/repository_invitations/{invitation_id}\"\n ],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"\n ],\n deleteAdminBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"\n ],\n deleteAnEnvironment: [\n \"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"\n ],\n deleteAutolink: [\"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n deleteBranchProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"\n ],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"\n ],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\n \"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"\n ],\n deleteDeploymentBranchPolicy: [\n \"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}\"\n ],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\n \"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"\n ],\n deleteOrgRuleset: [\"DELETE /orgs/{org}/rulesets/{ruleset_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\"],\n deletePullRequestReviewProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"\n ],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\n \"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"\n ],\n deleteRepoRuleset: [\"DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}\"],\n deleteTagProtection: [\n \"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}\"\n ],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\n \"DELETE /repos/{owner}/{repo}/automated-security-fixes\"\n ],\n disableDeploymentProtectionRule: [\n \"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}\"\n ],\n disablePrivateVulnerabilityReporting: [\n \"DELETE /repos/{owner}/{repo}/private-vulnerability-reporting\"\n ],\n disableVulnerabilityAlerts: [\n \"DELETE /repos/{owner}/{repo}/vulnerability-alerts\"\n ],\n downloadArchive: [\n \"GET /repos/{owner}/{repo}/zipball/{ref}\",\n {},\n { renamed: [\"repos\", \"downloadZipballArchive\"] }\n ],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\n \"PUT /repos/{owner}/{repo}/automated-security-fixes\"\n ],\n enablePrivateVulnerabilityReporting: [\n \"PUT /repos/{owner}/{repo}/private-vulnerability-reporting\"\n ],\n enableVulnerabilityAlerts: [\n \"PUT /repos/{owner}/{repo}/vulnerability-alerts\"\n ],\n generateReleaseNotes: [\n \"POST /repos/{owner}/{repo}/releases/generate-notes\"\n ],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"\n ],\n getAdminBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"\n ],\n getAllDeploymentProtectionRules: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules\"\n ],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"\n ],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\"],\n getAppsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"\n ],\n getAutolink: [\"GET /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection\"\n ],\n getBranchRules: [\"GET /repos/{owner}/{repo}/rules/branches/{branch}\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\n \"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"\n ],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"\n ],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getCustomDeploymentProtectionRule: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}\"\n ],\n getCustomPropertiesValues: [\"GET /repos/{owner}/{repo}/properties/values\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentBranchPolicy: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}\"\n ],\n getDeploymentStatus: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"\n ],\n getEnvironment: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}\"\n ],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getOrgRuleSuite: [\"GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}\"],\n getOrgRuleSuites: [\"GET /orgs/{org}/rulesets/rule-suites\"],\n getOrgRuleset: [\"GET /orgs/{org}/rulesets/{ruleset_id}\"],\n getOrgRulesets: [\"GET /orgs/{org}/rulesets\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesDeployment: [\n \"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}\"\n ],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"\n ],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getRepoRuleSuite: [\n \"GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}\"\n ],\n getRepoRuleSuites: [\"GET /repos/{owner}/{repo}/rulesets/rule-suites\"],\n getRepoRuleset: [\"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}\"],\n getRepoRulesets: [\"GET /repos/{owner}/{repo}/rulesets\"],\n getStatusChecksProtection: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"\n ],\n getTeamsWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"\n ],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\n \"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"\n ],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"\n ],\n getWebhookDelivery: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"\n ],\n listActivities: [\"GET /repos/{owner}/{repo}/activity\"],\n listAutolinks: [\"GET /repos/{owner}/{repo}/autolinks\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\"\n ],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"\n ],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"\n ],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listCustomDeploymentRuleIntegrations: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps\"\n ],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentBranchPolicies: [\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies\"\n ],\n listDeploymentStatuses: [\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"\n ],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\"\n ],\n listReleaseAssets: [\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"\n ],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTagProtection: [\"GET /repos/{owner}/{repo}/tags/protection\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"\n ],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n mergeUpstream: [\"POST /repos/{owner}/{repo}/merge-upstream\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\n \"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"\n ],\n removeAppAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" }\n ],\n removeCollaborator: [\n \"DELETE /repos/{owner}/{repo}/collaborators/{username}\"\n ],\n removeStatusCheckContexts: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" }\n ],\n removeStatusCheckProtection: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"\n ],\n removeTeamAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" }\n ],\n removeUserAccessRestrictions: [\n \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" }\n ],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\"],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\n \"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"\n ],\n setAppAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\",\n {},\n { mapToData: \"apps\" }\n ],\n setStatusCheckContexts: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\",\n {},\n { mapToData: \"contexts\" }\n ],\n setTeamAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\",\n {},\n { mapToData: \"teams\" }\n ],\n setUserAccessRestrictions: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\",\n {},\n { mapToData: \"users\" }\n ],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\n \"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"\n ],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateDeploymentBranchPolicy: [\n \"PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}\"\n ],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\n \"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"\n ],\n updateOrgRuleset: [\"PUT /orgs/{org}/rulesets/{ruleset_id}\"],\n updatePullRequestReviewProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"\n ],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\n \"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"\n ],\n updateRepoRuleset: [\"PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}\"],\n updateStatusCheckPotection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\",\n {},\n { renamed: [\"repos\", \"updateStatusCheckProtection\"] }\n ],\n updateStatusCheckProtection: [\n \"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"\n ],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\n \"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"\n ],\n uploadReleaseAsset: [\n \"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\",\n { baseUrl: \"https://uploads.github.com\" }\n ]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\"],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"\n ],\n listAlertsForEnterprise: [\n \"GET /enterprises/{enterprise}/secret-scanning/alerts\"\n ],\n listAlertsForOrg: [\"GET /orgs/{org}/secret-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n listLocationsForAlert: [\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\"\n ],\n updateAlert: [\n \"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"\n ]\n },\n securityAdvisories: {\n createFork: [\n \"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks\"\n ],\n createPrivateVulnerabilityReport: [\n \"POST /repos/{owner}/{repo}/security-advisories/reports\"\n ],\n createRepositoryAdvisory: [\n \"POST /repos/{owner}/{repo}/security-advisories\"\n ],\n createRepositoryAdvisoryCveRequest: [\n \"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve\"\n ],\n getGlobalAdvisory: [\"GET /advisories/{ghsa_id}\"],\n getRepositoryAdvisory: [\n \"GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}\"\n ],\n listGlobalAdvisories: [\"GET /advisories\"],\n listOrgRepositoryAdvisories: [\"GET /orgs/{org}/security-advisories\"],\n listRepositoryAdvisories: [\"GET /repos/{owner}/{repo}/security-advisories\"],\n updateRepositoryAdvisory: [\n \"PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}\"\n ]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"\n ],\n addOrUpdateProjectPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\"\n ],\n addOrUpdateRepoPermissionsInOrg: [\n \"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"\n ],\n checkPermissionsForProjectInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\"\n ],\n checkPermissionsForRepoInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"\n ],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\n \"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"\n ],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"\n ],\n deleteDiscussionInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"\n ],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"\n ],\n getDiscussionInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"\n ],\n getMembershipForUserInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"\n ],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"\n ],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\n \"GET /orgs/{org}/teams/{team_slug}/invitations\"\n ],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\"],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"\n ],\n removeProjectInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"\n ],\n removeRepoInOrg: [\n \"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"\n ],\n updateDiscussionCommentInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"\n ],\n updateDiscussionInOrg: [\n \"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"\n ],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\n \"POST /user/emails\",\n {},\n { renamed: [\"users\", \"addEmailForAuthenticatedUser\"] }\n ],\n addEmailForAuthenticatedUser: [\"POST /user/emails\"],\n addSocialAccountForAuthenticatedUser: [\"POST /user/social_accounts\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\n \"POST /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"createGpgKeyForAuthenticatedUser\"] }\n ],\n createGpgKeyForAuthenticatedUser: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\n \"POST /user/keys\",\n {},\n { renamed: [\"users\", \"createPublicSshKeyForAuthenticatedUser\"] }\n ],\n createPublicSshKeyForAuthenticatedUser: [\"POST /user/keys\"],\n createSshSigningKeyForAuthenticatedUser: [\"POST /user/ssh_signing_keys\"],\n deleteEmailForAuthenticated: [\n \"DELETE /user/emails\",\n {},\n { renamed: [\"users\", \"deleteEmailForAuthenticatedUser\"] }\n ],\n deleteEmailForAuthenticatedUser: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\n \"DELETE /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"deleteGpgKeyForAuthenticatedUser\"] }\n ],\n deleteGpgKeyForAuthenticatedUser: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\n \"DELETE /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"deletePublicSshKeyForAuthenticatedUser\"] }\n ],\n deletePublicSshKeyForAuthenticatedUser: [\"DELETE /user/keys/{key_id}\"],\n deleteSocialAccountForAuthenticatedUser: [\"DELETE /user/social_accounts\"],\n deleteSshSigningKeyForAuthenticatedUser: [\n \"DELETE /user/ssh_signing_keys/{ssh_signing_key_id}\"\n ],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\n \"GET /user/gpg_keys/{gpg_key_id}\",\n {},\n { renamed: [\"users\", \"getGpgKeyForAuthenticatedUser\"] }\n ],\n getGpgKeyForAuthenticatedUser: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\n \"GET /user/keys/{key_id}\",\n {},\n { renamed: [\"users\", \"getPublicSshKeyForAuthenticatedUser\"] }\n ],\n getPublicSshKeyForAuthenticatedUser: [\"GET /user/keys/{key_id}\"],\n getSshSigningKeyForAuthenticatedUser: [\n \"GET /user/ssh_signing_keys/{ssh_signing_key_id}\"\n ],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\n \"GET /user/blocks\",\n {},\n { renamed: [\"users\", \"listBlockedByAuthenticatedUser\"] }\n ],\n listBlockedByAuthenticatedUser: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\n \"GET /user/emails\",\n {},\n { renamed: [\"users\", \"listEmailsForAuthenticatedUser\"] }\n ],\n listEmailsForAuthenticatedUser: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\n \"GET /user/following\",\n {},\n { renamed: [\"users\", \"listFollowedByAuthenticatedUser\"] }\n ],\n listFollowedByAuthenticatedUser: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\n \"GET /user/gpg_keys\",\n {},\n { renamed: [\"users\", \"listGpgKeysForAuthenticatedUser\"] }\n ],\n listGpgKeysForAuthenticatedUser: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\n \"GET /user/public_emails\",\n {},\n { renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"] }\n ],\n listPublicEmailsForAuthenticatedUser: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\n \"GET /user/keys\",\n {},\n { renamed: [\"users\", \"listPublicSshKeysForAuthenticatedUser\"] }\n ],\n listPublicSshKeysForAuthenticatedUser: [\"GET /user/keys\"],\n listSocialAccountsForAuthenticatedUser: [\"GET /user/social_accounts\"],\n listSocialAccountsForUser: [\"GET /users/{username}/social_accounts\"],\n listSshSigningKeysForAuthenticatedUser: [\"GET /user/ssh_signing_keys\"],\n listSshSigningKeysForUser: [\"GET /users/{username}/ssh_signing_keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\n \"PATCH /user/email/visibility\",\n {},\n { renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticatedUser\"] }\n ],\n setPrimaryEmailVisibilityForAuthenticatedUser: [\n \"PATCH /user/email/visibility\"\n ],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\nvar endpoints_default = Endpoints;\n\n// pkg/dist-src/endpoints-to-methods.js\nvar endpointMethodsMap = /* @__PURE__ */ new Map();\nfor (const [scope, endpoints] of Object.entries(endpoints_default)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign(\n {\n method,\n url\n },\n defaults\n );\n if (!endpointMethodsMap.has(scope)) {\n endpointMethodsMap.set(scope, /* @__PURE__ */ new Map());\n }\n endpointMethodsMap.get(scope).set(methodName, {\n scope,\n methodName,\n endpointDefaults,\n decorations\n });\n }\n}\nvar handler = {\n has({ scope }, methodName) {\n return endpointMethodsMap.get(scope).has(methodName);\n },\n getOwnPropertyDescriptor(target, methodName) {\n return {\n value: this.get(target, methodName),\n // ensures method is in the cache\n configurable: true,\n writable: true,\n enumerable: true\n };\n },\n defineProperty(target, methodName, descriptor) {\n Object.defineProperty(target.cache, methodName, descriptor);\n return true;\n },\n deleteProperty(target, methodName) {\n delete target.cache[methodName];\n return true;\n },\n ownKeys({ scope }) {\n return [...endpointMethodsMap.get(scope).keys()];\n },\n set(target, methodName, value) {\n return target.cache[methodName] = value;\n },\n get({ octokit, scope, cache }, methodName) {\n if (cache[methodName]) {\n return cache[methodName];\n }\n const method = endpointMethodsMap.get(scope).get(methodName);\n if (!method) {\n return void 0;\n }\n const { endpointDefaults, decorations } = method;\n if (decorations) {\n cache[methodName] = decorate(\n octokit,\n scope,\n methodName,\n endpointDefaults,\n decorations\n );\n } else {\n cache[methodName] = octokit.request.defaults(endpointDefaults);\n }\n return cache[methodName];\n }\n};\nfunction endpointsToMethods(octokit) {\n const newMethods = {};\n for (const scope of endpointMethodsMap.keys()) {\n newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler);\n }\n return newMethods;\n}\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n function withDecorations(...args) {\n let options = requestWithDefaults.endpoint.merge(...args);\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: void 0\n });\n return requestWithDefaults(options);\n }\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(\n `octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`\n );\n }\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n if (decorations.renamedParameters) {\n const options2 = requestWithDefaults.endpoint.merge(...args);\n for (const [name, alias] of Object.entries(\n decorations.renamedParameters\n )) {\n if (name in options2) {\n octokit.log.warn(\n `\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`\n );\n if (!(alias in options2)) {\n options2[alias] = options2[name];\n }\n delete options2[name];\n }\n }\n return requestWithDefaults(options2);\n }\n return requestWithDefaults(...args);\n }\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\n// pkg/dist-src/index.js\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit);\n return {\n ...api,\n rest: api\n };\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n legacyRestEndpointMethods,\n restEndpointMethods\n});\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n RequestError: () => RequestError\n});\nmodule.exports = __toCommonJS(dist_src_exports);\nvar import_deprecation = require(\"deprecation\");\nvar import_once = __toESM(require(\"once\"));\nvar logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));\nvar logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));\nvar RequestError = class extends Error {\n constructor(message, statusCode, options) {\n super(message);\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n }\n const requestCopy = Object.assign({}, options.request);\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(\n /(? {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// pkg/dist-src/index.js\nvar dist_src_exports = {};\n__export(dist_src_exports, {\n request: () => request\n});\nmodule.exports = __toCommonJS(dist_src_exports);\nvar import_endpoint = require(\"@octokit/endpoint\");\nvar import_universal_user_agent = require(\"universal-user-agent\");\n\n// pkg/dist-src/version.js\nvar VERSION = \"8.4.1\";\n\n// pkg/dist-src/is-plain-object.js\nfunction isPlainObject(value) {\n if (typeof value !== \"object\" || value === null)\n return false;\n if (Object.prototype.toString.call(value) !== \"[object Object]\")\n return false;\n const proto = Object.getPrototypeOf(value);\n if (proto === null)\n return true;\n const Ctor = Object.prototype.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);\n}\n\n// pkg/dist-src/fetch-wrapper.js\nvar import_request_error = require(\"@octokit/request-error\");\n\n// pkg/dist-src/get-buffer-response.js\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\n// pkg/dist-src/fetch-wrapper.js\nfunction fetchWrapper(requestOptions) {\n var _a, _b, _c, _d;\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n const parseSuccessResponseBody = ((_a = requestOptions.request) == null ? void 0 : _a.parseSuccessResponseBody) !== false;\n if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n let headers = {};\n let status;\n let url;\n let { fetch } = globalThis;\n if ((_b = requestOptions.request) == null ? void 0 : _b.fetch) {\n fetch = requestOptions.request.fetch;\n }\n if (!fetch) {\n throw new Error(\n \"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing\"\n );\n }\n return fetch(requestOptions.url, {\n method: requestOptions.method,\n body: requestOptions.body,\n redirect: (_c = requestOptions.request) == null ? void 0 : _c.redirect,\n headers: requestOptions.headers,\n signal: (_d = requestOptions.request) == null ? void 0 : _d.signal,\n // duplex must be set if request.body is ReadableStream or Async Iterables.\n // See https://fetch.spec.whatwg.org/#dom-requestinit-duplex.\n ...requestOptions.body && { duplex: \"half\" }\n }).then(async (response) => {\n url = response.url;\n status = response.status;\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^<>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(\n `[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`\n );\n }\n if (status === 204 || status === 205) {\n return;\n }\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n throw new import_request_error.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: void 0\n },\n request: requestOptions\n });\n }\n if (status === 304) {\n throw new import_request_error.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new import_request_error.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n return parseSuccessResponseBody ? await getResponseData(response) : response.body;\n }).then((data) => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch((error) => {\n if (error instanceof import_request_error.RequestError)\n throw error;\n else if (error.name === \"AbortError\")\n throw error;\n let message = error.message;\n if (error.name === \"TypeError\" && \"cause\" in error) {\n if (error.cause instanceof Error) {\n message = error.cause.message;\n } else if (typeof error.cause === \"string\") {\n message = error.cause;\n }\n }\n throw new import_request_error.RequestError(message, 500, {\n request: requestOptions\n });\n });\n}\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n if (/application\\/json/.test(contentType)) {\n return response.json().catch(() => response.text()).catch(() => \"\");\n }\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n return getBufferResponse(response);\n}\nfunction toErrorMessage(data) {\n if (typeof data === \"string\")\n return data;\n let suffix;\n if (\"documentation_url\" in data) {\n suffix = ` - ${data.documentation_url}`;\n } else {\n suffix = \"\";\n }\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}${suffix}`;\n }\n return `${data.message}${suffix}`;\n }\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint2 = oldEndpoint.defaults(newDefaults);\n const newApi = function(route, parameters) {\n const endpointOptions = endpoint2.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint2.parse(endpointOptions));\n }\n const request2 = (route2, parameters2) => {\n return fetchWrapper(\n endpoint2.parse(endpoint2.merge(route2, parameters2))\n );\n };\n Object.assign(request2, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n return endpointOptions.request.hook(request2, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n}\n\n// pkg/dist-src/index.js\nvar request = withDefaults(import_endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`\n }\n});\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n request\n});\n","var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n AbortController: () => AbortController,\n AbortHandler: () => import_types.AbortHandler,\n AbortSignal: () => AbortSignal,\n IAbortController: () => import_types.AbortController,\n IAbortSignal: () => import_types.AbortSignal\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/AbortController.ts\n\n\n// src/AbortSignal.ts\nvar import_types = require(\"@smithy/types\");\nvar AbortSignal = class {\n constructor() {\n this.onabort = null;\n this._aborted = false;\n Object.defineProperty(this, \"_aborted\", {\n value: false,\n writable: true\n });\n }\n static {\n __name(this, \"AbortSignal\");\n }\n /**\n * Whether the associated operation has already been cancelled.\n */\n get aborted() {\n return this._aborted;\n }\n /**\n * @internal\n */\n abort() {\n this._aborted = true;\n if (this.onabort) {\n this.onabort(this);\n this.onabort = null;\n }\n }\n};\n\n// src/AbortController.ts\nvar AbortController = class {\n constructor() {\n this.signal = new AbortSignal();\n }\n static {\n __name(this, \"AbortController\");\n }\n abort() {\n this.signal.abort();\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n AbortController,\n AbortSignal\n});\n\n","'use strict';\n\nvar utilConfigProvider = require('@smithy/util-config-provider');\nvar utilMiddleware = require('@smithy/util-middleware');\nvar utilEndpoints = require('@smithy/util-endpoints');\n\nconst ENV_USE_DUALSTACK_ENDPOINT = \"AWS_USE_DUALSTACK_ENDPOINT\";\nconst CONFIG_USE_DUALSTACK_ENDPOINT = \"use_dualstack_endpoint\";\nconst DEFAULT_USE_DUALSTACK_ENDPOINT = false;\nconst NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),\n configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),\n default: false,\n};\nconst nodeDualstackConfigSelectors = {\n environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),\n configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),\n default: undefined,\n};\n\nconst ENV_USE_FIPS_ENDPOINT = \"AWS_USE_FIPS_ENDPOINT\";\nconst CONFIG_USE_FIPS_ENDPOINT = \"use_fips_endpoint\";\nconst DEFAULT_USE_FIPS_ENDPOINT = false;\nconst NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),\n configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),\n default: false,\n};\nconst nodeFipsConfigSelectors = {\n environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),\n configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),\n default: undefined,\n};\n\nconst resolveCustomEndpointsConfig = (input) => {\n const { tls, endpoint, urlParser, useDualstackEndpoint } = input;\n return Object.assign(input, {\n tls: tls ?? true,\n endpoint: utilMiddleware.normalizeProvider(typeof endpoint === \"string\" ? urlParser(endpoint) : endpoint),\n isCustomEndpoint: true,\n useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false),\n });\n};\n\nconst getEndpointFromRegion = async (input) => {\n const { tls = true } = input;\n const region = await input.region();\n const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);\n if (!dnsHostRegex.test(region)) {\n throw new Error(\"Invalid region in client config\");\n }\n const useDualstackEndpoint = await input.useDualstackEndpoint();\n const useFipsEndpoint = await input.useFipsEndpoint();\n const { hostname } = (await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint })) ?? {};\n if (!hostname) {\n throw new Error(\"Cannot resolve hostname from client config\");\n }\n return input.urlParser(`${tls ? \"https:\" : \"http:\"}//${hostname}`);\n};\n\nconst resolveEndpointsConfig = (input) => {\n const useDualstackEndpoint = utilMiddleware.normalizeProvider(input.useDualstackEndpoint ?? false);\n const { endpoint, useFipsEndpoint, urlParser, tls } = input;\n return Object.assign(input, {\n tls: tls ?? true,\n endpoint: endpoint\n ? utilMiddleware.normalizeProvider(typeof endpoint === \"string\" ? urlParser(endpoint) : endpoint)\n : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }),\n isCustomEndpoint: !!endpoint,\n useDualstackEndpoint,\n });\n};\n\nconst REGION_ENV_NAME = \"AWS_REGION\";\nconst REGION_INI_NAME = \"region\";\nconst NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[REGION_ENV_NAME],\n configFileSelector: (profile) => profile[REGION_INI_NAME],\n default: () => {\n throw new Error(\"Region is missing\");\n },\n};\nconst NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\",\n};\n\nconst validRegions = new Set();\nconst checkRegion = (region, check = utilEndpoints.isValidHostLabel) => {\n if (!validRegions.has(region) && !check(region)) {\n if (region === \"*\") {\n 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.`);\n }\n else {\n throw new Error(`Region not accepted: region=\"${region}\" is not a valid hostname component.`);\n }\n }\n else {\n validRegions.add(region);\n }\n};\n\nconst isFipsRegion = (region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\"));\n\nconst getRealRegion = (region) => isFipsRegion(region)\n ? [\"fips-aws-global\", \"aws-fips\"].includes(region)\n ? \"us-east-1\"\n : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\")\n : region;\n\nconst resolveRegionConfig = (input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: async () => {\n const providedRegion = typeof region === \"function\" ? await region() : region;\n const realRegion = getRealRegion(providedRegion);\n checkRegion(realRegion);\n return realRegion;\n },\n useFipsEndpoint: async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n },\n });\n};\n\nconst getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes(\"fips\") && useDualstackEndpoint === tags.includes(\"dualstack\"))?.hostname;\n\nconst getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname\n ? regionHostname\n : partitionHostname\n ? partitionHostname.replace(\"{region}\", resolvedRegion)\n : undefined;\n\nconst getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? \"aws\";\n\nconst getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => {\n if (signingRegion) {\n return signingRegion;\n }\n else if (useFipsEndpoint) {\n const regionRegexJs = regionRegex.replace(\"\\\\\\\\\", \"\\\\\").replace(/^\\^/g, \"\\\\.\").replace(/\\$$/g, \"\\\\.\");\n const regionRegexmatchArray = hostname.match(regionRegexJs);\n if (regionRegexmatchArray) {\n return regionRegexmatchArray[0].slice(1, -1);\n }\n }\n};\n\nconst getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => {\n const partition = getResolvedPartition(region, { partitionHash });\n const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;\n const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };\n const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions);\n const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions);\n const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname });\n if (hostname === undefined) {\n throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`);\n }\n const signingRegion = getResolvedSigningRegion(hostname, {\n signingRegion: regionHash[resolvedRegion]?.signingRegion,\n regionRegex: partitionHash[partition].regionRegex,\n useFipsEndpoint,\n });\n return {\n partition,\n signingService,\n hostname,\n ...(signingRegion && { signingRegion }),\n ...(regionHash[resolvedRegion]?.signingService && {\n signingService: regionHash[resolvedRegion].signingService,\n }),\n };\n};\n\nexports.CONFIG_USE_DUALSTACK_ENDPOINT = CONFIG_USE_DUALSTACK_ENDPOINT;\nexports.CONFIG_USE_FIPS_ENDPOINT = CONFIG_USE_FIPS_ENDPOINT;\nexports.DEFAULT_USE_DUALSTACK_ENDPOINT = DEFAULT_USE_DUALSTACK_ENDPOINT;\nexports.DEFAULT_USE_FIPS_ENDPOINT = DEFAULT_USE_FIPS_ENDPOINT;\nexports.ENV_USE_DUALSTACK_ENDPOINT = ENV_USE_DUALSTACK_ENDPOINT;\nexports.ENV_USE_FIPS_ENDPOINT = ENV_USE_FIPS_ENDPOINT;\nexports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS;\nexports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS;\nexports.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS;\nexports.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS;\nexports.REGION_ENV_NAME = REGION_ENV_NAME;\nexports.REGION_INI_NAME = REGION_INI_NAME;\nexports.getRegionInfo = getRegionInfo;\nexports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors;\nexports.nodeFipsConfigSelectors = nodeFipsConfigSelectors;\nexports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;\nexports.resolveEndpointsConfig = resolveEndpointsConfig;\nexports.resolveRegionConfig = resolveRegionConfig;\n","'use strict';\n\nvar types = require('@smithy/types');\nvar protocolHttp = require('@smithy/protocol-http');\nvar utilMiddleware = require('@smithy/util-middleware');\nvar protocols = require('@smithy/core/protocols');\n\nconst getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {});\n\nconst resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {\n if (!authSchemePreference || authSchemePreference.length === 0) {\n return candidateAuthOptions;\n }\n const preferredAuthOptions = [];\n for (const preferredSchemeName of authSchemePreference) {\n for (const candidateAuthOption of candidateAuthOptions) {\n const candidateAuthSchemeName = candidateAuthOption.schemeId.split(\"#\")[1];\n if (candidateAuthSchemeName === preferredSchemeName) {\n preferredAuthOptions.push(candidateAuthOption);\n }\n }\n }\n for (const candidateAuthOption of candidateAuthOptions) {\n if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {\n preferredAuthOptions.push(candidateAuthOption);\n }\n }\n return preferredAuthOptions;\n};\n\nfunction convertHttpAuthSchemesToMap(httpAuthSchemes) {\n const map = new Map();\n for (const scheme of httpAuthSchemes) {\n map.set(scheme.schemeId, scheme);\n }\n return map;\n}\nconst httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => {\n const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));\n const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];\n const resolvedOptions = resolveAuthOptions(options, authSchemePreference);\n const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);\n const smithyContext = utilMiddleware.getSmithyContext(context);\n const failureReasons = [];\n for (const option of resolvedOptions) {\n const scheme = authSchemes.get(option.schemeId);\n if (!scheme) {\n failureReasons.push(`HttpAuthScheme \\`${option.schemeId}\\` was not enabled for this service.`);\n continue;\n }\n const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config));\n if (!identityProvider) {\n failureReasons.push(`HttpAuthScheme \\`${option.schemeId}\\` did not have an IdentityProvider configured.`);\n continue;\n }\n const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {};\n option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties);\n option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties);\n smithyContext.selectedHttpAuthScheme = {\n httpAuthOption: option,\n identity: await identityProvider(option.identityProperties),\n signer: scheme.signer,\n };\n break;\n }\n if (!smithyContext.selectedHttpAuthScheme) {\n throw new Error(failureReasons.join(\"\\n\"));\n }\n return next(args);\n};\n\nconst httpAuthSchemeEndpointRuleSetMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"HTTP_AUTH_SCHEME\"],\n name: \"httpAuthSchemeMiddleware\",\n override: true,\n relation: \"before\",\n toMiddleware: \"endpointV2Middleware\",\n};\nconst getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, {\n httpAuthSchemeParametersProvider,\n identityProviderConfigProvider,\n }), httpAuthSchemeEndpointRuleSetMiddlewareOptions);\n },\n});\n\nconst httpAuthSchemeMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"HTTP_AUTH_SCHEME\"],\n name: \"httpAuthSchemeMiddleware\",\n override: true,\n relation: \"before\",\n toMiddleware: \"serializerMiddleware\",\n};\nconst getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, {\n httpAuthSchemeParametersProvider,\n identityProviderConfigProvider,\n }), httpAuthSchemeMiddlewareOptions);\n },\n});\n\nconst defaultErrorHandler = (signingProperties) => (error) => {\n throw error;\n};\nconst defaultSuccessHandler = (httpResponse, signingProperties) => { };\nconst httpSigningMiddleware = (config) => (next, context) => async (args) => {\n if (!protocolHttp.HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n const smithyContext = utilMiddleware.getSmithyContext(context);\n const scheme = smithyContext.selectedHttpAuthScheme;\n if (!scheme) {\n throw new Error(`No HttpAuthScheme was selected: unable to sign request`);\n }\n const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme;\n const output = await next({\n ...args,\n request: await signer.sign(args.request, identity, signingProperties),\n }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties));\n (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties);\n return output;\n};\n\nconst httpSigningMiddlewareOptions = {\n step: \"finalizeRequest\",\n tags: [\"HTTP_SIGNING\"],\n name: \"httpSigningMiddleware\",\n aliases: [\"apiKeyMiddleware\", \"tokenMiddleware\", \"awsAuthMiddleware\"],\n override: true,\n relation: \"after\",\n toMiddleware: \"retryMiddleware\",\n};\nconst getHttpSigningPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpSigningMiddleware(), httpSigningMiddlewareOptions);\n },\n});\n\nconst normalizeProvider = (input) => {\n if (typeof input === \"function\")\n return input;\n const promisified = Promise.resolve(input);\n return () => promisified;\n};\n\nconst makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_) => _, ...args) => {\n let command = new CommandCtor(input);\n command = withCommand(command) ?? command;\n return await client.send(command, ...args);\n};\nfunction createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) {\n return async function* paginateOperation(config, input, ...additionalArguments) {\n const _input = input;\n let token = config.startingToken ?? _input[inputTokenName];\n let hasNext = true;\n let page;\n while (hasNext) {\n _input[inputTokenName] = token;\n if (pageSizeTokenName) {\n _input[pageSizeTokenName] = _input[pageSizeTokenName] ?? config.pageSize;\n }\n if (config.client instanceof ClientCtor) {\n page = await makePagedClientRequest(CommandCtor, config.client, input, config.withCommand, ...additionalArguments);\n }\n else {\n throw new Error(`Invalid client, expected instance of ${ClientCtor.name}`);\n }\n yield page;\n const prevToken = token;\n token = get(page, outputTokenName);\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n };\n}\nconst get = (fromObject, path) => {\n let cursor = fromObject;\n const pathComponents = path.split(\".\");\n for (const step of pathComponents) {\n if (!cursor || typeof cursor !== \"object\") {\n return undefined;\n }\n cursor = cursor[step];\n }\n return cursor;\n};\n\nfunction setFeature(context, feature, value) {\n if (!context.__smithy_context) {\n context.__smithy_context = {\n features: {},\n };\n }\n else if (!context.__smithy_context.features) {\n context.__smithy_context.features = {};\n }\n context.__smithy_context.features[feature] = value;\n}\n\nclass DefaultIdentityProviderConfig {\n authSchemes = new Map();\n constructor(config) {\n for (const key in config) {\n const value = config[key];\n if (value !== undefined) {\n this.authSchemes.set(key, value);\n }\n }\n }\n getIdentityProvider(schemeId) {\n return this.authSchemes.get(schemeId);\n }\n}\n\nclass HttpApiKeyAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n if (!signingProperties) {\n throw new Error(\"request could not be signed with `apiKey` since the `name` and `in` signer properties are missing\");\n }\n if (!signingProperties.name) {\n throw new Error(\"request could not be signed with `apiKey` since the `name` signer property is missing\");\n }\n if (!signingProperties.in) {\n throw new Error(\"request could not be signed with `apiKey` since the `in` signer property is missing\");\n }\n if (!identity.apiKey) {\n throw new Error(\"request could not be signed with `apiKey` since the `apiKey` is not defined\");\n }\n const clonedRequest = protocolHttp.HttpRequest.clone(httpRequest);\n if (signingProperties.in === types.HttpApiKeyAuthLocation.QUERY) {\n clonedRequest.query[signingProperties.name] = identity.apiKey;\n }\n else if (signingProperties.in === types.HttpApiKeyAuthLocation.HEADER) {\n clonedRequest.headers[signingProperties.name] = signingProperties.scheme\n ? `${signingProperties.scheme} ${identity.apiKey}`\n : identity.apiKey;\n }\n else {\n throw new Error(\"request can only be signed with `apiKey` locations `query` or `header`, \" +\n \"but found: `\" +\n signingProperties.in +\n \"`\");\n }\n return clonedRequest;\n }\n}\n\nclass HttpBearerAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n const clonedRequest = protocolHttp.HttpRequest.clone(httpRequest);\n if (!identity.token) {\n throw new Error(\"request could not be signed with `token` since the `token` is not defined\");\n }\n clonedRequest.headers[\"Authorization\"] = `Bearer ${identity.token}`;\n return clonedRequest;\n }\n}\n\nclass NoAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n return httpRequest;\n }\n}\n\nconst createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) {\n return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;\n};\nconst EXPIRATION_MS = 300_000;\nconst isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);\nconst doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined;\nconst memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {\n if (provider === undefined) {\n return undefined;\n }\n const normalizedProvider = typeof provider !== \"function\" ? async () => Promise.resolve(provider) : provider;\n let resolved;\n let pending;\n let hasResult;\n let isConstant = false;\n const coalesceProvider = async (options) => {\n if (!pending) {\n pending = normalizedProvider(options);\n }\n try {\n resolved = await pending;\n hasResult = true;\n isConstant = false;\n }\n finally {\n pending = undefined;\n }\n return resolved;\n };\n if (isExpired === undefined) {\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider(options);\n }\n return resolved;\n };\n }\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider(options);\n }\n if (isConstant) {\n return resolved;\n }\n if (!requiresRefresh(resolved)) {\n isConstant = true;\n return resolved;\n }\n if (isExpired(resolved)) {\n await coalesceProvider(options);\n return resolved;\n }\n return resolved;\n };\n};\n\nexports.requestBuilder = protocols.requestBuilder;\nexports.DefaultIdentityProviderConfig = DefaultIdentityProviderConfig;\nexports.EXPIRATION_MS = EXPIRATION_MS;\nexports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner;\nexports.HttpBearerAuthSigner = HttpBearerAuthSigner;\nexports.NoAuthSigner = NoAuthSigner;\nexports.createIsIdentityExpiredFunction = createIsIdentityExpiredFunction;\nexports.createPaginator = createPaginator;\nexports.doesIdentityRequireRefresh = doesIdentityRequireRefresh;\nexports.getHttpAuthSchemeEndpointRuleSetPlugin = getHttpAuthSchemeEndpointRuleSetPlugin;\nexports.getHttpAuthSchemePlugin = getHttpAuthSchemePlugin;\nexports.getHttpSigningPlugin = getHttpSigningPlugin;\nexports.getSmithyContext = getSmithyContext;\nexports.httpAuthSchemeEndpointRuleSetMiddlewareOptions = httpAuthSchemeEndpointRuleSetMiddlewareOptions;\nexports.httpAuthSchemeMiddleware = httpAuthSchemeMiddleware;\nexports.httpAuthSchemeMiddlewareOptions = httpAuthSchemeMiddlewareOptions;\nexports.httpSigningMiddleware = httpSigningMiddleware;\nexports.httpSigningMiddlewareOptions = httpSigningMiddlewareOptions;\nexports.isIdentityExpired = isIdentityExpired;\nexports.memoizeIdentityProvider = memoizeIdentityProvider;\nexports.normalizeProvider = normalizeProvider;\nexports.setFeature = setFeature;\n","'use strict';\n\nvar serde = require('@smithy/core/serde');\nvar utilUtf8 = require('@smithy/util-utf8');\nvar protocols = require('@smithy/core/protocols');\nvar protocolHttp = require('@smithy/protocol-http');\nvar utilBodyLengthBrowser = require('@smithy/util-body-length-browser');\nvar schema = require('@smithy/core/schema');\nvar utilMiddleware = require('@smithy/util-middleware');\nvar utilBase64 = require('@smithy/util-base64');\n\nconst majorUint64 = 0;\nconst majorNegativeInt64 = 1;\nconst majorUnstructuredByteString = 2;\nconst majorUtf8String = 3;\nconst majorList = 4;\nconst majorMap = 5;\nconst majorTag = 6;\nconst majorSpecial = 7;\nconst specialFalse = 20;\nconst specialTrue = 21;\nconst specialNull = 22;\nconst specialUndefined = 23;\nconst extendedOneByte = 24;\nconst extendedFloat16 = 25;\nconst extendedFloat32 = 26;\nconst extendedFloat64 = 27;\nconst minorIndefinite = 31;\nfunction alloc(size) {\n return typeof Buffer !== \"undefined\" ? Buffer.alloc(size) : new Uint8Array(size);\n}\nconst tagSymbol = Symbol(\"@smithy/core/cbor::tagSymbol\");\nfunction tag(data) {\n data[tagSymbol] = true;\n return data;\n}\n\nconst USE_TEXT_DECODER = typeof TextDecoder !== \"undefined\";\nconst USE_BUFFER$1 = typeof Buffer !== \"undefined\";\nlet payload = alloc(0);\nlet dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength);\nconst textDecoder = USE_TEXT_DECODER ? new TextDecoder() : null;\nlet _offset = 0;\nfunction setPayload(bytes) {\n payload = bytes;\n dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength);\n}\nfunction decode(at, to) {\n if (at >= to) {\n throw new Error(\"unexpected end of (decode) payload.\");\n }\n const major = (payload[at] & 0b1110_0000) >> 5;\n const minor = payload[at] & 0b0001_1111;\n switch (major) {\n case majorUint64:\n case majorNegativeInt64:\n case majorTag:\n let unsignedInt;\n let offset;\n if (minor < 24) {\n unsignedInt = minor;\n offset = 1;\n }\n else {\n switch (minor) {\n case extendedOneByte:\n case extendedFloat16:\n case extendedFloat32:\n case extendedFloat64:\n const countLength = minorValueToArgumentLength[minor];\n const countOffset = (countLength + 1);\n offset = countOffset;\n if (to - at < countOffset) {\n throw new Error(`countLength ${countLength} greater than remaining buf len.`);\n }\n const countIndex = at + 1;\n if (countLength === 1) {\n unsignedInt = payload[countIndex];\n }\n else if (countLength === 2) {\n unsignedInt = dataView$1.getUint16(countIndex);\n }\n else if (countLength === 4) {\n unsignedInt = dataView$1.getUint32(countIndex);\n }\n else {\n unsignedInt = dataView$1.getBigUint64(countIndex);\n }\n break;\n default:\n throw new Error(`unexpected minor value ${minor}.`);\n }\n }\n if (major === majorUint64) {\n _offset = offset;\n return castBigInt(unsignedInt);\n }\n else if (major === majorNegativeInt64) {\n let negativeInt;\n if (typeof unsignedInt === \"bigint\") {\n negativeInt = BigInt(-1) - unsignedInt;\n }\n else {\n negativeInt = -1 - unsignedInt;\n }\n _offset = offset;\n return castBigInt(negativeInt);\n }\n else {\n if (minor === 2 || minor === 3) {\n const length = decodeCount(at + offset, to);\n let b = BigInt(0);\n const start = at + offset + _offset;\n for (let i = start; i < start + length; ++i) {\n b = (b << BigInt(8)) | BigInt(payload[i]);\n }\n _offset = offset + _offset + length;\n return minor === 3 ? -b - BigInt(1) : b;\n }\n else if (minor === 4) {\n const decimalFraction = decode(at + offset, to);\n const [exponent, mantissa] = decimalFraction;\n const normalizer = mantissa < 0 ? -1 : 1;\n const mantissaStr = \"0\".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));\n let numericString;\n const sign = mantissa < 0 ? \"-\" : \"\";\n numericString =\n exponent === 0\n ? mantissaStr\n : mantissaStr.slice(0, mantissaStr.length + exponent) + \".\" + mantissaStr.slice(exponent);\n numericString = numericString.replace(/^0+/g, \"\");\n if (numericString === \"\") {\n numericString = \"0\";\n }\n if (numericString[0] === \".\") {\n numericString = \"0\" + numericString;\n }\n numericString = sign + numericString;\n _offset = offset + _offset;\n return serde.nv(numericString);\n }\n else {\n const value = decode(at + offset, to);\n const valueOffset = _offset;\n _offset = offset + valueOffset;\n return tag({ tag: castBigInt(unsignedInt), value });\n }\n }\n case majorUtf8String:\n case majorMap:\n case majorList:\n case majorUnstructuredByteString:\n if (minor === minorIndefinite) {\n switch (major) {\n case majorUtf8String:\n return decodeUtf8StringIndefinite(at, to);\n case majorMap:\n return decodeMapIndefinite(at, to);\n case majorList:\n return decodeListIndefinite(at, to);\n case majorUnstructuredByteString:\n return decodeUnstructuredByteStringIndefinite(at, to);\n }\n }\n else {\n switch (major) {\n case majorUtf8String:\n return decodeUtf8String(at, to);\n case majorMap:\n return decodeMap(at, to);\n case majorList:\n return decodeList(at, to);\n case majorUnstructuredByteString:\n return decodeUnstructuredByteString(at, to);\n }\n }\n default:\n return decodeSpecial(at, to);\n }\n}\nfunction bytesToUtf8(bytes, at, to) {\n if (USE_BUFFER$1 && bytes.constructor?.name === \"Buffer\") {\n return bytes.toString(\"utf-8\", at, to);\n }\n if (textDecoder) {\n return textDecoder.decode(bytes.subarray(at, to));\n }\n return utilUtf8.toUtf8(bytes.subarray(at, to));\n}\nfunction demote(bigInteger) {\n const num = Number(bigInteger);\n if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) {\n console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`));\n }\n return num;\n}\nconst minorValueToArgumentLength = {\n [extendedOneByte]: 1,\n [extendedFloat16]: 2,\n [extendedFloat32]: 4,\n [extendedFloat64]: 8,\n};\nfunction bytesToFloat16(a, b) {\n const sign = a >> 7;\n const exponent = (a & 0b0111_1100) >> 2;\n const fraction = ((a & 0b0000_0011) << 8) | b;\n const scalar = sign === 0 ? 1 : -1;\n let exponentComponent;\n let summation;\n if (exponent === 0b00000) {\n if (fraction === 0b00000_00000) {\n return 0;\n }\n else {\n exponentComponent = Math.pow(2, 1 - 15);\n summation = 0;\n }\n }\n else if (exponent === 0b11111) {\n if (fraction === 0b00000_00000) {\n return scalar * Infinity;\n }\n else {\n return NaN;\n }\n }\n else {\n exponentComponent = Math.pow(2, exponent - 15);\n summation = 1;\n }\n summation += fraction / 1024;\n return scalar * (exponentComponent * summation);\n}\nfunction decodeCount(at, to) {\n const minor = payload[at] & 0b0001_1111;\n if (minor < 24) {\n _offset = 1;\n return minor;\n }\n if (minor === extendedOneByte ||\n minor === extendedFloat16 ||\n minor === extendedFloat32 ||\n minor === extendedFloat64) {\n const countLength = minorValueToArgumentLength[minor];\n _offset = (countLength + 1);\n if (to - at < _offset) {\n throw new Error(`countLength ${countLength} greater than remaining buf len.`);\n }\n const countIndex = at + 1;\n if (countLength === 1) {\n return payload[countIndex];\n }\n else if (countLength === 2) {\n return dataView$1.getUint16(countIndex);\n }\n else if (countLength === 4) {\n return dataView$1.getUint32(countIndex);\n }\n return demote(dataView$1.getBigUint64(countIndex));\n }\n throw new Error(`unexpected minor value ${minor}.`);\n}\nfunction decodeUtf8String(at, to) {\n const length = decodeCount(at, to);\n const offset = _offset;\n at += offset;\n if (to - at < length) {\n throw new Error(`string len ${length} greater than remaining buf len.`);\n }\n const value = bytesToUtf8(payload, at, at + length);\n _offset = offset + length;\n return value;\n}\nfunction decodeUtf8StringIndefinite(at, to) {\n at += 1;\n const vector = [];\n for (const base = at; at < to;) {\n if (payload[at] === 0b1111_1111) {\n const data = alloc(vector.length);\n data.set(vector, 0);\n _offset = at - base + 2;\n return bytesToUtf8(data, 0, data.length);\n }\n const major = (payload[at] & 0b1110_0000) >> 5;\n const minor = payload[at] & 0b0001_1111;\n if (major !== majorUtf8String) {\n throw new Error(`unexpected major type ${major} in indefinite string.`);\n }\n if (minor === minorIndefinite) {\n throw new Error(\"nested indefinite string.\");\n }\n const bytes = decodeUnstructuredByteString(at, to);\n const length = _offset;\n at += length;\n for (let i = 0; i < bytes.length; ++i) {\n vector.push(bytes[i]);\n }\n }\n throw new Error(\"expected break marker.\");\n}\nfunction decodeUnstructuredByteString(at, to) {\n const length = decodeCount(at, to);\n const offset = _offset;\n at += offset;\n if (to - at < length) {\n throw new Error(`unstructured byte string len ${length} greater than remaining buf len.`);\n }\n const value = payload.subarray(at, at + length);\n _offset = offset + length;\n return value;\n}\nfunction decodeUnstructuredByteStringIndefinite(at, to) {\n at += 1;\n const vector = [];\n for (const base = at; at < to;) {\n if (payload[at] === 0b1111_1111) {\n const data = alloc(vector.length);\n data.set(vector, 0);\n _offset = at - base + 2;\n return data;\n }\n const major = (payload[at] & 0b1110_0000) >> 5;\n const minor = payload[at] & 0b0001_1111;\n if (major !== majorUnstructuredByteString) {\n throw new Error(`unexpected major type ${major} in indefinite string.`);\n }\n if (minor === minorIndefinite) {\n throw new Error(\"nested indefinite string.\");\n }\n const bytes = decodeUnstructuredByteString(at, to);\n const length = _offset;\n at += length;\n for (let i = 0; i < bytes.length; ++i) {\n vector.push(bytes[i]);\n }\n }\n throw new Error(\"expected break marker.\");\n}\nfunction decodeList(at, to) {\n const listDataLength = decodeCount(at, to);\n const offset = _offset;\n at += offset;\n const base = at;\n const list = Array(listDataLength);\n for (let i = 0; i < listDataLength; ++i) {\n const item = decode(at, to);\n const itemOffset = _offset;\n list[i] = item;\n at += itemOffset;\n }\n _offset = offset + (at - base);\n return list;\n}\nfunction decodeListIndefinite(at, to) {\n at += 1;\n const list = [];\n for (const base = at; at < to;) {\n if (payload[at] === 0b1111_1111) {\n _offset = at - base + 2;\n return list;\n }\n const item = decode(at, to);\n const n = _offset;\n at += n;\n list.push(item);\n }\n throw new Error(\"expected break marker.\");\n}\nfunction decodeMap(at, to) {\n const mapDataLength = decodeCount(at, to);\n const offset = _offset;\n at += offset;\n const base = at;\n const map = {};\n for (let i = 0; i < mapDataLength; ++i) {\n if (at >= to) {\n throw new Error(\"unexpected end of map payload.\");\n }\n const major = (payload[at] & 0b1110_0000) >> 5;\n if (major !== majorUtf8String) {\n throw new Error(`unexpected major type ${major} for map key at index ${at}.`);\n }\n const key = decode(at, to);\n at += _offset;\n const value = decode(at, to);\n at += _offset;\n map[key] = value;\n }\n _offset = offset + (at - base);\n return map;\n}\nfunction decodeMapIndefinite(at, to) {\n at += 1;\n const base = at;\n const map = {};\n for (; at < to;) {\n if (at >= to) {\n throw new Error(\"unexpected end of map payload.\");\n }\n if (payload[at] === 0b1111_1111) {\n _offset = at - base + 2;\n return map;\n }\n const major = (payload[at] & 0b1110_0000) >> 5;\n if (major !== majorUtf8String) {\n throw new Error(`unexpected major type ${major} for map key.`);\n }\n const key = decode(at, to);\n at += _offset;\n const value = decode(at, to);\n at += _offset;\n map[key] = value;\n }\n throw new Error(\"expected break marker.\");\n}\nfunction decodeSpecial(at, to) {\n const minor = payload[at] & 0b0001_1111;\n switch (minor) {\n case specialTrue:\n case specialFalse:\n _offset = 1;\n return minor === specialTrue;\n case specialNull:\n _offset = 1;\n return null;\n case specialUndefined:\n _offset = 1;\n return null;\n case extendedFloat16:\n if (to - at < 3) {\n throw new Error(\"incomplete float16 at end of buf.\");\n }\n _offset = 3;\n return bytesToFloat16(payload[at + 1], payload[at + 2]);\n case extendedFloat32:\n if (to - at < 5) {\n throw new Error(\"incomplete float32 at end of buf.\");\n }\n _offset = 5;\n return dataView$1.getFloat32(at + 1);\n case extendedFloat64:\n if (to - at < 9) {\n throw new Error(\"incomplete float64 at end of buf.\");\n }\n _offset = 9;\n return dataView$1.getFloat64(at + 1);\n default:\n throw new Error(`unexpected minor value ${minor}.`);\n }\n}\nfunction castBigInt(bigInt) {\n if (typeof bigInt === \"number\") {\n return bigInt;\n }\n const num = Number(bigInt);\n if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) {\n return num;\n }\n return bigInt;\n}\n\nconst USE_BUFFER = typeof Buffer !== \"undefined\";\nconst initialSize = 2048;\nlet data = alloc(initialSize);\nlet dataView = new DataView(data.buffer, data.byteOffset, data.byteLength);\nlet cursor = 0;\nfunction ensureSpace(bytes) {\n const remaining = data.byteLength - cursor;\n if (remaining < bytes) {\n if (cursor < 16_000_000) {\n resize(Math.max(data.byteLength * 4, data.byteLength + bytes));\n }\n else {\n resize(data.byteLength + bytes + 16_000_000);\n }\n }\n}\nfunction toUint8Array() {\n const out = alloc(cursor);\n out.set(data.subarray(0, cursor), 0);\n cursor = 0;\n return out;\n}\nfunction resize(size) {\n const old = data;\n data = alloc(size);\n if (old) {\n if (old.copy) {\n old.copy(data, 0, 0, old.byteLength);\n }\n else {\n data.set(old, 0);\n }\n }\n dataView = new DataView(data.buffer, data.byteOffset, data.byteLength);\n}\nfunction encodeHeader(major, value) {\n if (value < 24) {\n data[cursor++] = (major << 5) | value;\n }\n else if (value < 1 << 8) {\n data[cursor++] = (major << 5) | 24;\n data[cursor++] = value;\n }\n else if (value < 1 << 16) {\n data[cursor++] = (major << 5) | extendedFloat16;\n dataView.setUint16(cursor, value);\n cursor += 2;\n }\n else if (value < 2 ** 32) {\n data[cursor++] = (major << 5) | extendedFloat32;\n dataView.setUint32(cursor, value);\n cursor += 4;\n }\n else {\n data[cursor++] = (major << 5) | extendedFloat64;\n dataView.setBigUint64(cursor, typeof value === \"bigint\" ? value : BigInt(value));\n cursor += 8;\n }\n}\nfunction encode(_input) {\n const encodeStack = [_input];\n while (encodeStack.length) {\n const input = encodeStack.pop();\n ensureSpace(typeof input === \"string\" ? input.length * 4 : 64);\n if (typeof input === \"string\") {\n if (USE_BUFFER) {\n encodeHeader(majorUtf8String, Buffer.byteLength(input));\n cursor += data.write(input, cursor);\n }\n else {\n const bytes = utilUtf8.fromUtf8(input);\n encodeHeader(majorUtf8String, bytes.byteLength);\n data.set(bytes, cursor);\n cursor += bytes.byteLength;\n }\n continue;\n }\n else if (typeof input === \"number\") {\n if (Number.isInteger(input)) {\n const nonNegative = input >= 0;\n const major = nonNegative ? majorUint64 : majorNegativeInt64;\n const value = nonNegative ? input : -input - 1;\n if (value < 24) {\n data[cursor++] = (major << 5) | value;\n }\n else if (value < 256) {\n data[cursor++] = (major << 5) | 24;\n data[cursor++] = value;\n }\n else if (value < 65536) {\n data[cursor++] = (major << 5) | extendedFloat16;\n data[cursor++] = value >> 8;\n data[cursor++] = value;\n }\n else if (value < 4294967296) {\n data[cursor++] = (major << 5) | extendedFloat32;\n dataView.setUint32(cursor, value);\n cursor += 4;\n }\n else {\n data[cursor++] = (major << 5) | extendedFloat64;\n dataView.setBigUint64(cursor, BigInt(value));\n cursor += 8;\n }\n continue;\n }\n data[cursor++] = (majorSpecial << 5) | extendedFloat64;\n dataView.setFloat64(cursor, input);\n cursor += 8;\n continue;\n }\n else if (typeof input === \"bigint\") {\n const nonNegative = input >= 0;\n const major = nonNegative ? majorUint64 : majorNegativeInt64;\n const value = nonNegative ? input : -input - BigInt(1);\n const n = Number(value);\n if (n < 24) {\n data[cursor++] = (major << 5) | n;\n }\n else if (n < 256) {\n data[cursor++] = (major << 5) | 24;\n data[cursor++] = n;\n }\n else if (n < 65536) {\n data[cursor++] = (major << 5) | extendedFloat16;\n data[cursor++] = n >> 8;\n data[cursor++] = n & 0b1111_1111;\n }\n else if (n < 4294967296) {\n data[cursor++] = (major << 5) | extendedFloat32;\n dataView.setUint32(cursor, n);\n cursor += 4;\n }\n else if (value < BigInt(\"18446744073709551616\")) {\n data[cursor++] = (major << 5) | extendedFloat64;\n dataView.setBigUint64(cursor, value);\n cursor += 8;\n }\n else {\n const binaryBigInt = value.toString(2);\n const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8));\n let b = value;\n let i = 0;\n while (bigIntBytes.byteLength - ++i >= 0) {\n bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255));\n b >>= BigInt(8);\n }\n ensureSpace(bigIntBytes.byteLength * 2);\n data[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011;\n if (USE_BUFFER) {\n encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes));\n }\n else {\n encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength);\n }\n data.set(bigIntBytes, cursor);\n cursor += bigIntBytes.byteLength;\n }\n continue;\n }\n else if (input === null) {\n data[cursor++] = (majorSpecial << 5) | specialNull;\n continue;\n }\n else if (typeof input === \"boolean\") {\n data[cursor++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse);\n continue;\n }\n else if (typeof input === \"undefined\") {\n throw new Error(\"@smithy/core/cbor: client may not serialize undefined value.\");\n }\n else if (Array.isArray(input)) {\n for (let i = input.length - 1; i >= 0; --i) {\n encodeStack.push(input[i]);\n }\n encodeHeader(majorList, input.length);\n continue;\n }\n else if (typeof input.byteLength === \"number\") {\n ensureSpace(input.length * 2);\n encodeHeader(majorUnstructuredByteString, input.length);\n data.set(input, cursor);\n cursor += input.byteLength;\n continue;\n }\n else if (typeof input === \"object\") {\n if (input instanceof serde.NumericValue) {\n const decimalIndex = input.string.indexOf(\".\");\n const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1;\n const mantissa = BigInt(input.string.replace(\".\", \"\"));\n data[cursor++] = 0b110_00100;\n encodeStack.push(mantissa);\n encodeStack.push(exponent);\n encodeHeader(majorList, 2);\n continue;\n }\n if (input[tagSymbol]) {\n if (\"tag\" in input && \"value\" in input) {\n encodeStack.push(input.value);\n encodeHeader(majorTag, input.tag);\n continue;\n }\n else {\n throw new Error(\"tag encountered with missing fields, need 'tag' and 'value', found: \" + JSON.stringify(input));\n }\n }\n const keys = Object.keys(input);\n for (let i = keys.length - 1; i >= 0; --i) {\n const key = keys[i];\n encodeStack.push(input[key]);\n encodeStack.push(key);\n }\n encodeHeader(majorMap, keys.length);\n continue;\n }\n throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`);\n }\n}\n\nconst cbor = {\n deserialize(payload) {\n setPayload(payload);\n return decode(0, payload.length);\n },\n serialize(input) {\n try {\n encode(input);\n return toUint8Array();\n }\n catch (e) {\n toUint8Array();\n throw e;\n }\n },\n resizeEncodingBuffer(size) {\n resize(size);\n },\n};\n\nconst parseCborBody = (streamBody, context) => {\n return protocols.collectBody(streamBody, context).then(async (bytes) => {\n if (bytes.length) {\n try {\n return cbor.deserialize(bytes);\n }\n catch (e) {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: context.utf8Encoder(bytes),\n });\n throw e;\n }\n }\n return {};\n });\n};\nconst dateToTag = (date) => {\n return tag({\n tag: 1,\n value: date.getTime() / 1000,\n });\n};\nconst parseCborErrorBody = async (errorBody, context) => {\n const value = await parseCborBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst loadSmithyRpcV2CborErrorCode = (output, data) => {\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n };\n if (data[\"__type\"] !== undefined) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n let codeKey;\n for (const key in data) {\n if (key.toLowerCase() === \"code\") {\n codeKey = key;\n break;\n }\n }\n if (codeKey && data[codeKey] !== undefined) {\n return sanitizeErrorCode(data[codeKey]);\n }\n};\nconst checkCborResponse = (response) => {\n if (String(response.headers[\"smithy-protocol\"]).toLowerCase() !== \"rpc-v2-cbor\") {\n throw new Error(\"Malformed RPCv2 CBOR response, status: \" + response.statusCode);\n }\n};\nconst buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {\n const endpoint = await context.endpoint();\n const { hostname, protocol = \"https\", port, path: basePath } = endpoint;\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers: {\n ...headers,\n },\n };\n if (resolvedHostname !== undefined) {\n contents.hostname = resolvedHostname;\n }\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n contents.headers[name] = endpoint.headers[name];\n }\n }\n if (body !== undefined) {\n contents.body = body;\n try {\n contents.headers[\"content-length\"] = String(utilBodyLengthBrowser.calculateBodyLength(body));\n }\n catch (e) { }\n }\n return new protocolHttp.HttpRequest(contents);\n};\n\nclass CborCodec extends protocols.SerdeContext {\n createSerializer() {\n const serializer = new CborShapeSerializer();\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new CborShapeDeserializer();\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\nclass CborShapeSerializer extends protocols.SerdeContext {\n value;\n write(schema, value) {\n this.value = this.serialize(schema, value);\n }\n serialize(schema$1, source) {\n const ns = schema.NormalizedSchema.of(schema$1);\n if (source == null) {\n if (ns.isIdempotencyToken()) {\n return serde.generateIdempotencyToken();\n }\n return source;\n }\n if (ns.isBlobSchema()) {\n if (typeof source === \"string\") {\n return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(source);\n }\n return source;\n }\n if (ns.isTimestampSchema()) {\n if (typeof source === \"number\" || typeof source === \"bigint\") {\n return dateToTag(new Date((Number(source) / 1000) | 0));\n }\n return dateToTag(source);\n }\n if (typeof source === \"function\" || typeof source === \"object\") {\n const sourceObject = source;\n if (ns.isListSchema() && Array.isArray(sourceObject)) {\n const sparse = !!ns.getMergedTraits().sparse;\n const newArray = [];\n let i = 0;\n for (const item of sourceObject) {\n const value = this.serialize(ns.getValueSchema(), item);\n if (value != null || sparse) {\n newArray[i++] = value;\n }\n }\n return newArray;\n }\n if (sourceObject instanceof Date) {\n return dateToTag(sourceObject);\n }\n const newObject = {};\n if (ns.isMapSchema()) {\n const sparse = !!ns.getMergedTraits().sparse;\n for (const key in sourceObject) {\n const value = this.serialize(ns.getValueSchema(), sourceObject[key]);\n if (value != null || sparse) {\n newObject[key] = value;\n }\n }\n }\n else if (ns.isStructSchema()) {\n for (const [key, memberSchema] of ns.structIterator()) {\n const value = this.serialize(memberSchema, sourceObject[key]);\n if (value != null) {\n newObject[key] = value;\n }\n }\n const isUnion = ns.isUnionSchema();\n if (isUnion && Array.isArray(sourceObject.$unknown)) {\n const [k, v] = sourceObject.$unknown;\n newObject[k] = v;\n }\n else if (typeof sourceObject.__type === \"string\") {\n for (const k in sourceObject) {\n if (!(k in newObject)) {\n newObject[k] = this.serialize(15, sourceObject[k]);\n }\n }\n }\n }\n else if (ns.isDocumentSchema()) {\n for (const key in sourceObject) {\n newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);\n }\n }\n else if (ns.isBigDecimalSchema()) {\n return sourceObject;\n }\n return newObject;\n }\n return source;\n }\n flush() {\n const buffer = cbor.serialize(this.value);\n this.value = undefined;\n return buffer;\n }\n}\nclass CborShapeDeserializer extends protocols.SerdeContext {\n read(schema, bytes) {\n const data = cbor.deserialize(bytes);\n return this.readValue(schema, data);\n }\n readValue(_schema, value) {\n const ns = schema.NormalizedSchema.of(_schema);\n if (ns.isTimestampSchema()) {\n if (typeof value === \"number\") {\n return serde._parseEpochTimestamp(value);\n }\n if (typeof value === \"object\") {\n if (value.tag === 1 && \"value\" in value) {\n return serde._parseEpochTimestamp(value.value);\n }\n }\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\") {\n return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value);\n }\n return value;\n }\n if (typeof value === \"undefined\" ||\n typeof value === \"boolean\" ||\n typeof value === \"number\" ||\n typeof value === \"string\" ||\n typeof value === \"bigint\" ||\n typeof value === \"symbol\") {\n return value;\n }\n else if (typeof value === \"object\") {\n if (value === null) {\n return null;\n }\n if (\"byteLength\" in value) {\n return value;\n }\n if (value instanceof Date) {\n return value;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n if (ns.isListSchema()) {\n const newArray = [];\n const memberSchema = ns.getValueSchema();\n for (const item of value) {\n const itemValue = this.readValue(memberSchema, item);\n newArray.push(itemValue);\n }\n return newArray;\n }\n const newObject = {};\n if (ns.isMapSchema()) {\n const targetSchema = ns.getValueSchema();\n for (const key in value) {\n const itemValue = this.readValue(targetSchema, value[key]);\n newObject[key] = itemValue;\n }\n }\n else if (ns.isStructSchema()) {\n const isUnion = ns.isUnionSchema();\n let keys;\n if (isUnion) {\n keys = new Set();\n for (const k in value) {\n if (k !== \"__type\") {\n keys.add(k);\n }\n }\n }\n for (const [key, memberSchema] of ns.structIterator()) {\n if (isUnion) {\n keys.delete(key);\n }\n if (value[key] != null) {\n newObject[key] = this.readValue(memberSchema, value[key]);\n }\n }\n if (isUnion && keys?.size === 1) {\n let newObjectEmpty = true;\n for (const _ in newObject) {\n newObjectEmpty = false;\n break;\n }\n if (newObjectEmpty) {\n const k = keys.values().next().value;\n newObject.$unknown = [k, value[k]];\n }\n }\n else if (typeof value.__type === \"string\") {\n for (const k in value) {\n if (!(k in newObject)) {\n newObject[k] = value[k];\n }\n }\n }\n }\n else if (value instanceof serde.NumericValue) {\n return value;\n }\n return newObject;\n }\n else {\n return value;\n }\n }\n}\n\nclass SmithyRpcV2CborProtocol extends protocols.RpcProtocol {\n codec = new CborCodec();\n serializer = this.codec.createSerializer();\n deserializer = this.codec.createDeserializer();\n constructor({ defaultNamespace, errorTypeRegistries, }) {\n super({ defaultNamespace, errorTypeRegistries });\n }\n getShapeId() {\n return \"smithy.protocols#rpcv2Cbor\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n Object.assign(request.headers, {\n \"content-type\": this.getDefaultContentType(),\n \"smithy-protocol\": \"rpc-v2-cbor\",\n accept: this.getDefaultContentType(),\n });\n if (schema.deref(operationSchema.input) === \"unit\") {\n delete request.body;\n delete request.headers[\"content-type\"];\n }\n else {\n if (!request.body) {\n this.serializer.write(15, {});\n request.body = this.serializer.flush();\n }\n try {\n request.headers[\"content-length\"] = String(request.body.byteLength);\n }\n catch (e) { }\n }\n const { service, operation } = utilMiddleware.getSmithyContext(context);\n const path = `/service/${service}/operation/${operation}`;\n if (request.path.endsWith(\"/\")) {\n request.path += path.slice(1);\n }\n else {\n request.path += path;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? \"Unknown\";\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode <= 500 ? \"client\" : \"server\",\n };\n let namespace = this.options.defaultNamespace;\n if (errorName.includes(\"#\")) {\n [namespace] = errorName.split(\"#\");\n }\n const registry = this.compositeErrorRegistry;\n const nsRegistry = schema.TypeRegistry.for(namespace);\n registry.copyFrom(nsRegistry);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorName);\n }\n catch (e) {\n if (dataObject.Message) {\n dataObject.message = dataObject.Message;\n }\n const syntheticRegistry = schema.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace);\n registry.copyFrom(syntheticRegistry);\n const baseExceptionSchema = registry.getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);\n throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);\n }\n throw Object.assign(new Error(errorName), errorMetadata, dataObject);\n }\n const ns = schema.NormalizedSchema.of(errorSchema);\n const ErrorCtor = registry.getErrorCtor(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new ErrorCtor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n output[name] = this.deserializer.readValue(member, dataObject[name]);\n }\n throw Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output);\n }\n getDefaultContentType() {\n return \"application/cbor\";\n }\n}\n\nexports.CborCodec = CborCodec;\nexports.CborShapeDeserializer = CborShapeDeserializer;\nexports.CborShapeSerializer = CborShapeSerializer;\nexports.SmithyRpcV2CborProtocol = SmithyRpcV2CborProtocol;\nexports.buildHttpRpcRequest = buildHttpRpcRequest;\nexports.cbor = cbor;\nexports.checkCborResponse = checkCborResponse;\nexports.dateToTag = dateToTag;\nexports.loadSmithyRpcV2CborErrorCode = loadSmithyRpcV2CborErrorCode;\nexports.parseCborBody = parseCborBody;\nexports.parseCborErrorBody = parseCborErrorBody;\nexports.tag = tag;\nexports.tagSymbol = tagSymbol;\n","'use strict';\n\nvar urlParser = require('@smithy/url-parser');\n\nconst toEndpointV1 = (endpoint) => {\n if (typeof endpoint === \"object\") {\n if (\"url\" in endpoint) {\n const v1Endpoint = urlParser.parseUrl(endpoint.url);\n if (endpoint.headers) {\n v1Endpoint.headers = {};\n for (const name in endpoint.headers) {\n v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(\", \");\n }\n }\n return v1Endpoint;\n }\n return endpoint;\n }\n return urlParser.parseUrl(endpoint);\n};\n\nexports.toEndpointV1 = toEndpointV1;\n","'use strict';\n\nvar utilStream = require('@smithy/util-stream');\nvar schema = require('@smithy/core/schema');\nvar serde = require('@smithy/core/serde');\nvar protocolHttp = require('@smithy/protocol-http');\nvar utilBase64 = require('@smithy/util-base64');\nvar utilUtf8 = require('@smithy/util-utf8');\n\nconst collectBody = async (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return utilStream.Uint8ArrayBlobAdapter.mutate(streamBody);\n }\n if (!streamBody) {\n return utilStream.Uint8ArrayBlobAdapter.mutate(new Uint8Array());\n }\n const fromContext = context.streamCollector(streamBody);\n return utilStream.Uint8ArrayBlobAdapter.mutate(await fromContext);\n};\n\nfunction extendedEncodeURIComponent(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nclass SerdeContext {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n\nclass HttpProtocol extends SerdeContext {\n options;\n compositeErrorRegistry;\n constructor(options) {\n super();\n this.options = options;\n this.compositeErrorRegistry = schema.TypeRegistry.for(options.defaultNamespace);\n for (const etr of options.errorTypeRegistries ?? []) {\n this.compositeErrorRegistry.copyFrom(etr);\n }\n }\n getRequestType() {\n return protocolHttp.HttpRequest;\n }\n getResponseType() {\n return protocolHttp.HttpResponse;\n }\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n if (this.getPayloadCodec()) {\n this.getPayloadCodec().setSerdeContext(serdeContext);\n }\n }\n updateServiceEndpoint(request, endpoint) {\n if (\"url\" in endpoint) {\n request.protocol = endpoint.url.protocol;\n request.hostname = endpoint.url.hostname;\n request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined;\n request.path = endpoint.url.pathname;\n request.fragment = endpoint.url.hash || void 0;\n request.username = endpoint.url.username || void 0;\n request.password = endpoint.url.password || void 0;\n if (!request.query) {\n request.query = {};\n }\n for (const [k, v] of endpoint.url.searchParams.entries()) {\n request.query[k] = v;\n }\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n request.headers[name] = endpoint.headers[name].join(\", \");\n }\n }\n return request;\n }\n else {\n request.protocol = endpoint.protocol;\n request.hostname = endpoint.hostname;\n request.port = endpoint.port ? Number(endpoint.port) : undefined;\n request.path = endpoint.path;\n request.query = {\n ...endpoint.query,\n };\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n request.headers[name] = endpoint.headers[name];\n }\n }\n return request;\n }\n }\n setHostPrefix(request, operationSchema, input) {\n if (this.serdeContext?.disableHostPrefix) {\n return;\n }\n const inputNs = schema.NormalizedSchema.of(operationSchema.input);\n const opTraits = schema.translateTraits(operationSchema.traits ?? {});\n if (opTraits.endpoint) {\n let hostPrefix = opTraits.endpoint?.[0];\n if (typeof hostPrefix === \"string\") {\n for (const [name, member] of inputNs.structIterator()) {\n if (!member.getMergedTraits().hostLabel) {\n continue;\n }\n const replacement = input[name];\n if (typeof replacement !== \"string\") {\n throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);\n }\n hostPrefix = hostPrefix.replace(`{${name}}`, replacement);\n }\n request.hostname = hostPrefix + request.hostname;\n }\n }\n }\n deserializeMetadata(output) {\n return {\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n };\n }\n async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {\n const eventStreamSerde = await this.loadEventStreamCapability();\n return eventStreamSerde.serializeEventStream({\n eventStream,\n requestSchema,\n initialRequest,\n });\n }\n async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {\n const eventStreamSerde = await this.loadEventStreamCapability();\n return eventStreamSerde.deserializeEventStream({\n response,\n responseSchema,\n initialResponseContainer,\n });\n }\n async loadEventStreamCapability() {\n const { EventStreamSerde } = await import('@smithy/core/event-streams');\n return new EventStreamSerde({\n marshaller: this.getEventStreamMarshaller(),\n serializer: this.serializer,\n deserializer: this.deserializer,\n serdeContext: this.serdeContext,\n defaultContentType: this.getDefaultContentType(),\n });\n }\n getDefaultContentType() {\n throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);\n }\n async deserializeHttpMessage(schema, context, response, arg4, arg5) {\n return [];\n }\n getEventStreamMarshaller() {\n const context = this.serdeContext;\n if (!context.eventStreamMarshaller) {\n throw new Error(\"@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.\");\n }\n return context.eventStreamMarshaller;\n }\n}\n\nclass HttpBindingProtocol extends HttpProtocol {\n async serializeRequest(operationSchema, _input, context) {\n const input = _input && typeof _input === \"object\" ? _input : {};\n const serializer = this.serializer;\n const query = {};\n const headers = {};\n const endpoint = await context.endpoint();\n const ns = schema.NormalizedSchema.of(operationSchema?.input);\n const payloadMemberNames = [];\n const payloadMemberSchemas = [];\n let hasNonHttpBindingMember = false;\n let payload;\n const request = new protocolHttp.HttpRequest({\n protocol: \"\",\n hostname: \"\",\n port: undefined,\n path: \"\",\n fragment: undefined,\n query: query,\n headers: headers,\n body: undefined,\n });\n if (endpoint) {\n this.updateServiceEndpoint(request, endpoint);\n this.setHostPrefix(request, operationSchema, input);\n const opTraits = schema.translateTraits(operationSchema.traits);\n if (opTraits.http) {\n request.method = opTraits.http[0];\n const [path, search] = opTraits.http[1].split(\"?\");\n if (request.path == \"/\") {\n request.path = path;\n }\n else {\n request.path += path;\n }\n const traitSearchParams = new URLSearchParams(search ?? \"\");\n for (const [key, value] of traitSearchParams) {\n query[key] = value;\n }\n }\n }\n for (const [memberName, memberNs] of ns.structIterator()) {\n const memberTraits = memberNs.getMergedTraits() ?? {};\n const inputMemberValue = input[memberName];\n if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {\n if (memberTraits.httpLabel) {\n if (request.path.includes(`{${memberName}+}`) || request.path.includes(`{${memberName}}`)) {\n throw new Error(`No value provided for input HTTP label: ${memberName}.`);\n }\n }\n continue;\n }\n if (memberTraits.httpPayload) {\n const isStreaming = memberNs.isStreaming();\n if (isStreaming) {\n const isEventStream = memberNs.isStructSchema();\n if (isEventStream) {\n if (input[memberName]) {\n payload = await this.serializeEventStream({\n eventStream: input[memberName],\n requestSchema: ns,\n });\n }\n }\n else {\n payload = inputMemberValue;\n }\n }\n else {\n serializer.write(memberNs, inputMemberValue);\n payload = serializer.flush();\n }\n }\n else if (memberTraits.httpLabel) {\n serializer.write(memberNs, inputMemberValue);\n const replacement = serializer.flush();\n if (request.path.includes(`{${memberName}+}`)) {\n request.path = request.path.replace(`{${memberName}+}`, replacement.split(\"/\").map(extendedEncodeURIComponent).join(\"/\"));\n }\n else if (request.path.includes(`{${memberName}}`)) {\n request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));\n }\n }\n else if (memberTraits.httpHeader) {\n serializer.write(memberNs, inputMemberValue);\n headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());\n }\n else if (typeof memberTraits.httpPrefixHeaders === \"string\") {\n for (const key in inputMemberValue) {\n const val = inputMemberValue[key];\n const amalgam = memberTraits.httpPrefixHeaders + key;\n serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);\n headers[amalgam.toLowerCase()] = serializer.flush();\n }\n }\n else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {\n this.serializeQuery(memberNs, inputMemberValue, query);\n }\n else {\n hasNonHttpBindingMember = true;\n payloadMemberNames.push(memberName);\n payloadMemberSchemas.push(memberNs);\n }\n }\n if (hasNonHttpBindingMember && input) {\n const [namespace, name] = (ns.getName(true) ?? \"#Unknown\").split(\"#\");\n const requiredMembers = ns.getSchema()[6];\n const payloadSchema = [\n 3,\n namespace,\n name,\n ns.getMergedTraits(),\n payloadMemberNames,\n payloadMemberSchemas,\n undefined,\n ];\n if (requiredMembers) {\n payloadSchema[6] = requiredMembers;\n }\n else {\n payloadSchema.pop();\n }\n serializer.write(payloadSchema, input);\n payload = serializer.flush();\n }\n request.headers = headers;\n request.query = query;\n request.body = payload;\n return request;\n }\n serializeQuery(ns, data, query) {\n const serializer = this.serializer;\n const traits = ns.getMergedTraits();\n if (traits.httpQueryParams) {\n for (const key in data) {\n if (!(key in query)) {\n const val = data[key];\n const valueSchema = ns.getValueSchema();\n Object.assign(valueSchema.getMergedTraits(), {\n ...traits,\n httpQuery: key,\n httpQueryParams: undefined,\n });\n this.serializeQuery(valueSchema, val, query);\n }\n }\n return;\n }\n if (ns.isListSchema()) {\n const sparse = !!ns.getMergedTraits().sparse;\n const buffer = [];\n for (const item of data) {\n serializer.write([ns.getValueSchema(), traits], item);\n const serializable = serializer.flush();\n if (sparse || serializable !== undefined) {\n buffer.push(serializable);\n }\n }\n query[traits.httpQuery] = buffer;\n }\n else {\n serializer.write([ns, traits], data);\n query[traits.httpQuery] = serializer.flush();\n }\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = schema.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n throw new Error(\"@smithy/core/protocols - HTTP Protocol error handler failed to throw.\");\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject);\n if (nonHttpBindingMembers.length) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n const dataFromBody = await deserializer.read(ns, bytes);\n for (const member of nonHttpBindingMembers) {\n if (dataFromBody[member] != null) {\n dataObject[member] = dataFromBody[member];\n }\n }\n }\n }\n else if (nonHttpBindingMembers.discardResponseBody) {\n await collectBody(response.body, context);\n }\n dataObject.$metadata = this.deserializeMetadata(response);\n return dataObject;\n }\n async deserializeHttpMessage(schema$1, context, response, arg4, arg5) {\n let dataObject;\n if (arg4 instanceof Set) {\n dataObject = arg5;\n }\n else {\n dataObject = arg4;\n }\n let discardResponseBody = true;\n const deserializer = this.deserializer;\n const ns = schema.NormalizedSchema.of(schema$1);\n const nonHttpBindingMembers = [];\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMemberTraits();\n if (memberTraits.httpPayload) {\n discardResponseBody = false;\n const isStreaming = memberSchema.isStreaming();\n if (isStreaming) {\n const isEventStream = memberSchema.isStructSchema();\n if (isEventStream) {\n dataObject[memberName] = await this.deserializeEventStream({\n response,\n responseSchema: ns,\n });\n }\n else {\n dataObject[memberName] = utilStream.sdkStreamMixin(response.body);\n }\n }\n else if (response.body) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n dataObject[memberName] = await deserializer.read(memberSchema, bytes);\n }\n }\n }\n else if (memberTraits.httpHeader) {\n const key = String(memberTraits.httpHeader).toLowerCase();\n const value = response.headers[key];\n if (null != value) {\n if (memberSchema.isListSchema()) {\n const headerListValueSchema = memberSchema.getValueSchema();\n headerListValueSchema.getMergedTraits().httpHeader = key;\n let sections;\n if (headerListValueSchema.isTimestampSchema() &&\n headerListValueSchema.getSchema() === 4) {\n sections = serde.splitEvery(value, \",\", 2);\n }\n else {\n sections = serde.splitHeader(value);\n }\n const list = [];\n for (const section of sections) {\n list.push(await deserializer.read(headerListValueSchema, section.trim()));\n }\n dataObject[memberName] = list;\n }\n else {\n dataObject[memberName] = await deserializer.read(memberSchema, value);\n }\n }\n }\n else if (memberTraits.httpPrefixHeaders !== undefined) {\n dataObject[memberName] = {};\n for (const header in response.headers) {\n if (header.startsWith(memberTraits.httpPrefixHeaders)) {\n const value = response.headers[header];\n const valueSchema = memberSchema.getValueSchema();\n valueSchema.getMergedTraits().httpHeader = header;\n dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value);\n }\n }\n }\n else if (memberTraits.httpResponseCode) {\n dataObject[memberName] = response.statusCode;\n }\n else {\n nonHttpBindingMembers.push(memberName);\n }\n }\n nonHttpBindingMembers.discardResponseBody = discardResponseBody;\n return nonHttpBindingMembers;\n }\n}\n\nclass RpcProtocol extends HttpProtocol {\n async serializeRequest(operationSchema, _input, context) {\n const serializer = this.serializer;\n const query = {};\n const headers = {};\n const endpoint = await context.endpoint();\n const ns = schema.NormalizedSchema.of(operationSchema?.input);\n const schema$1 = ns.getSchema();\n let payload;\n const input = _input && typeof _input === \"object\" ? _input : {};\n const request = new protocolHttp.HttpRequest({\n protocol: \"\",\n hostname: \"\",\n port: undefined,\n path: \"/\",\n fragment: undefined,\n query: query,\n headers: headers,\n body: undefined,\n });\n if (endpoint) {\n this.updateServiceEndpoint(request, endpoint);\n this.setHostPrefix(request, operationSchema, input);\n }\n if (input) {\n const eventStreamMember = ns.getEventStreamMember();\n if (eventStreamMember) {\n if (input[eventStreamMember]) {\n const initialRequest = {};\n for (const [memberName, memberSchema] of ns.structIterator()) {\n if (memberName !== eventStreamMember && input[memberName]) {\n serializer.write(memberSchema, input[memberName]);\n initialRequest[memberName] = serializer.flush();\n }\n }\n payload = await this.serializeEventStream({\n eventStream: input[eventStreamMember],\n requestSchema: ns,\n initialRequest,\n });\n }\n }\n else {\n serializer.write(schema$1, input);\n payload = serializer.flush();\n }\n }\n request.headers = Object.assign(request.headers, headers);\n request.query = query;\n request.body = payload;\n request.method = \"POST\";\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = schema.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n throw new Error(\"@smithy/core/protocols - RPC Protocol error handler failed to throw.\");\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const eventStreamMember = ns.getEventStreamMember();\n if (eventStreamMember) {\n dataObject[eventStreamMember] = await this.deserializeEventStream({\n response,\n responseSchema: ns,\n initialResponseContainer: dataObject,\n });\n }\n else {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes));\n }\n }\n dataObject.$metadata = this.deserializeMetadata(response);\n return dataObject;\n }\n}\n\nconst resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {\n if (input != null && input[memberName] !== undefined) {\n const labelValue = labelValueProvider();\n if (labelValue == null || labelValue.length <= 0) {\n throw new Error(\"Empty value provided for input HTTP label: \" + memberName + \".\");\n }\n resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel\n ? labelValue\n .split(\"/\")\n .map((segment) => extendedEncodeURIComponent(segment))\n .join(\"/\")\n : extendedEncodeURIComponent(labelValue));\n }\n else {\n throw new Error(\"No value provided for input HTTP label: \" + memberName + \".\");\n }\n return resolvedPath;\n};\n\nfunction requestBuilder(input, context) {\n return new RequestBuilder(input, context);\n}\nclass RequestBuilder {\n input;\n context;\n query = {};\n method = \"\";\n headers = {};\n path = \"\";\n body = null;\n hostname = \"\";\n resolvePathStack = [];\n constructor(input, context) {\n this.input = input;\n this.context = context;\n }\n async build() {\n const { hostname, protocol = \"https\", port, path: basePath } = await this.context.endpoint();\n this.path = basePath;\n for (const resolvePath of this.resolvePathStack) {\n resolvePath(this.path);\n }\n return new protocolHttp.HttpRequest({\n protocol,\n hostname: this.hostname || hostname,\n port,\n method: this.method,\n path: this.path,\n query: this.query,\n body: this.body,\n headers: this.headers,\n });\n }\n hn(hostname) {\n this.hostname = hostname;\n return this;\n }\n bp(uriLabel) {\n this.resolvePathStack.push((basePath) => {\n this.path = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + uriLabel;\n });\n return this;\n }\n p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {\n this.resolvePathStack.push((path) => {\n this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);\n });\n return this;\n }\n h(headers) {\n this.headers = headers;\n return this;\n }\n q(query) {\n this.query = query;\n return this;\n }\n b(body) {\n this.body = body;\n return this;\n }\n m(method) {\n this.method = method;\n return this;\n }\n}\n\nfunction determineTimestampFormat(ns, settings) {\n if (settings.timestampFormat.useTrait) {\n if (ns.isTimestampSchema() &&\n (ns.getSchema() === 5 ||\n ns.getSchema() === 6 ||\n ns.getSchema() === 7)) {\n return ns.getSchema();\n }\n }\n const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();\n const bindingFormat = settings.httpBindings\n ? typeof httpPrefixHeaders === \"string\" || Boolean(httpHeader)\n ? 6\n : Boolean(httpQuery) || Boolean(httpLabel)\n ? 5\n : undefined\n : undefined;\n return bindingFormat ?? settings.timestampFormat.default;\n}\n\nclass FromStringShapeDeserializer extends SerdeContext {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n read(_schema, data) {\n const ns = schema.NormalizedSchema.of(_schema);\n if (ns.isListSchema()) {\n return serde.splitHeader(data).map((item) => this.read(ns.getValueSchema(), item));\n }\n if (ns.isBlobSchema()) {\n return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(data);\n }\n if (ns.isTimestampSchema()) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return serde._parseRfc3339DateTimeWithOffset(data);\n case 6:\n return serde._parseRfc7231DateTime(data);\n case 7:\n return serde._parseEpochTimestamp(data);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", data);\n return new Date(data);\n }\n }\n if (ns.isStringSchema()) {\n const mediaType = ns.getMergedTraits().mediaType;\n let intermediateValue = data;\n if (mediaType) {\n if (ns.getMergedTraits().httpHeader) {\n intermediateValue = this.base64ToUtf8(intermediateValue);\n }\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n intermediateValue = serde.LazyJsonString.from(intermediateValue);\n }\n return intermediateValue;\n }\n }\n if (ns.isNumericSchema()) {\n return Number(data);\n }\n if (ns.isBigIntegerSchema()) {\n return BigInt(data);\n }\n if (ns.isBigDecimalSchema()) {\n return new serde.NumericValue(data, \"bigDecimal\");\n }\n if (ns.isBooleanSchema()) {\n return String(data).toLowerCase() === \"true\";\n }\n return data;\n }\n base64ToUtf8(base64String) {\n return (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)((this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(base64String));\n }\n}\n\nclass HttpInterceptingShapeDeserializer extends SerdeContext {\n codecDeserializer;\n stringDeserializer;\n constructor(codecDeserializer, codecSettings) {\n super();\n this.codecDeserializer = codecDeserializer;\n this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);\n }\n setSerdeContext(serdeContext) {\n this.stringDeserializer.setSerdeContext(serdeContext);\n this.codecDeserializer.setSerdeContext(serdeContext);\n this.serdeContext = serdeContext;\n }\n read(schema$1, data) {\n const ns = schema.NormalizedSchema.of(schema$1);\n const traits = ns.getMergedTraits();\n const toString = this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8;\n if (traits.httpHeader || traits.httpResponseCode) {\n return this.stringDeserializer.read(ns, toString(data));\n }\n if (traits.httpPayload) {\n if (ns.isBlobSchema()) {\n const toBytes = this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8;\n if (typeof data === \"string\") {\n return toBytes(data);\n }\n return data;\n }\n else if (ns.isStringSchema()) {\n if (\"byteLength\" in data) {\n return toString(data);\n }\n return data;\n }\n }\n return this.codecDeserializer.read(ns, data);\n }\n}\n\nclass ToStringShapeSerializer extends SerdeContext {\n settings;\n stringBuffer = \"\";\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value) {\n const ns = schema.NormalizedSchema.of(schema$1);\n switch (typeof value) {\n case \"object\":\n if (value === null) {\n this.stringBuffer = \"null\";\n return;\n }\n if (ns.isTimestampSchema()) {\n if (!(value instanceof Date)) {\n throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`);\n }\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n this.stringBuffer = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case 6:\n this.stringBuffer = serde.dateToUtcString(value);\n break;\n case 7:\n this.stringBuffer = String(value.getTime() / 1000);\n break;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n this.stringBuffer = String(value.getTime() / 1000);\n }\n return;\n }\n if (ns.isBlobSchema() && \"byteLength\" in value) {\n this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n return;\n }\n if (ns.isListSchema() && Array.isArray(value)) {\n let buffer = \"\";\n for (const item of value) {\n this.write([ns.getValueSchema(), ns.getMergedTraits()], item);\n const headerItem = this.flush();\n const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : serde.quoteHeader(headerItem);\n if (buffer !== \"\") {\n buffer += \", \";\n }\n buffer += serialized;\n }\n this.stringBuffer = buffer;\n return;\n }\n this.stringBuffer = JSON.stringify(value, null, 2);\n break;\n case \"string\":\n const mediaType = ns.getMergedTraits().mediaType;\n let intermediateValue = value;\n if (mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n intermediateValue = serde.LazyJsonString.from(intermediateValue);\n }\n if (ns.getMergedTraits().httpHeader) {\n this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(intermediateValue.toString());\n return;\n }\n }\n this.stringBuffer = value;\n break;\n default:\n if (ns.isIdempotencyToken()) {\n this.stringBuffer = serde.generateIdempotencyToken();\n }\n else {\n this.stringBuffer = String(value);\n }\n }\n }\n flush() {\n const buffer = this.stringBuffer;\n this.stringBuffer = \"\";\n return buffer;\n }\n}\n\nclass HttpInterceptingShapeSerializer {\n codecSerializer;\n stringSerializer;\n buffer;\n constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) {\n this.codecSerializer = codecSerializer;\n this.stringSerializer = stringSerializer;\n }\n setSerdeContext(serdeContext) {\n this.codecSerializer.setSerdeContext(serdeContext);\n this.stringSerializer.setSerdeContext(serdeContext);\n }\n write(schema$1, value) {\n const ns = schema.NormalizedSchema.of(schema$1);\n const traits = ns.getMergedTraits();\n if (traits.httpHeader || traits.httpLabel || traits.httpQuery) {\n this.stringSerializer.write(ns, value);\n this.buffer = this.stringSerializer.flush();\n return;\n }\n return this.codecSerializer.write(ns, value);\n }\n flush() {\n if (this.buffer !== undefined) {\n const buffer = this.buffer;\n this.buffer = undefined;\n return buffer;\n }\n return this.codecSerializer.flush();\n }\n}\n\nexports.FromStringShapeDeserializer = FromStringShapeDeserializer;\nexports.HttpBindingProtocol = HttpBindingProtocol;\nexports.HttpInterceptingShapeDeserializer = HttpInterceptingShapeDeserializer;\nexports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer;\nexports.HttpProtocol = HttpProtocol;\nexports.RequestBuilder = RequestBuilder;\nexports.RpcProtocol = RpcProtocol;\nexports.SerdeContext = SerdeContext;\nexports.ToStringShapeSerializer = ToStringShapeSerializer;\nexports.collectBody = collectBody;\nexports.determineTimestampFormat = determineTimestampFormat;\nexports.extendedEncodeURIComponent = extendedEncodeURIComponent;\nexports.requestBuilder = requestBuilder;\nexports.resolvedPath = resolvedPath;\n","'use strict';\n\nvar protocolHttp = require('@smithy/protocol-http');\nvar utilMiddleware = require('@smithy/util-middleware');\nvar endpoints = require('@smithy/core/endpoints');\n\nconst deref = (schemaRef) => {\n if (typeof schemaRef === \"function\") {\n return schemaRef();\n }\n return schemaRef;\n};\n\nconst operation = (namespace, name, traits, input, output) => ({\n name,\n namespace,\n traits,\n input,\n output,\n});\n\nconst schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {\n const { response } = await next(args);\n const { operationSchema } = utilMiddleware.getSmithyContext(context);\n const [, ns, n, t, i, o] = operationSchema ?? [];\n try {\n const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), {\n ...config,\n ...context,\n }, response);\n return {\n response,\n output: parsed,\n };\n }\n catch (error) {\n Object.defineProperty(error, \"$response\", {\n value: response,\n enumerable: false,\n writable: false,\n configurable: false,\n });\n if (!(\"$metadata\" in error)) {\n const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;\n try {\n error.message += \"\\n \" + hint;\n }\n catch (e) {\n if (!context.logger || context.logger?.constructor?.name === \"NoOpLogger\") {\n console.warn(hint);\n }\n else {\n context.logger?.warn?.(hint);\n }\n }\n if (typeof error.$responseBodyText !== \"undefined\") {\n if (error.$response) {\n error.$response.body = error.$responseBodyText;\n }\n }\n try {\n if (protocolHttp.HttpResponse.isInstance(response)) {\n const { headers = {} } = response;\n const headerEntries = Object.entries(headers);\n error.$metadata = {\n httpStatusCode: response.statusCode,\n requestId: findHeader(/^x-[\\w-]+-request-?id$/, headerEntries),\n extendedRequestId: findHeader(/^x-[\\w-]+-id-2$/, headerEntries),\n cfId: findHeader(/^x-[\\w-]+-cf-id$/, headerEntries),\n };\n }\n }\n catch (e) {\n }\n }\n throw error;\n }\n};\nconst findHeader = (pattern, headers) => {\n return (headers.find(([k]) => {\n return k.match(pattern);\n }) || [void 0, void 0])[1];\n};\n\nconst schemaSerializationMiddleware = (config) => (next, context) => async (args) => {\n const { operationSchema } = utilMiddleware.getSmithyContext(context);\n const [, ns, n, t, i, o] = operationSchema ?? [];\n const endpoint = context.endpointV2\n ? async () => endpoints.toEndpointV1(context.endpointV2)\n : config.endpoint;\n const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, {\n ...config,\n ...context,\n endpoint,\n });\n return next({\n ...args,\n request,\n });\n};\n\nconst deserializerMiddlewareOption = {\n name: \"deserializerMiddleware\",\n step: \"deserialize\",\n tags: [\"DESERIALIZER\"],\n override: true,\n};\nconst serializerMiddlewareOption = {\n name: \"serializerMiddleware\",\n step: \"serialize\",\n tags: [\"SERIALIZER\"],\n override: true,\n};\nfunction getSchemaSerdePlugin(config) {\n return {\n applyToStack: (commandStack) => {\n commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);\n commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);\n config.protocol.setSerdeContext(config);\n },\n };\n}\n\nclass Schema {\n name;\n namespace;\n traits;\n static assign(instance, values) {\n const schema = Object.assign(instance, values);\n return schema;\n }\n static [Symbol.hasInstance](lhs) {\n const isPrototype = this.prototype.isPrototypeOf(lhs);\n if (!isPrototype && typeof lhs === \"object\" && lhs !== null) {\n const list = lhs;\n return list.symbol === this.symbol;\n }\n return isPrototype;\n }\n getName() {\n return this.namespace + \"#\" + this.name;\n }\n}\n\nclass ListSchema extends Schema {\n static symbol = Symbol.for(\"@smithy/lis\");\n name;\n traits;\n valueSchema;\n symbol = ListSchema.symbol;\n}\nconst list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSchema(), {\n name,\n namespace,\n traits,\n valueSchema,\n});\n\nclass MapSchema extends Schema {\n static symbol = Symbol.for(\"@smithy/map\");\n name;\n traits;\n keySchema;\n valueSchema;\n symbol = MapSchema.symbol;\n}\nconst map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(new MapSchema(), {\n name,\n namespace,\n traits,\n keySchema,\n valueSchema,\n});\n\nclass OperationSchema extends Schema {\n static symbol = Symbol.for(\"@smithy/ope\");\n name;\n traits;\n input;\n output;\n symbol = OperationSchema.symbol;\n}\nconst op = (namespace, name, traits, input, output) => Schema.assign(new OperationSchema(), {\n name,\n namespace,\n traits,\n input,\n output,\n});\n\nclass StructureSchema extends Schema {\n static symbol = Symbol.for(\"@smithy/str\");\n name;\n traits;\n memberNames;\n memberList;\n symbol = StructureSchema.symbol;\n}\nconst struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), {\n name,\n namespace,\n traits,\n memberNames,\n memberList,\n});\n\nclass ErrorSchema extends StructureSchema {\n static symbol = Symbol.for(\"@smithy/err\");\n ctor;\n symbol = ErrorSchema.symbol;\n}\nconst error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), {\n name,\n namespace,\n traits,\n memberNames,\n memberList,\n ctor: null,\n});\n\nconst traitsCache = [];\nfunction translateTraits(indicator) {\n if (typeof indicator === \"object\") {\n return indicator;\n }\n indicator = indicator | 0;\n if (traitsCache[indicator]) {\n return traitsCache[indicator];\n }\n const traits = {};\n let i = 0;\n for (const trait of [\n \"httpLabel\",\n \"idempotent\",\n \"idempotencyToken\",\n \"sensitive\",\n \"httpPayload\",\n \"httpResponseCode\",\n \"httpQueryParams\",\n ]) {\n if (((indicator >> i++) & 1) === 1) {\n traits[trait] = 1;\n }\n }\n return (traitsCache[indicator] = traits);\n}\n\nconst anno = {\n it: Symbol.for(\"@smithy/nor-struct-it\"),\n ns: Symbol.for(\"@smithy/ns\"),\n};\nconst simpleSchemaCacheN = [];\nconst simpleSchemaCacheS = {};\nclass NormalizedSchema {\n ref;\n memberName;\n static symbol = Symbol.for(\"@smithy/nor\");\n symbol = NormalizedSchema.symbol;\n name;\n schema;\n _isMemberSchema;\n traits;\n memberTraits;\n normalizedTraits;\n constructor(ref, memberName) {\n this.ref = ref;\n this.memberName = memberName;\n const traitStack = [];\n let _ref = ref;\n let schema = ref;\n this._isMemberSchema = false;\n while (isMemberSchema(_ref)) {\n traitStack.push(_ref[1]);\n _ref = _ref[0];\n schema = deref(_ref);\n this._isMemberSchema = true;\n }\n if (traitStack.length > 0) {\n this.memberTraits = {};\n for (let i = traitStack.length - 1; i >= 0; --i) {\n const traitSet = traitStack[i];\n Object.assign(this.memberTraits, translateTraits(traitSet));\n }\n }\n else {\n this.memberTraits = 0;\n }\n if (schema instanceof NormalizedSchema) {\n const computedMemberTraits = this.memberTraits;\n Object.assign(this, schema);\n this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits());\n this.normalizedTraits = void 0;\n this.memberName = memberName ?? schema.memberName;\n return;\n }\n this.schema = deref(schema);\n if (isStaticSchema(this.schema)) {\n this.name = `${this.schema[1]}#${this.schema[2]}`;\n this.traits = this.schema[3];\n }\n else {\n this.name = this.memberName ?? String(schema);\n this.traits = 0;\n }\n if (this._isMemberSchema && !memberName) {\n throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`);\n }\n }\n static [Symbol.hasInstance](lhs) {\n const isPrototype = this.prototype.isPrototypeOf(lhs);\n if (!isPrototype && typeof lhs === \"object\" && lhs !== null) {\n const ns = lhs;\n return ns.symbol === this.symbol;\n }\n return isPrototype;\n }\n static of(ref) {\n const keyAble = typeof ref === \"function\" || (typeof ref === \"object\" && ref !== null);\n if (typeof ref === \"number\") {\n if (simpleSchemaCacheN[ref]) {\n return simpleSchemaCacheN[ref];\n }\n }\n else if (typeof ref === \"string\") {\n if (simpleSchemaCacheS[ref]) {\n return simpleSchemaCacheS[ref];\n }\n }\n else if (keyAble) {\n if (ref[anno.ns]) {\n return ref[anno.ns];\n }\n }\n const sc = deref(ref);\n if (sc instanceof NormalizedSchema) {\n return sc;\n }\n if (isMemberSchema(sc)) {\n const [ns, traits] = sc;\n if (ns instanceof NormalizedSchema) {\n Object.assign(ns.getMergedTraits(), translateTraits(traits));\n return ns;\n }\n throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`);\n }\n const ns = new NormalizedSchema(sc);\n if (keyAble) {\n return (ref[anno.ns] = ns);\n }\n if (typeof sc === \"string\") {\n return (simpleSchemaCacheS[sc] = ns);\n }\n if (typeof sc === \"number\") {\n return (simpleSchemaCacheN[sc] = ns);\n }\n return ns;\n }\n getSchema() {\n const sc = this.schema;\n if (Array.isArray(sc) && sc[0] === 0) {\n return sc[4];\n }\n return sc;\n }\n getName(withNamespace = false) {\n const { name } = this;\n const short = !withNamespace && name && name.includes(\"#\");\n return short ? name.split(\"#\")[1] : name || undefined;\n }\n getMemberName() {\n return this.memberName;\n }\n isMemberSchema() {\n return this._isMemberSchema;\n }\n isListSchema() {\n const sc = this.getSchema();\n return typeof sc === \"number\"\n ? sc >= 64 && sc < 128\n : sc[0] === 1;\n }\n isMapSchema() {\n const sc = this.getSchema();\n return typeof sc === \"number\"\n ? sc >= 128 && sc <= 0b1111_1111\n : sc[0] === 2;\n }\n isStructSchema() {\n const sc = this.getSchema();\n if (typeof sc !== \"object\") {\n return false;\n }\n const id = sc[0];\n return (id === 3 ||\n id === -3 ||\n id === 4);\n }\n isUnionSchema() {\n const sc = this.getSchema();\n if (typeof sc !== \"object\") {\n return false;\n }\n return sc[0] === 4;\n }\n isBlobSchema() {\n const sc = this.getSchema();\n return sc === 21 || sc === 42;\n }\n isTimestampSchema() {\n const sc = this.getSchema();\n return (typeof sc === \"number\" &&\n sc >= 4 &&\n sc <= 7);\n }\n isUnitSchema() {\n return this.getSchema() === \"unit\";\n }\n isDocumentSchema() {\n return this.getSchema() === 15;\n }\n isStringSchema() {\n return this.getSchema() === 0;\n }\n isBooleanSchema() {\n return this.getSchema() === 2;\n }\n isNumericSchema() {\n return this.getSchema() === 1;\n }\n isBigIntegerSchema() {\n return this.getSchema() === 17;\n }\n isBigDecimalSchema() {\n return this.getSchema() === 19;\n }\n isStreaming() {\n const { streaming } = this.getMergedTraits();\n return !!streaming || this.getSchema() === 42;\n }\n isIdempotencyToken() {\n return !!this.getMergedTraits().idempotencyToken;\n }\n getMergedTraits() {\n return (this.normalizedTraits ??\n (this.normalizedTraits = {\n ...this.getOwnTraits(),\n ...this.getMemberTraits(),\n }));\n }\n getMemberTraits() {\n return translateTraits(this.memberTraits);\n }\n getOwnTraits() {\n return translateTraits(this.traits);\n }\n getKeySchema() {\n const [isDoc, isMap] = [this.isDocumentSchema(), this.isMapSchema()];\n if (!isDoc && !isMap) {\n throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`);\n }\n const schema = this.getSchema();\n const memberSchema = isDoc\n ? 15\n : schema[4] ?? 0;\n return member([memberSchema, 0], \"key\");\n }\n getValueSchema() {\n const sc = this.getSchema();\n const [isDoc, isMap, isList] = [this.isDocumentSchema(), this.isMapSchema(), this.isListSchema()];\n const memberSchema = typeof sc === \"number\"\n ? 0b0011_1111 & sc\n : sc && typeof sc === \"object\" && (isMap || isList)\n ? sc[3 + sc[0]]\n : isDoc\n ? 15\n : void 0;\n if (memberSchema != null) {\n return member([memberSchema, 0], isMap ? \"value\" : \"member\");\n }\n throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`);\n }\n getMemberSchema(memberName) {\n const struct = this.getSchema();\n if (this.isStructSchema() && struct[4].includes(memberName)) {\n const i = struct[4].indexOf(memberName);\n const memberSchema = struct[5][i];\n return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName);\n }\n if (this.isDocumentSchema()) {\n return member([15, 0], memberName);\n }\n throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`);\n }\n getMemberSchemas() {\n const buffer = {};\n try {\n for (const [k, v] of this.structIterator()) {\n buffer[k] = v;\n }\n }\n catch (ignored) { }\n return buffer;\n }\n getEventStreamMember() {\n if (this.isStructSchema()) {\n for (const [memberName, memberSchema] of this.structIterator()) {\n if (memberSchema.isStreaming() && memberSchema.isStructSchema()) {\n return memberName;\n }\n }\n }\n return \"\";\n }\n *structIterator() {\n if (this.isUnitSchema()) {\n return;\n }\n if (!this.isStructSchema()) {\n throw new Error(\"@smithy/core/schema - cannot iterate non-struct schema.\");\n }\n const struct = this.getSchema();\n const z = struct[4].length;\n let it = struct[anno.it];\n if (it && z === it.length) {\n yield* it;\n return;\n }\n it = Array(z);\n for (let i = 0; i < z; ++i) {\n const k = struct[4][i];\n const v = member([struct[5][i], 0], k);\n yield (it[i] = [k, v]);\n }\n struct[anno.it] = it;\n }\n}\nfunction member(memberSchema, memberName) {\n if (memberSchema instanceof NormalizedSchema) {\n return Object.assign(memberSchema, {\n memberName,\n _isMemberSchema: true,\n });\n }\n const internalCtorAccess = NormalizedSchema;\n return new internalCtorAccess(memberSchema, memberName);\n}\nconst isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;\nconst isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;\n\nclass SimpleSchema extends Schema {\n static symbol = Symbol.for(\"@smithy/sim\");\n name;\n schemaRef;\n traits;\n symbol = SimpleSchema.symbol;\n}\nconst sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {\n name,\n namespace,\n traits,\n schemaRef,\n});\nconst simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), {\n name,\n namespace,\n traits,\n schemaRef,\n});\n\nconst SCHEMA = {\n BLOB: 0b0001_0101,\n STREAMING_BLOB: 0b0010_1010,\n BOOLEAN: 0b0000_0010,\n STRING: 0b0000_0000,\n NUMERIC: 0b0000_0001,\n BIG_INTEGER: 0b0001_0001,\n BIG_DECIMAL: 0b0001_0011,\n DOCUMENT: 0b0000_1111,\n TIMESTAMP_DEFAULT: 0b0000_0100,\n TIMESTAMP_DATE_TIME: 0b0000_0101,\n TIMESTAMP_HTTP_DATE: 0b0000_0110,\n TIMESTAMP_EPOCH_SECONDS: 0b0000_0111,\n LIST_MODIFIER: 0b0100_0000,\n MAP_MODIFIER: 0b1000_0000,\n};\n\nclass TypeRegistry {\n namespace;\n schemas;\n exceptions;\n static registries = new Map();\n constructor(namespace, schemas = new Map(), exceptions = new Map()) {\n this.namespace = namespace;\n this.schemas = schemas;\n this.exceptions = exceptions;\n }\n static for(namespace) {\n if (!TypeRegistry.registries.has(namespace)) {\n TypeRegistry.registries.set(namespace, new TypeRegistry(namespace));\n }\n return TypeRegistry.registries.get(namespace);\n }\n copyFrom(other) {\n const { schemas, exceptions } = this;\n for (const [k, v] of other.schemas) {\n if (!schemas.has(k)) {\n schemas.set(k, v);\n }\n }\n for (const [k, v] of other.exceptions) {\n if (!exceptions.has(k)) {\n exceptions.set(k, v);\n }\n }\n }\n register(shapeId, schema) {\n const qualifiedName = this.normalizeShapeId(shapeId);\n for (const r of [this, TypeRegistry.for(qualifiedName.split(\"#\")[0])]) {\n r.schemas.set(qualifiedName, schema);\n }\n }\n getSchema(shapeId) {\n const id = this.normalizeShapeId(shapeId);\n if (!this.schemas.has(id)) {\n throw new Error(`@smithy/core/schema - schema not found for ${id}`);\n }\n return this.schemas.get(id);\n }\n registerError(es, ctor) {\n const $error = es;\n const ns = $error[1];\n for (const r of [this, TypeRegistry.for(ns)]) {\n r.schemas.set(ns + \"#\" + $error[2], $error);\n r.exceptions.set($error, ctor);\n }\n }\n getErrorCtor(es) {\n const $error = es;\n if (this.exceptions.has($error)) {\n return this.exceptions.get($error);\n }\n const registry = TypeRegistry.for($error[1]);\n return registry.exceptions.get($error);\n }\n getBaseException() {\n for (const exceptionKey of this.exceptions.keys()) {\n if (Array.isArray(exceptionKey)) {\n const [, ns, name] = exceptionKey;\n const id = ns + \"#\" + name;\n if (id.startsWith(\"smithy.ts.sdk.synthetic.\") && id.endsWith(\"ServiceException\")) {\n return exceptionKey;\n }\n }\n }\n return undefined;\n }\n find(predicate) {\n for (const schema of this.schemas.values()) {\n if (predicate(schema)) {\n return schema;\n }\n }\n return undefined;\n }\n clear() {\n this.schemas.clear();\n this.exceptions.clear();\n }\n normalizeShapeId(shapeId) {\n if (shapeId.includes(\"#\")) {\n return shapeId;\n }\n return this.namespace + \"#\" + shapeId;\n }\n}\n\nexports.ErrorSchema = ErrorSchema;\nexports.ListSchema = ListSchema;\nexports.MapSchema = MapSchema;\nexports.NormalizedSchema = NormalizedSchema;\nexports.OperationSchema = OperationSchema;\nexports.SCHEMA = SCHEMA;\nexports.Schema = Schema;\nexports.SimpleSchema = SimpleSchema;\nexports.StructureSchema = StructureSchema;\nexports.TypeRegistry = TypeRegistry;\nexports.deref = deref;\nexports.deserializerMiddlewareOption = deserializerMiddlewareOption;\nexports.error = error;\nexports.getSchemaSerdePlugin = getSchemaSerdePlugin;\nexports.isStaticSchema = isStaticSchema;\nexports.list = list;\nexports.map = map;\nexports.op = op;\nexports.operation = operation;\nexports.serializerMiddlewareOption = serializerMiddlewareOption;\nexports.sim = sim;\nexports.simAdapter = simAdapter;\nexports.simpleSchemaCacheN = simpleSchemaCacheN;\nexports.simpleSchemaCacheS = simpleSchemaCacheS;\nexports.struct = struct;\nexports.traitsCache = traitsCache;\nexports.translateTraits = translateTraits;\n","'use strict';\n\nvar uuid = require('@smithy/uuid');\n\nconst copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;\n\nconst parseBoolean = (value) => {\n switch (value) {\n case \"true\":\n return true;\n case \"false\":\n return false;\n default:\n throw new Error(`Unable to parse boolean value \"${value}\"`);\n }\n};\nconst expectBoolean = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"number\") {\n if (value === 0 || value === 1) {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (value === 0) {\n return false;\n }\n if (value === 1) {\n return true;\n }\n }\n if (typeof value === \"string\") {\n const lower = value.toLowerCase();\n if (lower === \"false\" || lower === \"true\") {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (lower === \"false\") {\n return false;\n }\n if (lower === \"true\") {\n return true;\n }\n }\n if (typeof value === \"boolean\") {\n return value;\n }\n throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`);\n};\nconst expectNumber = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"string\") {\n const parsed = parseFloat(value);\n if (!Number.isNaN(parsed)) {\n if (String(parsed) !== String(value)) {\n logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));\n }\n return parsed;\n }\n }\n if (typeof value === \"number\") {\n return value;\n }\n throw new TypeError(`Expected number, got ${typeof value}: ${value}`);\n};\nconst MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));\nconst expectFloat32 = (value) => {\n const expected = expectNumber(value);\n if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {\n if (Math.abs(expected) > MAX_FLOAT) {\n throw new TypeError(`Expected 32-bit float, got ${value}`);\n }\n }\n return expected;\n};\nconst expectLong = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (Number.isInteger(value) && !Number.isNaN(value)) {\n return value;\n }\n throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);\n};\nconst expectInt = expectLong;\nconst expectInt32 = (value) => expectSizedInt(value, 32);\nconst expectShort = (value) => expectSizedInt(value, 16);\nconst expectByte = (value) => expectSizedInt(value, 8);\nconst expectSizedInt = (value, size) => {\n const expected = expectLong(value);\n if (expected !== undefined && castInt(expected, size) !== expected) {\n throw new TypeError(`Expected ${size}-bit integer, got ${value}`);\n }\n return expected;\n};\nconst castInt = (value, size) => {\n switch (size) {\n case 32:\n return Int32Array.of(value)[0];\n case 16:\n return Int16Array.of(value)[0];\n case 8:\n return Int8Array.of(value)[0];\n }\n};\nconst expectNonNull = (value, location) => {\n if (value === null || value === undefined) {\n if (location) {\n throw new TypeError(`Expected a non-null value for ${location}`);\n }\n throw new TypeError(\"Expected a non-null value\");\n }\n return value;\n};\nconst expectObject = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"object\" && !Array.isArray(value)) {\n return value;\n }\n const receivedType = Array.isArray(value) ? \"array\" : typeof value;\n throw new TypeError(`Expected object, got ${receivedType}: ${value}`);\n};\nconst expectString = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"string\") {\n return value;\n }\n if ([\"boolean\", \"number\", \"bigint\"].includes(typeof value)) {\n logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));\n return String(value);\n }\n throw new TypeError(`Expected string, got ${typeof value}: ${value}`);\n};\nconst expectUnion = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n const asObject = expectObject(value);\n const setKeys = [];\n for (const k in asObject) {\n if (asObject[k] != null) {\n setKeys.push(k);\n }\n }\n if (setKeys.length === 0) {\n throw new TypeError(`Unions must have exactly one non-null member. None were found.`);\n }\n if (setKeys.length > 1) {\n throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`);\n }\n return asObject;\n};\nconst strictParseDouble = (value) => {\n if (typeof value == \"string\") {\n return expectNumber(parseNumber(value));\n }\n return expectNumber(value);\n};\nconst strictParseFloat = strictParseDouble;\nconst strictParseFloat32 = (value) => {\n if (typeof value == \"string\") {\n return expectFloat32(parseNumber(value));\n }\n return expectFloat32(value);\n};\nconst NUMBER_REGEX = /(-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)|(-?Infinity)|(NaN)/g;\nconst parseNumber = (value) => {\n const matches = value.match(NUMBER_REGEX);\n if (matches === null || matches[0].length !== value.length) {\n throw new TypeError(`Expected real number, got implicit NaN`);\n }\n return parseFloat(value);\n};\nconst limitedParseDouble = (value) => {\n if (typeof value == \"string\") {\n return parseFloatString(value);\n }\n return expectNumber(value);\n};\nconst handleFloat = limitedParseDouble;\nconst limitedParseFloat = limitedParseDouble;\nconst limitedParseFloat32 = (value) => {\n if (typeof value == \"string\") {\n return parseFloatString(value);\n }\n return expectFloat32(value);\n};\nconst parseFloatString = (value) => {\n switch (value) {\n case \"NaN\":\n return NaN;\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n default:\n throw new Error(`Unable to parse float value: ${value}`);\n }\n};\nconst strictParseLong = (value) => {\n if (typeof value === \"string\") {\n return expectLong(parseNumber(value));\n }\n return expectLong(value);\n};\nconst strictParseInt = strictParseLong;\nconst strictParseInt32 = (value) => {\n if (typeof value === \"string\") {\n return expectInt32(parseNumber(value));\n }\n return expectInt32(value);\n};\nconst strictParseShort = (value) => {\n if (typeof value === \"string\") {\n return expectShort(parseNumber(value));\n }\n return expectShort(value);\n};\nconst strictParseByte = (value) => {\n if (typeof value === \"string\") {\n return expectByte(parseNumber(value));\n }\n return expectByte(value);\n};\nconst stackTraceWarning = (message) => {\n return String(new TypeError(message).stack || message)\n .split(\"\\n\")\n .slice(0, 5)\n .filter((s) => !s.includes(\"stackTraceWarning\"))\n .join(\"\\n\");\n};\nconst logger = {\n warn: console.warn,\n};\n\nconst DAYS = [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"];\nconst MONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nfunction dateToUtcString(date) {\n const year = date.getUTCFullYear();\n const month = date.getUTCMonth();\n const dayOfWeek = date.getUTCDay();\n const dayOfMonthInt = date.getUTCDate();\n const hoursInt = date.getUTCHours();\n const minutesInt = date.getUTCMinutes();\n const secondsInt = date.getUTCSeconds();\n const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`;\n const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`;\n const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`;\n const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`;\n return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`;\n}\nconst RFC3339 = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?[zZ]$/);\nconst parseRfc3339DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-3339 date-times must be expressed as strings\");\n }\n const match = RFC3339.exec(value);\n if (!match) {\n throw new TypeError(\"Invalid RFC-3339 date-time value\");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n const year = strictParseShort(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, \"month\", 1, 12);\n const day = parseDateValue(dayStr, \"day\", 1, 31);\n return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n};\nconst RFC3339_WITH_OFFSET$1 = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?(([-+]\\d{2}\\:\\d{2})|[zZ])$/);\nconst parseRfc3339DateTimeWithOffset = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-3339 date-times must be expressed as strings\");\n }\n const match = RFC3339_WITH_OFFSET$1.exec(value);\n if (!match) {\n throw new TypeError(\"Invalid RFC-3339 date-time value\");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;\n const year = strictParseShort(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, \"month\", 1, 12);\n const day = parseDateValue(dayStr, \"day\", 1, 31);\n const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n if (offsetStr.toUpperCase() != \"Z\") {\n date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr));\n }\n return date;\n};\nconst IMF_FIXDATE$1 = 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$/);\nconst RFC_850_DATE$1 = 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$/);\nconst ASC_TIME$1 = 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})$/);\nconst parseRfc7231DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-7231 date-times must be expressed as strings\");\n }\n let match = IMF_FIXDATE$1.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, \"day\", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n match = RFC_850_DATE$1.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, \"day\", 1, 31), {\n hours,\n minutes,\n seconds,\n fractionalMilliseconds,\n }));\n }\n match = ASC_TIME$1.exec(value);\n if (match) {\n const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;\n return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), \"day\", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n throw new TypeError(\"Invalid RFC-7231 date-time value\");\n};\nconst parseEpochTimestamp = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n let valueAsDouble;\n if (typeof value === \"number\") {\n valueAsDouble = value;\n }\n else if (typeof value === \"string\") {\n valueAsDouble = strictParseDouble(value);\n }\n else if (typeof value === \"object\" && value.tag === 1) {\n valueAsDouble = value.value;\n }\n else {\n throw new TypeError(\"Epoch timestamps must be expressed as floating point numbers or their string representation\");\n }\n if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) {\n throw new TypeError(\"Epoch timestamps must be valid, non-Infinite, non-NaN numerics\");\n }\n return new Date(Math.round(valueAsDouble * 1000));\n};\nconst buildDate = (year, month, day, time) => {\n const adjustedMonth = month - 1;\n validateDayOfMonth(year, adjustedMonth, day);\n return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, \"hour\", 0, 23), parseDateValue(time.minutes, \"minute\", 0, 59), parseDateValue(time.seconds, \"seconds\", 0, 60), parseMilliseconds(time.fractionalMilliseconds)));\n};\nconst parseTwoDigitYear = (value) => {\n const thisYear = new Date().getUTCFullYear();\n const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value));\n if (valueInThisCentury < thisYear) {\n return valueInThisCentury + 100;\n }\n return valueInThisCentury;\n};\nconst FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000;\nconst adjustRfc850Year = (input) => {\n if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) {\n return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds()));\n }\n return input;\n};\nconst parseMonthByShortName = (value) => {\n const monthIdx = MONTHS.indexOf(value);\n if (monthIdx < 0) {\n throw new TypeError(`Invalid month: ${value}`);\n }\n return monthIdx + 1;\n};\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst validateDayOfMonth = (year, month, day) => {\n let maxDays = DAYS_IN_MONTH[month];\n if (month === 1 && isLeapYear(year)) {\n maxDays = 29;\n }\n if (day > maxDays) {\n throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`);\n }\n};\nconst isLeapYear = (year) => {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n};\nconst parseDateValue = (value, type, lower, upper) => {\n const dateVal = strictParseByte(stripLeadingZeroes(value));\n if (dateVal < lower || dateVal > upper) {\n throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`);\n }\n return dateVal;\n};\nconst parseMilliseconds = (value) => {\n if (value === null || value === undefined) {\n return 0;\n }\n return strictParseFloat32(\"0.\" + value) * 1000;\n};\nconst parseOffsetToMilliseconds = (value) => {\n const directionStr = value[0];\n let direction = 1;\n if (directionStr == \"+\") {\n direction = 1;\n }\n else if (directionStr == \"-\") {\n direction = -1;\n }\n else {\n throw new TypeError(`Offset direction, ${directionStr}, must be \"+\" or \"-\"`);\n }\n const hour = Number(value.substring(1, 3));\n const minute = Number(value.substring(4, 6));\n return direction * (hour * 60 + minute) * 60 * 1000;\n};\nconst stripLeadingZeroes = (value) => {\n let idx = 0;\n while (idx < value.length - 1 && value.charAt(idx) === \"0\") {\n idx++;\n }\n if (idx === 0) {\n return value;\n }\n return value.slice(idx);\n};\n\nconst LazyJsonString = function LazyJsonString(val) {\n const str = Object.assign(new String(val), {\n deserializeJSON() {\n return JSON.parse(String(val));\n },\n toString() {\n return String(val);\n },\n toJSON() {\n return String(val);\n },\n });\n return str;\n};\nLazyJsonString.from = (object) => {\n if (object && typeof object === \"object\" && (object instanceof LazyJsonString || \"deserializeJSON\" in object)) {\n return object;\n }\n else if (typeof object === \"string\" || Object.getPrototypeOf(object) === String.prototype) {\n return LazyJsonString(String(object));\n }\n return LazyJsonString(JSON.stringify(object));\n};\nLazyJsonString.fromObject = LazyJsonString.from;\n\nfunction quoteHeader(part) {\n if (part.includes(\",\") || part.includes('\"')) {\n part = `\"${part.replace(/\"/g, '\\\\\"')}\"`;\n }\n return part;\n}\n\nconst ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;\nconst mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;\nconst time = `(\\\\d?\\\\d):(\\\\d{2}):(\\\\d{2})(?:\\\\.(\\\\d+))?`;\nconst date = `(\\\\d?\\\\d)`;\nconst year = `(\\\\d{4})`;\nconst RFC3339_WITH_OFFSET = new RegExp(/^(\\d{4})-(\\d\\d)-(\\d\\d)[tT](\\d\\d):(\\d\\d):(\\d\\d)(\\.(\\d+))?(([-+]\\d\\d:\\d\\d)|[zZ])$/);\nconst IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);\nconst RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\\\d\\\\d) ${time} GMT$`);\nconst ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\\\d\\\\d) ${time} ${year}$`);\nconst months = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nconst _parseEpochTimestamp = (value) => {\n if (value == null) {\n return void 0;\n }\n let num = NaN;\n if (typeof value === \"number\") {\n num = value;\n }\n else if (typeof value === \"string\") {\n if (!/^-?\\d*\\.?\\d+$/.test(value)) {\n throw new TypeError(`parseEpochTimestamp - numeric string invalid.`);\n }\n num = Number.parseFloat(value);\n }\n else if (typeof value === \"object\" && value.tag === 1) {\n num = value.value;\n }\n if (isNaN(num) || Math.abs(num) === Infinity) {\n throw new TypeError(\"Epoch timestamps must be valid finite numbers.\");\n }\n return new Date(Math.round(num * 1000));\n};\nconst _parseRfc3339DateTimeWithOffset = (value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC3339 timestamps must be strings\");\n }\n const matches = RFC3339_WITH_OFFSET.exec(value);\n if (!matches) {\n throw new TypeError(`Invalid RFC3339 timestamp format ${value}`);\n }\n const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches;\n range(monthStr, 1, 12);\n range(dayStr, 1, 31);\n range(hours, 0, 23);\n range(minutes, 0, 59);\n range(seconds, 0, 60);\n const date = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0));\n date.setUTCFullYear(Number(yearStr));\n if (offsetStr.toUpperCase() != \"Z\") {\n const [, sign, offsetH, offsetM] = /([+-])(\\d\\d):(\\d\\d)/.exec(offsetStr) || [void 0, \"+\", 0, 0];\n const scalar = sign === \"-\" ? 1 : -1;\n date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000));\n }\n return date;\n};\nconst _parseRfc7231DateTime = (value) => {\n if (value == null) {\n return void 0;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC7231 timestamps must be strings.\");\n }\n let day;\n let month;\n let year;\n let hour;\n let minute;\n let second;\n let fraction;\n let matches;\n if ((matches = IMF_FIXDATE.exec(value))) {\n [, day, month, year, hour, minute, second, fraction] = matches;\n }\n else if ((matches = RFC_850_DATE.exec(value))) {\n [, day, month, year, hour, minute, second, fraction] = matches;\n year = (Number(year) + 1900).toString();\n }\n else if ((matches = ASC_TIME.exec(value))) {\n [, month, day, hour, minute, second, fraction, year] = matches;\n }\n if (year && second) {\n const timestamp = Date.UTC(Number(year), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0);\n range(day, 1, 31);\n range(hour, 0, 23);\n range(minute, 0, 59);\n range(second, 0, 60);\n const date = new Date(timestamp);\n date.setUTCFullYear(Number(year));\n return date;\n }\n throw new TypeError(`Invalid RFC7231 date-time value ${value}.`);\n};\nfunction range(v, min, max) {\n const _v = Number(v);\n if (_v < min || _v > max) {\n throw new Error(`Value ${_v} out of range [${min}, ${max}]`);\n }\n}\n\nfunction splitEvery(value, delimiter, numDelimiters) {\n if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {\n throw new Error(\"Invalid number of delimiters (\" + numDelimiters + \") for splitEvery.\");\n }\n const segments = value.split(delimiter);\n if (numDelimiters === 1) {\n return segments;\n }\n const compoundSegments = [];\n let currentSegment = \"\";\n for (let i = 0; i < segments.length; i++) {\n if (currentSegment === \"\") {\n currentSegment = segments[i];\n }\n else {\n currentSegment += delimiter + segments[i];\n }\n if ((i + 1) % numDelimiters === 0) {\n compoundSegments.push(currentSegment);\n currentSegment = \"\";\n }\n }\n if (currentSegment !== \"\") {\n compoundSegments.push(currentSegment);\n }\n return compoundSegments;\n}\n\nconst splitHeader = (value) => {\n const z = value.length;\n const values = [];\n let withinQuotes = false;\n let prevChar = undefined;\n let anchor = 0;\n for (let i = 0; i < z; ++i) {\n const char = value[i];\n switch (char) {\n case `\"`:\n if (prevChar !== \"\\\\\") {\n withinQuotes = !withinQuotes;\n }\n break;\n case \",\":\n if (!withinQuotes) {\n values.push(value.slice(anchor, i));\n anchor = i + 1;\n }\n break;\n }\n prevChar = char;\n }\n values.push(value.slice(anchor));\n return values.map((v) => {\n v = v.trim();\n const z = v.length;\n if (z < 2) {\n return v;\n }\n if (v[0] === `\"` && v[z - 1] === `\"`) {\n v = v.slice(1, z - 1);\n }\n return v.replace(/\\\\\"/g, '\"');\n });\n};\n\nconst format = /^-?\\d*(\\.\\d+)?$/;\nclass NumericValue {\n string;\n type;\n constructor(string, type) {\n this.string = string;\n this.type = type;\n if (!format.test(string)) {\n throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point \".\", and an optional negation prefix \"-\".`);\n }\n }\n toString() {\n return this.string;\n }\n static [Symbol.hasInstance](object) {\n if (!object || typeof object !== \"object\") {\n return false;\n }\n const _nv = object;\n return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === \"bigDecimal\" && format.test(_nv.string));\n }\n}\nfunction nv(input) {\n return new NumericValue(String(input), \"bigDecimal\");\n}\n\nexports.generateIdempotencyToken = uuid.v4;\nexports.LazyJsonString = LazyJsonString;\nexports.NumericValue = NumericValue;\nexports._parseEpochTimestamp = _parseEpochTimestamp;\nexports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset;\nexports._parseRfc7231DateTime = _parseRfc7231DateTime;\nexports.copyDocumentWithTransform = copyDocumentWithTransform;\nexports.dateToUtcString = dateToUtcString;\nexports.expectBoolean = expectBoolean;\nexports.expectByte = expectByte;\nexports.expectFloat32 = expectFloat32;\nexports.expectInt = expectInt;\nexports.expectInt32 = expectInt32;\nexports.expectLong = expectLong;\nexports.expectNonNull = expectNonNull;\nexports.expectNumber = expectNumber;\nexports.expectObject = expectObject;\nexports.expectShort = expectShort;\nexports.expectString = expectString;\nexports.expectUnion = expectUnion;\nexports.handleFloat = handleFloat;\nexports.limitedParseDouble = limitedParseDouble;\nexports.limitedParseFloat = limitedParseFloat;\nexports.limitedParseFloat32 = limitedParseFloat32;\nexports.logger = logger;\nexports.nv = nv;\nexports.parseBoolean = parseBoolean;\nexports.parseEpochTimestamp = parseEpochTimestamp;\nexports.parseRfc3339DateTime = parseRfc3339DateTime;\nexports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset;\nexports.parseRfc7231DateTime = parseRfc7231DateTime;\nexports.quoteHeader = quoteHeader;\nexports.splitEvery = splitEvery;\nexports.splitHeader = splitHeader;\nexports.strictParseByte = strictParseByte;\nexports.strictParseDouble = strictParseDouble;\nexports.strictParseFloat = strictParseFloat;\nexports.strictParseFloat32 = strictParseFloat32;\nexports.strictParseInt = strictParseInt;\nexports.strictParseInt32 = strictParseInt32;\nexports.strictParseLong = strictParseLong;\nexports.strictParseShort = strictParseShort;\n","'use strict';\n\nvar propertyProvider = require('@smithy/property-provider');\nvar url = require('url');\nvar buffer = require('buffer');\nvar http = require('http');\nvar nodeConfigProvider = require('@smithy/node-config-provider');\nvar urlParser = require('@smithy/url-parser');\n\nfunction httpRequest(options) {\n return new Promise((resolve, reject) => {\n const req = http.request({\n method: \"GET\",\n ...options,\n hostname: options.hostname?.replace(/^\\[(.+)\\]$/, \"$1\"),\n });\n req.on(\"error\", (err) => {\n reject(Object.assign(new propertyProvider.ProviderError(\"Unable to connect to instance metadata service\"), err));\n req.destroy();\n });\n req.on(\"timeout\", () => {\n reject(new propertyProvider.ProviderError(\"TimeoutError from instance metadata service\"));\n req.destroy();\n });\n req.on(\"response\", (res) => {\n const { statusCode = 400 } = res;\n if (statusCode < 200 || 300 <= statusCode) {\n reject(Object.assign(new propertyProvider.ProviderError(\"Error response received from instance metadata service\"), { statusCode }));\n req.destroy();\n }\n const chunks = [];\n res.on(\"data\", (chunk) => {\n chunks.push(chunk);\n });\n res.on(\"end\", () => {\n resolve(buffer.Buffer.concat(chunks));\n req.destroy();\n });\n });\n req.end();\n });\n}\n\nconst isImdsCredentials = (arg) => Boolean(arg) &&\n typeof arg === \"object\" &&\n typeof arg.AccessKeyId === \"string\" &&\n typeof arg.SecretAccessKey === \"string\" &&\n typeof arg.Token === \"string\" &&\n typeof arg.Expiration === \"string\";\nconst fromImdsCredentials = (creds) => ({\n accessKeyId: creds.AccessKeyId,\n secretAccessKey: creds.SecretAccessKey,\n sessionToken: creds.Token,\n expiration: new Date(creds.Expiration),\n ...(creds.AccountId && { accountId: creds.AccountId }),\n});\n\nconst DEFAULT_TIMEOUT = 1000;\nconst DEFAULT_MAX_RETRIES = 0;\nconst providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout });\n\nconst retry = (toRetry, maxRetries) => {\n let promise = toRetry();\n for (let i = 0; i < maxRetries; i++) {\n promise = promise.catch(toRetry);\n }\n return promise;\n};\n\nconst ENV_CMDS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst ENV_CMDS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst ENV_CMDS_AUTH_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromContainerMetadata = (init = {}) => {\n const { timeout, maxRetries } = providerConfigFromInit(init);\n return () => retry(async () => {\n const requestOptions = await getCmdsUri({ logger: init.logger });\n const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions));\n if (!isImdsCredentials(credsResponse)) {\n throw new propertyProvider.CredentialsProviderError(\"Invalid response received from instance metadata service.\", {\n logger: init.logger,\n });\n }\n return fromImdsCredentials(credsResponse);\n }, maxRetries);\n};\nconst requestFromEcsImds = async (timeout, options) => {\n if (process.env[ENV_CMDS_AUTH_TOKEN]) {\n options.headers = {\n ...options.headers,\n Authorization: process.env[ENV_CMDS_AUTH_TOKEN],\n };\n }\n const buffer = await httpRequest({\n ...options,\n timeout,\n });\n return buffer.toString();\n};\nconst CMDS_IP = \"169.254.170.2\";\nconst GREENGRASS_HOSTS = {\n localhost: true,\n \"127.0.0.1\": true,\n};\nconst GREENGRASS_PROTOCOLS = {\n \"http:\": true,\n \"https:\": true,\n};\nconst getCmdsUri = async ({ logger }) => {\n if (process.env[ENV_CMDS_RELATIVE_URI]) {\n return {\n hostname: CMDS_IP,\n path: process.env[ENV_CMDS_RELATIVE_URI],\n };\n }\n if (process.env[ENV_CMDS_FULL_URI]) {\n const parsed = url.parse(process.env[ENV_CMDS_FULL_URI]);\n if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {\n throw new propertyProvider.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {\n tryNextLink: false,\n logger,\n });\n }\n if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {\n throw new propertyProvider.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {\n tryNextLink: false,\n logger,\n });\n }\n return {\n ...parsed,\n port: parsed.port ? parseInt(parsed.port, 10) : undefined,\n };\n }\n throw new propertyProvider.CredentialsProviderError(\"The container metadata credential provider cannot be used unless\" +\n ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` +\n \" variable is set\", {\n tryNextLink: false,\n logger,\n });\n};\n\nclass InstanceMetadataV1FallbackError extends propertyProvider.CredentialsProviderError {\n tryNextLink;\n name = \"InstanceMetadataV1FallbackError\";\n constructor(message, tryNextLink = true) {\n super(message, tryNextLink);\n this.tryNextLink = tryNextLink;\n Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype);\n }\n}\n\nexports.Endpoint = void 0;\n(function (Endpoint) {\n Endpoint[\"IPv4\"] = \"http://169.254.169.254\";\n Endpoint[\"IPv6\"] = \"http://[fd00:ec2::254]\";\n})(exports.Endpoint || (exports.Endpoint = {}));\n\nconst ENV_ENDPOINT_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT\";\nconst CONFIG_ENDPOINT_NAME = \"ec2_metadata_service_endpoint\";\nconst ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME],\n configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME],\n default: undefined,\n};\n\nvar EndpointMode;\n(function (EndpointMode) {\n EndpointMode[\"IPv4\"] = \"IPv4\";\n EndpointMode[\"IPv6\"] = \"IPv6\";\n})(EndpointMode || (EndpointMode = {}));\n\nconst ENV_ENDPOINT_MODE_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE\";\nconst CONFIG_ENDPOINT_MODE_NAME = \"ec2_metadata_service_endpoint_mode\";\nconst ENDPOINT_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME],\n configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME],\n default: EndpointMode.IPv4,\n};\n\nconst getInstanceMetadataEndpoint = async () => urlParser.parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig()));\nconst getFromEndpointConfig = async () => nodeConfigProvider.loadConfig(ENDPOINT_CONFIG_OPTIONS)();\nconst getFromEndpointModeConfig = async () => {\n const endpointMode = await nodeConfigProvider.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();\n switch (endpointMode) {\n case EndpointMode.IPv4:\n return exports.Endpoint.IPv4;\n case EndpointMode.IPv6:\n return exports.Endpoint.IPv6;\n default:\n throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`);\n }\n};\n\nconst STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60;\nconst STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;\nconst STATIC_STABILITY_DOC_URL = \"https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html\";\nconst getExtendedInstanceMetadataCredentials = (credentials, logger) => {\n const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS +\n Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);\n const newExpiration = new Date(Date.now() + refreshInterval * 1000);\n logger.warn(\"Attempting credential expiration extension due to a credential service availability issue. A refresh of these \" +\n `credentials will be attempted after ${new Date(newExpiration)}.\\nFor more information, please visit: ` +\n STATIC_STABILITY_DOC_URL);\n const originalExpiration = credentials.originalExpiration ?? credentials.expiration;\n return {\n ...credentials,\n ...(originalExpiration ? { originalExpiration } : {}),\n expiration: newExpiration,\n };\n};\n\nconst staticStabilityProvider = (provider, options = {}) => {\n const logger = options?.logger || console;\n let pastCredentials;\n return async () => {\n let credentials;\n try {\n credentials = await provider();\n if (credentials.expiration && credentials.expiration.getTime() < Date.now()) {\n credentials = getExtendedInstanceMetadataCredentials(credentials, logger);\n }\n }\n catch (e) {\n if (pastCredentials) {\n logger.warn(\"Credential renew failed: \", e);\n credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger);\n }\n else {\n throw e;\n }\n }\n pastCredentials = credentials;\n return credentials;\n };\n};\n\nconst IMDS_PATH = \"/latest/meta-data/iam/security-credentials/\";\nconst IMDS_TOKEN_PATH = \"/latest/api/token\";\nconst AWS_EC2_METADATA_V1_DISABLED = \"AWS_EC2_METADATA_V1_DISABLED\";\nconst PROFILE_AWS_EC2_METADATA_V1_DISABLED = \"ec2_metadata_v1_disabled\";\nconst X_AWS_EC2_METADATA_TOKEN = \"x-aws-ec2-metadata-token\";\nconst fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger });\nconst getInstanceMetadataProvider = (init = {}) => {\n let disableFetchToken = false;\n const { logger, profile } = init;\n const { timeout, maxRetries } = providerConfigFromInit(init);\n const getCredentials = async (maxRetries, options) => {\n const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;\n if (isImdsV1Fallback) {\n let fallbackBlockedFromProfile = false;\n let fallbackBlockedFromProcessEnv = false;\n const configValue = await nodeConfigProvider.loadConfig({\n environmentVariableSelector: (env) => {\n const envValue = env[AWS_EC2_METADATA_V1_DISABLED];\n fallbackBlockedFromProcessEnv = !!envValue && envValue !== \"false\";\n if (envValue === undefined) {\n throw new propertyProvider.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger });\n }\n return fallbackBlockedFromProcessEnv;\n },\n configFileSelector: (profile) => {\n const profileValue = profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED];\n fallbackBlockedFromProfile = !!profileValue && profileValue !== \"false\";\n return fallbackBlockedFromProfile;\n },\n default: false,\n }, {\n profile,\n })();\n if (init.ec2MetadataV1Disabled || configValue) {\n const causes = [];\n if (init.ec2MetadataV1Disabled)\n causes.push(\"credential provider initialization (runtime option ec2MetadataV1Disabled)\");\n if (fallbackBlockedFromProfile)\n causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`);\n if (fallbackBlockedFromProcessEnv)\n causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`);\n throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(\", \")}].`);\n }\n }\n const imdsProfile = (await retry(async () => {\n let profile;\n try {\n profile = await getProfile(options);\n }\n catch (err) {\n if (err.statusCode === 401) {\n disableFetchToken = false;\n }\n throw err;\n }\n return profile;\n }, maxRetries)).trim();\n return retry(async () => {\n let creds;\n try {\n creds = await getCredentialsFromProfile(imdsProfile, options, init);\n }\n catch (err) {\n if (err.statusCode === 401) {\n disableFetchToken = false;\n }\n throw err;\n }\n return creds;\n }, maxRetries);\n };\n return async () => {\n const endpoint = await getInstanceMetadataEndpoint();\n if (disableFetchToken) {\n logger?.debug(\"AWS SDK Instance Metadata\", \"using v1 fallback (no token fetch)\");\n return getCredentials(maxRetries, { ...endpoint, timeout });\n }\n else {\n let token;\n try {\n token = (await getMetadataToken({ ...endpoint, timeout })).toString();\n }\n catch (error) {\n if (error?.statusCode === 400) {\n throw Object.assign(error, {\n message: \"EC2 Metadata token request returned error\",\n });\n }\n else if (error.message === \"TimeoutError\" || [403, 404, 405].includes(error.statusCode)) {\n disableFetchToken = true;\n }\n logger?.debug(\"AWS SDK Instance Metadata\", \"using v1 fallback (initial)\");\n return getCredentials(maxRetries, { ...endpoint, timeout });\n }\n return getCredentials(maxRetries, {\n ...endpoint,\n headers: {\n [X_AWS_EC2_METADATA_TOKEN]: token,\n },\n timeout,\n });\n }\n };\n};\nconst getMetadataToken = async (options) => httpRequest({\n ...options,\n path: IMDS_TOKEN_PATH,\n method: \"PUT\",\n headers: {\n \"x-aws-ec2-metadata-token-ttl-seconds\": \"21600\",\n },\n});\nconst getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString();\nconst getCredentialsFromProfile = async (profile, options, init) => {\n const credentialsResponse = JSON.parse((await httpRequest({\n ...options,\n path: IMDS_PATH + profile,\n })).toString());\n if (!isImdsCredentials(credentialsResponse)) {\n throw new propertyProvider.CredentialsProviderError(\"Invalid response received from instance metadata service.\", {\n logger: init.logger,\n });\n }\n return fromImdsCredentials(credentialsResponse);\n};\n\nexports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES;\nexports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT;\nexports.ENV_CMDS_AUTH_TOKEN = ENV_CMDS_AUTH_TOKEN;\nexports.ENV_CMDS_FULL_URI = ENV_CMDS_FULL_URI;\nexports.ENV_CMDS_RELATIVE_URI = ENV_CMDS_RELATIVE_URI;\nexports.fromContainerMetadata = fromContainerMetadata;\nexports.fromInstanceMetadata = fromInstanceMetadata;\nexports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint;\nexports.httpRequest = httpRequest;\nexports.providerConfigFromInit = providerConfigFromInit;\n","var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n EventStreamCodec: () => EventStreamCodec,\n HeaderMarshaller: () => HeaderMarshaller,\n Int64: () => Int64,\n MessageDecoderStream: () => MessageDecoderStream,\n MessageEncoderStream: () => MessageEncoderStream,\n SmithyMessageDecoderStream: () => SmithyMessageDecoderStream,\n SmithyMessageEncoderStream: () => SmithyMessageEncoderStream\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/EventStreamCodec.ts\nvar import_crc322 = require(\"@aws-crypto/crc32\");\n\n// src/HeaderMarshaller.ts\n\n\n// src/Int64.ts\nvar import_util_hex_encoding = require(\"@smithy/util-hex-encoding\");\nvar Int64 = class _Int64 {\n constructor(bytes) {\n this.bytes = bytes;\n if (bytes.byteLength !== 8) {\n throw new Error(\"Int64 buffers must be exactly 8 bytes\");\n }\n }\n static {\n __name(this, \"Int64\");\n }\n static fromNumber(number) {\n if (number > 9223372036854776e3 || number < -9223372036854776e3) {\n throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);\n }\n const bytes = new Uint8Array(8);\n for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {\n bytes[i] = remaining;\n }\n if (number < 0) {\n negate(bytes);\n }\n return new _Int64(bytes);\n }\n /**\n * Called implicitly by infix arithmetic operators.\n */\n valueOf() {\n const bytes = this.bytes.slice(0);\n const negative = bytes[0] & 128;\n if (negative) {\n negate(bytes);\n }\n return parseInt((0, import_util_hex_encoding.toHex)(bytes), 16) * (negative ? -1 : 1);\n }\n toString() {\n return String(this.valueOf());\n }\n};\nfunction negate(bytes) {\n for (let i = 0; i < 8; i++) {\n bytes[i] ^= 255;\n }\n for (let i = 7; i > -1; i--) {\n bytes[i]++;\n if (bytes[i] !== 0)\n break;\n }\n}\n__name(negate, \"negate\");\n\n// src/HeaderMarshaller.ts\nvar HeaderMarshaller = class {\n constructor(toUtf8, fromUtf8) {\n this.toUtf8 = toUtf8;\n this.fromUtf8 = fromUtf8;\n }\n static {\n __name(this, \"HeaderMarshaller\");\n }\n format(headers) {\n const chunks = [];\n for (const headerName of Object.keys(headers)) {\n const bytes = this.fromUtf8(headerName);\n chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));\n }\n const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));\n let position = 0;\n for (const chunk of chunks) {\n out.set(chunk, position);\n position += chunk.byteLength;\n }\n return out;\n }\n formatHeaderValue(header) {\n switch (header.type) {\n case \"boolean\":\n return Uint8Array.from([header.value ? 0 /* boolTrue */ : 1 /* boolFalse */]);\n case \"byte\":\n return Uint8Array.from([2 /* byte */, header.value]);\n case \"short\":\n const shortView = new DataView(new ArrayBuffer(3));\n shortView.setUint8(0, 3 /* short */);\n shortView.setInt16(1, header.value, false);\n return new Uint8Array(shortView.buffer);\n case \"integer\":\n const intView = new DataView(new ArrayBuffer(5));\n intView.setUint8(0, 4 /* integer */);\n intView.setInt32(1, header.value, false);\n return new Uint8Array(intView.buffer);\n case \"long\":\n const longBytes = new Uint8Array(9);\n longBytes[0] = 5 /* long */;\n longBytes.set(header.value.bytes, 1);\n return longBytes;\n case \"binary\":\n const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));\n binView.setUint8(0, 6 /* byteArray */);\n binView.setUint16(1, header.value.byteLength, false);\n const binBytes = new Uint8Array(binView.buffer);\n binBytes.set(header.value, 3);\n return binBytes;\n case \"string\":\n const utf8Bytes = this.fromUtf8(header.value);\n const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));\n strView.setUint8(0, 7 /* string */);\n strView.setUint16(1, utf8Bytes.byteLength, false);\n const strBytes = new Uint8Array(strView.buffer);\n strBytes.set(utf8Bytes, 3);\n return strBytes;\n case \"timestamp\":\n const tsBytes = new Uint8Array(9);\n tsBytes[0] = 8 /* timestamp */;\n tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);\n return tsBytes;\n case \"uuid\":\n if (!UUID_PATTERN.test(header.value)) {\n throw new Error(`Invalid UUID received: ${header.value}`);\n }\n const uuidBytes = new Uint8Array(17);\n uuidBytes[0] = 9 /* uuid */;\n uuidBytes.set((0, import_util_hex_encoding.fromHex)(header.value.replace(/\\-/g, \"\")), 1);\n return uuidBytes;\n }\n }\n parse(headers) {\n const out = {};\n let position = 0;\n while (position < headers.byteLength) {\n const nameLength = headers.getUint8(position++);\n const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));\n position += nameLength;\n switch (headers.getUint8(position++)) {\n case 0 /* boolTrue */:\n out[name] = {\n type: BOOLEAN_TAG,\n value: true\n };\n break;\n case 1 /* boolFalse */:\n out[name] = {\n type: BOOLEAN_TAG,\n value: false\n };\n break;\n case 2 /* byte */:\n out[name] = {\n type: BYTE_TAG,\n value: headers.getInt8(position++)\n };\n break;\n case 3 /* short */:\n out[name] = {\n type: SHORT_TAG,\n value: headers.getInt16(position, false)\n };\n position += 2;\n break;\n case 4 /* integer */:\n out[name] = {\n type: INT_TAG,\n value: headers.getInt32(position, false)\n };\n position += 4;\n break;\n case 5 /* long */:\n out[name] = {\n type: LONG_TAG,\n value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))\n };\n position += 8;\n break;\n case 6 /* byteArray */:\n const binaryLength = headers.getUint16(position, false);\n position += 2;\n out[name] = {\n type: BINARY_TAG,\n value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)\n };\n position += binaryLength;\n break;\n case 7 /* string */:\n const stringLength = headers.getUint16(position, false);\n position += 2;\n out[name] = {\n type: STRING_TAG,\n value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))\n };\n position += stringLength;\n break;\n case 8 /* timestamp */:\n out[name] = {\n type: TIMESTAMP_TAG,\n value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())\n };\n position += 8;\n break;\n case 9 /* uuid */:\n const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);\n position += 16;\n out[name] = {\n type: UUID_TAG,\n value: `${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(0, 4))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(4, 6))}-${(0, import_util_hex_encoding.toHex)(\n uuidBytes.subarray(6, 8)\n )}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(8, 10))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(10))}`\n };\n break;\n default:\n throw new Error(`Unrecognized header type tag`);\n }\n }\n return out;\n }\n};\nvar BOOLEAN_TAG = \"boolean\";\nvar BYTE_TAG = \"byte\";\nvar SHORT_TAG = \"short\";\nvar INT_TAG = \"integer\";\nvar LONG_TAG = \"long\";\nvar BINARY_TAG = \"binary\";\nvar STRING_TAG = \"string\";\nvar TIMESTAMP_TAG = \"timestamp\";\nvar UUID_TAG = \"uuid\";\nvar UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;\n\n// src/splitMessage.ts\nvar import_crc32 = require(\"@aws-crypto/crc32\");\nvar PRELUDE_MEMBER_LENGTH = 4;\nvar PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;\nvar CHECKSUM_LENGTH = 4;\nvar MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;\nfunction splitMessage({ byteLength, byteOffset, buffer }) {\n if (byteLength < MINIMUM_MESSAGE_LENGTH) {\n throw new Error(\"Provided message too short to accommodate event stream message overhead\");\n }\n const view = new DataView(buffer, byteOffset, byteLength);\n const messageLength = view.getUint32(0, false);\n if (byteLength !== messageLength) {\n throw new Error(\"Reported message length does not match received message length\");\n }\n const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);\n const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);\n const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);\n const checksummer = new import_crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));\n if (expectedPreludeChecksum !== checksummer.digest()) {\n throw new Error(\n `The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`\n );\n }\n checksummer.update(\n new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))\n );\n if (expectedMessageChecksum !== checksummer.digest()) {\n throw new Error(\n `The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`\n );\n }\n return {\n headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),\n body: new Uint8Array(\n buffer,\n byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength,\n messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)\n )\n };\n}\n__name(splitMessage, \"splitMessage\");\n\n// src/EventStreamCodec.ts\nvar EventStreamCodec = class {\n static {\n __name(this, \"EventStreamCodec\");\n }\n constructor(toUtf8, fromUtf8) {\n this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);\n this.messageBuffer = [];\n this.isEndOfStream = false;\n }\n feed(message) {\n this.messageBuffer.push(this.decode(message));\n }\n endOfStream() {\n this.isEndOfStream = true;\n }\n getMessage() {\n const message = this.messageBuffer.pop();\n const isEndOfStream = this.isEndOfStream;\n return {\n getMessage() {\n return message;\n },\n isEndOfStream() {\n return isEndOfStream;\n }\n };\n }\n getAvailableMessages() {\n const messages = this.messageBuffer;\n this.messageBuffer = [];\n const isEndOfStream = this.isEndOfStream;\n return {\n getMessages() {\n return messages;\n },\n isEndOfStream() {\n return isEndOfStream;\n }\n };\n }\n /**\n * Convert a structured JavaScript object with tagged headers into a binary\n * event stream message.\n */\n encode({ headers: rawHeaders, body }) {\n const headers = this.headerMarshaller.format(rawHeaders);\n const length = headers.byteLength + body.byteLength + 16;\n const out = new Uint8Array(length);\n const view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n const checksum = new import_crc322.Crc32();\n view.setUint32(0, length, false);\n view.setUint32(4, headers.byteLength, false);\n view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);\n out.set(headers, 12);\n out.set(body, headers.byteLength + 12);\n view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);\n return out;\n }\n /**\n * Convert a binary event stream message into a JavaScript object with an\n * opaque, binary body and tagged, parsed headers.\n */\n decode(message) {\n const { headers, body } = splitMessage(message);\n return { headers: this.headerMarshaller.parse(headers), body };\n }\n /**\n * Convert a structured JavaScript object with tagged headers into a binary\n * event stream message header.\n */\n formatHeaders(rawHeaders) {\n return this.headerMarshaller.format(rawHeaders);\n }\n};\n\n// src/MessageDecoderStream.ts\nvar MessageDecoderStream = class {\n constructor(options) {\n this.options = options;\n }\n static {\n __name(this, \"MessageDecoderStream\");\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const bytes of this.options.inputStream) {\n const decoded = this.options.decoder.decode(bytes);\n yield decoded;\n }\n }\n};\n\n// src/MessageEncoderStream.ts\nvar MessageEncoderStream = class {\n constructor(options) {\n this.options = options;\n }\n static {\n __name(this, \"MessageEncoderStream\");\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const msg of this.options.messageStream) {\n const encoded = this.options.encoder.encode(msg);\n yield encoded;\n }\n if (this.options.includeEndFrame) {\n yield new Uint8Array(0);\n }\n }\n};\n\n// src/SmithyMessageDecoderStream.ts\nvar SmithyMessageDecoderStream = class {\n constructor(options) {\n this.options = options;\n }\n static {\n __name(this, \"SmithyMessageDecoderStream\");\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const message of this.options.messageStream) {\n const deserialized = await this.options.deserializer(message);\n if (deserialized === void 0)\n continue;\n yield deserialized;\n }\n }\n};\n\n// src/SmithyMessageEncoderStream.ts\nvar SmithyMessageEncoderStream = class {\n constructor(options) {\n this.options = options;\n }\n static {\n __name(this, \"SmithyMessageEncoderStream\");\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const chunk of this.options.inputStream) {\n const payloadBuf = this.options.serializer(chunk);\n yield payloadBuf;\n }\n }\n};\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n EventStreamCodec,\n HeaderMarshaller,\n Int64,\n MessageDecoderStream,\n MessageEncoderStream,\n SmithyMessageDecoderStream,\n SmithyMessageEncoderStream\n});\n\n","var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n resolveEventStreamSerdeConfig: () => resolveEventStreamSerdeConfig\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/EventStreamSerdeConfig.ts\nvar resolveEventStreamSerdeConfig = /* @__PURE__ */ __name((input) => Object.assign(input, {\n eventStreamMarshaller: input.eventStreamSerdeProvider(input)\n}), \"resolveEventStreamSerdeConfig\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n resolveEventStreamSerdeConfig\n});\n\n","var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n EventStreamMarshaller: () => EventStreamMarshaller,\n eventStreamSerdeProvider: () => eventStreamSerdeProvider\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/EventStreamMarshaller.ts\nvar import_eventstream_serde_universal = require(\"@smithy/eventstream-serde-universal\");\nvar import_stream = require(\"stream\");\n\n// src/utils.ts\nasync function* readabletoIterable(readStream) {\n let streamEnded = false;\n let generationEnded = false;\n const records = new Array();\n readStream.on(\"error\", (err) => {\n if (!streamEnded) {\n streamEnded = true;\n }\n if (err) {\n throw err;\n }\n });\n readStream.on(\"data\", (data) => {\n records.push(data);\n });\n readStream.on(\"end\", () => {\n streamEnded = true;\n });\n while (!generationEnded) {\n const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));\n if (value) {\n yield value;\n }\n generationEnded = streamEnded && records.length === 0;\n }\n}\n__name(readabletoIterable, \"readabletoIterable\");\n\n// src/EventStreamMarshaller.ts\nvar EventStreamMarshaller = class {\n static {\n __name(this, \"EventStreamMarshaller\");\n }\n constructor({ utf8Encoder, utf8Decoder }) {\n this.universalMarshaller = new import_eventstream_serde_universal.EventStreamMarshaller({\n utf8Decoder,\n utf8Encoder\n });\n }\n deserialize(body, deserializer) {\n const bodyIterable = typeof body[Symbol.asyncIterator] === \"function\" ? body : readabletoIterable(body);\n return this.universalMarshaller.deserialize(bodyIterable, deserializer);\n }\n serialize(input, serializer) {\n return import_stream.Readable.from(this.universalMarshaller.serialize(input, serializer));\n }\n};\n\n// src/provider.ts\nvar eventStreamSerdeProvider = /* @__PURE__ */ __name((options) => new EventStreamMarshaller(options), \"eventStreamSerdeProvider\");\n// Annotate the CommonJS export names for ESM import in node:\n\n0 && (module.exports = {\n EventStreamMarshaller,\n eventStreamSerdeProvider\n});\n\n","var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n EventStreamMarshaller: () => EventStreamMarshaller,\n eventStreamSerdeProvider: () => eventStreamSerdeProvider\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/EventStreamMarshaller.ts\nvar import_eventstream_codec = require(\"@smithy/eventstream-codec\");\n\n// src/getChunkedStream.ts\nfunction getChunkedStream(source) {\n let currentMessageTotalLength = 0;\n let currentMessagePendingLength = 0;\n let currentMessage = null;\n let messageLengthBuffer = null;\n const allocateMessage = /* @__PURE__ */ __name((size) => {\n if (typeof size !== \"number\") {\n throw new Error(\"Attempted to allocate an event message where size was not a number: \" + size);\n }\n currentMessageTotalLength = size;\n currentMessagePendingLength = 4;\n currentMessage = new Uint8Array(size);\n const currentMessageView = new DataView(currentMessage.buffer);\n currentMessageView.setUint32(0, size, false);\n }, \"allocateMessage\");\n const iterator = /* @__PURE__ */ __name(async function* () {\n const sourceIterator = source[Symbol.asyncIterator]();\n while (true) {\n const { value, done } = await sourceIterator.next();\n if (done) {\n if (!currentMessageTotalLength) {\n return;\n } else if (currentMessageTotalLength === currentMessagePendingLength) {\n yield currentMessage;\n } else {\n throw new Error(\"Truncated event message received.\");\n }\n return;\n }\n const chunkLength = value.length;\n let currentOffset = 0;\n while (currentOffset < chunkLength) {\n if (!currentMessage) {\n const bytesRemaining = chunkLength - currentOffset;\n if (!messageLengthBuffer) {\n messageLengthBuffer = new Uint8Array(4);\n }\n const numBytesForTotal = Math.min(\n 4 - currentMessagePendingLength,\n // remaining bytes to fill the messageLengthBuffer\n bytesRemaining\n // bytes left in chunk\n );\n messageLengthBuffer.set(\n // @ts-ignore error TS2532: Object is possibly 'undefined' for value\n value.slice(currentOffset, currentOffset + numBytesForTotal),\n currentMessagePendingLength\n );\n currentMessagePendingLength += numBytesForTotal;\n currentOffset += numBytesForTotal;\n if (currentMessagePendingLength < 4) {\n break;\n }\n allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));\n messageLengthBuffer = null;\n }\n const numBytesToWrite = Math.min(\n currentMessageTotalLength - currentMessagePendingLength,\n // number of bytes left to complete message\n chunkLength - currentOffset\n // number of bytes left in the original chunk\n );\n currentMessage.set(\n // @ts-ignore error TS2532: Object is possibly 'undefined' for value\n value.slice(currentOffset, currentOffset + numBytesToWrite),\n currentMessagePendingLength\n );\n currentMessagePendingLength += numBytesToWrite;\n currentOffset += numBytesToWrite;\n if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {\n yield currentMessage;\n currentMessage = null;\n currentMessageTotalLength = 0;\n currentMessagePendingLength = 0;\n }\n }\n }\n }, \"iterator\");\n return {\n [Symbol.asyncIterator]: iterator\n };\n}\n__name(getChunkedStream, \"getChunkedStream\");\n\n// src/getUnmarshalledStream.ts\nfunction getMessageUnmarshaller(deserializer, toUtf8) {\n return async function(message) {\n const { value: messageType } = message.headers[\":message-type\"];\n if (messageType === \"error\") {\n const unmodeledError = new Error(message.headers[\":error-message\"].value || \"UnknownError\");\n unmodeledError.name = message.headers[\":error-code\"].value;\n throw unmodeledError;\n } else if (messageType === \"exception\") {\n const code = message.headers[\":exception-type\"].value;\n const exception = { [code]: message };\n const deserializedException = await deserializer(exception);\n if (deserializedException.$unknown) {\n const error = new Error(toUtf8(message.body));\n error.name = code;\n throw error;\n }\n throw deserializedException[code];\n } else if (messageType === \"event\") {\n const event = {\n [message.headers[\":event-type\"].value]: message\n };\n const deserialized = await deserializer(event);\n if (deserialized.$unknown)\n return;\n return deserialized;\n } else {\n throw Error(`Unrecognizable event type: ${message.headers[\":event-type\"].value}`);\n }\n };\n}\n__name(getMessageUnmarshaller, \"getMessageUnmarshaller\");\n\n// src/EventStreamMarshaller.ts\nvar EventStreamMarshaller = class {\n static {\n __name(this, \"EventStreamMarshaller\");\n }\n constructor({ utf8Encoder, utf8Decoder }) {\n this.eventStreamCodec = new import_eventstream_codec.EventStreamCodec(utf8Encoder, utf8Decoder);\n this.utfEncoder = utf8Encoder;\n }\n deserialize(body, deserializer) {\n const inputStream = getChunkedStream(body);\n return new import_eventstream_codec.SmithyMessageDecoderStream({\n messageStream: new import_eventstream_codec.MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),\n // @ts-expect-error Type 'T' is not assignable to type 'Record